all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Peter Tury <tury.peter@gmail.com>
To: emacs-pretest-bug@gnu.org
Subject: bug#4888: 23.1.50; emacsclient vs. daemon
Date: Sun, 8 Nov 2009 15:22:16 +0100	[thread overview]
Message-ID: <b5accf970911080622g1667aae7tc5a2bb7ec853c1a7@mail.gmail.com> (raw)

Hi,

I found some issues while playing around emacs --daemon.

Here are the first ones.

1.
In (info "(emacs) emacsclient Options") I see:

'As a special exception, if COMMAND is the empty string, then
`emacsclient' starts Emacs in daemon mode and then tries
connecting again.'

This is not really true: as -a has a mandatory, non-empty COMMAND,
it is impossible to call emacsclient this way from command line.

The special exception mentioned above works only if alternate_editor
environment variable is set to empty string.

My suggestion is to
- either change emacsclient.c to accept -a with empty string as COMMAND
or
- state explicitly in Info and in emacsclient.c's help text the way it
really works.

2.
On the same Info page an example is given this way:
'EDITOR="emacsclient --alternate-editor emacs +%d %s"'
I think it should be:
'EDITOR="emacsclient --alternate-editor=emacs +%d %s"'

Thanks anyway,P

----------

In GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.18.3)
 of 2009-11-08 on transcend-160
Windowing system distributor `The X.Org Foundation', version 11.0.10604000





             reply	other threads:[~2009-11-08 14:22 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-08 14:22 Peter Tury [this message]
2009-11-08 16:41 ` bug#4888: 23.1.50; emacsclient vs. daemon Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b5accf970911080622g1667aae7tc5a2bb7ec853c1a7@mail.gmail.com \
    --to=tury.peter@gmail.com \
    --cc=4888@emacsbugs.donarmstrong.com \
    --cc=emacs-pretest-bug@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.