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

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

Re: fancy diary display and longlines-mode


From: Stephen Berman
Subject: Re: fancy diary display and longlines-mode
Date: Fri, 21 Apr 2006 23:56:46 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

On Fri, 21 Apr 2006 15:32:06 +0200 Stephen Berman
<address@hidden> wrote: 

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

I realized after sending this that it has nothing to do with
longlines-mode, it's a consequence of the diary format, as documented
in the Emacs manual.  Sorry for the false alarm.

Steve Berman





reply via email to

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