emacs-devel
[Top][All Lists]
Advanced

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

Re: "modern" colors Re: Changes for emacs 28


From: Yuri Khan
Subject: Re: "modern" colors Re: Changes for emacs 28
Date: Thu, 10 Sep 2020 20:55:01 +0700

On Thu, 10 Sep 2020 at 20:22, Ergus <spacibba@aol.com> wrote:

> >> (OR hided OR enabled xterm-mouse-mode because otherwise the toolbar is
> >> pretty much useless as F10 is intercepted by most of the terminal
> >> emulators or desktop environments).
> >
> >If F10 is intercepted, perhaps we should also bind the command to
> >another key?  That's a simple and backward-compatible change.
> >
> I have discussed this with Stefan already and there are some small
> backward compatible changes we can do here because usually F10 is
> intercepted by gnome, toggle guake, gnome-terminal menu or tmux before
> arriving to emacs.

Most GUI terminal emulators have a preference option to refrain from
squatting important key combinations (F1, F10, Alt+F, Alt+E, …) for
their own UI and pass them to the application running within, although
that runs against keyboard accessibility of the terminal emulator.

Some in-terminal applications also have provisions that let them run
on terminals without function keys. For example, Midnight Commander
accepts ESC 1, …, ESC 0 (and thus also M-1, …, M-0) as equivalents of
F1..F10. Emacs could not adopt the same workaround though, because of
universal numeric argument.

(Also for historical reasons Midnight Commander opens its menu bar on
F9, not F10. F10 is Quit. This is because the MC descends in spirit
from Norton Commander whose keybindings were established way before
CUA.)

> 3) Underline the letter in the menus that "opens" each menu from the
> keyboard (as some Windows applications do)

Windows applications (and applications on other GUI toolkits that use
mnemonics) open those menus when those letters are pressed with the
Alt modifier. Emacs mostly cannot do that because Alt+F is M-f is
forward-word. In Emacs-GTK you can choose a different modifier key for
Meta, but in terminal I’m not sure.



reply via email to

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