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 19:12:33 +0300 Message-ID: <831r4hc7ta.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> <83bl3lchrp.fsf@gnu.org> <87ee8hfajg.fsf@gnus.org> <838rypc98p.fsf@gnu.org> <87h7ddc8iy.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27813"; 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 18:47:51 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 1mcsHG-00072r-Sp for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 Oct 2021 18:47:50 +0200 Original-Received: from localhost ([::1]:33156 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mcsHF-0003GO-4z for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 Oct 2021 12:47:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36988) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcrja-00024s-Ds for bug-gnu-emacs@gnu.org; Tue, 19 Oct 2021 12:13:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40215) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mcrja-00045k-4N for bug-gnu-emacs@gnu.org; Tue, 19 Oct 2021 12:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mcrjZ-0005EV-Ve for bug-gnu-emacs@gnu.org; Tue, 19 Oct 2021 12:13:01 -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 16:13:01 +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.163465995320078 (code B ref 50752); Tue, 19 Oct 2021 16:13:01 +0000 Original-Received: (at 50752) by debbugs.gnu.org; 19 Oct 2021 16:12:33 +0000 Original-Received: from localhost ([127.0.0.1]:51761 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mcrj7-0005Dl-7n for submit@debbugs.gnu.org; Tue, 19 Oct 2021 12:12:33 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:34912) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mcrj4-0005DW-UF for 50752@debbugs.gnu.org; Tue, 19 Oct 2021 12:12:31 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58152) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mcriz-00032D-Ew; Tue, 19 Oct 2021 12:12:25 -0400 Original-Received: from [87.69.77.57] (port=3342 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 1mcriy-0005El-HD; Tue, 19 Oct 2021 12:12:25 -0400 In-Reply-To: <87h7ddc8iy.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue, 19 Oct 2021 17:57:09 +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:217578 Archived-At: > From: Lars Ingebrigtsen > Cc: stefan@marxist.se, shuguang79@qq.com, 50752@debbugs.gnu.org > Date: Tue, 19 Oct 2021 17:57:09 +0200 > > Eli Zaretskii writes: > > > I'd actually prefer to ignore any locale-specific behavior that take > > an ASCII character and downcases (or upcases) it to a non-ASCII one, > > in the unibyte case. IOW, if changing a case of an ASCII character > > from a unibyte string produces a non-ASCII multibyte character, > > disregard any locale-specific case-conversion and use US ASCII rules. > > That at least has the chance of not adversely affecting anything, > > whereas producing non-ASCII multibyte string instead is IMO much > > worse. > > For the vast majority of cases, that would indeed produce the result > that's probably expected. (I mean, somebody doing (downcase "LATIN-1") > in code doesn't want the locale, anyway.) > > But it means that downcasing a string in a buffer and saying (downcase > "THAT SAME STRING") gives us different results. If the buffer is unibyte, the results will be the same. > But perhaps that's the least bad solution? I think so, yes. _If_ we are going to change the current behavior, that is.