s-nail: $MAILCAPS: /etc/mailcap: x-scheme-handler/mailto: ignored
unknown string/command: u = \\${u//\\\\\\"/\\\\\\\\\\\\\\"}
s-nail: $MAILCAPS: /etc/mailcap: text/english: ignored unknown string/command: then exec emacsclient --alternate-editor = --display=\\"\\$DISPLAY\\" \\"\\$@\\"
s-nail: $MAILCAPS: /etc/mailcap: text/plain: ignored unknown
string/command: then exec emacsclient --alternate-editor = --display=\\"\\$DISPLAY\\" \\"\\$@\\"
s-nail: $MAILCAPS: /etc/mailcap: text/x-makefile: ignored unknown string/command: then exec emacsclient --alternate-editor = --display=\\"\\$DISPLAY\\" \\"\\$@\\"
s-nail: $MAILCAPS: /etc/mailcap: text/x-c++hdr: ignored unknown string/command: then exec emacsclient --alternate-editor = --display=\\"\\$DISPLAY\\" \\"\\$@\\"
s-nail: $MAILCAPS: /etc/mailcap: text/x-c++src: ignored unknown string/command: then exec emacsclient --alternate-editor
On Mon, May 06, 2024 at 02:53:10PM +0200, Jesper Dybdal wrote:That might be an excellent idea. I've removed all lines with
I use s-nail as my mailx command (selected using the Debian "alternatives" >> mechanism).I don't have lines like this in mine. Then again, I don't have emacs installed.
Since I upgraded from Bullseye to Bookworm, s-nail now shows a bunch of
error messages in connection with viewing messages. Here is a sample:
s-nail: $MAILCAPS: /etc/mailcap: x-scheme-handler/mailto: ignored
unknown string/command: u = \\${u//\\\\\\"/\\\\\\\\\\\\\\"}
s-nail: $MAILCAPS: /etc/mailcap: text/english: ignored unknown
string/command: then exec emacsclient --alternate-editor =
--display=\\"\\$DISPLAY\\" \\"\\$@\\"
The question (one of the questions) is what's putting them there, and I
would guess one of the emacs packages is doing it.
I have no particular wish to learn about /etc/mailcap. The only way I've >> found to avoid this is to remove the /etc/mailcap file entirely.
I would think deleting any lines containing "emacs" would be slightly
less invasive. Obviously, make a backup copy of the file first.
I use s-nail as my mailx command (selected using the Debian "alternatives" mechanism).
Since I upgraded from Bullseye to Bookworm, s-nail now shows a bunch of
error messages in connection with viewing messages. Here is a sample:
s-nail: $MAILCAPS: /etc/mailcap: x-scheme-handler/mailto: ignored
unknown string/command: u = \\${u//\\\\\\"/\\\\\\\\\\\\\\"}
s-nail: $MAILCAPS: /etc/mailcap: text/english: ignored unknown string/command: then exec emacsclient --alternate-editor = --display=\\"\\$DISPLAY\\" \\"\\$@\\"
I have no particular wish to learn about/etc/mailcap. The only way I've found to avoid this is to remove the /etc/mailcap file entirely.
The package versions involved are:
* in Bullseye:
mailcap/oldstable,now 3.69 all [installed,automatic]
s-nail/oldstable,now 14.9.22-1 amd64 [installed]
* In Bookworm:
mailcap/stable,now 3.70+nmu1 all [installed,automatic]
j-nail/stable,now 14.9.24-2 amd64 [installed]
Has anyone else seen this?
On 06/05/2024 20:27, Greg Wooledge wrote:...
On Mon, May 06, 2024 at 02:53:10PM +0200, Jesper Dybdal wrote:
s-nail: $MAILCAPS: /etc/mailcap: text/english: ignored unknown
string/command: then exec emacsclient --alternate-editor =
--display=\\"\\$DISPLAY\\" \\"\\$@\\"
...It seems there are a couple of bugs in update-mime:
2. It does not skip x-scheme-handler/* entries. Are there applications
that may use such entries?
So doubled backslashes (as in .desktop files) are correct.
What is wrong is lack of backslashes added before ";" and it is a bug.
On 07/05/2024 23:24, Max Nikulin wrote:
On 2024-05-06 17:04, Max Nikulin wrote:
So doubled backslashes (as in .desktop files) are correct.
What is wrong is lack of backslashes added before ";" and it is a bug.
I have filed
https://bugs.debian.org/1071036
update-mime does not escape semicolon in .desktop Exec entries
I have filed
https://bugs.debian.org/1071036
update-mime does not escape semicolon in .desktop Exec entries
You may file an issue to the emacs bug tracker.
However at least one developer was against wrappers:…
Finally, I think that s-nail should ignore malformed mailcap entries.
On 16/05/2024 14:48, Jonathan Dowland wrote:
Please do not CC me for listmail.
You still decided to add my address to CC despite I joined to the
thread, not started it. I expect it is enough to guess that I am able to follow the discussion even not being subscribed.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (0 / 16) |
Uptime: | 157:00:03 |
Calls: | 10,384 |
Calls today: | 1 |
Files: | 14,056 |
Messages: | 6,416,474 |