From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.devel Subject: Re: Problem with expand-file-name ? Date: Fri, 31 Aug 2007 17:03:44 +0200 Message-ID: <87sl5zkapb.fsf@gnuvola.org> References: <46D806EB.30505@yandex.ru> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1188572712 16644 80.91.229.12 (31 Aug 2007 15:05:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 31 Aug 2007 15:05:12 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dmitry Antipov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 31 17:05:11 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 1IR83P-0001i1-6l for ged-emacs-devel@m.gmane.org; Fri, 31 Aug 2007 17:04:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IR83O-0007bz-NL for ged-emacs-devel@m.gmane.org; Fri, 31 Aug 2007 11:04:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IR83L-0007bu-NH for emacs-devel@gnu.org; Fri, 31 Aug 2007 11:04:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IR83K-0007be-9D for emacs-devel@gnu.org; Fri, 31 Aug 2007 11:04:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IR83K-0007bb-3U for emacs-devel@gnu.org; Fri, 31 Aug 2007 11:04:54 -0400 Original-Received: from ppp-144-38.21-151.libero.it ([151.21.38.144] helo=localhost.localdomain) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IR83J-0004Hj-IP for emacs-devel@gnu.org; Fri, 31 Aug 2007 11:04:53 -0400 Original-Received: from ttn by localhost.localdomain with local (Exim 4.63) (envelope-from ) id 1IR82C-00038Z-2D; Fri, 31 Aug 2007 17:03:44 +0200 In-Reply-To: <46D806EB.30505@yandex.ru> (Dmitry Antipov's message of "Fri\, 31 Aug 2007 16\:17\:47 +0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) X-Detected-Kernel: Genre and OS details not recognized. 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:77495 Archived-At: () Dmitry Antipov () Fri, 31 Aug 2007 16:17:47 +0400 Note 'lisp/lisp' here - probably this is a strange thing done by expand-file-name. the following patch fixes this problem. light testing w/ "make compile" in lisp/ doesn't show any problems so i will install it in a couple days unless there are objections in the meantime. thi ______________________________________________________________ *** bytecomp.el 27 Aug 2007 04:00:15 -0000 2.207 --- bytecomp.el 31 Aug 2007 14:59:56 -0000 *************** *** 1552,1558 **** ;; compilation-mode copies value of default-directory. (unless (eq major-mode 'compilation-mode) (compilation-mode)) ! (let ((directories (list (expand-file-name directory))) (default-directory default-directory) (skip-count 0) (fail-count 0) --- 1552,1558 ---- ;; compilation-mode copies value of default-directory. (unless (eq major-mode 'compilation-mode) (compilation-mode)) ! (let ((directories (list default-directory)) (default-directory default-directory) (skip-count 0) (fail-count 0)