unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Problem with diary-header-line-format
@ 2010-08-06 19:31 Jose A. Ortega Ruiz
  2010-08-14  1:56 ` Glenn Morris
  0 siblings, 1 reply; 2+ messages in thread
From: Jose A. Ortega Ruiz @ 2010-08-06 19:31 UTC (permalink / raw)
  To: emacs-devel


Hi,

Currently, the default value of diary-header-line-format is

(:eval
 (calendar-string-spread
  (list
   (if diary-selective-display "Some text is hidden - press \"s\" in calendar before edit/copy" "Diary"))
  32
  (frame-width)))

Note the call to frame-width: that makes the text in the header line of
diary buffers in windows narrower than the frame to be cut (and aligned
to the right). I've fixed this by using window-width instead of
frame-width, and i was wondering whether this should be in fact the
default (i don't see any situation where window-width would misbehave in
the way frame-width does).

Cheers,
jao
-- 
One of the painful things about our time is that those who feel
certainty are stupid, and those with any imagination and understanding
are filled with doubt and indecision. -- Bertrand Russell




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-08-14  1:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-06 19:31 Problem with diary-header-line-format Jose A. Ortega Ruiz
2010-08-14  1:56 ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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