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: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Jim Porter <jporterbugs <at> gmail.com>
Cc: Damien Cassou <damien <at> cassou.me>, Eli Zaretskii <eliz <at> gnu.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: Mon, 19 Sep 2022 10:12:21 +0200
Jim Porter <jporterbugs <at> gmail.com> writes:

> This is actually the trickiest part about this to me. If I were
> designing this, I'd say that '--apply' consumes every positional
> argument up to the next flag.

Sorry, that would just be a very fiddly, often-breaking interface.  If
you say

emacs --apply foo $1 $2

and $2 happens to be "-*hakuna-matata*-", then you'd get a failure.
Morover, there's no way to separate

emacs --apply foo param1 param2

from 

emacs --apply foo param1 file-to-be-opened

So we need "--" to end the parameter list.




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.