From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai Grossjohann Newsgroups: gmane.emacs.help Subject: Re: Editing a file as root Date: Sun, 21 Dec 2003 13:52:09 +0000 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <874qvui8hi.fsf@emptyhost.emptydomain.de> References: <87u13zb9sb.fsf@emptyhost.emptydomain.de> <3FE1E3D1.9030809@yahoo.com> <877k0uq8tb.fsf@emptyhost.emptydomain.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1072015180 10109 80.91.224.253 (21 Dec 2003 13:59:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 21 Dec 2003 13:59:40 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Dec 21 14:59:37 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AY47N-0007nq-00 for ; Sun, 21 Dec 2003 14:59:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AY54O-0005LD-Eb for geh-help-gnu-emacs@m.gmane.org; Sun, 21 Dec 2003 10:00:36 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!headwall.stanford.edu!fu-berlin.de!uni-berlin.de!213-203-244-156.kunde.vdserver.DE!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 14 Original-NNTP-Posting-Host: 213-203-244-156.kunde.vdserver.de (213.203.244.156) Original-X-Trace: news.uni-berlin.de 1072014740 9753901 213.203.244.156 ([73968] 10430) User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (gnu/linux) Cancel-Lock: sha1:EBZPON7INkx62ss5vm53qFxMcRs= Original-Xref: shelby.stanford.edu gnu.emacs.help:119549 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:15489 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:15489 Piet van Oostrum writes: > (defadvice tramp-maybe-open-connection > (around set-process-connection-type) > "Set process-connection-type to pty." > (let ((process-connection-type 'pty)) > ad-do-it)) > (ad-activate 'tramp-maybe-open-connection) Cool. I've now added code in tramp-maybe-open-connection to do this. I hope it works. Will commit when Savannah is back up. Kai