GNU bug report logs - #646
emacsclient with no args to behave like -a

Previous Next

Package: emacs;

Reported by: "J. Pablo Fernández" <pupeno <at> pupeno.com>

Date: Mon, 4 Aug 2008 10:20:03 UTC

Severity: wishlist

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

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Jim Porter <jporterbugs <at> gmail.com>
Cc: J. Pablo Fernández <pupeno <at> pupeno.com>,
 646 <at> debbugs.gnu.org
Subject: Re: bug#646: emacsclient with no args to behave like -a
Date: Fri, 27 Aug 2021 06:14:56 +0200
Jim Porter <jporterbugs <at> gmail.com> writes:

> From my reading, this is the original reporter's preferred behavior:
>
>   1) If Emacs is not currently running
>      a) `emacsclient file.txt' starts Emacs and opens file.txt
>      b) `emacsclient' starts Emacs (as though running `emacs')
>   2) If Emacs is currently running
>      a) `emacsclient file.txt' opens file.txt in the existing Emacs session
>      b) `emacsclient' brings some frame in the existing Emacs session
>      to the foreground

That's not my reading.  The bug reporter said "It would be nice if
emacsclient, when called with no arguments, would just run the alternate
editor."  I.e., emulate the "-a" parameter when called with no
parameters.

(He's also using Emacs as the alternate, but that's just a detail.)

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 327 days ago.

Previous Next


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