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

Re: [Mutt] #2087: "%>" in pager_format overshoots by 10 repetitions



#2087: "%>" in pager_format overshoots by 10 repetitions

Changes (by brendan):

  * owner:  mutt-dev => brendan
  * status:  new => assigned
  * component:  mutt => display
  * milestone:  => 1.6

Old 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
> }}}

New 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

-- 
Ticket URL: <http://dev.mutt.org/trac/ticket/2087#comment:3>