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

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

Re: RMAIL line count problem


From: Eli Zaretskii
Subject: Re: RMAIL line count problem
Date: Sun, 28 Oct 2001 13:06:03 +0200 (IST)

On Sun, 28 Oct 2001, Andrew M. Bishop wrote:

>                   (format (cond
>                            ((<= lines     9) "   [%d]")
>                            ((<= lines    99) "  [%d]")
>                            ((<= lines   999) " [%3d]")
>                            (t             "[%d]"))
>                           lines))))
> 
> When the number of lines is more than 999 there is not a space before
> the line count following the to/from name.  This stops font-lock
> regexps from finding the line count (since there may be '[' characters
> in the name).

Thanks, this is already fixed in the development sources.

> The fix is trivial, use " [%d]" for this case and let it shift right
> by one character.

I think this is the wrong way to fix this, since many rmail-related 
features expect 4 characters to be allocated to the message id, and will 
break if this assumption is false.



reply via email to

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