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

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

Re: .emacs poser


From: Yuri Khan
Subject: Re: .emacs poser
Date: Tue, 17 Dec 2013 10:06:52 +0700

On Tue, Dec 17, 2013 at 7:01 AM, B. T. Raven <btraven@nihilo.net> wrote:

> In my emacs I have these global-set-key forms:

IMO you’re doing it wrong, by solving the general problem of entering
special character for a specific case of Emacs.

> ;;(global-set-key "\C-cM" (lambda () (interactive)  (insert  ?̄✠)))

> the glyph shown is the Maltese cross but any character after the ? fails
> to work in the same way.

What I see[1] is Maltese Cross and a Macron over the preceding
character. That’s two code points, not one. You need to either remove
the macron, or treat the two characters as a string, enclosing it in
quotes instead of prefixing with a question mark.

[1]: I actually see the macron over the Maltese cross, but that’s due
to a bug in font rendering on my system. Diacritic marks are supposed
to affect the preceding character, and in your message the macron code
point appears between the question mark and the Maltese cross.



reply via email to

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