On Sun, Jul 18, 2010 at 01:17:41PM -0700, Michael Elkins wrote:
>On Sun, Jul 18, 2010 at 05:58:18PM +0200, Andre Majorel wrote:
>>Is there a way to configure Mutt so that, after a jump, the target
>>line does not end up at the edge of the screen ? Perhaps something
>>like less's -j or a minimum number of lines from the top or bottom
>>of the screen...
>
>I believe you are looking for
>http://www.mutt.org/doc/devel/manual.html#menu-context

For GNU Screen when scrolling through history (I think) I set up something like
this on scrollback, (n/2)-1.  In other words, n = "number of lines on the
screen" divided by 2 is what is default.  I then subtract one line, so this
gives me a line at the top or bottom of the page which I can use for reference
and lets me know if I've pressed pgup/pgdown too many times or an anomaly has
occurred and I skipped over a message or other data.

Can (n/2)-1 equation or similar equation be used for pager_context?

(I believe I'm looking at the correct configuration variable.)

-- 
Roger
http://rogerx.freeshell.org/

Attachment: pgpQkfKtOUsEo.pgp
Description: PGP signature

Reply via email to