all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Paul K <mafeuser@gmail.com>
To: Michael Albinus <michael.albinus@gmx.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: tramp convinient way to cut path part in minibuffer
Date: Sun, 8 Mar 2015 20:57:28 +0100	[thread overview]
Message-ID: <CAA+mFXP-LhGv=qLCdtuTc855ANg4ejZnLc8oaDV5U2yiPPoqvA@mail.gmail.com> (raw)
In-Reply-To: <878uf776cw.fsf@gmx.de>

Michael,
You again come with good news!

Although emacs has many great modules, tramp is my favourite one.

Thank You for even faster and more convenient way :)

best regards,
Paul



On Sun, Mar 8, 2015 at 6:21 PM, Michael Albinus <michael.albinus@gmx.de>
wrote:

> Paul K <mafeuser@gmail.com> writes:
>
> > Hallo People
>
> Hi Paul,
>
> > Is there any key combination to move cursor `here`, so that I could cut
> > /etc/passwd and then put /var/log/messages path?
>
> You don't need to cut /etc/passwd. If you enter two slashes "//" at the
> end of the minibuffer, everything which is part of the local name on the
> remote machine is ignored. Try this (given you have opened
> /scp:remote.linux.box:/etc/passwd):
>
> C-x C-f /var/log/messages
>
> Since C-x C-f gives you the default path "/scp:remote.linux.box:/etc/"
> in the minibuffer you can just start to type with "/var..." - the "/" of
> "/var" adds the second slash.
>
> Btw, three or more slashes "///" will ignore everything in the
> minibuffer before them.
>
> > regards
>
> Best regards, Michael.
>


      reply	other threads:[~2015-03-08 19:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-08 15:01 tramp convinient way to cut path part in minibuffer Paul K
2015-03-08 17:21 ` Michael Albinus
2015-03-08 19:57   ` Paul K [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

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

  git send-email \
    --in-reply-to='CAA+mFXP-LhGv=qLCdtuTc855ANg4ejZnLc8oaDV5U2yiPPoqvA@mail.gmail.com' \
    --to=mafeuser@gmail.com \
    --cc=help-gnu-emacs@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.