From unknown Mon Jun 23 02:23:29 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#8480 <8480@debbugs.gnu.org> To: bug#8480 <8480@debbugs.gnu.org> Subject: Status: 24.0.50; (elisp) Reading File Names Reply-To: bug#8480 <8480@debbugs.gnu.org> Date: Mon, 23 Jun 2025 09:23:29 +0000 retitle 8480 24.0.50; (elisp) Reading File Names reassign 8480 emacs submitter 8480 "Drew Adams" severity 8480 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 11 21:29:06 2011 Received: (at submit) by debbugs.gnu.org; 12 Apr 2011 01:29:06 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q9SPd-0006Sc-L2 for submit@debbugs.gnu.org; Mon, 11 Apr 2011 21:29:06 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q9SPc-0006SR-CP for submit@debbugs.gnu.org; Mon, 11 Apr 2011 21:29:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q9SPV-0006ba-0N for submit@debbugs.gnu.org; Mon, 11 Apr 2011 21:28:55 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 Received: from [140.186.70.17] (port=41095 helo=lists.gnu.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9SPU-0006bO-Rr for submit@debbugs.gnu.org; Mon, 11 Apr 2011 21:28:52 -0400 Received: from eggs.gnu.org ([140.186.70.92]:59013) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9SPS-0003qb-AP for bug-gnu-emacs@gnu.org; Mon, 11 Apr 2011 21:28:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q9Pox-0004Rk-ES for bug-gnu-emacs@gnu.org; Mon, 11 Apr 2011 18:43:00 -0400 Received: from rcsinet10.oracle.com ([148.87.113.121]:17230) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q9Pox-0004RF-9A for bug-gnu-emacs@gnu.org; Mon, 11 Apr 2011 18:42:59 -0400 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id p3BMgs0b011472 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Mon, 11 Apr 2011 22:42:56 GMT Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id p3BMgsgp030204 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 11 Apr 2011 22:42:54 GMT Received: from abhmt020.oracle.com (abhmt020.oracle.com [141.146.116.29]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p3BMgrej026427 for ; Mon, 11 Apr 2011 17:42:53 -0500 Received: from dradamslap1 (/130.35.178.194) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 11 Apr 2011 15:42:53 -0700 From: "Drew Adams" To: Subject: 24.0.50; (elisp) Reading File Names Date: Mon, 11 Apr 2011 15:42:56 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: Acv4mc0Cjdjm+A2OTU+CeJayZN6SXQ== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5994 X-Source-IP: acsmt358.oracle.com [141.146.40.158] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A090207.4DA383EE.00AB:SCFSTAT5015188,ss=1,fgs=0 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: 140.186.70.17 X-Spam-Score: -6.5 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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.5 (------) Doc for `read-file-name': Just after describing the PREDICATE arg, we say that `read-file-name' does not automatically expand file names etc. Then we say "Here is an example:" and give an overall example of using `read-file-name'. This is not an example to show that `r-f-n' does not automatically expand file names. In fact, this example might be misread as trying to show the opposite, since the result returned is an absolute file name. If the example here, as I suppose, is supposed to be general, then it should be introduced as such, to avoid giving the impression that it is meant to illustrate something about non-expansion of candidate names (the topic just discussed). A better example perhaps would show what happens when `insert-directory' is nil or someone has deleted the directory portion. Such an example would also show that there is no automatic expansion of the result. Finally, I think it should be pointed out that it is not only the result returned by the function that does not get expanded. If a user passes a PREDICATE arg, s?he needs to know that the file name operated on by the predicate has no directory component; i.e., no expansion is done here either. What's more, `default-directory' is not sufficient, in general, for the proper relevant expansion. Typically, to get the right directory for expansion before testing by PREDICATE (if the directory is important for the test), one needs to get it from the minibuffer (if it is there) or somehow know it otherwise. In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600) of 2011-04-11 on 3249CTO Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (4.5) --no-opt --cflags -Ic:/imagesupport/include' From debbugs-submit-bounces@debbugs.gnu.org Sat May 28 15:59:13 2011 Received: (at 8480) by debbugs.gnu.org; 28 May 2011 19:59:14 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QQPfF-0005L2-Gn for submit@debbugs.gnu.org; Sat, 28 May 2011 15:59:13 -0400 Received: from vm-emlprdomr-05.its.yale.edu ([130.132.50.146]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QQPf7-0005KR-Oh for 8480@debbugs.gnu.org; Sat, 28 May 2011 15:59:07 -0400 Received: from furball (c-71-192-165-84.hsd1.ct.comcast.net [71.192.165.84]) (authenticated bits=0) by vm-emlprdomr-05.its.yale.edu (8.14.4/8.14.4) with ESMTP id p4SJwxQE030165 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 28 May 2011 15:59:00 -0400 Received: by furball (Postfix, from userid 1000) id 4CA8116031F; Sat, 28 May 2011 15:58:59 -0400 (EDT) From: Chong Yidong To: "Drew Adams" Subject: Re: bug#8480: 24.0.50; (elisp) Reading File Names References: Date: Sat, 28 May 2011 15:58:59 -0400 In-Reply-To: (Drew Adams's message of "Mon, 11 Apr 2011 15:42:56 -0700") Message-ID: <877h9appfg.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.71 on 130.132.50.146 X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 8480 Cc: 8480@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -2.6 (--) "Drew Adams" writes: > Doc for `read-file-name': Just after describing the PREDICATE arg, we > say that `read-file-name' does not automatically expand file names > etc. > > Then we say "Here is an example:" and give an overall example of using > `read-file-name'. This is not an example to show that `r-f-n' does not > automatically expand file names. In fact, this example might be misread > as trying to show the opposite, since the result returned is an absolute > file name. OK, clarified. From debbugs-submit-bounces@debbugs.gnu.org Sat May 28 15:59:20 2011 Received: (at control) by debbugs.gnu.org; 28 May 2011 19:59:20 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QQPfL-0005LH-Eg for submit@debbugs.gnu.org; Sat, 28 May 2011 15:59:19 -0400 Received: from vm-emlprdomr-03.its.yale.edu ([130.132.50.144]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QQPfJ-0005Kz-0g for control@debbugs.gnu.org; Sat, 28 May 2011 15:59:17 -0400 Received: from furball (c-71-192-165-84.hsd1.ct.comcast.net [71.192.165.84]) (authenticated bits=0) by vm-emlprdomr-03.its.yale.edu (8.14.4/8.14.4) with ESMTP id p4SJxBcH018322 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 28 May 2011 15:59:11 -0400 Received: by furball (Postfix, from userid 1000) id CF39A16031F; Sat, 28 May 2011 15:59:10 -0400 (EDT) From: Chong Yidong To: control@debbugs.gnu.org Subject: close 8480 Date: Sat, 28 May 2011 15:59:10 -0400 Message-ID: <8739jylhpt.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.71 on 130.132.50.144 X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -2.6 (--) close 8480 thanks From unknown Mon Jun 23 02:23:29 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 26 Jun 2011 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator