unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Marcin Borkowski <mbork@mbork.pl>
To: Drew Adams <drew.adams@oracle.com>
Cc: "Karl O. Pinc" <kop@meme.com>, Stefan Kangas <stefan@marxist.se>,
	3540@debbugs.gnu.org
Subject: bug#3540: Please reserve a ctrl-key combination for interoperability
Date: Sun, 06 Oct 2019 21:39:50 +0200	[thread overview]
Message-ID: <87tv8lek8p.fsf@mbork.pl> (raw)
In-Reply-To: <0d884621-5d6e-47c6-8a0e-d70d4c09f15e@default>


On 2019-10-06, at 18:10, Drew Adams <drew.adams@oracle.com> wrote:

>> As a partial solution, the manual *might* suggest to use C-z for that,
>> especially that is is bounded to a 99.99% useless command by default
>> (and using e.g. screen or tmux makes it 100% useless).
>
> No, please don't do that.  IMO:
>
> `C-z' is better used by users and libraries as a
> _prefix key_ (by users who are willing to forego
> the default binding).

Actually, that's what I do in my config.  (Is there anyone who actually
wants C-z's default binding???)

> The manual should not suggest that users bind any
> particular keys.  It's OK for a 3rd-party library
> to suggest key bindings.  It's not good for Emacs
> itself to do that.

I'm not sure I agree.  I'd welcome a list of bindings like C-z or M-o
which do nothing useful by default.  (In fact, I compiled such a list
myself - http://mbork.pl/2019-03-18_Free_Emacs_key_bindings - but I'm
not very happy with it.)

> 3rd-party libraries are opt-in by users.  Using
> one is like adding its feature/code to your init
> file - it's a user choice.
>
> The same isn't true of much of the code distributed
> by Emacs.  And even when a distributed library (e.g.
> `dired-x.el') is opt-in, Emacs should not suggest
> bindings for its commands.  "Suggestion" by Emacs
> is sometimes mistakenly taken by users as a "rule"
> or a convention.

That's why it should be made clear that it's a suggestion, like:

"Many users find some commands not useful for them at all.  They might
want to rebind their keys to ones that they use frequently."

> There's no good reason for Emacs to suggest that
> users use `C-z' for anything particular.

On the contrary, there is: the meaning of C-z is "I want to leave Emacs
for a moment and be able to come back".  If you use screen or tmux, you
express the same wish by pressing a combo starting with the prefix key.

Of course, I'm not insisting at all - just suggesting.

Best,

--
Marcin Borkowski
http://mbork.pl





  reply	other threads:[~2019-10-06 19:39 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-12  1:46 bug#3540: Please reserve a ctrl-key combination for interoperability Karl O. Pinc
2010-12-25 11:02 ` bug#3540: reserve a key + inform other gnu package maintainers and mode-authors Arne Babenhauserheide
2019-10-06  4:56 ` bug#3540: Please reserve a ctrl-key combination for interoperability Stefan Kangas
2019-10-06  7:04   ` Marcin Borkowski
2019-10-06 16:10     ` Drew Adams
2019-10-06 19:39       ` Marcin Borkowski [this message]
2019-10-06 21:29         ` Drew Adams
2019-10-09 18:33           ` Marcin Borkowski
2019-10-10 11:04             ` Stefan Kangas
2019-11-17 20:41               ` Stefan Kangas
2019-11-23 23:37               ` Stefan Kangas
2019-10-06 17:38     ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87tv8lek8p.fsf@mbork.pl \
    --to=mbork@mbork.pl \
    --cc=3540@debbugs.gnu.org \
    --cc=drew.adams@oracle.com \
    --cc=kop@meme.com \
    --cc=stefan@marxist.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).