From unknown Wed Jun 25 10:53:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12615: 24.2.50; Non-ignored case in insert-char Resent-From: Harald Hanche-Olsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Oct 2012 15:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12615 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 12615@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.134988348222029 (code B ref -1); Wed, 10 Oct 2012 15:39:02 +0000 Received: (at submit) by debbugs.gnu.org; 10 Oct 2012 15:38:02 +0000 Received: from localhost ([127.0.0.1]:37691 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TLyMD-0005jC-Oj for submit@debbugs.gnu.org; Wed, 10 Oct 2012 11:38:02 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34420) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TLyMA-0005it-63 for submit@debbugs.gnu.org; Wed, 10 Oct 2012 11:37:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TLyLQ-0005w1-Lm for submit@debbugs.gnu.org; Wed, 10 Oct 2012 11:37:13 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:47796) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLyLQ-0005vv-Ii for submit@debbugs.gnu.org; Wed, 10 Oct 2012 11:37:12 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45496) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLyLP-0005y4-LZ for bug-gnu-emacs@gnu.org; Wed, 10 Oct 2012 11:37:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TLyLJ-0005uZ-8O for bug-gnu-emacs@gnu.org; Wed, 10 Oct 2012 11:37:11 -0400 Received: from hylle02.itea.ntnu.no ([129.241.56.101]:47581) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLyLJ-0005u0-15 for bug-gnu-emacs@gnu.org; Wed, 10 Oct 2012 11:37:05 -0400 Received: from localhost (localhost [127.0.0.1]) by hylle02.itea.ntnu.no (Postfix) with ESMTP id 2FAD8386F6 for ; Wed, 10 Oct 2012 17:36:59 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hylle02.itea.ntnu.no Received: from localhost (unknown [IPv6:2001:700:300:1470:e070:5ab5:174d:1599]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: hanche) by hylle02.itea.ntnu.no (Postfix) with ESMTPSA id B6057386DE; Wed, 10 Oct 2012 17:36:58 +0200 (CEST) Date: Wed, 10 Oct 2012 17:36:58 +0200 (CEST) Message-Id: <20121010.173658.77853335142870486.hanche@math.ntnu.no> From: Harald Hanche-Olsen X-URL: http://www.math.ntnu.no/~hanche/ X-Mailer: Mew version 6.5 on Emacs 24.2.50 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -4.2 (----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) Starting with emacs -Q: Evaluate the following in the *scratch* buffer: (make-local-variable 'completion-ignore-case) Then type: C-x 8 C-m a TAB Expected result: A completion list of unicode names starting with the letter A. Actual result: [no match] Some observations: C-x 8 C-m is bound to insert-char, a C function. And insert-char calls read-char-by-name, which let-binds completion-ignore-case to t. The clear intention is that unicode name searches should always be case insensitive, and this seems always to be the case if completion-ignore-case is not buffer local. Setting completion-ignore-case to t in the *scratch* buffer still does not help. In GNU Emacs 24.2.50.1 (x86_64-apple-darwin11.4.0, NS apple-appkit-1138.47) of 2012-09-24 on airy Bzr revision: 110175 rgm@gnu.org-20120924063102-7nllu1xpqi4f24n7 Windowing system distributor `Apple', version 10.3.1138 Configured using: `configure '--with-ns'' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t I have also seen this on a quite recent emacs on x86_64-unknown-linux-gnu. - Harald From unknown Wed Jun 25 10:53:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12615: 24.2.50; Non-ignored case in insert-char Resent-From: Harald Hanche-Olsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Oct 2012 18:05:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12615 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 12615@debbugs.gnu.org Received: via spool by 12615-submit@debbugs.gnu.org id=B12615.13498922662761 (code B ref 12615); Wed, 10 Oct 2012 18:05:02 +0000 Received: (at 12615) by debbugs.gnu.org; 10 Oct 2012 18:04:26 +0000 Received: from localhost ([127.0.0.1]:37902 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TM0dt-0000iU-Sg for submit@debbugs.gnu.org; Wed, 10 Oct 2012 14:04:26 -0400 Received: from hylle01.itea.ntnu.no ([129.241.56.100]:43766) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TM0dr-0000iL-7L for 12615@debbugs.gnu.org; Wed, 10 Oct 2012 14:04:24 -0400 Received: from localhost (localhost [127.0.0.1]) by hylle01.itea.ntnu.no (Postfix) with ESMTP id 6178233A011 for <12615@debbugs.gnu.org>; Wed, 10 Oct 2012 20:03:41 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hylle01.itea.ntnu.no Received: from localhost (6.225.34.95.customer.cdi.no [95.34.225.6]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: hanche) by hylle01.itea.ntnu.no (Postfix) with ESMTPSA id E70B631E00A; Wed, 10 Oct 2012 20:03:40 +0200 (CEST) Date: Wed, 10 Oct 2012 20:03:41 +0200 (CEST) Message-Id: <20121010.200341.1735119142677865822.hanche@math.ntnu.no> From: Harald Hanche-Olsen In-Reply-To: <20121010.173658.77853335142870486.hanche@math.ntnu.no> References: <20121010.173658.77853335142870486.hanche@math.ntnu.no> X-URL: http://www.math.ntnu.no/~hanche/ X-Mailer: Mew version 6.5 on Emacs 24.2.50 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: -3.6 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.6 (---) Thinking about this on my way home from work, I think I figured out the reason for this problem: The let binding of completion-ignore-case takes place in the current buffer, and so overrides the buffer-local binding. However, the variable is used in the minibuffer, in which the buffer-local binding (and with it, the let binding) is not visible; it uses the global binding instead. I am not totally sure about this; however, a simple experiment shows that buffer-local bindings and let bindings interact in the way described. If I am right, then making completion-ignore-case buffer-local makes no sense, as it can't have any effect. (If you're curious, mew does this. I should contact the author to find out why.) As to whether this is an emacs bug, I am no longer sure. But I can't find anything in the elisp manual about how let operates on buffer-local variables. - Harald From unknown Wed Jun 25 10:53:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12615: 24.2.50; Non-ignored case in insert-char Resent-From: Andreas Schwab Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Oct 2012 19:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12615 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Harald Hanche-Olsen Cc: 12615@debbugs.gnu.org Received: via spool by 12615-submit@debbugs.gnu.org id=B12615.134989749310798 (code B ref 12615); Wed, 10 Oct 2012 19:32:02 +0000 Received: (at 12615) by debbugs.gnu.org; 10 Oct 2012 19:31:33 +0000 Received: from localhost ([127.0.0.1]:38041 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TM20C-0002o6-K2 for submit@debbugs.gnu.org; Wed, 10 Oct 2012 15:31:32 -0400 Received: from mail-out.m-online.net ([212.18.0.9]:34333) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TM209-0002ny-9S for 12615@debbugs.gnu.org; Wed, 10 Oct 2012 15:31:30 -0400 Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 3XcQQH4BBHz4KK6S; Wed, 10 Oct 2012 21:30:47 +0200 (CEST) X-Auth-Info: rp2fH4ZUztbMgSWWuigscIwl3XOcpkY9ZbGCkv8SRQs= Received: from igel.home (ppp-93-104-147-205.dynamic.mnet-online.de [93.104.147.205]) by mail.mnet-online.de (Postfix) with ESMTPA id 3XcQQH3Zt3zbbgL; Wed, 10 Oct 2012 21:30:47 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id E13B0CA2A4; Wed, 10 Oct 2012 21:30:46 +0200 (CEST) From: Andreas Schwab References: <20121010.173658.77853335142870486.hanche@math.ntnu.no> <20121010.200341.1735119142677865822.hanche@math.ntnu.no> X-Yow: Let's send the Russians defective lifestyle accessories! Date: Wed, 10 Oct 2012 21:30:46 +0200 In-Reply-To: <20121010.200341.1735119142677865822.hanche@math.ntnu.no> (Harald Hanche-Olsen's message of "Wed, 10 Oct 2012 20:03:41 +0200 (CEST)") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.8 (/) Harald Hanche-Olsen writes: > But I can't find anything in the elisp manual about how let operates > on buffer-local variables. *Note (elisp) Intro to Buffer-Local:: Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From unknown Wed Jun 25 10:53:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12615: 24.2.50; Non-ignored case in insert-char Resent-From: Glenn Morris Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 Oct 2012 21:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12615 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Harald Hanche-Olsen Cc: 12615@debbugs.gnu.org Received: via spool by 12615-submit@debbugs.gnu.org id=B12615.134990470821566 (code B ref 12615); Wed, 10 Oct 2012 21:32:02 +0000 Received: (at 12615) by debbugs.gnu.org; 10 Oct 2012 21:31:48 +0000 Received: from localhost ([127.0.0.1]:38172 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TM3sZ-0005bm-It for submit@debbugs.gnu.org; Wed, 10 Oct 2012 17:31:47 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:55489 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TM3sW-0005bd-KU for 12615@debbugs.gnu.org; Wed, 10 Oct 2012 17:31:45 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TM3rq-00024H-Nu; Wed, 10 Oct 2012 17:31:02 -0400 From: Glenn Morris References: <20121010.173658.77853335142870486.hanche@math.ntnu.no> <20121010.200341.1735119142677865822.hanche@math.ntnu.no> X-Spook: Khaddafi Iran pink noise Armani Bruxelles warfare NORAD X-Ran: R(iWTJM8hJ?p:=6;DgnRvu(OncD|]i%[GVcZ'!^}I[8Mrh (Harald Hanche-Olsen's message of "Wed, 10 Oct 2012 20:03:41 +0200 (CEST)") Message-ID: <8ylife10bt.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.3 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) Harald Hanche-Olsen wrote: > If I am right, then making completion-ignore-case buffer-local makes > no sense, as it can't have any effect. (If you're curious, mew does > this. I should contact the author to find out why.) I notice that progmodes/idlwave.el and progmodes/idlw-shell.el in Emacs do this too. > But I can't find anything in the elisp manual about how let operates > on buffer-local variables. As Andreas said, it has an explicit example of this kind of issue with a bold "Warning" notice. http://www.gnu.org/software/emacs/manual/html_node/elisp/Intro-to-Buffer_002dLocal.html From unknown Wed Jun 25 10:53:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12615: 24.2.50; Non-ignored case in insert-char Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Oct 2012 00:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12615 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Harald Hanche-Olsen Cc: 12615@debbugs.gnu.org Received: via spool by 12615-submit@debbugs.gnu.org id=B12615.13499170097243 (code B ref 12615); Thu, 11 Oct 2012 00:57:02 +0000 Received: (at 12615) by debbugs.gnu.org; 11 Oct 2012 00:56:49 +0000 Received: from localhost ([127.0.0.1]:38375 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TM74z-0001sm-HK for submit@debbugs.gnu.org; Wed, 10 Oct 2012 20:56:49 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:52864) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TM74y-0001sb-2Y for 12615@debbugs.gnu.org; Wed, 10 Oct 2012 20:56:48 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai0FAG6Zu09FxLQG/2dsb2JhbABEsEiDSYEIghUBAQQBViMFCws0EhQYDSSIHAW6CZBEA6MzgViDBQ X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="201064358" Received: from 69-196-180-6.dsl.teksavvy.com (HELO ceviche.home) ([69.196.180.6]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 10 Oct 2012 20:56:00 -0400 Received: by ceviche.home (Postfix, from userid 20848) id 868CB660CA; Wed, 10 Oct 2012 20:56:00 -0400 (EDT) From: Stefan Monnier Message-ID: References: <20121010.173658.77853335142870486.hanche@math.ntnu.no> Date: Wed, 10 Oct 2012 20:56:00 -0400 In-Reply-To: <20121010.173658.77853335142870486.hanche@math.ntnu.no> (Harald Hanche-Olsen's message of "Wed, 10 Oct 2012 17:36:58 +0200 (CEST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.8 (/) > Some observations: C-x 8 C-m is bound to insert-char, a C function. > And insert-char calls read-char-by-name, which let-binds > completion-ignore-case to t. The clear intention is that unicode name > searches should always be case insensitive, and this seems always to > be the case if completion-ignore-case is not buffer local. Indeed, a buffer-local setting of completion-ignore-case can bring surprises. I think the patch below will fix this problem for this particular case. Stefan === modified file 'lisp/international/mule-cmds.el' --- lisp/international/mule-cmds.el 2012-09-25 18:47:18 +0000 +++ lisp/international/mule-cmds.el 2012-10-11 00:54:27 +0000 @@ -2958,13 +2958,14 @@ This function also accepts a hexadecimal number of Unicode code point or a number in hash notation, e.g. #o21430 for octal, #x2318 for hex, or #10r8984 for decimal." - (let* ((completion-ignore-case t) - (input (completing-read + (let ((input + (completing-read prompt (lambda (string pred action) + (let ((completion-ignore-case t)) (if (eq action 'metadata) '(metadata (category . unicode-name)) - (complete-with-action action (ucs-names) string pred)))))) + (complete-with-action action (ucs-names) string pred))))))) (cond ((string-match-p "\\`[0-9a-fA-F]+\\'" input) (string-to-number input 16)) From unknown Wed Jun 25 10:53:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12615: 24.2.50; Non-ignored case in insert-char Resent-From: Harald Hanche-Olsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Oct 2012 06:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12615 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: rgm@gnu.org Cc: 12615@debbugs.gnu.org Received: via spool by 12615-submit@debbugs.gnu.org id=B12615.13499371904079 (code B ref 12615); Thu, 11 Oct 2012 06:34:02 +0000 Received: (at 12615) by debbugs.gnu.org; 11 Oct 2012 06:33:10 +0000 Received: from localhost ([127.0.0.1]:38631 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TMCKR-00013g-6p for submit@debbugs.gnu.org; Thu, 11 Oct 2012 02:33:10 -0400 Received: from hylle02.itea.ntnu.no ([129.241.56.101]:54108) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TMCKN-00013X-Ug for 12615@debbugs.gnu.org; Thu, 11 Oct 2012 02:33:05 -0400 Received: from localhost (localhost [127.0.0.1]) by hylle02.itea.ntnu.no (Postfix) with ESMTP id 96CC6386F8; Thu, 11 Oct 2012 08:32:19 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hylle02.itea.ntnu.no Received: from localhost (6.225.34.95.customer.cdi.no [95.34.225.6]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: hanche) by hylle02.itea.ntnu.no (Postfix) with ESMTPSA id 47E19381D5; Thu, 11 Oct 2012 08:32:19 +0200 (CEST) Date: Thu, 11 Oct 2012 08:32:18 +0200 (CEST) Message-Id: <20121011.083218.147028685289345966.hanche@math.ntnu.no> From: Harald Hanche-Olsen In-Reply-To: <8ylife10bt.fsf@fencepost.gnu.org> References: <20121010.173658.77853335142870486.hanche@math.ntnu.no> <20121010.200341.1735119142677865822.hanche@math.ntnu.no> <8ylife10bt.fsf@fencepost.gnu.org> X-URL: http://www.math.ntnu.no/~hanche/ X-Mailer: Mew version 6.5 on Emacs 24.2.50 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: -3.6 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.6 (---) [Glenn Morris (2012-10-10 21:31:02 UTC)] > Harald Hanche-Olsen wrote: > > > But I can't find anything in the elisp manual about how let operates > > on buffer-local variables. > > As Andreas said, it has an explicit example of this kind of issue with a > bold "Warning" notice. Ah, so it does. How on earth did I miss that? My guess: The anemic scroll bars on the Mac making me think I was seeing the whole buffer. - Harald From unknown Wed Jun 25 10:53:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12615: 24.2.50; Non-ignored case in insert-char Resent-From: Harald Hanche-Olsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Oct 2012 06:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12615 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: monnier@iro.umontreal.ca Cc: 12615@debbugs.gnu.org Received: via spool by 12615-submit@debbugs.gnu.org id=B12615.13499375044597 (code B ref 12615); Thu, 11 Oct 2012 06:39:02 +0000 Received: (at 12615) by debbugs.gnu.org; 11 Oct 2012 06:38:24 +0000 Received: from localhost ([127.0.0.1]:38636 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TMCPV-0001C3-O6 for submit@debbugs.gnu.org; Thu, 11 Oct 2012 02:38:22 -0400 Received: from hylle02.itea.ntnu.no ([129.241.56.101]:54555) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TMCPN-0001Bp-PN for 12615@debbugs.gnu.org; Thu, 11 Oct 2012 02:38:19 -0400 Received: from localhost (localhost [127.0.0.1]) by hylle02.itea.ntnu.no (Postfix) with ESMTP id DAC5438701; Thu, 11 Oct 2012 08:37:29 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hylle02.itea.ntnu.no Received: from localhost (6.225.34.95.customer.cdi.no [95.34.225.6]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: hanche) by hylle02.itea.ntnu.no (Postfix) with ESMTPSA id 78C25386F8; Thu, 11 Oct 2012 08:37:29 +0200 (CEST) Date: Thu, 11 Oct 2012 08:37:29 +0200 (CEST) Message-Id: <20121011.083729.343327697241844928.hanche@math.ntnu.no> From: Harald Hanche-Olsen In-Reply-To: References: <20121010.173658.77853335142870486.hanche@math.ntnu.no> X-URL: http://www.math.ntnu.no/~hanche/ X-Mailer: Mew version 6.5 on Emacs 24.2.50 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: -3.6 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.6 (---) [Stefan Monnier (2012-10-11 00:56:00 UTC)] > Indeed, a buffer-local setting of completion-ignore-case can > bring surprises. I think the patch below will fix this problem for this > particular case. Indeed it does. I think that patch is worth committing. - Harald From unknown Wed Jun 25 10:53:25 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Harald Hanche-Olsen Subject: bug#12615: closed (Re: bug#12615: 24.2.50; Non-ignored case in insert-char) Message-ID: References: <20121010.173658.77853335142870486.hanche@math.ntnu.no> X-Gnu-PR-Message: they-closed 12615 X-Gnu-PR-Package: emacs Reply-To: 12615@debbugs.gnu.org Date: Thu, 11 Oct 2012 20:14:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1349986442-13696-1" This is a multi-part message in MIME format... ------------=_1349986442-13696-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #12615: 24.2.50; Non-ignored case in insert-char which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 12615@debbugs.gnu.org. --=20 12615: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D12615 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1349986442-13696-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 12615-done) by debbugs.gnu.org; 11 Oct 2012 20:13:36 +0000 Received: from localhost ([127.0.0.1]:39942 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TMP8S-0003YD-BE for submit@debbugs.gnu.org; Thu, 11 Oct 2012 16:13:36 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:45829) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TMP8P-0003Y1-UH for 12615-done@debbugs.gnu.org; Thu, 11 Oct 2012 16:13:34 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai0FAG6Zu09FxLQG/2dsb2JhbABEsEiDSYEIghUBAQQBViMQCzQSFBgNJIgcBboJkEQDozOBWIMF X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="201138900" Received: from 69-196-180-6.dsl.teksavvy.com (HELO pastel.home) ([69.196.180.6]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 11 Oct 2012 16:12:41 -0400 Received: by pastel.home (Postfix, from userid 20848) id 6BEBD59516; Thu, 11 Oct 2012 16:12:41 -0400 (EDT) From: Stefan Monnier To: Harald Hanche-Olsen Subject: Re: bug#12615: 24.2.50; Non-ignored case in insert-char Message-ID: References: <20121010.173658.77853335142870486.hanche@math.ntnu.no> <20121011.083729.343327697241844928.hanche@math.ntnu.no> Date: Thu, 11 Oct 2012 16:12:41 -0400 In-Reply-To: <20121011.083729.343327697241844928.hanche@math.ntnu.no> (Harald Hanche-Olsen's message of "Thu, 11 Oct 2012 08:37:29 +0200 (CEST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: 12615-done Cc: 12615-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.8 (/) >> Indeed, a buffer-local setting of completion-ignore-case can >> bring surprises. I think the patch below will fix this problem for this >> particular case. > Indeed it does. Thanks, installed, Stefan ------------=_1349986442-13696-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 10 Oct 2012 15:38:02 +0000 Received: from localhost ([127.0.0.1]:37691 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TLyMD-0005jC-Oj for submit@debbugs.gnu.org; Wed, 10 Oct 2012 11:38:02 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34420) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TLyMA-0005it-63 for submit@debbugs.gnu.org; Wed, 10 Oct 2012 11:37:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TLyLQ-0005w1-Lm for submit@debbugs.gnu.org; Wed, 10 Oct 2012 11:37:13 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:47796) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLyLQ-0005vv-Ii for submit@debbugs.gnu.org; Wed, 10 Oct 2012 11:37:12 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45496) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLyLP-0005y4-LZ for bug-gnu-emacs@gnu.org; Wed, 10 Oct 2012 11:37:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TLyLJ-0005uZ-8O for bug-gnu-emacs@gnu.org; Wed, 10 Oct 2012 11:37:11 -0400 Received: from hylle02.itea.ntnu.no ([129.241.56.101]:47581) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLyLJ-0005u0-15 for bug-gnu-emacs@gnu.org; Wed, 10 Oct 2012 11:37:05 -0400 Received: from localhost (localhost [127.0.0.1]) by hylle02.itea.ntnu.no (Postfix) with ESMTP id 2FAD8386F6 for ; Wed, 10 Oct 2012 17:36:59 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at hylle02.itea.ntnu.no Received: from localhost (unknown [IPv6:2001:700:300:1470:e070:5ab5:174d:1599]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: hanche) by hylle02.itea.ntnu.no (Postfix) with ESMTPSA id B6057386DE; Wed, 10 Oct 2012 17:36:58 +0200 (CEST) Date: Wed, 10 Oct 2012 17:36:58 +0200 (CEST) Message-Id: <20121010.173658.77853335142870486.hanche@math.ntnu.no> To: bug-gnu-emacs@gnu.org Subject: 24.2.50; Non-ignored case in insert-char From: Harald Hanche-Olsen X-URL: http://www.math.ntnu.no/~hanche/ X-Mailer: Mew version 6.5 on Emacs 24.2.50 / Mule 6.0 (HANACHIRUSATO) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -4.2 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -4.2 (----) Starting with emacs -Q: Evaluate the following in the *scratch* buffer: (make-local-variable 'completion-ignore-case) Then type: C-x 8 C-m a TAB Expected result: A completion list of unicode names starting with the letter A. Actual result: [no match] Some observations: C-x 8 C-m is bound to insert-char, a C function. And insert-char calls read-char-by-name, which let-binds completion-ignore-case to t. The clear intention is that unicode name searches should always be case insensitive, and this seems always to be the case if completion-ignore-case is not buffer local. Setting completion-ignore-case to t in the *scratch* buffer still does not help. In GNU Emacs 24.2.50.1 (x86_64-apple-darwin11.4.0, NS apple-appkit-1138.47) of 2012-09-24 on airy Bzr revision: 110175 rgm@gnu.org-20120924063102-7nllu1xpqi4f24n7 Windowing system distributor `Apple', version 10.3.1138 Configured using: `configure '--with-ns'' Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t I have also seen this on a quite recent emacs on x86_64-unknown-linux-gnu. - Harald ------------=_1349986442-13696-1-- From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 29 17:50:26 2012 Received: (at control) by debbugs.gnu.org; 29 Dec 2012 22:50:27 +0000 Received: from localhost ([127.0.0.1]:36450 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tp5EY-0003mu-HN for submit@debbugs.gnu.org; Sat, 29 Dec 2012 17:50:26 -0500 Received: from ps18281.dreamhost.com ([69.163.218.105]:35453 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tp5EX-0003mn-Dk for control@debbugs.gnu.org; Sat, 29 Dec 2012 17:50:25 -0500 Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id A6902451CE1D for ; Sat, 29 Dec 2012 14:49:23 -0800 (PST) From: Juri Linkov To: control@debbugs.gnu.org Subject: unarchive 12615 Organization: JURTA Date: Sun, 30 Dec 2012 00:49:06 +0200 Message-ID: <87vcbkxyn1.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.8 (/) unarchive 12615 stop From unknown Wed Jun 25 10:53:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12615: 24.2.50; Non-ignored case in insert-char Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 29 Dec 2012 23:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12615 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 12615@debbugs.gnu.org, Harald Hanche-Olsen Received: via spool by 12615-submit@debbugs.gnu.org id=B12615.135682305820367 (code B ref 12615); Sat, 29 Dec 2012 23:18:01 +0000 Received: (at 12615) by debbugs.gnu.org; 29 Dec 2012 23:17:38 +0000 Received: from localhost ([127.0.0.1]:36462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tp5er-0005IQ-4l for submit@debbugs.gnu.org; Sat, 29 Dec 2012 18:17:37 -0500 Received: from ps18281.dreamhost.com ([69.163.218.105]:49287 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tp5ep-0005IJ-3x for 12615@debbugs.gnu.org; Sat, 29 Dec 2012 18:17:35 -0500 Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 776B4451CE1D; Sat, 29 Dec 2012 15:16:32 -0800 (PST) From: Juri Linkov Organization: JURTA References: <20121010.173658.77853335142870486.hanche@math.ntnu.no> Date: Sun, 30 Dec 2012 00:56:05 +0200 In-Reply-To: (Stefan Monnier's message of "Wed, 10 Oct 2012 20:56:00 -0400") Message-ID: <87d2xsxy9q.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.0 (/) >> Some observations: C-x 8 C-m is bound to insert-char, a C function. >> And insert-char calls read-char-by-name, which let-binds >> completion-ignore-case to t. The clear intention is that unicode name >> searches should always be case insensitive, and this seems always to >> be the case if completion-ignore-case is not buffer local. > > Indeed, a buffer-local setting of completion-ignore-case can > bring surprises. I think the patch below will fix this problem for this > particular case. I just stumbled upon the case where this fix causes the regression: typing `C-x 8 RET *acc TAB' results in "[No match]". I don't know why this case disobeys the let-binding of `completion-ignore-case' and whether a simpler fix is possible, but at least this patch fixes it for the emacs-24 branch: === modified file 'lisp/international/mule-cmds.el' --- lisp/international/mule-cmds.el 2012-10-11 20:05:47 +0000 +++ lisp/international/mule-cmds.el 2012-12-29 22:45:12 +0000 @@ -2946,10 +2946,12 @@ (defun read-char-by-name (prompt) point or a number in hash notation, e.g. #o21430 for octal, #x2318 for hex, or #10r8984 for decimal." (let ((input + (minibuffer-with-setup-hook + (lambda () + (set (make-local-variable 'completion-ignore-case) t)) (completing-read prompt (lambda (string pred action) - (let ((completion-ignore-case t)) (if (eq action 'metadata) '(metadata (category . unicode-name)) (complete-with-action action (ucs-names) string pred))))))) From unknown Wed Jun 25 10:53:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12615: 24.2.50; Non-ignored case in insert-char Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Jan 2013 00:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12615 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 12615@debbugs.gnu.org, Harald Hanche-Olsen Received: via spool by 12615-submit@debbugs.gnu.org id=B12615.135725860125102 (code B ref 12615); Fri, 04 Jan 2013 00:17:01 +0000 Received: (at 12615) by debbugs.gnu.org; 4 Jan 2013 00:16:41 +0000 Received: from localhost ([127.0.0.1]:42215 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tquxl-0006Wk-1v for submit@debbugs.gnu.org; Thu, 03 Jan 2013 19:16:41 -0500 Received: from ps18281.dreamhost.com ([69.163.218.105]:58915 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tquxi-0006Wa-OY for 12615@debbugs.gnu.org; Thu, 03 Jan 2013 19:16:39 -0500 Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id D604D20012C225; Thu, 3 Jan 2013 16:16:33 -0800 (PST) From: Juri Linkov Organization: JURTA References: <20121010.173658.77853335142870486.hanche@math.ntnu.no> <87d2xsxy9q.fsf@mail.jurta.org> Date: Fri, 04 Jan 2013 02:13:13 +0200 In-Reply-To: <87d2xsxy9q.fsf@mail.jurta.org> (Juri Linkov's message of "Sun, 30 Dec 2012 00:56:05 +0200") Message-ID: <878v89u7pg.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) >>> Some observations: C-x 8 C-m is bound to insert-char, a C function. >>> And insert-char calls read-char-by-name, which let-binds >>> completion-ignore-case to t. The clear intention is that unicode name >>> searches should always be case insensitive, and this seems always to >>> be the case if completion-ignore-case is not buffer local. >> >> Indeed, a buffer-local setting of completion-ignore-case can >> bring surprises. I think the patch below will fix this problem for this >> particular case. > > I just stumbled upon the case where this fix causes the regression: > typing `C-x 8 RET *acc TAB' results in "[No match]". > > I don't know why this case disobeys the let-binding of > `completion-ignore-case' and whether a simpler fix is possible, > but at least this patch fixes it for the emacs-24 branch: Please ignore this patch. Just search the source tree with grep "completion-ignore-case t" and see the remaining 100 places that have exactly the same problem. Take for example the first grep hit in bookmark.el. Evaluate the following in the *scratch* buffer: (make-local-variable 'completion-ignore-case) Then type `C-x r b' (`bookmark-jump') followed by a lower-case letter and TAB. Completion is not case insensitive. Maybe to fix all them at once, `read_minibuf' should make a local variable `completion-ignore-case' in the minibuffer and copy its value from the original buffer? From unknown Wed Jun 25 10:53:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12615: 24.2.50; Non-ignored case in insert-char Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Jan 2013 00:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12615 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 12615@debbugs.gnu.org, Harald Hanche-Olsen Received: via spool by 12615-submit@debbugs.gnu.org id=B12615.135760642431430 (code B ref 12615); Tue, 08 Jan 2013 00:54:02 +0000 Received: (at 12615) by debbugs.gnu.org; 8 Jan 2013 00:53:44 +0000 Received: from localhost ([127.0.0.1]:55794 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TsNRn-0008As-Lt for submit@debbugs.gnu.org; Mon, 07 Jan 2013 19:53:44 -0500 Received: from ps18281.dreamhost.com ([69.163.218.105]:55600 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TsNRl-0008Al-O8 for 12615@debbugs.gnu.org; Mon, 07 Jan 2013 19:53:42 -0500 Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 1EB62201A48439; Mon, 7 Jan 2013 16:53:38 -0800 (PST) From: Juri Linkov Organization: JURTA References: <20121010.173658.77853335142870486.hanche@math.ntnu.no> <87d2xsxy9q.fsf@mail.jurta.org> <878v89u7pg.fsf@mail.jurta.org> Date: Tue, 08 Jan 2013 02:45:45 +0200 In-Reply-To: <878v89u7pg.fsf@mail.jurta.org> (Juri Linkov's message of "Fri, 04 Jan 2013 02:13:13 +0200") Message-ID: <87sj6ccxj8.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) In light of the incoming pretest I propose to fix the regression now in the emacs-24 branch (the test case for the regression is `C-x 8 RET *acc TAB') with the patch below, and later think about another fix for trunk (I still have no idea for a better fix) that doesn't cause a regression. === modified file 'lisp/international/mule-cmds.el' --- lisp/international/mule-cmds.el 2013-01-01 09:11:05 +0000 +++ lisp/international/mule-cmds.el 2013-01-06 00:19:17 +0000 @@ -2945,14 +2945,13 @@ (defun read-char-by-name (prompt) This function also accepts a hexadecimal number of Unicode code point or a number in hash notation, e.g. #o21430 for octal, #x2318 for hex, or #10r8984 for decimal." - (let ((input - (completing-read + (let* ((completion-ignore-case t) + (input (completing-read prompt (lambda (string pred action) - (let ((completion-ignore-case t)) (if (eq action 'metadata) '(metadata (category . unicode-name)) - (complete-with-action action (ucs-names) string pred))))))) + (complete-with-action action (ucs-names) string pred)))))) (cond ((string-match-p "\\`[0-9a-fA-F]+\\'" input) (string-to-number input 16)) From unknown Wed Jun 25 10:53:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12615: 24.2.50; Non-ignored case in insert-char Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Jan 2013 03:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12615 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov Cc: 12615@debbugs.gnu.org, Harald Hanche-Olsen Received: via spool by 12615-submit@debbugs.gnu.org id=B12615.135761518112147 (code B ref 12615); Tue, 08 Jan 2013 03:20:01 +0000 Received: (at 12615) by debbugs.gnu.org; 8 Jan 2013 03:19:41 +0000 Received: from localhost ([127.0.0.1]:55901 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TsPj3-00039r-9z for submit@debbugs.gnu.org; Mon, 07 Jan 2013 22:19:41 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:50808) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TsPj1-00039d-QG for 12615@debbugs.gnu.org; Mon, 07 Jan 2013 22:19:40 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhoHAG6Zu09FxIzd/2dsb2JhbABEgXuuTYNJgQiCFQEBBAFWIwULCzQSFBgNJIgcBboJkEQDiEKacYFYgwc X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="212024515" Received: from 69-196-140-221.dsl.teksavvy.com (HELO pastel.home) ([69.196.140.221]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 07 Jan 2013 22:19:31 -0500 Received: by pastel.home (Postfix, from userid 20848) id 690CD4E039; Mon, 7 Jan 2013 22:19:30 -0500 (EST) From: Stefan Monnier Message-ID: References: <20121010.173658.77853335142870486.hanche@math.ntnu.no> <87d2xsxy9q.fsf@mail.jurta.org> <878v89u7pg.fsf@mail.jurta.org> Date: Mon, 07 Jan 2013 22:19:30 -0500 In-Reply-To: <878v89u7pg.fsf@mail.jurta.org> (Juri Linkov's message of "Fri, 04 Jan 2013 02:13:13 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.0 (/) > Maybe to fix all them at once, `read_minibuf' should make > a local variable `completion-ignore-case' in the minibuffer > and copy its value from the original buffer? That might be a good idea. I'd guess only completing-read would need to do it, rather than read_minibuf. Tho we might still want to make it possible to specify case-irrelevance in the completion table itself. Stefan From unknown Wed Jun 25 10:53:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12615: 24.2.50; Non-ignored case in insert-char Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Jan 2013 00:25:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12615 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 12615@debbugs.gnu.org, Harald Hanche-Olsen Received: via spool by 12615-submit@debbugs.gnu.org id=B12615.135769109918158 (code B ref 12615); Wed, 09 Jan 2013 00:25:02 +0000 Received: (at 12615) by debbugs.gnu.org; 9 Jan 2013 00:24:59 +0000 Received: from localhost ([127.0.0.1]:57489 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TsjTX-0004ip-Gz for submit@debbugs.gnu.org; Tue, 08 Jan 2013 19:24:59 -0500 Received: from ps18281.dreamhost.com ([69.163.218.105]:40566 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TsjTV-0004ii-OG for 12615@debbugs.gnu.org; Tue, 08 Jan 2013 19:24:58 -0500 Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 96CA5201B01D0D; Tue, 8 Jan 2013 16:24:49 -0800 (PST) From: Juri Linkov Organization: JURTA References: <20121010.173658.77853335142870486.hanche@math.ntnu.no> <87d2xsxy9q.fsf@mail.jurta.org> <878v89u7pg.fsf@mail.jurta.org> Date: Wed, 09 Jan 2013 02:20:29 +0200 In-Reply-To: (Stefan Monnier's message of "Mon, 07 Jan 2013 22:19:30 -0500") Message-ID: <87pq1fjjfu.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.0 (/) >> Maybe to fix all them at once, `read_minibuf' should make >> a local variable `completion-ignore-case' in the minibuffer >> and copy its value from the original buffer? > > That might be a good idea. > I'd guess only completing-read would need to do it, rather than > read_minibuf. Then `completing-read-default' would be a good place too (anyone who overrides `completing-read-function' have to copy most of code from `completing-read-default' anyway). > Tho we might still want to make it possible to specify case-irrelevance > in the completion table itself. I suppose you mean specifying `completion-ignore-case' in `metadata'. This could help to avoid problems with buffer-local bindings of `completion-ignore-case'. From unknown Wed Jun 25 10:53:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12615: 24.2.50; Non-ignored case in insert-char Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 09 Jan 2013 02:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12615 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov Cc: 12615@debbugs.gnu.org, Harald Hanche-Olsen Received: via spool by 12615-submit@debbugs.gnu.org id=B12615.13576992882111 (code B ref 12615); Wed, 09 Jan 2013 02:42:02 +0000 Received: (at 12615) by debbugs.gnu.org; 9 Jan 2013 02:41:28 +0000 Received: from localhost ([127.0.0.1]:57545 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tslbb-0000Y0-VM for submit@debbugs.gnu.org; Tue, 08 Jan 2013 21:41:28 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:42933) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tslba-0000Xp-8z for 12615@debbugs.gnu.org; Tue, 08 Jan 2013 21:41:26 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhoHAG6Zu0+4rw8T/2dsb2JhbABEgXuuTYNJgQiCFQEBBAFWIxALNBIUGA0kiBwFugmQRAOIQppxgViDBw X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="212104732" Received: from 184-175-15-19.dsl.teksavvy.com (HELO pastel.home) ([184.175.15.19]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 08 Jan 2013 21:41:13 -0500 Received: by pastel.home (Postfix, from userid 20848) id 397A959230; Tue, 8 Jan 2013 21:41:12 -0500 (EST) From: Stefan Monnier Message-ID: References: <20121010.173658.77853335142870486.hanche@math.ntnu.no> <87d2xsxy9q.fsf@mail.jurta.org> <878v89u7pg.fsf@mail.jurta.org> <87pq1fjjfu.fsf@mail.jurta.org> Date: Tue, 08 Jan 2013 21:41:11 -0500 In-Reply-To: <87pq1fjjfu.fsf@mail.jurta.org> (Juri Linkov's message of "Wed, 09 Jan 2013 02:20:29 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) >> Tho we might still want to make it possible to specify case-irrelevance >> in the completion table itself. > I suppose you mean specifying `completion-ignore-case' in `metadata'. I didn't intend to specify a particular way to do it. It could be via the `metadata', indeed. But in Emacs<23 it was done simply be having try-completion and all-completions ignore the case, without having to tell anyone else. If this "old style" (i.e. the style currently used in read-char-by-name) can be made to work, that'd be even better. Stefan From unknown Wed Jun 25 10:53:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12615: 24.2.50; Non-ignored case in insert-char Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Jan 2013 00:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12615 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: 12615@debbugs.gnu.org, Harald Hanche-Olsen Received: via spool by 12615-submit@debbugs.gnu.org id=B12615.13577781811995 (code B ref 12615); Thu, 10 Jan 2013 00:37:01 +0000 Received: (at 12615) by debbugs.gnu.org; 10 Jan 2013 00:36:21 +0000 Received: from localhost ([127.0.0.1]:59204 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tt683-0000W6-Su for submit@debbugs.gnu.org; Wed, 09 Jan 2013 19:36:21 -0500 Received: from ps18281.dreamhost.com ([69.163.218.105]:55704 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tt680-0000Vs-Ps; Wed, 09 Jan 2013 19:36:18 -0500 Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 2E6FA229B5BC41; Wed, 9 Jan 2013 16:36:01 -0800 (PST) From: Juri Linkov Organization: JURTA References: <20121010.173658.77853335142870486.hanche@math.ntnu.no> <87d2xsxy9q.fsf@mail.jurta.org> <878v89u7pg.fsf@mail.jurta.org> <87pq1fjjfu.fsf@mail.jurta.org> Date: Thu, 10 Jan 2013 02:24:27 +0200 In-Reply-To: <87pq1fjjfu.fsf@mail.jurta.org> (Juri Linkov's message of "Wed, 09 Jan 2013 02:20:29 +0200") Message-ID: <87fw29vq9v.fsf@mail.jurta.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.8 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -0.0 (/) reopen 12615 thanks >> I'd guess only completing-read would need to do it, rather than >> read_minibuf. > > Then `completing-read-default' would be a good place too > (anyone who overrides `completing-read-function' have to copy most of > code from `completing-read-default' anyway). I tried to do this in `completing-read-default', and it seems to fix the reported problem, and (make-local-variable 'completion-ignore-case) in the *scratch* buffer doesn't override the let-binding in `read-char-by-name': === modified file 'lisp/minibuffer.el' --- lisp/minibuffer.el 2013-01-03 00:36:36 +0000 +++ lisp/minibuffer.el 2013-01-10 00:23:05 +0000 @@ -3202,8 +3202,16 @@ (defun completing-read-default (prompt c ;; in minibuffer-local-filename-completion-map can ;; override bindings in base-keymap. base-keymap))) - (result (read-from-minibuffer prompt initial-input keymap - nil hist def inherit-input-method))) + ;; Get the value of `completion-ignore-case' from the original + ;; buffer where it is either buffer-local or let-bound. + (c-i-c completion-ignore-case) + (result + (minibuffer-with-setup-hook + (lambda () + ;; Copy the value from original buffer to the minibuffer. + (set (make-local-variable 'completion-ignore-case) c-i-c)) + (read-from-minibuffer prompt initial-input keymap + nil hist def inherit-input-method)))) (when (and (equal result "") def) (setq result (if (consp def) (car def) def))) result)) From unknown Wed Jun 25 10:53:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12615: 24.2.50; Non-ignored case in insert-char Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 10 Jan 2013 02:52:09 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12615 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Juri Linkov Cc: 12615@debbugs.gnu.org, Harald Hanche-Olsen Received: via spool by 12615-submit@debbugs.gnu.org id=B12615.135778631418403 (code B ref 12615); Thu, 10 Jan 2013 02:52:09 +0000 Received: (at 12615) by debbugs.gnu.org; 10 Jan 2013 02:51:54 +0000 Received: from localhost ([127.0.0.1]:59289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tt8Et-0004mI-Cz for submit@debbugs.gnu.org; Wed, 09 Jan 2013 21:51:52 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:62714) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tt8Dq-0004kK-SL for 12615@debbugs.gnu.org; Wed, 09 Jan 2013 21:51:10 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AhoHAG6Zu0+4rw8T/2dsb2JhbABEgXuuTYNJgQiCFQEBBAFWIwULCzQSFBgNJIgcBboJkEQDiEKacYFYgwc X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="212189665" Received: from 184-175-15-19.dsl.teksavvy.com (HELO pastel.home) ([184.175.15.19]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 09 Jan 2013 21:50:02 -0500 Received: by pastel.home (Postfix, from userid 20848) id 94AAD592A9; Wed, 9 Jan 2013 21:50:02 -0500 (EST) From: Stefan Monnier Message-ID: References: <20121010.173658.77853335142870486.hanche@math.ntnu.no> <87d2xsxy9q.fsf@mail.jurta.org> <878v89u7pg.fsf@mail.jurta.org> <87pq1fjjfu.fsf@mail.jurta.org> <87fw29vq9v.fsf@mail.jurta.org> Date: Wed, 09 Jan 2013 21:50:02 -0500 In-Reply-To: <87fw29vq9v.fsf@mail.jurta.org> (Juri Linkov's message of "Thu, 10 Jan 2013 02:24:27 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.5 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > I tried to do this in `completing-read-default', and it seems to fix the > reported problem, and (make-local-variable 'completion-ignore-case) in > the *scratch* buffer doesn't override the let-binding in `read-char-by-name': Let's keep it around as a possible fallback workaround, but I'd rather avoid using it if possible. Stefan From unknown Wed Jun 25 10:53:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12615: 24.2.50; Non-ignored case in insert-char Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 13 Sep 2020 16:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12615 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: Juri Linkov , 12615@debbugs.gnu.org, Harald Hanche-Olsen Received: via spool by 12615-submit@debbugs.gnu.org id=B12615.16000148644139 (code B ref 12615); Sun, 13 Sep 2020 16:35:02 +0000 Received: (at 12615) by debbugs.gnu.org; 13 Sep 2020 16:34:24 +0000 Received: from localhost ([127.0.0.1]:51491 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHUxL-00014h-Nq for submit@debbugs.gnu.org; Sun, 13 Sep 2020 12:34:24 -0400 Received: from quimby.gnus.org ([95.216.78.240]:47128) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kHUx4-00013t-RY for 12615@debbugs.gnu.org; Sun, 13 Sep 2020 12:34:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=ih1JHJXYOVTontcivCXp79/C9DPpfZtvQj3/QetT4LI=; b=gIGLeIgZ03K7PNejqNMH5zSwQV iUqrXm+TGQPgj6LMwyWpUtuhZcg1YeQFnmllMn0z+UbcjPshOVwV34V15MqHBdCiKKDOzd8jkEqCu FORvKyUMZnkKW5xVe0ko5Ii2DjsGX05l3YOM+Yy5Z9gKjfpA6fnwXj6leCgTWF4vza5w=; Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=xo) by quimby with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kHUwt-000595-Ia; Sun, 13 Sep 2020 18:33:58 +0200 From: Lars Ingebrigtsen References: <20121010.173658.77853335142870486.hanche@math.ntnu.no> <87d2xsxy9q.fsf@mail.jurta.org> <878v89u7pg.fsf@mail.jurta.org> <87pq1fjjfu.fsf@mail.jurta.org> <87fw29vq9v.fsf@mail.jurta.org> X-Now-Playing: Deathcrush's _The Single Series_: "Lesson #4 For Wharton Tiers: Strauss" Date: Sun, 13 Sep 2020 18:33:54 +0200 In-Reply-To: (Stefan Monnier's message of "Wed, 09 Jan 2013 21:50:02 -0500") Message-ID: <87mu1tiqkt.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Stefan Monnier writes: >> I tried to do this in `completing-read-default', and it seems to fix the >> reported problem, and (make-local-variable 'completion-ignore-case) in >> the *scratch* buffer doesn't override the let-b [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Stefan Monnier writes: >> I tried to do this in `completing-read-default', and it seems to fix the >> reported problem, and (make-local-variable 'completion-ignore-case) in >> the *scratch* buffer doesn't override the let-binding in `read-char-by-name': > > Let's keep it around as a possible fallback workaround, but I'd rather > avoid using it if possible. Amazingly enough, the patch still applies seven years later, and it still fixes the bug reported by Harald. It is a bit of a hack, but... Any further opinions? I'm in favour of applying (after modernising a teensy bit). -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Wed Jun 25 10:53:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#12615: 24.2.50; Non-ignored case in insert-char Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Apr 2022 12:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12615 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Stefan Monnier Cc: Juri Linkov , 12615@debbugs.gnu.org, Harald Hanche-Olsen Received: via spool by 12615-submit@debbugs.gnu.org id=B12615.165063092718064 (code B ref 12615); Fri, 22 Apr 2022 12:36:01 +0000 Received: (at 12615) by debbugs.gnu.org; 22 Apr 2022 12:35:27 +0000 Received: from localhost ([127.0.0.1]:51869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhsVT-0004hI-GS for submit@debbugs.gnu.org; Fri, 22 Apr 2022 08:35:27 -0400 Received: from quimby.gnus.org ([95.216.78.240]:38140) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhsVR-0004h1-FJ for 12615@debbugs.gnu.org; Fri, 22 Apr 2022 08:35:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=GjhvTyMZDLk+g2Q9Q6xs6AGC47YqWQkBhxvjjx0HjhM=; b=qRuaZ70B6M3YV3nEMTItqGTBe8 Ah5AtaExUadG4nmhL06QyOIpWUA0BL5zI5WOpTVcaPxWM9Box8I81rah2YPPw/UhckE/FXUx2zjLO 7z4ArQMcJOjZCPerQYgaL/S4z3RYABQf7hjAiWD+HM5tSuJszgZxec0OrJPnLHRDrhjA=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nhsVH-0006NH-J0; Fri, 22 Apr 2022 14:35:17 +0200 From: Lars Ingebrigtsen References: <20121010.173658.77853335142870486.hanche@math.ntnu.no> <87d2xsxy9q.fsf@mail.jurta.org> <878v89u7pg.fsf@mail.jurta.org> <87pq1fjjfu.fsf@mail.jurta.org> <87fw29vq9v.fsf@mail.jurta.org> <87mu1tiqkt.fsf@gnus.org> X-Now-Playing: Coil's _Protection_: "Protection" Date: Fri, 22 Apr 2022 14:35:13 +0200 In-Reply-To: <87mu1tiqkt.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sun, 13 Sep 2020 18:33:54 +0200") Message-ID: <87mtgd1eke.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > Amazingly enough, the patch still applies seven years later, and it > still fixes the bug reported by Harald. > > It is a bit of a hack, but... Any further opinions? I'm in favour of > applying (aft [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Lars Ingebrigtsen writes: > Amazingly enough, the patch still applies seven years later, and it > still fixes the bug reported by Harald. > > It is a bit of a hack, but... Any further opinions? I'm in favour of > applying (after modernising a teensy bit). It no longer applied, so I've respun it for Emacs 29 and pushed it. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 22 08:35:30 2022 Received: (at control) by debbugs.gnu.org; 22 Apr 2022 12:35:30 +0000 Received: from localhost ([127.0.0.1]:51872 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhsVW-0004hY-N6 for submit@debbugs.gnu.org; Fri, 22 Apr 2022 08:35:30 -0400 Received: from quimby.gnus.org ([95.216.78.240]:38154) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nhsVV-0004h6-Oy for control@debbugs.gnu.org; Fri, 22 Apr 2022 08:35:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=OCziGetGGLaeC1SsmPSCvWF4ci4t7AGELwvInzFDMmw=; b=kgSCWY1IOooWm5VfI3xW4XVnna 8KfUH32/QpfJMXxQZzS++0BVjPEs+AzwQPY62pmjE2xmevSdgCVs1jvM+kkat4o2hYWi1siwZEO23 njyXgbRfGfUPZEFbyj+tzbbeNAK32BJoRQJAgA3fKXsXeeLgbBmM+9vUVXWhJp2k5nf8=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nhsVN-0006NO-33 for control@debbugs.gnu.org; Fri, 22 Apr 2022 14:35:22 +0200 Date: Fri, 22 Apr 2022 14:35:19 +0200 Message-Id: <87levx1ek8.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #12615 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 12615 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 12615 29.1 quit