> 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 http://www.jurta.org/emacs/ _______________________________________________ emacs-pretest-bug mailing list emacs-pretest-bug@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug