[Top][All Lists]

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

Re: [Emacs-diffs] /srv/bzr/emacs/trunk r99831: Scrolling commands which

From: Stefan Monnier
Subject: Re: [Emacs-diffs] /srv/bzr/emacs/trunk r99831: Scrolling commands which does not signal errors at top/bottom.
Date: Fri, 09 Apr 2010 11:29:49 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> `mwheel-scroll' disobeys `scroll-preserve-screen-position' too.  I think
> it would be wrong to add all possible scrolling commands to this code:

>           && !EQ (current_kboard->Vlast_command, Qscroll_up)))
>           && !EQ (current_kboard->Vlast_command, Qscroll_down)
>           && !EQ (current_kboard->Vlast_command, Qscroll_up_command)
>           && !EQ (current_kboard->Vlast_command, Qscroll_down_command)))

Please add a new variable so we can do

            && NILP (Fmemq (current_kboard->Vlast_command, Vnewvariable))

and let Lisp packages add their commands to that variable.


reply via email to

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