From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stephen J. Turnbull" Newsgroups: gmane.emacs.devel Subject: Re: Don't concat directories to file names Date: Fri, 15 Jun 2007 10:50:59 +0900 Message-ID: <87sl8uc7ek.fsf@uwakimon.sk.tsukuba.ac.jp> References: <87wsy6cvip.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1181871650 17614 80.91.229.12 (15 Jun 2007 01:40:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 15 Jun 2007 01:40:50 +0000 (UTC) Cc: Mike Sperber , rms@gnu.org, emacs-devel@gnu.org To: "Juanma Barranquero" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 15 03:40:47 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 1Hz0nq-0000U1-4v for ged-emacs-devel@m.gmane.org; Fri, 15 Jun 2007 03:40:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hz0np-0007xj-HE for ged-emacs-devel@m.gmane.org; Thu, 14 Jun 2007 21:40:41 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hz0nm-0007xH-Vi for emacs-devel@gnu.org; Thu, 14 Jun 2007 21:40:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hz0nl-0007ty-FH for emacs-devel@gnu.org; Thu, 14 Jun 2007 21:40:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hz0nl-0007to-CJ for emacs-devel@gnu.org; Thu, 14 Jun 2007 21:40:37 -0400 Original-Received: from mtps02.sk.tsukuba.ac.jp ([130.158.97.224]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hz0nk-00080f-4v; Thu, 14 Jun 2007 21:40:36 -0400 Original-Received: from uwakimon.sk.tsukuba.ac.jp (uwakimon.sk.tsukuba.ac.jp [130.158.99.156]) by mtps02.sk.tsukuba.ac.jp (Postfix) with ESMTP id E35DB7FFC; Fri, 15 Jun 2007 10:40:33 +0900 (JST) Original-Received: by uwakimon.sk.tsukuba.ac.jp (Postfix, from userid 1000) id EFAB31A260D; Fri, 15 Jun 2007 10:51:01 +0900 (JST) In-Reply-To: X-Mailer: VM 7.17 under 21.5 (beta27) "fiddleheads" (+CVS-20070324) XEmacs Lucid 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:72912 Archived-At: Juanma Barranquero writes: > On 6/14/07, Stephen J. Turnbull wrote: > > > XEmacs has a whole API for finding user data. The main function is > > > > (find-user-init-file &optional INIT-DIRECTORY HOME-DIRECTORY) > > > > Documentation: > > Determine the user's init file. > > Could you please elaborate? (Or there is any way to find that > feature's docs, other than installing XEmacs?) Not my place to elaborate; Mike designed it AFAIK. For example, I think your design which has the user name as an argument makes sense; why Mike did *not* do it that way I don't know. Please ask him. If you want to look at docs, you'll probably want to install XEmacs. It's consider internal to startup.el, and not documented in the Lisp Reference according C-h C-f. C-h a user.*file RET will give a list of related functions; in XEmacs the preferred style is to provide docstrings even for internal functions, so that's probably the best we've got. The Lisp Reference for XEmacs is available online at http://www.xemacs.org/Documentation/. Source for these APIs will be in http://cvs.xemacs.org/viewcvs.cgi/XEmacs/xemacs/lisp/startup.el?rev=1.58&content-type=text/vnd.viewcvs-markup but internal evidence suggests that copyrights are not up-to-date and I don't know Mike's code's assignment status, so you may wish to take care when looking at that.