From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: bug in file-name-shadow-mode Date: Sun, 20 Mar 2005 20:19:15 -0500 Message-ID: References: <200503192012.j2JKCSJ02066@raven.dms.auburn.edu> <200503201626.j2KGQIw04956@raven.dms.auburn.edu> Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1111368704 5516 80.91.229.2 (21 Mar 2005 01:31:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 21 Mar 2005 01:31:44 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 21 02:31:43 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DDBkw-0004hq-LI for ged-emacs-devel@m.gmane.org; Mon, 21 Mar 2005 02:30:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DDC1w-0003IC-C7 for ged-emacs-devel@m.gmane.org; Sun, 20 Mar 2005 20:48:32 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DDC0t-0002s7-Bl for emacs-devel@gnu.org; Sun, 20 Mar 2005 20:47:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DDC0q-0002qI-8o for emacs-devel@gnu.org; Sun, 20 Mar 2005 20:47:25 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DDC0p-0002nE-SH for emacs-devel@gnu.org; Sun, 20 Mar 2005 20:47:23 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DDBZb-0002HL-L5 for emacs-devel@gnu.org; Sun, 20 Mar 2005 20:19:15 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1DDBZb-000554-9v; Sun, 20 Mar 2005 20:19:15 -0500 Original-To: Luc Teirlinck In-reply-to: <200503201626.j2KGQIw04956@raven.dms.auburn.edu> (message from Luc Teirlinck on Sun, 20 Mar 2005 10:26:18 -0600 (CST)) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org X-MailScanner-To: ged-emacs-devel@m.gmane.org Xref: news.gmane.org gmane.emacs.devel:34865 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:34865 Do C-g to quit the current minibuffer. Then do C-x C-f. One now has ~/ in the minibuffer. If you type an extra "/", the "~/" preceding it does not get any special highlighting, as it should if file-name-shadow-mode is t. The cause of this is that the minibuffer binds minibuffer-setup-hook and therefore the local binding is what gets set. Thus, exiting the minibuffer wipes it out. I think there is nothing to be done about this. It would be hard to fix and it probably isn't worth the trouble.