help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: open files as root


From: henry atting
Subject: Re: open files as root
Date: Tue, 01 Sep 2009 08:05:41 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

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


reply via email to

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