From: Glenn Morris <rgm@gnu.org>
To: Stephen Berman <stephen.berman@gmx.net>
Cc: 2199@emacsbugs.donarmstrong.com
Subject: bug#2199: 23.0.60; calendar marks and font-lock-mode
Date: Mon, 09 Feb 2009 15:04:25 -0500 [thread overview]
Message-ID: <bltz73xtpy.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <874oz3zm6a.fsf@escher.local.home> (Stephen Berman's message of "Mon, 09 Feb 2009 16:04:29 +0100")
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.
next prev parent reply other threads:[~2009-02-09 20:04 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <qlwsbxy65i.fsf@fencepost.gnu.org>
2009-02-04 17:03 ` bug#2199: 23.0.60; calendar marks and font-lock-mode Stephen Berman
2009-02-05 9:49 ` Stephen Berman
2009-02-08 1:58 ` Glenn Morris
2009-02-08 2:10 ` Processed: " Emacs bug Tracking System
2009-02-08 20:44 ` Glenn Morris
2009-02-09 15:04 ` Stephen Berman
2009-02-09 20:04 ` Glenn Morris [this message]
2009-02-09 20:14 ` Glenn Morris
2009-02-10 2:29 ` Stefan Monnier
2009-02-10 21:27 ` Glenn Morris
2009-02-11 1:35 ` Stefan Monnier
2009-02-11 4:10 ` bug#2199: marked as done (23.0.60; calendar marks and font-lock-mode) Emacs bug Tracking System
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bltz73xtpy.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=2199@emacsbugs.donarmstrong.com \
--cc=stephen.berman@gmx.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.