From: henry atting <nsmp_01@online.de>
To: help-gnu-emacs@gnu.org
Subject: Re: open files as root
Date: Tue, 01 Sep 2009 08:05:41 +0200 [thread overview]
Message-ID: <87k50jryh6.fsf@online.de> (raw)
In-Reply-To: 87tyzods3w.wl%anselm.helbig+news2009@googlemail.com
On Mo, Aug 31 2009, Anselm Helbig wrote:
> Hi!
>
> At Sat, 29 Aug 2009 18:13:29 +0200,
> henry atting <nsmp_01@online.de> wrote:
>>
>> On Sa, Aug 29 2009, David Kastrup wrote:
>>
>> > henry atting <nsmp_01@online.de> writes:
>> >
>> >> Is there another way as with tramp to open files as root within emacs?
>> >
>> > No.
>> >
>> >> (Since I am sure that tramp and I never will be friends in this life)
>> >
>> > Partners is all you need.
>>
>> Okay, tramp won, I switched from zsh (which impressing functionality I
>> don't use anyway) back to bash.
>>
>> (I now the appropriate lines which are to add to .zshrc, but this time
>> they don't work – another time they did.)
>
> No need to drop zsh, just set a proper regex for
> tramp-shell-prompt-pattern. This is what works for me:
>
> (setq tramp-shell-prompt-pattern "^[^$>\n]*[#$%>] *\\(\[[0-9;]*[a-zA-Z] *\\)*")
>
> HTH,
>
> Anselm
Thanks Anselm, yes that helps.
Such a thrill: tramp and me are real partners now.
henry
--
http://literaturlatenight.de
next prev parent reply other threads:[~2009-09-01 6:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-08-29 12:36 open files as root henry atting
2009-08-29 13:07 ` David Kastrup
2009-08-29 16:13 ` henry atting
2009-08-29 17:48 ` Thierry Volpiatto
2009-08-31 13:34 ` Anselm Helbig
2009-09-01 6:05 ` henry atting [this message]
2009-08-29 13:40 ` Neal Becker
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=87k50jryh6.fsf@online.de \
--to=nsmp_01@online.de \
--cc=help-gnu-emacs@gnu.org \
/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).