From: jai-bholeki via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Universal Prefix Argument using M-1..9 and C-1..9
Date: Mon, 02 Nov 2020 19:32:41 +0000 [thread overview]
Message-ID: <-A6183yV5lWjZfhDiIe3o7_xpnosqMpY3r5xZ2z1IlTo-S386ZfCHWIARLbc9UOAZBm77T64TZIQPUcDKYPPUDJrGLYjF8Z3JS7dv5Ddw8k=@protonmail.com> (raw)
I am going through the documentation regarding the Universal Prefix Argument.
For instance, one can quickly set a prefix using M-1 to M-9 which call 'digit-argument'.
One can also use C-1 to C-9, which also call 'digit-argument'. That is, C-0, C-1, etc. act the same as M-0, M-1, etc.
I am writing a software that could use C-1, C-2, and C-3 but I have now started having reservations on whether it is a good idea. How often do people use M-1..9 and C-1..9
to set the Universal Prefix Argument?
A related question is why Emacs uses different keybindings (e.g. M-1..9 and C-1..9)
to do exactly the same thing, with the repercussion that users have less availability
to set keybindings themselves without affecting other users using their software
to conflict from Emacs Built-In Key Shortcuts.
next reply other threads:[~2020-11-02 19:32 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-02 19:32 jai-bholeki via Users list for the GNU Emacs text editor [this message]
2020-11-02 19:39 ` Universal Prefix Argument using M-1..9 and C-1..9 Eli Zaretskii
2020-11-02 20:01 ` jai-bholeki
2020-11-02 21:01 ` Stefan Monnier
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='-A6183yV5lWjZfhDiIe3o7_xpnosqMpY3r5xZ2z1IlTo-S386ZfCHWIARLbc9UOAZBm77T64TZIQPUcDKYPPUDJrGLYjF8Z3JS7dv5Ddw8k=@protonmail.com' \
--to=help-gnu-emacs@gnu.org \
--cc=jai-bholeki@protonmail.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.
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).