From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: drain Newsgroups: gmane.emacs.help Subject: sudo emacs Date: Wed, 6 Feb 2013 02:06:18 -0800 (PST) Message-ID: <1360145178147-277339.post@n5.nabble.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1360145195 9684 80.91.229.3 (6 Feb 2013 10:06:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 6 Feb 2013 10:06:35 +0000 (UTC) To: Help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Feb 06 11:06:56 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U31u3-0001yK-Fu for geh-help-gnu-emacs@m.gmane.org; Wed, 06 Feb 2013 11:06:55 +0100 Original-Received: from localhost ([::1]:53596 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U31tk-0002yK-GF for geh-help-gnu-emacs@m.gmane.org; Wed, 06 Feb 2013 05:06:36 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:40137) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U31tY-0002mp-5B for Help-gnu-emacs@gnu.org; Wed, 06 Feb 2013 05:06:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U31tT-00040M-G0 for Help-gnu-emacs@gnu.org; Wed, 06 Feb 2013 05:06:24 -0500 Original-Received: from sam.nabble.com ([216.139.236.26]:40124) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U31tT-00040H-BQ for Help-gnu-emacs@gnu.org; Wed, 06 Feb 2013 05:06:19 -0500 Original-Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1U31tS-0005LZ-50 for Help-gnu-emacs@gnu.org; Wed, 06 Feb 2013 02:06:18 -0800 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 216.139.236.26 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:88985 Archived-At: This somewhat downgrades root privileges, but I cannot encrypt mail without it. Hitherto I almost never ran Emacs with sudo. The problem is, I cannot access any files without sudo. Now all of my inits require it. I was thinking of creating alternates. Is it possible for .emacs to be instructed to ignore certain files and load others depending on privilege? I *believe* I've seen people write code that enables Emacs to distinguish between the OS it is running on and run the inits accordingly, etc. -- View this message in context: http://emacs.1067599.n5.nabble.com/sudo-emacs-tp277339.html Sent from the Emacs - Help mailing list archive at Nabble.com.