* C-q some-number
@ 2023-02-22 13:49 Andreas Röhler
2023-02-22 14:00 ` Thibaut Verron
2023-02-22 14:01 ` Anders Munch
0 siblings, 2 replies; 3+ messages in thread
From: Andreas Röhler @ 2023-02-22 13:49 UTC (permalink / raw)
To: help-gnu-emacs
Hi,
while "C-q some-char" inserts that char as expected, not so when typing
any number from 0-9.
Any explanation?
Thanks,
Andreas
GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.33,
cairo version 1.16.0) of 2023-02-01
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: C-q some-number
2023-02-22 13:49 C-q some-number Andreas Röhler
@ 2023-02-22 14:00 ` Thibaut Verron
2023-02-22 14:01 ` Anders Munch
1 sibling, 0 replies; 3+ messages in thread
From: Thibaut Verron @ 2023-02-22 14:00 UTC (permalink / raw)
To: Andreas Röhler, help-gnu-emacs
Hi,
> while "C-q some-char" inserts that char as expected, not so when
> typing any number from 0-9.
That's actually inexact, the numbers 8 and 9 are inserted like other
chars. :)
Numbers below 8 are interpreted as the octal code of a character,
terminated by the first non-digit character.
This behavior is described in more details in the docstring of the bound
function quoted-insert, accessible with C-h k C-q.
Best wishes,
Thibaut
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: C-q some-number
2023-02-22 13:49 C-q some-number Andreas Röhler
2023-02-22 14:00 ` Thibaut Verron
@ 2023-02-22 14:01 ` Anders Munch
1 sibling, 0 replies; 3+ messages in thread
From: Anders Munch @ 2023-02-22 14:01 UTC (permalink / raw)
To: help-gnu-emacs@gnu.org
> while "C-q some-char" inserts that char as expected, not so when typing any number from 0-9.
> Any explanation?
None that is better than what
C-h k C-q
would have told you.
regards, Anders
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-02-22 14:01 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-22 13:49 C-q some-number Andreas Röhler
2023-02-22 14:00 ` Thibaut Verron
2023-02-22 14:01 ` Anders Munch
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.