unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* emacs daemon.. but quietly
@ 2010-03-05 13:24 Gary .
  2010-03-22 13:09 ` Gary .
  2010-03-22 18:29 ` tomas
  0 siblings, 2 replies; 10+ messages in thread
From: Gary . @ 2010-03-05 13:24 UTC (permalink / raw)
  To: help-gnu-emacs

Is there any way to stop emacs, run with --daemon, printing out
details about all of the config files it is loading? At the moment I
see
  ("emacs" "--quiet")
  Loading charset...
  Loading charset...done
(etc.) which is ugly since I want to start the server, when
appropriate, when I start my login shell by doing something like

  function serverExists {
    TMPDIR=${TMPDIR-/tmp};
    TMPFILE="${TMPDIR}/ps-output.$$";

    ps > ${TMPFILE}
    grep -q 'emacs-X11' ${TMPFILE}
    SERVER_STARTED=$?;
    rm ${TMPFILE}

    return $SERVER_STARTED;
  }

  if serverExists ; then
   export EMACS_SERVER="emacs already started"
  else
   emacs --daemon --quiet
   export EMACS_SERVER="emacs started here"
  fi
  echo $EMACS_SERVER

in my .bashrc.

Any ideas, anyone?




^ permalink raw reply	[flat|nested] 10+ messages in thread
[parent not found: <mailman.2328.1267795489.14305.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2010-03-26 14:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-05 13:24 emacs daemon.. but quietly Gary .
2010-03-22 13:09 ` Gary .
2010-03-22 18:29 ` tomas
2010-03-22 19:02   ` Richard Riley
2010-03-23 15:28     ` Gary .
2010-03-26 14:44       ` Richard Riley
2010-03-23 15:25   ` Gary .
2010-03-23 18:30   ` Gary .
     [not found] <mailman.2328.1267795489.14305.help-gnu-emacs@gnu.org>
2010-03-05 14:09 ` Andre Ramaciotti
2010-03-06 13:24 ` Stefan Monnier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).