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#44604: 27.1; gpg error when language environment is set to Turkish Date: Tue, 17 Nov 2020 05:30:17 +0200 Message-ID: <831rgsslrq.fsf@gnu.org> References: <83blg1y8tp.fsf@gnu.org> <831rgxxxwu.fsf@gnu.org> <87mtzjyjtc.fsf@gnus.org> <83361bvnc5.fsf@gnu.org> <83sg9bu3bq.fsf@gnu.org> <838sb1tgyq.fsf@gnu.org> <871rgtxac5.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4787"; mail-complaints-to="usenet@ciao.gmane.io" Cc: fatihaydin138@gmail.com, 44604@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 17 04:31:08 2020 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 1keri0-0001Ae-8v for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 17 Nov 2020 04:31:08 +0100 Original-Received: from localhost ([::1]:56392 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kerhy-0003WK-SO for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 16 Nov 2020 22:31:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37818) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kerhu-0003WE-1C for bug-gnu-emacs@gnu.org; Mon, 16 Nov 2020 22:31:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46443) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kerht-0008Ug-NA for bug-gnu-emacs@gnu.org; Mon, 16 Nov 2020 22:31:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kerht-0001c2-J5 for bug-gnu-emacs@gnu.org; Mon, 16 Nov 2020 22:31:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Nov 2020 03:31:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44604 X-GNU-PR-Package: emacs Original-Received: via spool by 44604-submit@debbugs.gnu.org id=B44604.16055838344587 (code B ref 44604); Tue, 17 Nov 2020 03:31:01 +0000 Original-Received: (at 44604) by debbugs.gnu.org; 17 Nov 2020 03:30:34 +0000 Original-Received: from localhost ([127.0.0.1]:57989 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kerhR-0001BZ-VS for submit@debbugs.gnu.org; Mon, 16 Nov 2020 22:30:34 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:37686) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kerhO-00012u-8t for 44604@debbugs.gnu.org; Mon, 16 Nov 2020 22:30:32 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47217) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kerhI-0008OH-SB; Mon, 16 Nov 2020 22:30:24 -0500 Original-Received: from [176.228.60.248] (port=4201 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kerhH-0003gW-2w; Mon, 16 Nov 2020 22:30:24 -0500 In-Reply-To: <871rgtxac5.fsf@gnus.org> (message from Lars Ingebrigtsen on Mon, 16 Nov 2020 22:26:02 +0100) 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:193516 Archived-At: > From: Lars Ingebrigtsen > Cc: Fatih Aydın , > fataydin138@gmail.com, > 44604@debbugs.gnu.org > Date: Mon, 16 Nov 2020 22:26:02 +0100 > > Eli Zaretskii writes: > > > I think we need a new infrastructure for solving this. > > Looks that way -- we're using the same functions to handle human-input > text (i.e., commands like `M-u') as API/protocol text (comparing DIRECT > and direct by downcasing), and that's problematic. > > So we'd have to add a bunch of functions to handle stuff like this, but > it seems like a rather daunting task. > > Or we could do something simple, like having a buffer-local variable > that says "the characters in this buffer are protocol data" and which > would make the locale the "C" locale? Hm... there'd probably be some > messy fallout from that, too. I thought about something rather simple: a global variable, let's name it overriding-case-table, that will be heeded to by the various case conversions ('downcase' etc.) in preference to any other case-table. Then commands that need strict ASCII case rules could bind that variable, or we could use with-case-table macro, without fear that different buffers will behave in different ways. I didn't look at the code yet, so maybe this simple idea is not workable. But if it is, it should be very simple to implement.