From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Rustom Mody" Newsgroups: gmane.emacs.help Subject: Re: emacs idiom for sudo Date: Mon, 21 May 2007 17:37:00 +0530 Message-ID: References: <87646okr78.fsf@offby1.atm01.sea.blarg.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0226967478==" X-Trace: sea.gmane.org 1179749242 31883 80.91.229.12 (21 May 2007 12:07:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 21 May 2007 12:07:22 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 21 14:07:21 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hq6fZ-0007nv-2z for geh-help-gnu-emacs@m.gmane.org; Mon, 21 May 2007 14:07:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hq6fY-0005Gd-M7 for geh-help-gnu-emacs@m.gmane.org; Mon, 21 May 2007 08:07:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hq6fI-0005Cb-Nr for help-gnu-emacs@gnu.org; Mon, 21 May 2007 08:07:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hq6fH-00058X-4c for help-gnu-emacs@gnu.org; Mon, 21 May 2007 08:07:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hq6fG-00058M-Tm for help-gnu-emacs@gnu.org; Mon, 21 May 2007 08:07:02 -0400 Original-Received: from an-out-0708.google.com ([209.85.132.244]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hq6fG-0002jP-9w for help-gnu-emacs@gnu.org; Mon, 21 May 2007 08:07:02 -0400 Original-Received: by an-out-0708.google.com with SMTP id c17so467412anc for ; Mon, 21 May 2007 05:07:01 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=NKbj8NlWgvjL3GVfvaSFtlEpCq+vXkOiqSU7T2pWY9p6nf8Hfil5PO1l7235nl653rOEB1iFNpukfqrQcjVnE5cVcJE0olUXz+fTObe1gzi/Np37DhbvjOOuv98IP/+I31wuv33Q8AfE+/RGm09ih8oTNaxIJWt/sdIK7PpF4ho= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=FWZ52wCwaT2bQBnAGbSnsCbjfxVRNIyY77sZ8TG1aUS9p38Ab3pqd7SJG/1+kXSwC4ROOLufUZOQnZSiJnUqzUVxJ8Vj4N1j4YUKwbL70XzyDXKZS4m1LeYBlay6xV2/eANWOxD4wyB4nSvdHx8+F1QEBfkPGvxaaT8jz5SRdPo= Original-Received: by 10.100.230.13 with SMTP id c13mr2908331anh.1179749221031; Mon, 21 May 2007 05:07:01 -0700 (PDT) Original-Received: by 10.100.106.9 with HTTP; Mon, 21 May 2007 05:07:00 -0700 (PDT) In-Reply-To: <87646okr78.fsf@offby1.atm01.sea.blarg.net> X-detected-kernel: Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:44219 Archived-At: --===============0226967478== Content-Type: multipart/alternative; boundary="----=_Part_77453_4466377.1179749220983" ------=_Part_77453_4466377.1179749220983 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks Eric (and others) The only thing that increases after > 12 years of emacs is the amount I know I dont know. Rustom On 5/20/07, Eric Hanchrow wrote: > > > Is there a more convenient way for doing 'root-things' than > > > Indeed there is -- use "tramp", by doing, e.g., > > C-x C-f /sudo::/etc/passwd RET > > Read (info "(emacs)Remote Files") > ------=_Part_77453_4466377.1179749220983 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Thanks Eric (and others)

The only thing that increases after > 12 years of emacs is the amount I know I dont know.

Rustom

On 5/20/07, Eric Hanchrow <offby1@blarg.net> wrote:

    Is there a more convenient way for doing 'root-things' than
  

Indeed there is -- use "tramp", by doing, e.g.,

        C-x C-f /sudo::/etc/passwd RET

Read (info "(emacs)Remote Files")

------=_Part_77453_4466377.1179749220983-- --===============0226967478== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ help-gnu-emacs mailing list help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs --===============0226967478==--