GNU bug report logs - #57752
28.1.91; emacsclient-mail.desktop doesn't work for me

Previous Next

Package: emacs;

Reported by: Damien Cassou <damien <at> cassou.me>

Date: Mon, 12 Sep 2022 18:32:01 UTC

Severity: normal

Merged with 59743

Found in version 28.1.91

Full log


View this message in rfc822 format

From: Damien Cassou <damien <at> cassou.me>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: larsi <at> gnus.org, git <at> mavit.org.uk, 57752 <at> debbugs.gnu.org
Subject: bug#57752: 28.1.91; emacsclient-mail.desktop doesn't work for me
Date: Tue, 13 Sep 2022 15:58:06 +0200
Eli Zaretskii <eliz <at> gnu.org> writes:
>> From: Damien Cassou <damien <at> cassou.me>
>> One way we could maybe implement this is if
>> it was possible to pass additional CLI arguments to emacsclient and read
>> them from elisp the same way it is possible in batch mode with emacs.
>
> You mean, by using --eval from the emacsclient command line?

no because --eval would require a valid elisp expression such as

  emacsclient --eval (message-mailto "%u")

which seems to go against the specification constraint. I thought about
using something like the following:

  emacsclient --function message-mailto-reading-cli-args %u

And message-mailto-reading-cli-args would read command-line-args-left or
similar to do its job.

This requires adding these features to emacsclient and implementing
message-mailto-reading-cli-args.

-- 
Damien Cassou

"Success is the ability to go from one failure to another without
losing enthusiasm." --Winston Churchill




This bug report was last modified 1 year and 284 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.