From: Barry OReilly <gundaetiapo@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 13921@debbugs.gnu.org
Subject: bug#13921: 24.2; Misbehavior of expand-file-name on Cygwin with Emacs 24.2
Date: Mon, 11 Mar 2013 13:21:38 -0400 [thread overview]
Message-ID: <CAFM41H3hW9vfy_rzaT-0nUS0vdYW-=9Ajm7i6Po1-W0xDwULZg@mail.gmail.com> (raw)
In-Reply-To: <83boapx5jm.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1600 bytes --]
> By contrast, compilation of CEDET was probably run somewhere on drive
> D:, so /home/epich/sw/cedet/lisp/cedet/loaddefs.el got D: prepended to
> it.
No, it wasn't. I type these two commands at the Cygwin shell without
changing anything, including pwd:
emacs -batch --no-site-file --eval '(setq debug-on-error t)' -l
"../../cedet-remove-builtin.el" -L . --eval '(progn (require (quote
cedet-compat)) (require (quote mode-local)))' -L ../eieio/ -L ./ -L ./
--eval '(progn (setq generated-autoload-file
"/home/epich/sw/cedet/lisp/cedet/loaddefs.el"))' -f batch-update-autoloads
/home/epich/sw/cedet/lisp/cedet
emacs -batch --no-site-file --eval '(setq debug-on-error t)' -l
"../../cedet-remove-builtin.el" -L . --eval '(progn (require (quote
cedet-compat)) (require (quote mode-local)))' -L ../eieio/ -L ./ -L ./
--eval '(progn (setq generated-autoload-file
"/home/epich/sw/cedet/lisp/cedet/loaddefs.el") (message "DEBUG: expanded
file name is %s" (expand-file-name "/home/epich/sw/cedet/lisp/cedet")))'
/home/epich/sw/cedet/lisp/cedet
The first yields an incorrect "d:" prefix, the second the "c:" prefix. Why
would this be? This is evidence of an Emacs bug.
> I don't know why you invoke Emacs from the Cygwin Bash. I suggest not
> to, or to switch to a Cygwin build of Emacs. Mixing these two
> environments is asking for trouble.
When I set up Cygwin, I did not install Cygwin's Emacs installation. There
is no conflict with an alternate Emacs. I am merely using Cygwin's GNU
Make to execute makefiles, which correctly invoke the Windows emacs.exe
binary. Why shouldn't that work?
[-- Attachment #2: Type: text/html, Size: 1837 bytes --]
next prev parent reply other threads:[~2013-03-11 17:21 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-11 2:03 bug#13921: 24.2; Misbehavior of expand-file-name on Cygwin with Emacs 24.2 Barry OReilly
2013-03-11 16:30 ` Eli Zaretskii
2013-03-11 17:21 ` Barry OReilly [this message]
2013-03-11 17:43 ` Eli Zaretskii
2013-03-11 17:54 ` Eli Zaretskii
2013-03-13 0:45 ` Barry OReilly
2013-03-13 3:52 ` Eli Zaretskii
2013-03-13 17:54 ` Eli Zaretskii
2013-03-14 12:16 ` Barry OReilly
2013-03-14 16:38 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAFM41H3hW9vfy_rzaT-0nUS0vdYW-=9Ajm7i6Po1-W0xDwULZg@mail.gmail.com' \
--to=gundaetiapo@gmail.com \
--cc=13921@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).