help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Annoying arrow key scroll behaviour in emacs 27


From: Steinar Bang
Subject: Re: Annoying arrow key scroll behaviour in emacs 27
Date: Wed, 01 Dec 2021 17:26:57 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (windows-nt)

>>>>> Steinar Bang <sb@dod.no>:
>>>>> Michael Heerdegen <michael_heerdegen@web.de>:
>>> Steinar Bang <sb@dod.no> writes:

>>>> Now I just got to figure out what switches the behaviour on
>>>> (i.e. it's ".emacs bisect time" again...).

>>> Alternatively add (debug-on-entry 'scroll-lock-mode) near the
>>> beginning of your config and restart.  The backtrace should tell you
>>> what invoked the mode, you see which form in which file is currently
>>> processed etc.  c to continue.  Then remove the `debug-on-entry'
>>> call.

>> Huh... that was weird...?

>> Looks like the command is run, but I swear it wasn't by me, at least not
>> intentionally:
> [snip!]
>> What I did to get that stack trace was to Alt-TAB to a different window
>> and back. Could it be that Alt-TAB is interpreted as Scroll_lock?

> The Alt-TAB between window is the culprit!

> Every time I switch into an emacs window with Alt-TAB I toggle
> scroll-lock-mode on or off.

Correction: it's not the Alt-TAB, it's the selection of the emacs window
that toggles scroll-lock mode on or off.

Even when I select an emacs window with the mouse cursor, it triggers
toggling of scroll-lock-mode.

But one question remains: how do I get rid of this behaviour?



reply via email to

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