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:30:44 +0300 Message-ID: <83zgr5asej.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> <831r4hc7ta.fsf@gnu.org> <878rypc7e8.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39240"; 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:50:05 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 1mcsJR-0009zt-Gl for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 Oct 2021 18:50:05 +0200 Original-Received: from localhost ([::1]:40096 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mcsJQ-0007tY-Dp for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 19 Oct 2021 12:50:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42056) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mcs1z-0001HC-5n for bug-gnu-emacs@gnu.org; Tue, 19 Oct 2021 12:32:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40281) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mcs1y-0004jF-SY for bug-gnu-emacs@gnu.org; Tue, 19 Oct 2021 12:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mcs1y-0005rn-Ic for bug-gnu-emacs@gnu.org; Tue, 19 Oct 2021 12:32: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 16:32: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.163466106922450 (code B ref 50752); Tue, 19 Oct 2021 16:32:02 +0000 Original-Received: (at 50752) by debbugs.gnu.org; 19 Oct 2021 16:31:09 +0000 Original-Received: from localhost ([127.0.0.1]:51827 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mcs17-0005q2-Hf for submit@debbugs.gnu.org; Tue, 19 Oct 2021 12:31:09 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:39798) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mcs14-0005pV-7B for 50752@debbugs.gnu.org; Tue, 19 Oct 2021 12:31:08 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:58748) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mcs0x-0003fj-MQ; Tue, 19 Oct 2021 12:30:59 -0400 Original-Received: from [87.69.77.57] (port=4477 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 1mcs0Z-0004nA-Ag; Tue, 19 Oct 2021 12:30:59 -0400 In-Reply-To: <878rypc7e8.fsf@gnus.org> (message from Lars Ingebrigtsen on Tue, 19 Oct 2021 18:21:35 +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:217580 Archived-At: > From: Lars Ingebrigtsen > Cc: stefan@marxist.se, shuguang79@qq.com, 50752@debbugs.gnu.org > Date: Tue, 19 Oct 2021 18:21:35 +0200 > > Eli Zaretskii writes: > > >> But perhaps that's the least bad solution? > > > > I think so, yes. > > As for the implementation... do you happen to know whether there are > any locales that makes up/downcase behave differently from the "C" > locale on ASCII characters, but does produce ASCII characters? Not off the top of my head, no. > I'm just wondering whether the unibyte version of down/upcase should > just explicitly be documented to only do "C" locale stuff on unibyte > strings? That's easy to explain, at least, but I don't know what the > practical repercussions would be. This would be an unnecessary loss of functionality. Right now, one can arrange a case-conversion table for raw bytes, and it will work with the current code. We don't have to lose that, although the utility of it is questionable. I think we can leave the behavior with raw bytes as it is, and still document this use case as being meant for ASCII conversions, leaving the subtle case of raw bytes ... subtle.