[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: |
Sat, 12 Sep 2020 18:13:38 +0700 |
On Sat, 12 Sep 2020 at 05:15, Ergus <spacibba@aol.com> wrote:
> 4) Right click: (Probably it is the most lacking functionality and
> surprising for any user not using the terminal.) Right click is expected
> to bring a panel with the most common operations. It is useful, fast
> and somehow standard since 1995 while removing most of the needs of the
> toolbar which takes precious vertical space.
I want to clarify an important detail here. Right click is expected to
display a *context menu* and the context menu is expected to contain
commands that are related to the object that received the right click.
This does not always correlate with “the most common operations”.
Right-clicking a misspelled word offers a list of possible
corrections. Right-clicking with a highlighted region offers Cut and
Copy. (Actually, Cut/Copy/Paste are always on the context menu for
text editors, and get enabled/disabled depending on availability.) In
a programming mode, right-clicking an identifier could offer
xref-find-definitions and xref-find-references.
Applications made with greater attention to UI design also extend the
context menu functionality to other UI elements. Right-clicking a
toolbar offers to hide or customize it. Right-clicking a tab offers to
save or close the document.
Implementing a context menu in Emacs is not a simple matter of binding
<mouse-3> to any of the menus displayed by <C-mouse-1…3>. Someone™
needs to pick things that are relevant in each context. More likely,
each major mode needs to pick things that are appropriate in its
buffers.
- Re: "modern" colors Re: Changes for emacs 28, (continued)
- Re: "modern" colors Re: Changes for emacs 28, Stefan Monnier, 2020/09/12
- Re: "modern" colors Re: Changes for emacs 28, Richard Stallman, 2020/09/13
- Re: "modern" colors Re: Changes for emacs 28, Göktuğ Kayaalp, 2020/09/13
- Re: "modern" colors Re: Changes for emacs 28, Richard Stallman, 2020/09/13
- Re: "modern" colors Re: Changes for emacs 28, Göktuğ Kayaalp, 2020/09/14
- Re: "modern" colors Re: Changes for emacs 28, Ergus, 2020/09/14
- Re: "modern" colors Re: Changes for emacs 28, Eli Zaretskii, 2020/09/14
- RE: "modern" colors Re: Changes for emacs 28, Drew Adams, 2020/09/14
- Re: "modern" colors Re: Changes for emacs 28, Stefan Monnier, 2020/09/12
- Re: "modern" colors Re: Changes for emacs 28, Iñigo Serna, 2020/09/12
- Re: "modern" colors Re: Changes for emacs 28,
Yuri Khan <=
- Re: "modern" colors Re: Changes for emacs 28, Ergus, 2020/09/12
- RE: "modern" colors Re: Changes for emacs 28, Drew Adams, 2020/09/12
- Re: "modern" colors Re: Changes for emacs 28, Alfred M. Szmidt, 2020/09/12
- Re: "modern" colors Re: Changes for emacs 28, Ergus, 2020/09/12
- Re: "modern" colors Re: Changes for emacs 28, Alfred M. Szmidt, 2020/09/12
- Re: "modern" colors Re: Changes for emacs 28, TEC, 2020/09/12
- Re: "modern" colors Re: Changes for emacs 28, TEC, 2020/09/12
- Re: "modern" colors Re: Changes for emacs 28, TEC, 2020/09/12
- Re: "modern" colors Re: Changes for emacs 28, Ergus, 2020/09/12
- Re: "modern" colors Re: Changes for emacs 28, TEC, 2020/09/13