[Top][All Lists]

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

Re: Editing a file as root

From: Piet van Oostrum
Subject: Re: Editing a file as root
Date: 19 Dec 2003 12:16:15 +0100
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>>>>> Kai Grossjohann <address@hidden> (KG) wrote:

KG> Kevin Rodgers <address@hidden> writes:
>> Does tramp provide a hook where Se'bastien could do
>> (set (make-local-variable 'process-connection-type) t)

KG> Hm.  Since it is used when start-process is called, then maybe I
KG> should just provide a tramp-process-connection-type variable to
KG> tweak...  Does anybody here want to submit a patch?  ;-)

I think inside tramp process-connection-type should always be set to t (or
I have advised tramp myself to get this:

(defadvice tramp-maybe-open-connection 
  (around set-process-connection-type)
  "Set process-connection-type to pty."
  (let ((process-connection-type 'pty))
(ad-activate 'tramp-maybe-open-connection)

Piet van Oostrum <address@hidden>
Private email: address@hidden

reply via email to

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