With diary files that have longlines-mode enabled, fancy diary display truncates all but the first line of a wrapped entry. To reproduce, do the following:
1. emacs -q 2. C-x C-f ~/test-diary (e.g.) and enter a long diary entry without a line break, e.g.: "Apr 21, 2006 14.15 This entry tests whether fancy diary display works with long lines displayed in longlines-mode." and save it. 3. M-: (add-hook 'diary-display-hook 'fancy-diary-display) 4. M-x calendar 5. Put the cursor on the calendar date of the entry you just made and type `D' and enter the name of the diary file you just saved: you get a fancy diary display of the entire entry as a long unbroken line. 6. Click on the fancy diary entry with mouse-2 to visit the diary file and type `M-x longlines-mode': this shows the entry with line breaks (e.g., the above entry is broken after `works'. 7. Repeat step 5: now the fancy diary display shows only the first line of the entry (in the above, ending after `works'). In GNU Emacs 22.0.50.14 (i686-pc-linux-gnu, GTK+ Version 2.8.10) of 2006-04-17 on escher X server distributor `The X.Org Foundation', version 11.0.60802000 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 show-paren-mode: t display-time-mode: t tooltip-mode: t auto-compression-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 column-number-mode: t line-number-mode: t Recent input: t SPC w i t h SPC e m a c s SPC - Q <backspace> D SPC - Q <return> <return> S t e v e SPC B e r m a n <up> <up> C-e SPC ( I SPC d o n ' t SPC k <backspace> h a v e SPC t h e SPC t o o l SPC b a r SPC t u r n e d SPC o f f SPC i n SPC m y SPC . X M-/ ) . C-c C-c q M-x r e p o r <tab> <return> Recent messages: Auto-saving...done Mark set [3 times] Sending... Sending news via news.gmane.org using nntp... Opening nnfolder server on archive...done Saving file /home/steve/Mail/archive/sent... Wrote /home/steve/Mail/archive/sent Sending...done Auto-saving...done Loading emacsbug...done _______________________________________________ emacs-pretest-bug mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
