From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Harald Hanche-Olsen Newsgroups: gmane.emacs.bugs Subject: bug#12615: 24.2.50; Non-ignored case in insert-char Date: Wed, 10 Oct 2012 20:03:41 +0200 (CEST) Message-ID: <20121010.200341.1735119142677865822.hanche@math.ntnu.no> References: <20121010.173658.77853335142870486.hanche@math.ntnu.no> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1349892272 6974 80.91.229.3 (10 Oct 2012 18:04:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 10 Oct 2012 18:04:32 +0000 (UTC) To: 12615@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 10 20:04:39 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TM0e7-0003FK-0K for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Oct 2012 20:04:39 +0200 Original-Received: from localhost ([::1]:39952 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TM0e0-000392-Ai for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Oct 2012 14:04:32 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53094) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TM0ds-00034t-6n for bug-gnu-emacs@gnu.org; Wed, 10 Oct 2012 14:04:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TM0dr-0002MP-5i for bug-gnu-emacs@gnu.org; Wed, 10 Oct 2012 14:04:24 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55884) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TM0dr-0002MH-1r for bug-gnu-emacs@gnu.org; Wed, 10 Oct 2012 14:04:23 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TM0eU-0000jM-K8 for bug-gnu-emacs@gnu.org; Wed, 10 Oct 2012 14:05:02 -0400 X-Loop: help-debbugs@gnu.org 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: Original-Received: via spool by 12615-submit@debbugs.gnu.org id=B12615.13498922662761 (code B ref 12615); Wed, 10 Oct 2012 18:05:02 +0000 Original-Received: (at 12615) by debbugs.gnu.org; 10 Oct 2012 18:04:26 +0000 Original-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 Original-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 Original-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 Original-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) In-Reply-To: <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) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 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.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:65464 Archived-At: 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