unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: MBR <mbr@arlsoft.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>, help-gnu-emacs@gnu.org
Subject: Re: How to prevent Emacs from translating beginning of file path into "~"?
Date: Sat, 11 Apr 2015 17:37:19 -0400	[thread overview]
Message-ID: <5529940F.60304@arlsoft.com> (raw)
In-Reply-To: <jwvvbh4i2qw.fsf-monnier+gmane.emacs.help@gnu.org>

On 4/10/15 8:31 AM, Stefan Monnier wrote:
>> Unfortunately, some applications don't understand paths that begin with "~".
> Hard to believe.  I recommend you report these cases as bugs.
>
>
>          Stefan
To do that I'd have to convince some standards body (IETF?, W3C?) to 
modify RFC 1630 - not bloody likely.  The applications I had in mind 
when I said this are Firefox, Chrome, IE, Safari, and Opera when using 
the "file" scheme.  With just a few easy-to-type keystrokes, I can copy 
the Emacs buffer's path and paste it into some browser's location bar 
after first typing "file:".  Viola - I'm looking at my desired directory!

Describing the exact keystrokes in words makes it sound complicated, but 
actually typing it is pretty easy and far less error-prone than trying 
to accurately type the full path into the location bar by hand.

In earlier versions of Emacs, this worked fine with all browsers, 
regardless of what directory my Emacs buffer was in, because Emacs 
wasn't trying to be smart about the home directory.  But some version of 
Emacs changed that, and it's been an annoyance ever since then.

    Mark



      reply	other threads:[~2015-04-11 21:37 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-10  7:02 How to prevent Emacs from translating beginning of file path into "~"? MBR
2015-04-10  8:01 ` Eli Zaretskii
2015-04-10  8:49   ` tomas
2015-04-10  9:16     ` Yuri Khan
2015-04-10  9:22       ` tomas
2015-04-11  5:35         ` Xavier Maillard
2015-04-11  5:48           ` tomas
2015-04-10 12:31 ` Stefan Monnier
2015-04-11 21:37   ` MBR [this message]

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=5529940F.60304@arlsoft.com \
    --to=mbr@arlsoft.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.
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).