emacs-pretest-bug
[Top][All Lists]
Advanced

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

Calendar customization too late


From: Stephen Berman
Subject: Calendar customization too late
Date: Mon, 19 Mar 2007 14:40:42 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.93 (gnu/linux)

1. Write to your home directory a file named "diary" containing at
least two valid diary entries dated on different days within a week
from today.
2. Let your ~/.emacs file contain only this line:
(appt-activate 1)
3. Start Emacs without any command line arguments.  You get vertically
split windows and in the lower one is the first diary entry.
4. Type `M-x customize-variable number-of-diary-entries', change the
default value from 1 to 7 and click on `Save for Future Sessions'.
Now your ~/.emacs file contains these lines:
(appt-activate 1)
(custom-set-variables
  ;; custom-set-variables was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 '(number-of-diary-entries 7))
(custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 )
5. Kill Emacs and restart it as in step 3 above.  You again get
vertically split windows and in the lower one is just the first diary
entry.  However, because of the customization, the lower window should
display all diary entries within a week from today.

I think the problem is caused by appt-activate making the diary
display before the customization takes effect.  I don't know what the
best solution is.
 

In GNU Emacs 22.0.93.1 (i686-pc-linux-gnu, GTK+ Version 2.10.6)
 of 2007-02-08 on escher
X server distributor `The X.Org Foundation', version 11.0.70199902
configured using `configure  '--with-x-toolkit=gtk''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Group

Minor modes in effect:
  gnus-topic-mode: t
  gnus-undo-mode: t
  tabbar-mwheel-mode: t
  tabbar-mode: t
  recentf-mode: t
  display-time-mode: t
  show-paren-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t

Recent input:
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <select-window> <select-window> <select-window> 
<help-echo> <help-echo> <select-window> <select-window> 
<help-echo> <down-mouse-3> <mouse-3> M-x C-g C-c c 
l q M-x c a l e <tab> <return> <up> l l <end> M-x g 
u <return> J j y M-g <return> <return> <end> <up> <up> 
SPC SPC <down> SPC SPC q M-x r e p o <tab> r <tab> 
<return>

Recent messages:
Loading parse-time...done
Generating summary...done
Mark set
Loading gnus-bcklg...done
Loading gnus-async...done
Loading smiley...done
Loading gnus-cite...done
Parsing BBDB... (frobnicating...done)
Making completion list...
Loading emacsbug...done




reply via email to

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