From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: storm@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: read-file-name-predicate Date: Thu, 08 Mar 2007 12:16:51 +0100 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1173352595 15948 80.91.229.12 (8 Mar 2007 11:16:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 8 Mar 2007 11:16:35 +0000 (UTC) Cc: Drew Adams , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 08 12:16:27 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HPGbj-0005zE-1a for ged-emacs-devel@m.gmane.org; Thu, 08 Mar 2007 12:16:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HPGbu-0007jD-Rc for ged-emacs-devel@m.gmane.org; Thu, 08 Mar 2007 06:16:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HPGbh-0007j8-Vm for emacs-devel@gnu.org; Thu, 08 Mar 2007 06:16:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HPGbh-0007iw-8B for emacs-devel@gnu.org; Thu, 08 Mar 2007 06:16:25 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HPGbh-0007it-5Z for emacs-devel@gnu.org; Thu, 08 Mar 2007 06:16:25 -0500 Original-Received: from pfepa.post.tele.dk ([195.41.46.235]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HPGbT-0007ki-DT; Thu, 08 Mar 2007 06:16:11 -0500 Original-Received: from kfs-l.imdomain.dk.cua.dk (unknown [80.165.4.124]) by pfepa.post.tele.dk (Postfix) with SMTP id 5AC2BFAC073; Thu, 8 Mar 2007 12:15:55 +0100 (CET) In-Reply-To: (Eli Zaretskii's message of "Wed\, 07 Mar 2007 18\:49\:45 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux) X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) 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 Xref: news.gmane.org gmane.emacs.devel:67570 Archived-At: Eli Zaretskii writes: > I don't know if in this specific case the variable is a left-over from > something we don't need anymore; I hope Kim will answer that. Because read-file-name-internal need to specbind it: count = SPECPDL_INDEX (); specbind (intern ("completion-ignore-case"), read_file_name_completion_ignore_case ? Qt : Qnil); specbind (intern ("minibuffer-completing-file-name"), Qt); specbind (intern ("read-file-name-predicate"), (NILP (predicate) ? Qfile_exists_p : predicate)); I guess it could have been done some other way, but this seemed the easiest way to do it at the time. Let's not change it now. -- Kim F. Storm http://www.cua.dk