Emacs calendar mode: M-x diary fails to produce diary listing, shows diary file instead
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
emacs23 (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: emacs23
When in Calendar mode, with a well populated ~/diary file, I should be able to put point on a date, and then hit "d", or run "M-x diary". This should produce a listing of diary entries in another window in the same frame. What I see instead is the diary file, the same as though I had hit s instead.
Putting point on a known holiday (e.g. 11 November) and then hitting "d" gets a message:
-------
No diary entries for Wednesday, November 11, 2009: Veteran's Day
-------
But that's not what I should see.
All of this works in Emacs 22 on Jaunty. I have not tested whether this works on Emacs 22 on Karmic.
Relevant portion of .emacs:
-------
;; Calendar stuff:
(if (or ;; (system-
(system-
(system-
(progn
;; set my home co-ordinates for sunrise/sunset calculations
(setq calendar-latitude 43.6)
(setq calendar-longitude -108.2)
(setq calendar-
(setq show-trailing-
(setq cal-tex-diary t)
(setq cal-tex-rules t)
(if (> emacs-major-version 22)
)
;; Add the appointment generator to the diary hook. Then set a vector for
;; the number of days in advance to show appointments. Then turn the diary
;; mode on.
(setq number-
(add-hook 'diary-hook 'appt-make-list)
(if (> emacs-major-version 22)
)
;; If this is non-nil, Emacs rings the terminal bell for appointment
;; reminders. The default is t.
;; (setq appt-audible nil)
(if (< emacs-major-version 23)
)
)
)
;; end calendar/diary stuff
-------
The two system-is functions identify the system that emacs is running on. This lets me use the same .emacs file on multiple computers. The calendar code runs on the test machine.
-------
ccurley@dragon:~$ pre emacs
emacs23 23.1+1-
emacs23-bin-common 23.1+1-
emacs23-common 23.1+1-
emacsen-common 1.4.19ubuntu1@|all
ccurley@dragon:~$ lsb_release -rd
Description: Ubuntu 9.10
Release: 9.10
ccurley@dragon:~$
-------
While we're at it, I notice that the function calendar-
-------
Bad holiday list item: (holiday-fixed 1 1 New Year's Day)
Bad holiday list item: (holiday-float 1 1 3 Martin Luther King Day)
Bad holiday list item: (holiday-fixed 2 2 Groundhog Day)
...
-------
None the less, those dates get marked.
ProblemType: Bug
Architecture: i386
Date: Thu Nov 5 09:47:04 2009
DistroRelease: Ubuntu 9.10
Package: emacs23 23.1+1-4ubuntu3
ProcEnviron:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: emacs23
Uname: Linux 2.6.31-14-generic i686
XsessionErrors:
(gnome-
(gnome-
(polkit-
(nautilus:2209): Eel-CRITICAL **: eel_preferences
(gnome-
emacs 22 on Karmic works correctly.