From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#13921: 24.2; Misbehavior of expand-file-name on Cygwin with Emacs 24.2 Date: Wed, 13 Mar 2013 05:52:58 +0200 Message-ID: <838v5sj6qt.fsf@gnu.org> References: <83boapx5jm.fsf@gnu.org> <8338w1x25i.fsf@gnu.org> <831ublx1ng.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1363146855 23618 80.91.229.3 (13 Mar 2013 03:54:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Mar 2013 03:54:15 +0000 (UTC) Cc: 13921@debbugs.gnu.org To: Barry OReilly Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Mar 13 04:54:40 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UFclr-0001vq-4E for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Mar 2013 04:54:31 +0100 Original-Received: from localhost ([::1]:45956 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFclU-0006IV-OL for geb-bug-gnu-emacs@m.gmane.org; Tue, 12 Mar 2013 23:54:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43504) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFclN-0006Er-0B for bug-gnu-emacs@gnu.org; Tue, 12 Mar 2013 23:54:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UFclL-0006YM-Sb for bug-gnu-emacs@gnu.org; Tue, 12 Mar 2013 23:54:00 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45802) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UFclL-0006YH-PR for bug-gnu-emacs@gnu.org; Tue, 12 Mar 2013 23:53:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UFcmM-0000Gi-FQ for bug-gnu-emacs@gnu.org; Tue, 12 Mar 2013 23:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Mar 2013 03:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13921 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13921-submit@debbugs.gnu.org id=B13921.1363146855960 (code B ref 13921); Wed, 13 Mar 2013 03:55:02 +0000 Original-Received: (at 13921) by debbugs.gnu.org; 13 Mar 2013 03:54:15 +0000 Original-Received: from localhost ([127.0.0.1]:49907 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UFcla-0000FR-Sj for submit@debbugs.gnu.org; Tue, 12 Mar 2013 23:54:15 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:61292) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UFclX-0000FC-PA for 13921@debbugs.gnu.org; Tue, 12 Mar 2013 23:54:12 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0MJK00100YQ2LJ00@a-mtaout21.012.net.il> for 13921@debbugs.gnu.org; Wed, 13 Mar 2013 05:53:01 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MJK001B9YSDGS80@a-mtaout21.012.net.il>; Wed, 13 Mar 2013 05:53:01 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:72409 Archived-At: > Date: Tue, 12 Mar 2013 20:45:45 -0400 > From: Barry OReilly > Cc: 13921@debbugs.gnu.org > > source-directory is a variable defined in `lread.c'. > Its value is "d:/devel/emacs/release/emacs24/emacs-24.2/" > > Documentation: > Directory in which Emacs sources were found when Emacs was built. > You cannot count on them to still be there! > > I did not find this /devel/emacs/release/emacs24/emacs-24.2/ on my system, > nor is it the kind of path I would create. source-directory is where Emacs was built. And since you didn't build it yourself, this reflects the directory where whoever built it did that. And since Cygwin passes to Emacs a file name without a drive letter, the logic in autoload.el causes the D: drive letter be added to /home/epich/sw/cedet/lisp/cedet, because it doesn't expect a semi-absolute file name like that, it expects either a relative file name or a fully-qualified absolute one. So this is a direct result of launching a native w32 Emacs from a Cygwin Bash.