GNU bug report logs -
#14322
24.3; emacsclient -c behavior regression
Previous Next
Reported by: Yuri D'Elia <wavexx <at> thregr.org>
Date: Tue, 30 Apr 2013 16:28:01 UTC
Severity: normal
Found in version 24.3
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Yuri D'Elia <wavexx <at> thregr.org> writes:
> I think this is a regression in emacs24 (lucid), because this used to
> work 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'.
(This bug report unfortunately got no response at the time.)
The result is always nil, yes -- but if you use the frame as a parameter
to that function, you get the correct results:
(setq after-make-frame-functions
(list
(lambda (frame)
(message "frame: %s %s" frame (display-graphic-p frame)))))
./lib-src/emacsclient -c
frame: #<frame GNU Emacs at xo 0x5574a438f338> t
> Not only that, but any frame manipulation will cause the daemon to crash.
>
> emacsclient -e '(make-frame)'
This seems to be fixed, though. It now just reports an error:
*ERROR*: Unknown terminal type
So I think everything here works as designed, and I'm closing this bug
report. If there's more to be done here, please respond to the debbugs
address and we'll reopen.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
This bug report was last modified 4 years and 164 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.