GNU bug report logs - #11572
24.1.50; Emacs executable shadowed by an alias

Previous Next

Package: emacs;

Reported by: sindikat <sindikat <at> riseup.net>

Date: Mon, 28 May 2012 07:32:02 UTC

Severity: wishlist

Tags: moreinfo, wontfix

Found in version 24.1.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #24 received at 11572-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 11572-done <at> debbugs.gnu.org
Subject: Re: bug#11572: 24.1.50; Emacs executable shadowed by an alias
Date: Wed, 06 Jun 2012 16:52:23 -0400
Stefan Monnier wrote:

> Sindikat, can you really reproduce your problem with just an alias
> 'emacs=emacsclient -c -a ""', or do you actually need to have an "emacs"
> script in your $PATH?

No answer, but it's basically impossible for a shell alias to cause the
described issue.

As has been said, it's a feature that emacsclient -a "" uses "emacs"
from PATH. If you have a script "emacs" in PATH, you'll need to make it
more sophisticated (eg, check for the --daemon option that emacsclient
passed in this case).





This bug report was last modified 12 years and 351 days ago.

Previous Next


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