Re: [PATCH] emacs: Message scrolling commands now accept a prefix argument

Subject: Re: [PATCH] emacs: Message scrolling commands now accept a prefix argument

Date: Tue, 2 Dec 2025 16:34:57 -0500

To: notmuch@notmuchmail.org

Cc:

From: Kristoffer Balintona


On Sun, Nov 30 2025, Kristoffer Balintona wrote:

> Hello,
>
> Attached is a proposed patch for allowing the `notmuch-show-mode' and
> `notmuch-tree-mode' scrolling commands (six in total) to accept an
> optional argument (interactively, the prefix argument). When the
> argument is non-nil, instead of the usual behavior, that many lines will
> be scrolled instead.
>
> This is the default prefix argument behavior of the built-in
> `scroll-up-command' and `scroll-down-command', so I think it's
> appropriate to implement them in notmuch's own scrolling commands.

Updated patch. There was a case in
`notmuch-tree-scroll-message-window-back' and
`notmuch-tree-scroll-message-window' that I had forgotten to address.
-- 
Kind regards,
Kristoffer
_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: