Possible to not leave pager if up on first or down on last message?
When I'm in the pager and on the first message, if I accidentally press it takes me to the index, with a message of "You are on the first message". This makes sense, but I would prefer to stay in the pager. Similarly for pressing on the last messsage, I would prefer to stay in the pager. Is it possible to configure this? My use case is I find it very helpful to be able to focus on one email at a time, without knowing how many emails I have. I start mutt with: mutt -e "push " Best, Scott
Re: Possible to not leave pager if up on first or down on last message?
Hi Scott, Scott Kostyshak wrote: > When I'm in the pager and on the first message, if I accidentally press > it takes me to the index, with a message of "You are on the first > message". This makes sense, but I would prefer to stay in the pager. > Similarly for pressing on the last messsage, I would prefer to > stay in the pager. Is it possible to configure this? > > My use case is I find it very helpful to be able to focus on one email > at a time, without knowing how many emails I have. I start mutt with: > > mutt -e "push " I think you want the pager_stop¹ variable: 3.169. pager_stop Type: boolean Default: no When set, the internal-pager will not move to the next message when you are at the end of a message and invoke the function. ¹ http://www.mutt.org/doc/manual/#pager-stop -- Todd ~~ In my life, I have prayed but one prayer: oh Lord, make my enemies ridiculous. And God granted it. -- Voltaire signature.asc Description: PGP signature
Re: Possible to not leave pager if up on first or down on last message?
On Wed, Dec 20, 2017 at 14:14:38 -0500, Todd Zullinger wrote: > I think you want the pager_stop? variable: > > 3.169. pager_stop > > Type: boolean > Default: no > > When set, the internal-pager will not move to the next > message when you are at the end of a message and invoke > the function. That's for internal page navigation. Pressing or is an index operation and doesn't affect Scott's issue. (This is the setup I have now and Up/Down still close the pager for me.) --Ben
Re: Possible to not leave pager if up on first or down on last message?
Ben Boeckel wrote: > On Wed, Dec 20, 2017 at 14:14:38 -0500, Todd Zullinger wrote: >> I think you want the pager_stop? variable: >> >> 3.169. pager_stop >> >> Type: boolean >> Default: no >> >> When set, the internal-pager will not move to the next >> message when you are at the end of a message and invoke >> the function. > > That's for internal page navigation. Pressing or is an index > operation and doesn't affect Scott's issue. (This is the setup I have > now and Up/Down still close the pager for me.) Oops, sorry about that. I also have some key bindings to remap and which I didn't remember. bindpager previous-line bindpager next-line I knew this sort of thing used to bug me and when I looked at pager_stop in my muttrc, I thought that was it. It's been many years since I set most of these things. My memory is obviously not as clear as I'd like to think. ;) -- Todd ~~ Fleas can be taught nearly anything that a Congressman can. -- Mark Twain signature.asc Description: PGP signature
Re: Possible to not leave pager if up on first or down on last message?
On Wed, Dec 20, 2017 at 09:00:34PM +, Todd Zullinger wrote: > Ben Boeckel wrote: > > On Wed, Dec 20, 2017 at 14:14:38 -0500, Todd Zullinger wrote: > >> I think you want the pager_stop? variable: > >> > >> 3.169. pager_stop > >> > >> Type: boolean > >> Default: no > >> > >> When set, the internal-pager will not move to the next > >> message when you are at the end of a message and invoke > >> the function. > > > > That's for internal page navigation. Pressing or is an index > > operation and doesn't affect Scott's issue. (This is the setup I have > > now and Up/Down still close the pager for me.) > > Oops, sorry about that. I also have some key bindings to > remap and which I didn't remember. > > bindpager previous-line > bindpager next-line > > I knew this sort of thing used to bug me and when I looked > at pager_stop in my muttrc, I thought that was it. It's > been many years since I set most of these things. My memory > is obviously not as clear as I'd like to think. ;) > > -- > Todd > ~~ > Fleas can be taught nearly anything that a Congressman can. > -- Mark Twain > Thank you for the replies, Todd and Ben. It seems there's not a configuration variable for what I would like to achieve. Scott