From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Perry Smith Newsgroups: gmane.emacs.help Subject: Re: Mac terminal.app: starting emacs, possibly as sudo Date: Mon, 17 Oct 2011 08:34:58 -0500 Message-ID: <133B8995-D826-4EBB-BB64-319FA99E7C39@gmail.com> References: <300A41B7-78F8-422C-BF95-6FFEF947E79A@math.ethz.ch> <18107B2C-4BE2-40D9-90C5-02BCD0CF0DEF@Web.DE> <9C6F07E1-F15F-444D-B7D3-72C431393461@math.ethz.ch> <87pqhwt51v.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: multipart/alternative; boundary="Apple-Mail=_5C198363-5DCF-4B1B-82C7-2B5BCC808371" X-Trace: dough.gmane.org 1318858523 23886 80.91.229.12 (17 Oct 2011 13:35:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 17 Oct 2011 13:35:23 +0000 (UTC) Cc: Emacs help To: Michael Albinus Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 17 15:35:19 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RFnLa-0006cR-LB for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Oct 2011 15:35:18 +0200 Original-Received: from localhost ([::1]:38443 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFnLZ-0004HZ-Ta for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Oct 2011 09:35:17 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:32949) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFnLP-0004EV-6h for help-gnu-emacs@gnu.org; Mon, 17 Oct 2011 09:35:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RFnLI-0004Jq-8O for help-gnu-emacs@gnu.org; Mon, 17 Oct 2011 09:35:07 -0400 Original-Received: from mail-gx0-f169.google.com ([209.85.161.169]:59694) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RFnLI-0004Jd-5o for help-gnu-emacs@gnu.org; Mon, 17 Oct 2011 09:35:00 -0400 Original-Received: by ggdk5 with SMTP id k5so3538814ggd.0 for ; Mon, 17 Oct 2011 06:34:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer; bh=UwJYj9x/vuwsdMtEuNgAUAx7E78QyY1uZYmu7400y1E=; b=RT2AHmQmPBzGj1NHsM2GZybiwzqsJ/HhqDnwcJOEiY2algXePQ2WNqtBWCZhmdGHjQ tt0FN6pTePNftp/DjeJNmIIxkudbPPINtzYVy545rFbHHxbxGeRJ9RVoq1bPLsa1Z54q vBX3yB/URCSTqyGsKw0h9NknicholbGsZdPcE= Original-Received: by 10.236.46.129 with SMTP id r1mr26508488yhb.92.1318858499817; Mon, 17 Oct 2011 06:34:59 -0700 (PDT) Original-Received: from [10.0.0.4] ([64.128.19.234]) by mx.google.com with ESMTPS id d5sm18199638yhl.19.2011.10.17.06.34.57 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 17 Oct 2011 06:34:58 -0700 (PDT) In-Reply-To: <87pqhwt51v.fsf@gmx.de> X-Mailer: Apple Mail (2.1251.1) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.161.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:82595 Archived-At: --Apple-Mail=_5C198363-5DCF-4B1B-82C7-2B5BCC808371 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On Oct 17, 2011, at 3:07 AM, Michael Albinus wrote: > Marius Hofert writes: > > If you edit file /a/b/c and you cannot save it because it is owned by > root, you could save it by "C-x C-w /sudo::/a/b/c". Now there's a clever man... I would have saved it off, opened it with sudo, and pasted the changes in. I'd never thought to just save the changes via sudo. --Apple-Mail=_5C198363-5DCF-4B1B-82C7-2B5BCC808371 Content-Transfer-Encoding: 7bit Content-Type: text/html; charset=us-ascii
On Oct 17, 2011, at 3:07 AM, Michael Albinus wrote:

Marius Hofert <marius.hofert@math.ethz.ch> writes:

If you edit file /a/b/c and you cannot save it because it is owned by
root, you could save it by "C-x C-w /sudo::/a/b/c".

Now there's a clever man... I would have saved it off, opened it with sudo,
and pasted the changes in.  I'd never thought to just save the changes
via sudo.


--Apple-Mail=_5C198363-5DCF-4B1B-82C7-2B5BCC808371--