<<< Date Index >>>     <<< Thread Index >>>

mutt/2087: "%>" in pager_format overshoots by 10 repetitions



>Number:         2087
>Notify-List:    259145@xxxxxxxxxxxxxxx
>Category:       mutt
>Synopsis:       "%>" in pager_format overshoots by 10 repetitions
>Confidential:   no
>Severity:       normal
>Priority:       medium
>Responsible:    mutt-dev
>State:          open
>Keywords:       
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Sep 25 22:53:29 +0200 2005
>Originator:     Chung-chieh Shan
>Release:        1.5.11
>Organization:
>Environment:
>Description:
Hi, this is Debian Bug#259145. The original report was:

Hello,

A construction like "%>-" in pager_format should make the rest of the
pager status line flush right against " -- (63%) ". Instead, "%>-" in
pager_format fails to take the width of " -- (63%) " (that is, 10)
into account.  Hence the last 10 characters of the pager status line
gets cut off.  A current workaround is to append ten characters to my
pager_format setting.

* * *

I can reproduce this with e.g.:

mutt -nF /dev/null -e 'set pager_format="%>- %s"' -e 'push <ENTER>' -f 
any-mailbox
>How-To-Repeat:
>Fix:
Unknown
>Add-To-Audit-Trail:

>Unformatted: