unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Issues with emacs --daemon and after-make-frame-functions
@ 2013-04-30 15:35 Yuri D'Elia
  0 siblings, 0 replies; only message in thread
From: Yuri D'Elia @ 2013-04-30 15:35 UTC (permalink / raw)
  To: help-gnu-emacs

I think this is a regression in emacs24, because this works under emacs23:

If you start emacs --daemon

and you have the following:

(add-hook 'after-make-frame-functions
   (lambda (frame)
     (print (display-graphic-p))))

and you create a new frame via:

emacsclient -c

you will notice that the result is always 'f'.
Not only that, but any frame manipulation will cause emacs to crash.

But you create a new frame within an existing frame, then it works.
This gave me all sorts of headache with the color-theme package actually 
crashing emacs, only in daemon mode, and only when creating a new frame 
via emacsclient.

Can somebody confirm the issue?

I'm using emacs24-lucid from debian.




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-04-30 15:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-30 15:35 Issues with emacs --daemon and after-make-frame-functions Yuri D'Elia

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).