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

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

Persisting centered cursor with Scroll Lock key


From: Torsten Bronger
Subject: Persisting centered cursor with Scroll Lock key
Date: Sat, 08 May 2004 18:14:26 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux)

Halloechen!

I want to achieve the following: When Scroll Lock is active,
i.e. when the respective keyboard diode is on, the cursor is always
in the centre of the frame.

I think I can do this myself, with something like

(global-set-key [Scroll_Lock] (whatever))

but what is the most elegant/safest way to keep the cursor in the
center of the window, no matter how the position is changed (arrow
keys, control key sequences, mouse wheel etc)?

Thank you!

Tschoe,
Torsten.

-- 
Torsten Bronger, aquisgrana, europa vetus


reply via email to

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