From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Don't concat directories to file names Date: Mon, 25 Jun 2007 17:00:32 +0200 Message-ID: <864pkwf59r.fsf@lola.quinscape.zz> References: <87k5ty66nq.fsf@uwakimon.sk.tsukuba.ac.jp> <86wsxxvief.fsf@ketchup.de.uu.net> <868xa8f5jf.fsf@lola.quinscape.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1182783781 7924 80.91.229.12 (25 Jun 2007 15:03:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Jun 2007 15:03:01 +0000 (UTC) Cc: Stefan Monnier , rms@gnu.org, emacs-devel@gnu.org To: "Juanma Barranquero" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 25 17:02:54 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 1I2q3V-0000cD-Az for ged-emacs-devel@m.gmane.org; Mon, 25 Jun 2007 17:00:41 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I2q3U-0006kN-O4 for ged-emacs-devel@m.gmane.org; Mon, 25 Jun 2007 11:00:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I2q3Q-0006k5-Cl for emacs-devel@gnu.org; Mon, 25 Jun 2007 11:00:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I2q3P-0006jP-VB for emacs-devel@gnu.org; Mon, 25 Jun 2007 11:00:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I2q3P-0006jE-Jz for emacs-devel@gnu.org; Mon, 25 Jun 2007 11:00:35 -0400 Original-Received: from pc3.berlin.powerweb.de ([62.67.228.11]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1I2q3O-0002z4-QA for emacs-devel@gnu.org; Mon, 25 Jun 2007 11:00:35 -0400 Original-Received: from quinscape.de (dslnet.212-29-44.ip210.dokom.de [212.29.44.210] (may be forged)) by pc3.berlin.powerweb.de (8.9.3p3/8.9.3) with ESMTP id RAA23111 for ; Mon, 25 Jun 2007 17:00:25 +0200 X-Delivered-To: Original-Received: (qmail 26660 invoked from network); 25 Jun 2007 15:00:32 -0000 Original-Received: from unknown (HELO lola.quinscape.zz) ([10.0.3.43]) (envelope-sender ) by ns.quinscape.de (qmail-ldap-1.03) with SMTP for ; 25 Jun 2007 15:00:32 -0000 Original-Received: by lola.quinscape.zz (Postfix, from userid 1001) id 492C48F23E; Mon, 25 Jun 2007 17:00:32 +0200 (CEST) In-Reply-To: <868xa8f5jf.fsf@lola.quinscape.zz> (David Kastrup's message of "Mon\, 25 Jun 2007 16\:54\:44 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.51 (gnu/linux) X-detected-kernel: Linux 2.4-2.6 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:73827 Archived-At: David Kastrup writes: > "Juanma Barranquero" writes: > >> At least I didn't find difficult to remember that frames are windows >> and windows are panes (and yeah, I know, Emacs Was There First :) >> >> locate-user-emacs-file, then, as ugly as it is. > >>>From functions like file-name-as-directory and directory-file-name one > could possibly derive locate-user-emacs-file-name. However, I find > that this sounds illogical since the _name_ is not what is _located_. > > So locate-*-file seems more appropriate. Actually, in correspondence with `make-temp-name', the function might be named `make-user-file-name'. The disadvantage is that `make' carries with it the slight connotation that the file and/or name will be a new one. That would be somewhat alleviated by using `get-user-file-name' (get is used in a similar function with buffers). I think I should stop now before someone shoots me. -- David Kastrup