From: Jean Louis <bugs@gnu.support>
To: Hongyi Zhao <hongyi.zhao@gmail.com>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: Why use CTL-x CTL-c to quit instead of CTL-x CTL-q?
Date: Tue, 6 Apr 2021 10:59:08 +0300 [thread overview]
Message-ID: <YGwUzDMjgUubW+Ox@protected.localdomain> (raw)
In-Reply-To: <CAGP6POKoWBThHhG7V76YbpwF6rmEC+pusFjc_VFWD=Rvp3-W6g@mail.gmail.com>
* Hongyi Zhao <hongyi.zhao@gmail.com> [2021-04-06 05:50]:
> Obviously, from a mnemonic perspective, CTL-x CTL-q is more intuitive
> than CTL-x CTL-c.
To customize it personally, user may do following:
(global-set-key (kbd "C-x C-q") 'save-buffers-kill-terminal)
That is probably related to computer history. At some point of time
one could quit many applications with ESC or ESCAPE, that one is more
logical to me, today ESC does not work as expected. In Emacs Escape
has different meaning, but I almost never use it.
I may guess that logic comes from Control-C on terminal to abort
action, and that Emacs adopted CTRL-C with the prefix.
More about Control-C: https://en.wikipedia.org/wiki/Control-C
Thus the meaning comes from computer history.
Quote:
"Control+C ("C for Cancel")[3] was part of various Digital Equipment
operating systems, including TOPS-10 and TOPS-20. Its popularity as an
abort command was adopted by other systems including Unix."
Meanings of "cancel" and "quit" are different, though similar. My
dictionary Wordnet does not tell me they are synonyms, I would say
they are.
When program is funning furiously on terminal we often "cancel" it
with CTRL-C, but don't quit like saying "Good bye" to program, we
cancel the execution abruptly. From that logic probably it was adopted
in Emacs.
Author RMS and few experienced users of that time would know it.
--
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
Sign an open letter in support of Richard M. Stallman
https://rms-support-letter.github.io/
next prev parent reply other threads:[~2021-04-06 7:59 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-04-06 2:49 Why use CTL-x CTL-c to quit instead of CTL-x CTL-q? Hongyi Zhao
2021-04-06 7:59 ` Jean Louis [this message]
2021-04-06 12:34 ` Skip Montanaro
2021-04-06 14:53 ` Skip Montanaro
2021-04-06 15:40 ` Stefan Monnier
2021-04-06 16:17 ` Gregory Heytings
2021-04-06 15:15 ` Philip Kaludercic
2021-04-06 20:52 ` Jean Louis
2021-04-06 21:00 ` Jean Louis
2021-04-06 23:03 ` Stefan Monnier
2021-04-06 23:16 ` Skip Montanaro
2021-04-07 21:02 ` Francis Belliveau
2021-04-07 23:00 ` Philip Kaludercic
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=YGwUzDMjgUubW+Ox@protected.localdomain \
--to=bugs@gnu.support \
--cc=help-gnu-emacs@gnu.org \
--cc=hongyi.zhao@gmail.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.