From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#50752: 28.0.50; easy-menu-define lowers the menu-bar key Date: Tue, 19 Oct 2021 15:37:30 +0300 Message-ID: <83bl3lchrp.fsf@gnu.org> References: <87bl4jvudm.fsf@gnus.org> <837dehp248.fsf@gnu.org> <87czo96shw.fsf@gnus.org> <87wnmh5bes.fsf@gnus.org> <87wnmh3p9k.fsf@gnus.org> <87v91tfzrw.fsf@gnus.org> <87r1chfz80.fsf@gnus.org> <83r1chcjof.fsf@gnu.org> <87mtn5fc9s.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7416"; mail-complaints-to="usenet@ciao.gmane.io" Cc: stefan@marxist.se, shuguang79@qq.com, 50752@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 19 14:38:14 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mcoNf-0001ck-T1 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 Oct 2021 14:38:11 +0200 Original-Received: from localhost ([::1]:48172 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mcoNe-0001n2-SN for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 Oct 2021 08:38:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40562) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcoNW-0001me-Pg for bug-gnu-emacs@gnu.org; Tue, 19 Oct 2021 08:38:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38250) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mcoNW-0003b8-Gr for bug-gnu-emacs@gnu.org; Tue, 19 Oct 2021 08:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mcoNW-0005mN-Co for bug-gnu-emacs@gnu.org; Tue, 19 Oct 2021 08:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 19 Oct 2021 12:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50752 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 50752-submit@debbugs.gnu.org id=B50752.163464705122165 (code B ref 50752); Tue, 19 Oct 2021 12:38:02 +0000 Original-Received: (at 50752) by debbugs.gnu.org; 19 Oct 2021 12:37:31 +0000 Original-Received: from localhost ([127.0.0.1]:49796 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mcoN1-0005lR-8x for submit@debbugs.gnu.org; Tue, 19 Oct 2021 08:37:31 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:38500) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mcoMz-0005lB-0C for 50752@debbugs.gnu.org; Tue, 19 Oct 2021 08:37:29 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52026) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mcoMr-00024r-3N; Tue, 19 Oct 2021 08:37:21 -0400 Original-Received: from [87.69.77.57] (port=1934 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcoMq-0002FM-KN; Tue, 19 Oct 2021 08:37:20 -0400 In-Reply-To: <87mtn5fc9s.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue, 19 Oct 2021 14:07:59 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:217570 Archived-At: > From: Lars Ingebrigtsen > Cc: stefan@marxist.se, shuguang79@qq.com, 50752@debbugs.gnu.org > Date: Tue, 19 Oct 2021 14:07:59 +0200 > > Second of all -- to handle this specific, very unusual case (i.e., > downcasing a ascii character gets us a non-ascii character), when we > detect this issue, we should just abort this loop and call > do_casify_multibyte_string instead. You mean, you want to special-case Turkish (and a couple of similar) locale? That might be possible, but the more general problem will still be left more or less intact. And then we need to consider how many places don't expect to get multibyte string when they downcase a unibyte one.