emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tramp-interactive: a small helper module


From: Pedro Andres Aranda Gutierrez
Subject: Re: tramp-interactive: a small helper module
Date: Tue, 7 Feb 2023 17:07:24 +0100

Hi Michael

thanks a lot for taking a look at it. The main this is that I was tired of having to write everything (add to all that in my Spanish keyboard, # is typed in through a modifier key) when I access remote files (which I do on a daily basis). 
I'll explain all the things you mention in the README let and let you know.

But in a couple of words. I have a list of users I use in VMs and remote machines: 
-my linux user and 'student' are the two most often used.
So when prompted 'user' the default value is the user, but if I type 's' <tab> I get student autocompleted
With the host you have the same, I default to 'localhost' for VMs but also have a host called osm12.local (and others). 
If I put them in the host list I'll be able to press 'o' <tab> and have Emacs autocomplete to osm12.local.
Regarding the port number the default for SSH is 22, right? But I can also input the port number for port translated VMs.

I'm attaching a small screencast. I feel more comfortable when I have defaults in the auto-completion. Just my own little quirks 
;-) /PA

On Tue, 7 Feb 2023 at 13:18, Michael Albinus <michael.albinus@gmx.de> wrote:
Pedro Andres Aranda Gutierrez <paaguti@gmail.com> writes:

> Hi,

Hi Pedro,

> May I announce a small Emacs module I have written to make TRAMP a bit
> more comfortable.
> It's called tramp-interactive and you can find it in
>
> https://github.com/paaguti/tramp-interactive
>
> Comments welcome. @tramp developers, if you find it interesting/useful
> let's find a way to include this in Emacs ;-)

Thank you for your contribution. I've played a little bit with it, and
honestly, I don't understand what I shall do when I'm prompted for user,
host and port. And the package doesn't contain any description what it is
good for, and what's the intended use case.

As test, I have applied naïvely

--8<---------------cut here---------------start------------->8---
# emacs -Q -l tramp -l ~/Downloads/tramp-interactive.el
C-x T l
user (nil): RET
port: 22 RET
Remote file: file:/ssh:@localhost: RET RET
File not found and directory write-protected
--8<---------------cut here---------------end--------------->8---

Could you please explain it? And also explain, what's the additional
benefit of this package, compared with user and host name completion in
the minibuffer we have already?

> Thx, /PA

Best regards, Michael.


--
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler

Headaches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run a leader-deposed hook here, but we can't yet

Attachment: Screencast from 07-02-23 16:59:18.webm
Description: video/webm


reply via email to

[Prev in Thread] Current Thread [Next in Thread]