GNU bug report logs - #18517
24.3.93; `--eval' option to "emacsclient -a ALTEDITOR" should be should ignored if it falls back to alternate editor

Previous Next

Package: emacs;

Reported by: Jordan Wilson <inopem <at> gmail.com>

Date: Sun, 21 Sep 2014 21:24:02 UTC

Severity: wishlist

Tags: fixed, patch, wontfix

Merged with 11474, 12154

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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 18517 in the body.
You can then email your comments to 18517 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#18517; Package emacs. (Sun, 21 Sep 2014 21:24:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jordan Wilson <inopem <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 21 Sep 2014 21:24:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Jordan Wilson <inopem <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.93;
 `--eval' option to "emacsclient -a ALTEDITOR" should be should
 ignored if it falls back to alternate editor
Date: Sun, 21 Sep 2014 15:50:32 +0100
Hello,
calling the command "emacsclient -a nano --eval '(message
"Hello world")'", if the emacs server is not started, nano (or any other
editor, including "-a emacs") will open a buffer with the name of
"(message "Hello world")". This is not in accordance with the man page
for "emacsclient":
   -e, --eval
   do not visit files but instead evaluate the arguments as Emacs Lisp
   expressions.

That suggests in the case of falling back to the alternate editor, the
argument following the `--eval' option be ignored. If not, the
documentation needs changing to clarify this.

I've produced this bug on both 24.3.93.1 and the trunk as of yesterday.

To reproduce:
1. Kill emacs or `server-force-delete'
2. emacsclient -a *alternate-editor* --eval '(message "Hello world")'.

Thanks,
Jordan.



In GNU Emacs 24.3.93.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.12.2)
 of 2014-08-16 on arch-K53SC
Windowing system distributor `The X.Org Foundation', version 11.0.11600000
Configured using:
 `configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
 --localstatedir=/var --with-x-toolkit=gtk3 --with-xft
 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong
 --param=ssp-buffer-size=4' CPPFLAGS=-D_FORTIFY_SOURCE=2
 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro'

Important settings:
  value of $LANG: en_GB.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Text

Minor modes in effect:
  flyspell-mode: t
  shell-dirtrack-mode: t
  recentf-mode: t
  global-anzu-mode: t
  anzu-mode: t
  winner-mode: t
  show-paren-mode: t
  display-time-mode: t
  tooltip-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent messages:
Loading /home/jordan/.recentf...done
Cleaning up the recentf list...done (0 removed)
Loading /home/jordan/.cache/emms/cache...done
Starting new Ispell process aspell with british dictionary...
For information about GNU Emacs and the GNU system, type C-h C-a.
Quit
gnus-user-agent

Memory information:
((conses 16 354510 7149)
 (symbols 48 42191 0)
 (miscs 40 159 188)
 (strings 32 103495 13654)
 (string-bytes 1 2959205)
 (vectors 16 34193)
 (vector-slots 8 661580 1782)
 (floats 8 337 14)
 (intervals 56 415 0)
 (buffers 960 14)
 (heap 1024 51680 1601))




Forcibly Merged 11474 12154 18517. Request was from npostavs <at> users.sourceforge.net to control <at> debbugs.gnu.org. (Sun, 02 Apr 2017 03:01:02 GMT) Full text and rfc822 format available.

Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 27 Jun 2019 19:02:01 GMT) Full text and rfc822 format available.

bug marked as fixed in version 27.1, send any further explanations to 11474 <at> debbugs.gnu.org and Jason Lewis <jason <at> dickson.st> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Thu, 27 Jun 2019 19:02:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 26 Jul 2019 11:24:07 GMT) Full text and rfc822 format available.

bug unarchived. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 15 Sep 2019 12:17:05 GMT) Full text and rfc822 format available.

Added tag(s) wontfix. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Sun, 15 Sep 2019 12:17:06 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 14 Oct 2019 11:24:11 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 194 days ago.

Previous Next


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