GNU bug report logs - #3053
"emacsclient -a emacs" produces "No server editing buffers exist" when closing buffer

Previous Next

Package: emacs;

Reported by: Danai SAE-HAN (韓達耐) <danai.saehan <at> gmail.com>

Date: Sun, 19 Apr 2009 14:45:44 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

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: Danai SAE-HAN (韓達耐)
 <danai.saehan <at> gmail.com>
Cc: 3053 <at> debbugs.gnu.org
Subject: bug#3053: "emacsclient -a emacs" produces "No server editing
Date: Fri, 24 Apr 2009 23:34:20 -0400
>>>   $ ./emacsclient -a "../src/emacs" ../Makefile
>> 
>> Any reason why you didn't try the "-a ''" that I suggested?
>> I.e. ./emacsclient -a "" ../Makefile

> Because I get an error:

> [2009-04-25 03:10:40] danai <at> danai:/usr/src/EMACS_PRETEST_23_0_92/lib-src
>   $ ./emacsclient -a "" ../Makefile
> ./emacsclient: can't find socket; have you started the server?
> To start the server in Emacs, type "M-x server-start".

> In Emacs I get a Backtrace with the following output:

> Debugger entered--Lisp error: (error "Unknown option `--daemon'")
>   signal(error ("Unknown option `--daemon'"))
>   error("Unknown option `%s'" "--daemon")
>   command-line-1(("--daemon"))
>   command-line()
>   normal-top-level()

Looks like `emacsclient' finds an older `emacs' which doesn't understand
the --daemon argument.  Can you try to make sure that the `emacs' in the
PATH is 23.0.92?


        Stefan




This bug report was last modified 16 years and 87 days ago.

Previous Next


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