help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: UTF-8 characters in comments of a program


From: Leo Butler
Subject: Re: UTF-8 characters in comments of a program
Date: Mon, 23 Oct 2023 15:39:01 +0000
User-agent: Gnus/5.13 (Gnus v5.13)

On Sat, Oct 21 2023, Heime <heimeborgia@protonmail.com> wrote:

> Sent with Proton Mail secure email.
>
> ------- Original Message -------
> On Saturday, October 21st, 2023 at 11:46 PM, Eli Zaretskii <eliz@gnu.org> 
> wrote:
>
>
>> > Date: Sat, 21 Oct 2023 11:36:44 +0000
>> > From: Heime heimeborgia@protonmail.com
>> > Cc: help-gnu-emacs@gnu.org
>> > 
>> > > Just type ? followed by the character, which you can type via "C-x 8 RET"
>> > > followed by the Unicode codepoint in hex.
>> > 
>> > It would help a lot if after the name, the actual symbol is shown when 
>> > using "C-x 8 RET".
>> 
>> 
>> It is shown if you type TAB with incomplete name. If your name is
>> complete, then it is shown in the buffer into which it is inserted.
>
> Thank you.

Since you mentioned latex in your original post, then you are perhaps
familiar with how to get (la)tex to emit ê (\^e). You can use the TeX
input method to do this in emacs: in a buffer, type C-\ TeX RET. Then,
most plain tex commands, like \alpha or \"e, are translated to glyphs
like α or ë.

For more information, see:

(info "(emacs) Input Methods")

One additional tip: if you have a glyph like € and you want to know how
to enter it, put point on top of it and type C-u C-x =.

Leo

reply via email to

[Prev in Thread] Current Thread [Next in Thread]