unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 14030@debbugs.gnu.org, michael.albinus@gmx.de, vidagabor@gmail.com
Subject: bug#14030: 24.3; expand-file-name expands remote file name on Windows incorrectly
Date: Tue, 26 Mar 2013 08:11:03 +0200	[thread overview]
Message-ID: <8338vi1yiw.fsf@gnu.org> (raw)
In-Reply-To: <jwvtxnzj9jt.fsf-monnier+emacs@gnu.org>

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Cc: michael.albinus@gmx.de,  vidagabor@gmail.com,  14030@debbugs.gnu.org
> Date: Mon, 25 Mar 2013 20:23:41 -0400
> 
> >> So your alias to `identity' is optimized just like `identity', IOW it's
> >> compiled away.
> > Can the optimizer be taught not to optimize like that if the condition
> > includes one of a list of known symbols?
> 
> The byte-compiler does not look at the `defalias' expression, only at
> the resulting value of (symbol-function 'tramp-drop-volume-letter), so
> it would require significant changes to be able to keep track of the
> corresponding info.  Also, `defalias' is a function, so by the time it
> is called it has no idea what expression was computed to get the
> function definition.

Too bad.  Maybe there are other ways to avoid inadvertently producing
platform-dependent byte code, or at least warn about its possibility.
Otherwise, we are at the mercy of our less than perfect attention, and
these incidents will surely happen again.





  reply	other threads:[~2013-03-26  6:11 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-22 15:17 bug#14030: 24.3; expand-file-name expands remote file name on Windows incorrectly Vida Gábor
2013-03-22 16:02 ` Eli Zaretskii
2013-03-23 12:13   ` Michael Albinus
2013-03-23 20:23     ` Eli Zaretskii
2013-03-23 21:37       ` Michael Albinus
2013-03-24 16:10         ` Eli Zaretskii
2013-03-24 17:21           ` Michael Albinus
2013-03-24 17:35             ` Eli Zaretskii
2013-03-24 18:32               ` Michael Albinus
2013-03-24 19:23                 ` Eli Zaretskii
2013-03-25  8:36                   ` Michael Albinus
2013-03-25  9:01                     ` Eli Zaretskii
2013-03-25  9:20                       ` Michael Albinus
2013-03-25  9:55                         ` Eli Zaretskii
2013-03-25 10:06                           ` Michael Albinus
2013-03-27  0:11                     ` Wolfgang Jenkner
2013-03-27  2:24                       ` Stefan Monnier
2013-03-27  6:59                         ` Eli Zaretskii
2013-03-26  0:35                 ` Wolfgang Jenkner
2013-03-25 14:28               ` Stefan Monnier
2013-03-25 18:49                 ` Stefan Monnier
2013-03-25 19:28                   ` Michael Albinus
2013-03-25 20:32                   ` Eli Zaretskii
2013-03-26  0:23                     ` Stefan Monnier
2013-03-26  6:11                       ` Eli Zaretskii [this message]
2013-03-24 16:11 ` Eli Zaretskii
2013-03-25  8:53   ` Vida Gábor
2020-09-09 13:56     ` Lars Ingebrigtsen

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=8338vi1yiw.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=14030@debbugs.gnu.org \
    --cc=michael.albinus@gmx.de \
    --cc=monnier@iro.umontreal.ca \
    --cc=vidagabor@gmail.com \
    /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).