* Enter special characters
@ 2007-04-05 12:34 Paul Batt
2007-04-05 12:58 ` Hans-Christoph Wirth
2007-04-05 13:21 ` Peter Dyballa
0 siblings, 2 replies; 10+ messages in thread
From: Paul Batt @ 2007-04-05 12:34 UTC (permalink / raw)
To: help-gnu-emacs
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 168 bytes --]
In emacs how do you enter special characters (like « odr §) for which there
is no key on your keyboard? Is there anything like the Alt-<ISO-Nr.>
function in Windows?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Enter special characters
2007-04-05 12:34 Enter special characters Paul Batt
@ 2007-04-05 12:58 ` Hans-Christoph Wirth
2007-04-05 18:24 ` Paul Batt
2007-04-06 2:52 ` thorne
2007-04-05 13:21 ` Peter Dyballa
1 sibling, 2 replies; 10+ messages in thread
From: Hans-Christoph Wirth @ 2007-04-05 12:58 UTC (permalink / raw)
To: help-gnu-emacs
Paul Batt <paul.batt@gmx.net> wrote:
> Is there anything like the Alt-<ISO-Nr.> function in Windows?
C-q takes octal arguments.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Enter special characters
2007-04-05 12:34 Enter special characters Paul Batt
2007-04-05 12:58 ` Hans-Christoph Wirth
@ 2007-04-05 13:21 ` Peter Dyballa
1 sibling, 0 replies; 10+ messages in thread
From: Peter Dyballa @ 2007-04-05 13:21 UTC (permalink / raw)
To: Paul Batt; +Cc: help-gnu-emacs
Am 05.04.2007 um 14:34 schrieb Paul Batt:
> In emacs how do you enter special characters (like « odr §) for
> which there
> is no key on your keyboard? Is there anything like the Alt-<ISO-Nr.>
> function in Windows?
There are some input methods in GNU Emacs, you can hold down AltGr
(or such) while pressing other keys – and it works to enter C-q
<octal value> <some non-digit>. By changing read-quoted-char-radix
(this can be done via the customisation interface) to be 16 you can
insert any Unicode character by its number.
--
Mit friedvollen Grüßen
Pete
Ein Faulpelz ist ein Mensch, der sich nicht die Arbeit macht,
sein Nichtstun zu begründen. (Gabriel Laub)
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Enter special characters
2007-04-05 12:58 ` Hans-Christoph Wirth
@ 2007-04-05 18:24 ` Paul Batt
2007-04-06 2:52 ` thorne
1 sibling, 0 replies; 10+ messages in thread
From: Paul Batt @ 2007-04-05 18:24 UTC (permalink / raw)
To: help-gnu-emacs
"Hans-Christoph Wirth" <hcw@despammed.com> schrieb im Newsbeitrag
news:slrnf19sju.u12.hcw@helvetika.informatik.uni-wuerzburg.de...
> Paul Batt <paul.batt@gmx.net> wrote:
>> Is there anything like the Alt-<ISO-Nr.> function in Windows?
>
> C-q takes octal arguments.
Great!
BTW I have Emacs 21.3 under Windows. Any chance I teach it to take
Alt-NumericKeypad sequences?
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Enter special characters
2007-04-05 12:58 ` Hans-Christoph Wirth
2007-04-05 18:24 ` Paul Batt
@ 2007-04-06 2:52 ` thorne
2007-04-06 4:32 ` The Chief Instigator
1 sibling, 1 reply; 10+ messages in thread
From: thorne @ 2007-04-06 2:52 UTC (permalink / raw)
To: help-gnu-emacs
Hans-Christoph Wirth <hcw@despammed.com> writes:
> Paul Batt <paul.batt@gmx.net> wrote:
>> Is there anything like the Alt-<ISO-Nr.> function in Windows?
>
> C-q takes octal arguments.
Is this octal ASCII--or what? I would like to google for a list of
the characters and their octal numbers, but i don't know what the
encoding is. Or is this a big can of worms i should forget about?
--
þ theron tlåx þ
(compose-mail (concat "thorne@" (rot13 "gvzoeny") ".net"))
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Enter special characters
2007-04-06 2:52 ` thorne
@ 2007-04-06 4:32 ` The Chief Instigator
2007-04-06 11:04 ` thorne
0 siblings, 1 reply; 10+ messages in thread
From: The Chief Instigator @ 2007-04-06 4:32 UTC (permalink / raw)
To: help-gnu-emacs
thorne <thinly-disguised@spam-sucks.foo> writes:
>Hans-Christoph Wirth <hcw@despammed.com> writes:
>> Paul Batt <paul.batt@gmx.net> wrote:
>>> Is there anything like the Alt-<ISO-Nr.> function in Windows?
>> C-q takes octal arguments.
>Is this octal ASCII--or what? I would like to google for a list of
>the characters and their octal numbers, but i don't know what the
>encoding is. Or is this a big can of worms i should forget about?
It takes octal arguments - to insert a German "ss", just use C-q
0-3-3-7-return - six keystrokes, and you should get a ß inserted at the point.
(You won't get anything printable for 0000 octal through 0037 - 0040 is
a space, though - and from 0200 through 0237 (128 through 159 in decimal).)
--
Patrick "The Chief Instigator" Humphrey (patrick@io.com) Houston, Texas
chiefinstigator.us.tt/aeros.php (TCI's 2006-07 Houston Aeros) AA#2273
LAST GAME: Peoria 8, Houston 2 (April 3)
NEXT GAME: Friday, April 6 at Peoria, 7:35
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Enter special characters
2007-04-06 4:32 ` The Chief Instigator
@ 2007-04-06 11:04 ` thorne
2007-04-06 11:15 ` Joost Kremers
` (2 more replies)
0 siblings, 3 replies; 10+ messages in thread
From: thorne @ 2007-04-06 11:04 UTC (permalink / raw)
To: help-gnu-emacs
The Chief Instigator <patrick@eris.io.com> writes:
> thorne <thinly-disguised@spam-sucks.foo> writes:
>>Is this octal ASCII--or what? I would like to google for a list of
>>the characters and their octal numbers, but i don't know what the
>>encoding is. Or is this a big can of worms i should forget about?
>
> It takes octal arguments - to insert a German "ss", just use C-q
> 0-3-3-7-return - six keystrokes, and you should get a ß inserted at the point.
> (You won't get anything printable for 0000 octal through 0037 - 0040 is
> a space, though - and from 0200 through 0237 (128 through 159 in decimal).)
To what do these numbers corelate, and is there a list somewhere with
which i can look up specific ones?
--
þ theron tlåx þ
(compose-mail (concat "thorne@" (rot13 "gvzoeny") ".net"))
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Enter special characters
2007-04-06 11:04 ` thorne
@ 2007-04-06 11:15 ` Joost Kremers
2007-04-06 12:59 ` Pascal Bourguignon
2007-04-06 14:22 ` The Chief Instigator
2 siblings, 0 replies; 10+ messages in thread
From: Joost Kremers @ 2007-04-06 11:15 UTC (permalink / raw)
To: help-gnu-emacs
thorne wrote:
> The Chief Instigator <patrick@eris.io.com> writes:
>> It takes octal arguments - to insert a German "ss", just use C-q
>> 0-3-3-7-return - six keystrokes, and you should get a ß inserted at the point.
>> (You won't get anything printable for 0000 octal through 0037 - 0040 is
>> a space, though - and from 0200 through 0237 (128 through 159 in decimal).)
>
> To what do these numbers corelate, and is there a list somewhere with
> which i can look up specific ones?
it may be more practical to use an input method that provides what you
need. see the function toggle-input-method and the variable
default-input-method. for example, i use the input method latin-9-prefix,
which gives me several dead keys. then "a gives ä, ~o gives õ, etc. "s
gives ß, ~< gives «, /a gives å. you may find an input method that suits
your needs.
--
Joost Kremers joostkremers@yahoo.com
Selbst in die Unterwelt dringt durch Spalten Licht
EN:SiS(9)
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Enter special characters
2007-04-06 11:04 ` thorne
2007-04-06 11:15 ` Joost Kremers
@ 2007-04-06 12:59 ` Pascal Bourguignon
2007-04-06 14:22 ` The Chief Instigator
2 siblings, 0 replies; 10+ messages in thread
From: Pascal Bourguignon @ 2007-04-06 12:59 UTC (permalink / raw)
To: help-gnu-emacs
thorne <thinly-disguised@spam-sucks.foo> writes:
> The Chief Instigator <patrick@eris.io.com> writes:
>
>> thorne <thinly-disguised@spam-sucks.foo> writes:
>
>>>Is this octal ASCII--or what? I would like to google for a list of
>>>the characters and their octal numbers, but i don't know what the
>>>encoding is. Or is this a big can of worms i should forget about?
>>
>> It takes octal arguments - to insert a German "ss", just use C-q
>> 0-3-3-7-return - six keystrokes, and you should get a ß inserted at the point.
>> (You won't get anything printable for 0000 octal through 0037 - 0040 is
>> a space, though - and from 0200 through 0237 (128 through 159 in decimal).)
>
> To what do these numbers corelate, and is there a list somewhere with
> which i can look up specific ones?
They are the emacs codes corresponding to the character. Fortunately,
for characters in the iso-8859-1 character set (including ASCII), the
emacs encoding are the same as the iso-8859-1 encoding. But for other
unicode characters, the emacs codes are different. You'd have to read
emacs doc or sources to know what they are or how they map from
unicode to emacs, I guess.
You can set the variable read-quoted-char-radix to specify the base
C-q takes its number, (At least in emacs-version "22.0.94.1"), so you
don't have to convert from decimal to octal in your head.
You can find the iso-8859-1 coding table in wikipedia and numerous
other web sites, use google.
--
__Pascal Bourguignon__
http://www.informatimago.com
http://pjb.ogamita.org
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: Enter special characters
2007-04-06 11:04 ` thorne
2007-04-06 11:15 ` Joost Kremers
2007-04-06 12:59 ` Pascal Bourguignon
@ 2007-04-06 14:22 ` The Chief Instigator
2 siblings, 0 replies; 10+ messages in thread
From: The Chief Instigator @ 2007-04-06 14:22 UTC (permalink / raw)
To: help-gnu-emacs
thorne <thinly-disguised@spam-sucks.foo> writes:
>The Chief Instigator <patrick@eris.io.com> writes:
>> thorne <thinly-disguised@spam-sucks.foo> writes:
>>>Is this octal ASCII--or what? I would like to google for a list of
>>>the characters and their octal numbers, but i don't know what the
>>>encoding is. Or is this a big can of worms i should forget about?
>> It takes octal arguments - to insert a German "ss", just use C-q
>> 0-3-3-7-return - six keystrokes, and you should get a à inserted at the
>> point. (You won't get anything printable for 0000 octal through 0037 -
>> 0040 is a space, though - and from 0200 through 0237 (128 through 159 in
>> decimal).)
>To what do these numbers corelate, and is there a list somewhere with
>which i can look up specific ones?
The octal numbers are for entering special characters in the ISO-8859-1
character set, which is an 8-bit code. Other character sets may not follow
that rule.
--
Patrick "The Chief Instigator" Humphrey (patrick@io.com) Houston, Texas
chiefinstigator.us.tt/aeros.php (TCI's 2006-07 Houston Aeros) AA#2273
LAST GAME: Peoria 8, Houston 2 (April 3)
NEXT GAME: Friday, April 6 at Peoria, 7:35
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2007-04-06 14:22 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-04-05 12:34 Enter special characters Paul Batt
2007-04-05 12:58 ` Hans-Christoph Wirth
2007-04-05 18:24 ` Paul Batt
2007-04-06 2:52 ` thorne
2007-04-06 4:32 ` The Chief Instigator
2007-04-06 11:04 ` thorne
2007-04-06 11:15 ` Joost Kremers
2007-04-06 12:59 ` Pascal Bourguignon
2007-04-06 14:22 ` The Chief Instigator
2007-04-05 13:21 ` Peter Dyballa
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).