[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Apologia for bzr
From: |
Michael Albinus |
Subject: |
Re: Apologia for bzr |
Date: |
Mon, 06 Jan 2014 08:18:56 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
Yuri Khan <address@hidden> writes:
> Because workflow.
>
> You ssh into a remote server, perhaps with a need to investigate a
> problem. You see the process list; a critical service process is dead.
> You read some logs (probably with tail and/or less); they are not
> detailed enough. You try to restart the service, but it still dies
> soon and logs are still not detailed enough for you to understand what
> is happening.
>
> At this point, the natural next thing is to say “editor
> /etc/foo/bar.conf” to raise the logging level a bit. But this fires up
> the default editor at the remote server, not a TRAMP editing session
> on your local Emacs.
>
> Or you have to switch to a different application (from terminal
> emulator to Emacs), and then press C-x C-f, and then type out that
> whole remote path, and possibly enter your password again.
>
>
> Maybe you have a solution to this issue? What incantation on the
> remote server do I need to invoke in order to edit a remote file,
> specified by its remote path (absolute or relative to the remote
> current directory), in a local Emacs via TRAMP? What non-default setup
> will be needed on the remote and/or local? (E.g. run Emacs server on
> local/tcp and tunnel the server port to the remote, then use remote
> emacsclient? Will it be secure against concurrent other users of the
> same remote?)
Using Tramp in this workflow makes sense if your primary investigations
are already performed inside Emacs, using `M-x shell' or `M-x eshell'.
Reading a log tail-wise is possible with `M-x auto-revert-tail-mode'.
That's what I do daily, but maybe I'm biased in favor of Tramp.
Best regards, Michael.
- Re: Apologia for bzr, (continued)
- Re: Apologia for bzr, David Kastrup, 2014/01/06
- Re: Apologia for bzr, Stefan Monnier, 2014/01/06
- Re: Apologia for bzr, Christophe Poncy, 2014/01/07
- Re: Apologia for bzr, James Cloos, 2014/01/05
- Re: Apologia for bzr, Karl Fogel, 2014/01/05
- Re: Apologia for bzr, Eric S. Raymond, 2014/01/05
- Re: Apologia for bzr, David Kastrup, 2014/01/05
- Re: Apologia for bzr, Eric Brown, 2014/01/05
- Re: Apologia for bzr, David Kastrup, 2014/01/05
- Re: Apologia for bzr, Yuri Khan, 2014/01/05
- Re: Apologia for bzr,
Michael Albinus <=
- Re: Apologia for bzr, chad, 2014/01/06
- Re: Apologia for bzr, James Cloos, 2014/01/06
- Re: Apologia for bzr, Eric Brown, 2014/01/06
- Re: Apologia for bzr, Rogerio Senna, 2014/01/09
- RE: Apologia for bzr, Drew Adams, 2014/01/09
- Re: Apologia for bzr, Tassilo Horn, 2014/01/03
- Re: Apologia for bzr, Eli Zaretskii, 2014/01/03
- Re: Apologia for bzr, Nathan Trapuzzano, 2014/01/03
- Re: Apologia for bzr, Eli Zaretskii, 2014/01/03
- Re: Apologia for bzr, Nathan Trapuzzano, 2014/01/03