all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nicolas Petton <nicolas@petton.fr>
To: Michael Albinus <michael.albinus@gmx.de>, emacs-devel@gnu.org
Subject: Re: Quoting parts or a remote file name
Date: Wed, 30 Nov 2016 15:40:04 +0100	[thread overview]
Message-ID: <87oa0xqbej.fsf@petton.fr> (raw)
In-Reply-To: <87wpfloxlo.fsf@gmx.de>

[-- Attachment #1: Type: text/plain, Size: 845 bytes --]

Michael Albinus <michael.albinus@gmx.de> writes:

> Hi,

Hi Michael,

> in bug#16984 it was discussed, how to suppress expansion of "~" in file
> names like "/path/~/file". One possible solution is to quote the file
> name, like "/:/path/~/file".
>
> This has the disadvantage, that remote file names are not handled
> properly, like "/:/ssh:user@host:/path/~/file". I made the proposal to
> apply the file name quoting to the local name of remote files instead,
> like "/ssh:user@host:/:/path/~/file". There was no reaction.
>
> What do people think? Is this something we could do?

I had a look at the discussion about bug#16984, and I think your
proposal makes sense.

I'm wondering, why don't we have an escape character for this, for
instance:

  /ssh:user@host:/path/\~/file

Although using backslash is probably a bad idea.

Cheers,
Nico

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 472 bytes --]

  reply	other threads:[~2016-11-30 14:40 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-11-30 14:23 Quoting parts or a remote file name Michael Albinus
2016-11-30 14:40 ` Nicolas Petton [this message]
2016-11-30 15:01   ` Quoting parts of " Michael Albinus
2016-11-30 16:33     ` Nicolas Petton
2016-11-30 16:48       ` Michael Albinus
2016-11-30 17:15         ` Nicolas Petton
2016-11-30 15:38 ` Quoting parts or " Eli Zaretskii
2016-11-30 16:44   ` Quoting parts of " Michael Albinus
2016-12-04 11:15   ` Quoting parts or " Michael Albinus

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87oa0xqbej.fsf@petton.fr \
    --to=nicolas@petton.fr \
    --cc=emacs-devel@gnu.org \
    --cc=michael.albinus@gmx.de \
    /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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.