GNU bug report logs - #11474
emacsclient passes --eval arguments (but not the '--eval') to alternate editor

Previous Next

Package: emacs;

Reported by: Jason Lewis <jason <at> dickson.st>

Date: Tue, 15 May 2012 05:24:02 UTC

Severity: wishlist

Tags: fixed, patch, wontfix

Merged with 12154, 18517

Found in versions 24.1, 24.1.50, 24.3.93

Fixed in version 27.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Scott Turner <srt19170 <at> gmail.com>
Cc: 11474 <at> debbugs.gnu.org
Subject: bug#11474: Patch for Emacsclient --eval bug
Date: Wed, 02 Apr 2014 12:34:09 -0400
>> Silently dropping arguments is not very polite, so I'm not really happy
>> with your solution.
> I think as long as it is documented that the alternate_editor is not passed
> the arguments intended for Emacs, that behavior is not terrible.

The current behavior is not that terrible either.  I think a fix should
aim to actually improve the situation.

> On a practical level, I doubt the alternate_editor is going to be prepared
> to deal with Emacs flags, so that's not terribly useful.

But if the user uses --alternate-editor together with --eval, she can
make the alternate editor understand the args by making it a little
script that does what she wants.


        Stefan




This bug report was last modified 5 years and 255 days ago.

Previous Next


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