Re: [bug?] pager_index_lines

2000-06-16 Thread Marius Gedminas

On Fri, Jun 16, 2000 at 02:08:51AM +0200, Marius Gedminas wrote:
> Suggested documentation patch:
> 
> --- init.h  2000/06/15 21:37:05 2.96
> +++ init.h  2000/06/16 00:07:36
> @@ -1057,9 +1057,9 @@
>** remain to be read in the current thread.  One of the lines is reserved
>** for the status bar from the index, so a \fIpager_index_lines\fP of 6
>** will only show 5 lines of the actual index.  A value of 0 results in
> -  ** no index being shown.  If the number of messages in the current folder
> -  ** is less than \fIpager_index_lines\fP, then the index will only use as
> -  ** many lines as it needs.
> +  ** no index being shown.  If the number of visible messages in the current
> +  ** folder is less than \fIpager_index_lines\fP, then the index will only
> +  ** use as any lines as it needs.
   ^^^

Should be `many'.  Thanks, David.

Marius Gedminas
-- 
Bumper sticker: Alcohol and calculus don't mix.  Never drink and derive.



Re: [bug?] pager_index_lines

2000-06-16 Thread Byrial Jensen

On Thu, Jun 15, 2000 at 20:13:24 +0200, Marius Gedminas wrote:
> Today a strange thing occured to me: setting pager_index_lines to 4 or
> 10 (I have macros for this) gave me just one index line on top.

If there only is one message in your mailbox, you will only get one
index line. If there is more messages this should not happen.

Can you give a recipe to reproduce it?

-- 
Byrial
http://home.worldonline.dk/~byrial/



Re: [bug?] pager_index_lines

2000-06-15 Thread Marius Gedminas

On Fri, Jun 16, 2000 at 12:16:28AM +0200, Michael Tatge wrote:
> Are you sure you had more than 1 message in the folder?

On Fri, Jun 16, 2000 at 02:33:56AM +0300, Mikko Hänninen wrote:
> I've seen this situation when the folder has only one message, the mini
> index at the top doesn't use up the full assigned space in that case.
> 
> If the folder had more than one email, then I don't know...

I think I now understand what had happened.  The folder had more than ten
messages, but a limit pattern matching only a single message was active.

Suggested documentation patch:

--- init.h  2000/06/15 21:37:05 2.96
+++ init.h  2000/06/16 00:07:36
@@ -1057,9 +1057,9 @@
   ** remain to be read in the current thread.  One of the lines is reserved
   ** for the status bar from the index, so a \fIpager_index_lines\fP of 6
   ** will only show 5 lines of the actual index.  A value of 0 results in
-  ** no index being shown.  If the number of messages in the current folder
-  ** is less than \fIpager_index_lines\fP, then the index will only use as
-  ** many lines as it needs.
+  ** no index being shown.  If the number of visible messages in the current
+  ** folder is less than \fIpager_index_lines\fP, then the index will only
+  ** use as any lines as it needs.
   */
   { "pager_stop",  DT_BOOL, R_NONE, OPTPAGERSTOP, 0 },
   /*


Marius Gedminas
-- 
"Only wimps use tape backup: _real_ men just upload their important stuff
on ftp, and let the rest of the world mirror it ;)"
(Linus Torvalds, about his failing hard drive on linux.cs.helsinki.fi)



Re: [bug?] pager_index_lines

2000-06-15 Thread Mikko Hänninen

Marius Gedminas <[EMAIL PROTECTED]> wrote on Thu, 15 Jun 2000:
> Today a strange thing occured to me: setting pager_index_lines to 4 or
> 10 (I have macros for this) gave me just one index line on top.  I've
> checked (with :set pager_index_lines=) that the value was correct.
> After restarting mutt things were back to normal.
> 
> Has anyone else experienced this?  I'm using Mutt 1.2.

I've seen this situation when the folder has only one message, the mini
index at the top doesn't use up the full assigned space in that case.

If the folder had more than one email, then I don't know...


Mikko
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
Of all the things I've lost, I miss my mind the most.



Re: [bug?] pager_index_lines

2000-06-15 Thread Michael Tatge

Marius Gedminas muttered:
> Today a strange thing occured to me: setting pager_index_lines to 4 or
> 10 (I have macros for this) gave me just one index line on top.  I've
> checked (with :set pager_index_lines=) that the value was correct.
> After restarting mutt things were back to normal.
> 
> Has anyone else experienced this?  I'm using Mutt 1.2.

Suresh Ramasubramanian muttered:
> 
> I have not been able to repro this on mutt 1.3 (standard ./configure and
> make install)

Me not either with mutt-1.2i.
Are you sure you had more than 1 message in the folder?

HTH,

Michael
-- 
Overflow on /dev/null, please empty the bit bucket.

PGP-fingerprint: DECA E9D2 EBDD 0FE0 0A65  40FA 5967 ACA1 0B57 7C13



Re: [bug?] pager_index_lines

2000-06-15 Thread Marius Gedminas

On Thu, Jun 15, 2000 at 11:53:46PM +0530, Suresh Ramasubramanian wrote:
> Marius Gedminas proclaimed on mutt-users that: 
> 
> >Today a strange thing occured to me: setting pager_index_lines to 4 or
> >10 (I have macros for this) gave me just one index line on top.  I've
> >checked (with :set pager_index_lines=) that the value was correct.
> >After restarting mutt things were back to normal.
> >
> >Has anyone else experienced this?  I'm using Mutt 1.2.
> 
> I have not been able to repro this on mutt 1.3 (standard ./configure and
> make install) and I hate the two window view, so am removing that line now
> from my muttrc ;)

The only reason why I use it is keeping track of threads.  There are no
`%' macros for status_format that would show the number of messages in
current thread and the number of the current message relative to the
start of thread.

Marius Gedminas
-- 
"I may not understand what I'm installing, but that's not my job. I
just need to click Next, Next, Finish here so I can walk to the next
system and repeat the process"
-- Anonymous NT Admin



Re: [bug?] pager_index_lines

2000-06-15 Thread Suresh Ramasubramanian

Marius Gedminas proclaimed on mutt-users that: 

>Today a strange thing occured to me: setting pager_index_lines to 4 or
>10 (I have macros for this) gave me just one index line on top.  I've
>checked (with :set pager_index_lines=) that the value was correct.
>After restarting mutt things were back to normal.
>
>Has anyone else experienced this?  I'm using Mutt 1.2.

I have not been able to repro this on mutt 1.3 (standard ./configure and
make install) and I hate the two window view, so am removing that line now
from my muttrc ;)

-- 
Suresh Ramasubramanian + [EMAIL PROTECTED]
"The Schizophrenic: An Unauthorized Autobiography"