[Top][All Lists]

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

Re: BUG in scroll-lock-mode?

From: Juri Linkov
Subject: Re: BUG in scroll-lock-mode?
Date: Fri, 08 Jun 2007 11:55:35 +0300
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

> As far as I understand the Scroll Lock key was originally supposed to
> toggle scroll lock globally, i.e. for the desktop as a whole, just like
> Caps Lock or Num Lock.  There are even keyboards which provide an LED
> for indicating if scroll lock is active.

IIRC the Scroll Lock key was supposed to toggle scroll lock separately in
every window.  So when you turn the scroll on in one window (this activates
the LED indication), in all other windows Scroll mode is not active, and
switching to another window will deactivate the LED indication.

> I'm not sure if it is actually possible to configure an X server like
> that.  (Some research on the interweb did not really reveal useful
> results.)  But if this is the case, the behavior I'd expect would be
> that Emacs recognizes a globally activated scroll lock (even when not
> having focus) and activates Scroll Lock mode for all buffers.

I don't know how to recognize the globally activated scroll lock, but to
activate Scroll Lock mode for all buffers in Emacs requires a global
scroll-lock mode.  So we can't avoid creating it.

Is there any harm in binding the scroll lock key to the global-scroll-lock
mode?  Systems that handle the scroll lock key won't pass it to Emacs, so
there will be no conflict with them.  However, this key will be useful on
systems that pass this key to Emacs.

Juri Linkov

reply via email to

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