[Top][All Lists]

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

[Nmh-workers] Re: BUG: cur updated too early on show

From: Bill Wohler
Subject: [Nmh-workers] Re: BUG: cur updated too early on show
Date: Sat, 04 Jun 2005 10:36:19 -0700
User-agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux)

Jerrad Pierce <address@hidden> writes:

> If I
>    show all
> and quit "prematurely" cur is now last, and not the file being displayed when
> I quit (or even the cur before I quit). This is probably due to an 
> optimization
> to pass the expanded sequence all to the pager to avoid multiple invocations.
> Most pagers are light weight and this is usually not a problem on modern
> systems. I, however have no easy solution.

show works as documented:

           If a folder is given, it will become the current folder.
           The last message shown will become the current message.

As far as show is concerned, it has shown the last message since it
passed them all to the showproc.

You can achieve the behavior you want by calling show individually on
each message in the sequence with the following script:

   for i in `scan -format '%(msg)' $msgs`; do show $i; done

Bill Wohler <address@hidden>  http://www.newt.com/wohler/  GnuPG ID:610BD9AD
Maintainer of comp.mail.mh FAQ and MH-E. Vote Libertarian!
If you're passed on the right, you're in the wrong lane.

reply via email to

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