GNU bug report logs -
#2199
23.0.60; calendar marks and font-lock-mode
Previous Next
Full log
View this message in rfc822 format
Stephen Berman wrote:
> What remains to be explained, and fixed, is why the diary buffer
> is not in a displayed window, although its window is in
> calendar-window-list. I think this has to do with --daemon, because
> when I start Emacs without --daemon but with the same ~/.emacs, then
> the diary is initially displayed below and the splash screen above;
> but with --daemon neither of these is displayed upon invoking
> `emacsclient -c'.
With specified .emacs:
emacs --daemon
emacsclient -c
M-x calendar
(let (wlist)
(walk-windows (lambda (w) (push w wlist)) nil t)
wlist)
gives:
(#<window 5 on *scratch*> #<window 4 on diary>
#<window 1 on *GNU Emacs*> #<window 9 on *Calendar*>)
So there's an invisible frame with the splash and diary buffers.
Changing the last argument of walk-windows in calendar-window-list
from t to 0 is probably good enough.
> Sorry, I gave the wrong recipe: after invoking `emacsclient -c', just do
> `C-x b diary' and you should get the diary buffer with the truncated
> mode line.
As expected, window-edges is confused by --daemon:
emacs -Q --daemon --eval "(setq in (window-inside-edges) out (window-edges))"
emacsclient -c
in = (0 1 10 8)
out = (0 1 10 9)
No idea what to do about that.
This bug report was last modified 16 years and 167 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.