* cal-tex-cursor commands leave empty fields
@ 2007-01-03 0:46 Sven Bretfeld
0 siblings, 0 replies; 2+ messages in thread
From: Sven Bretfeld @ 2007-01-03 0:46 UTC (permalink / raw)
Hi to all and a Happy New Year
I'm starting to become an Emacs fundamentalist at the moment, but my
understanding of elisp is still quite low.
I was configuring the calendar/diary today when I met a problem. The
commands cal-tex-cursor-month (day, week etc.) give me a nice LaTeX
output but without any entries from my diary. Just empty fields.
The problem might depend on my redefinition of the diary file to
~/.diary instead of ~/diary since I like my home folder to be as tidy
as possible. Writing and displaying entries works. Only the LaTeX
output seems to have problems. To redefine the diary file I inserted:
(setq diary-file "~/.diary")
to my .emacs file. This cannot be completely wrong, can it?
Any idea?
I give the relevant part of my .emacs file at the end of this mail.
Thanks for help,
Sven
--------------
;;;;;;;;;;;;;;;;
;; Diary Mode ;;
;;;;;;;;;;;;;;;;
(setq diary-file "~/.diary")
;; Europäisch
(setq european-calendar-style 't)
(setq calendar-week-start-day 1
calendar-day-name-array
["Sonntag" "Montag" "Dienstag" "Mittwoch"
"Donnerstag" "Freitag" "Samstag"]
calendar-month-name-array
["Januar" "Februar" "März" "April" "Mai"
"Juni" "Juli" "August" "September"
"Oktober" "November" "Dezember"])
;; Start with diary (if there is an entry for today)
(diary)
;; Timer
(display-time)
(add-hook 'diary-hook 'appt-make-list)
(diary 0)
^ permalink raw reply [flat|nested] 2+ messages in thread
[parent not found: <mailman.2675.1167785193.2155.help-gnu-emacs@gnu.org>]
* Re: cal-tex-cursor commands leave empty fields
[not found] <mailman.2675.1167785193.2155.help-gnu-emacs@gnu.org>
@ 2007-01-03 0:57 ` Edward M. Reingold
0 siblings, 0 replies; 2+ messages in thread
From: Edward M. Reingold @ 2007-01-03 0:57 UTC (permalink / raw)
Cc: sven.bretfeld
>>>>> "SB" == Sven Bretfeld <sven.bretfeld@relwi.unibe.ch> writes:
SB> I was configuring the calendar/diary today when I met a problem. The
SB> commands cal-tex-cursor-month (day, week etc.) give me a nice LaTeX
SB> output but without any entries from my diary. Just empty fields.
You need to set
(setq cal-tex-diary t)
in your .emacs file.
--
Professor Edward M. Reingold Email: reingold@iit.edu
Department of Computer Science Voice: (312) 567-3309
Illinois Institute of Technology Assistant: (312) 567-5152
Stuart Building Fax: (312) 567-5067
10 West 31st Street, Suite 236
Chicago, IL 60616-3729 U.S.A.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-01-03 0:57 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-03 0:46 cal-tex-cursor commands leave empty fields Sven Bretfeld
[not found] <mailman.2675.1167785193.2155.help-gnu-emacs@gnu.org>
2007-01-03 0:57 ` Edward M. Reingold
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).