GNU bug report logs - #1836
emacs -Q -fn "nonexistent" hangs

Previous Next

Package: emacs;

Reported by: "Juanma Barranquero" <lekktu <at> gmail.com>

Date: Sat, 10 Jan 2009 02:50:03 UTC

Severity: normal

Found in version 23.0.60

Done: Jason Rumney <jasonr <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Juanma Barranquero" <lekktu <at> gmail.com>
To: "Jason Rumney" <jasonr <at> gnu.org>
Cc: 1836 <at> debbugs.gnu.org
Subject: bug#1836: emacs -Q -fn "nonexistent" hangs
Date: Sat, 10 Jan 2009 04:26:20 +0100
On Sat, Jan 10, 2009 at 04:19, Jason Rumney <jasonr <at> gnu.org> wrote:

> Do we have a global flag to indicate that Emacs was started in daemon mode
> that we could use here?

There's a C function Fdaemonp, which uses IS_DAEMON, from lisp.h:

/* Pipe used to send exit notification to the daemon parent at
   startup.  */
extern int daemon_pipe[2];
#define IS_DAEMON (daemon_pipe[1] != 0)

    Juanma




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

Previous Next


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