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

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

bug#50752: 28.0.50; easy-menu-define lowers the menu-bar key


From: Eli Zaretskii
Subject: bug#50752: 28.0.50; easy-menu-define lowers the menu-bar key
Date: Tue, 19 Oct 2021 19:01:38 +0300

> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: stefan@marxist.se,  shuguang79@qq.com,  50752@debbugs.gnu.org
> Date: Tue, 19 Oct 2021 15:24:12 +0200
> 
> +      /* If downcasing changed an ASCII character into a non-ASCII
> +      character (this can happen in some locales, like the Turkish
> +      "I"), use the multibyte algorithm.  */
> +      if (SINGLE_BYTE_CHAR_P (ch) && !SINGLE_BYTE_CHAR_P (cased))
> +     return do_casify_multibyte_string (ctx, obj);
> +      SSET (obj, i, make_char_unibyte (cased));

Like I said elsewhere, I'd prefer to use ASCII rules in that case.
It's safer, and definitely less surprising.  Whoever wants Turkish
rules will need to submit multibyte strings, even for ASCII
characters.





reply via email to

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