From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Tromey Newsgroups: gmane.emacs.devel Subject: Re: Don't concat directories to file names Date: Thu, 14 Jun 2007 13:40:23 -0600 Message-ID: References: Reply-To: tromey@redhat.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1181851192 20652 80.91.229.12 (14 Jun 2007 19:59:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 14 Jun 2007 19:59:52 +0000 (UTC) Cc: emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 14 21:59:50 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 1HyvTu-0005i4-1U for ged-emacs-devel@m.gmane.org; Thu, 14 Jun 2007 21:59:46 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HyvTt-00048d-N3 for ged-emacs-devel@m.gmane.org; Thu, 14 Jun 2007 15:59:45 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HyvTq-00048O-BD for emacs-devel@gnu.org; Thu, 14 Jun 2007 15:59:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HyvTo-00048A-H3 for emacs-devel@gnu.org; Thu, 14 Jun 2007 15:59:41 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HyvTo-000487-Bq for emacs-devel@gnu.org; Thu, 14 Jun 2007 15:59:40 -0400 Original-Received: from mx1.redhat.com ([66.187.233.31]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HyvTn-0007dk-6l; Thu, 14 Jun 2007 15:59:39 -0400 Original-Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.1/8.13.1) with ESMTP id l5EJxCa8024016; Thu, 14 Jun 2007 15:59:12 -0400 Original-Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l5EJwrWc023837; Thu, 14 Jun 2007 15:58:58 -0400 Original-Received: from opsy.redhat.com (ton.toronto.redhat.com [172.16.14.15]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id l5EJwgKR014031; Thu, 14 Jun 2007 15:58:47 -0400 Original-Received: by opsy.redhat.com (Postfix, from userid 500) id 2E7C0888032; Thu, 14 Jun 2007 13:40:23 -0600 (MDT) X-Attribution: Tom In-Reply-To: (Richard Stallman's message of "Wed\, 13 Jun 2007 12\:22\:03 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (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:72894 Archived-At: >>>>> "rms" == Richard Stallman writes: > -(defcustom image-dired-dir "~/.emacs.d/image-dired/" > +(defcustom image-dired-dir (concat user-emacs-directory "image-dired/") rms> This has the right result, but for clarity such code really ought to rms> use expand-file-name. Sorry about this. I will try to fix it up sometime soon. I believe the reason I chose to use concat rather than expand-file-name was to be conservative, on the off chance that some code cared about the precise text in use. Tom