[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#2199: 23.0.60; calendar marks and font-lock-mode

From: Glenn Morris
Subject: bug#2199: 23.0.60; calendar marks and font-lock-mode
Date: Mon, 09 Feb 2009 15:04:25 -0500
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

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)


(#<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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]