all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dan Nicolaescu <dann@ics.uci.edu>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Daemon mode wishlist
Date: Sat, 27 Sep 2008 18:39:12 -0700 (PDT)	[thread overview]
Message-ID: <200809280139.m8S1dC4N018618@mothra.ics.uci.edu> (raw)
In-Reply-To: <jwvy71dw022.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Sat, 27 Sep 2008 21:09:59 -0400")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

  > >> We should change startup.el so that server-start is called after processing
  > >> the .emacs (and the --eval).
  > 
  > > I don't see that as being better, but if someone else wants to do it and
  > > also find a way to solve the problem of specifying the server name and
  > > port on the command line, I won't stand in the way.
  > 
  > It allows the use of
  > 
  >    emacs --eval '(setq server-name "foo")' --daemon
  > 
  > which seems sufficient.  Also it makes server-start take into account
  > the config settings in the user's .emacs.
  > I.e. I thing it's just the right thing to do.

Using --eval is a hack (a Turing complete one), using parameters to
--daemon is more in the spirit of how command line options work (see
what I described in a previous mail: --daemon[=NAME[:PORT]]).
But having that implemented would have increased the size of the patch
(and it's only useful to a very small minority anyway, and that small
minority can use --eval to set the server-name and restart the server).

  > You happened to place the call to server-start just at the same place
  > where you had to disable the call to frame-initialize, but there's
  > really no fundamental reason why it should be there.

Not exactly, I wanted things to work by default, if people change the
server name in .emacs, and use --daemon=NAME, I'd rather want the server
name to be NAME.  But again, if someone wants to change the place where
the server is started, he can go ahead.




  reply	other threads:[~2008-09-28  1:39 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-26 19:40 Daemon mode wishlist Romain Francoise
2008-09-26 20:27 ` Dan Nicolaescu
2008-09-26 21:24   ` Stefan Monnier
2008-09-27 15:53     ` Dan Nicolaescu
2008-09-28  1:09       ` Stefan Monnier
2008-09-28  1:39         ` Dan Nicolaescu [this message]
2008-09-28  2:08           ` Stefan Monnier
2008-09-28  9:37             ` Romain Francoise
2008-09-28  7:41           ` Paul R
2008-09-28 22:47             ` Stefan Monnier
2008-09-27  9:55   ` Romain Francoise
2008-09-27 12:27     ` Stefan Monnier
2008-10-02 18:05       ` Romain Francoise
2008-10-02 18:59         ` Stefan Monnier
2010-06-02 18:32           ` emacs-dwim
2010-06-03  1:07             ` Chong Yidong
2008-09-27 16:09     ` Dan Nicolaescu

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=200809280139.m8S1dC4N018618@mothra.ics.uci.edu \
    --to=dann@ics.uci.edu \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.