emacs-devel
[Top][All Lists]
Advanced

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

Re: Disambiguate modeline character for UTF-8?


From: Basil Contovounesios
Subject: Re: Disambiguate modeline character for UTF-8?
Date: Sat, 08 Jul 2023 16:27:43 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Eli Zaretskii [2023-07-08 11:49 +0300] wrote:

>> From: Ulrich Müller <ulm@gentoo.org>
>> Cc: eggert@cs.ucla.edu,  emacs-devel@gnu.org
>> Date: Fri, 07 Jul 2023 07:48:41 +0200
>> 
>> > Did that character on a GUI frame need a non-default font, or was it
>> > supported by the default font.  I'd expect the Cyrillic script to be
>> > supported by the fonts people use as the default in Emacs.
>> 
>> It's supported by the default font for me (which is Droid Sans Mono).
>> У aka U+0423 is contained in WGL4, and I guess that most fonts (also on
>> GNU/Linux) would cover a superset of it.
>> 
>> Updated patch below.
>
> Thanks, installed on master, with a followup change to document this
> in NEWS and explain how to get back the old behavior.

Thanks, but I think it's too early in the build to use \N{name} syntax:

Loading /home/blc/.local/src/emacs/lisp/language/cyrillic.el (source)...
Error: invalid-read-syntax ("\\N{cyrillic capital letter u}" 130 42)
  [...]
  
load-with-code-conversion("/home/blc/.local/src/emacs/lisp/language/cyrillic.el"
                            
"/home/blc/.local/src/emacs/lisp/language/cyrillic.el"
                            nil nil)
  load("language/cyrillic")
  load("loadup.el")

So I followed the example of lisp/international/mule-conf.el and
switched to ?\uXXXX syntax:

; Fix last change to lisp/language/cyrillic.el.
1a9d454ebf6 2023-07-08 16:24:15 +0100
https://git.sv.gnu.org/cgit/emacs.git/commit/?id=1a9d454ebf6

-- 
Basil



reply via email to

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