From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: file-truename, convert-standard-filename Date: Wed, 10 Feb 2010 00:32:42 +0200 Message-ID: <83zl3ica5x.fsf@gnu.org> References: <83eikyg44u.fsf@gnu.org> <83wrypelms.fsf@gnu.org> <83hbpse5ac.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1265755252 7481 80.91.229.12 (9 Feb 2010 22:40:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 9 Feb 2010 22:40:52 +0000 (UTC) Cc: emacs-devel@gnu.org To: MON KEY Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Feb 09 23:40:50 2010 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.69) (envelope-from ) id 1NeylB-00073b-VM for ged-emacs-devel@m.gmane.org; Tue, 09 Feb 2010 23:40:46 +0100 Original-Received: from localhost ([127.0.0.1]:55117 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NeylB-0007nw-9e for ged-emacs-devel@m.gmane.org; Tue, 09 Feb 2010 17:40:45 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Neydt-0002di-Cr for emacs-devel@gnu.org; Tue, 09 Feb 2010 17:33:13 -0500 Original-Received: from [199.232.76.173] (port=35637 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Neydt-0002dS-1E for emacs-devel@gnu.org; Tue, 09 Feb 2010 17:33:13 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Neydr-0000EZ-E1 for emacs-devel@gnu.org; Tue, 09 Feb 2010 17:33:12 -0500 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:46036) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Neydr-0000EA-0G for emacs-devel@gnu.org; Tue, 09 Feb 2010 17:33:11 -0500 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0KXL00300IK7IW00@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Wed, 10 Feb 2010 00:32:35 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.70.67.249]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KXL00MI4IMAVED0@a-mtaout23.012.net.il>; Wed, 10 Feb 2010 00:32:35 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 10 (beta) 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:121041 Archived-At: > Date: Tue, 9 Feb 2010 16:32:55 -0500 > From: MON KEY > > On Sun, Feb 7, 2010 at 11:10 PM, Eli Zaretskii wrote: > >> (require 'foo) > >> > >> Which is the string of the filename referenced in the above form? > > > > As Andreas points out, rather than looking at a small portion of the > > doc string, why don't you read it in its entirety? The answer to your > > question is there. > > > > FWIW the string quoted is what appears in apropos... which is why i > referenced it as such. > > None the less, the FEATURE 'foo is not a filename and does not > designate the optional arg FILENAME. > In the docstring of `require' FILENAME is an optional argument. > > In the example above the feature 'foo is a quoted symbol. There is no > second arg FILENAME. > > Is the second arg implicit by virtue the ``printname of FEATURE''? > > (print 'foo (current-buffer)) > > Where is the string? I have no idea what you are talking about, even though I understand all the words. The doc string of `require' says: (require FEATURE &optional FILENAME NOERROR) If feature FEATURE is not loaded, load it from FILENAME. If FEATURE is not a member of the list `features', then the feature is not loaded; so load the file FILENAME. If FILENAME is omitted, the printname of FEATURE is used as the file name, I don't know what you see there, but what I see is that FILENAME _is_ documented, and the last sentence says what happens if it's omitted. > Or am I misinterpreting what occurs? Yes, you are.