From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Pascal J. Bourguignon" Newsgroups: gmane.emacs.help Subject: Re: Does anyone really use emacs in terminal? Date: Wed, 08 May 2013 18:51:24 +0200 Organization: Informatimago Message-ID: <87sj1xs9df.fsf@kuiper.lan.informatimago.com> References: <0b72021c-139f-4269-8e81-5b5ef97fb83d@googlegroups.com> <8761yu64e4.fsf@Servus.decebal.nl> <87r4higq45.fsf@gmail.com> <87ip2tyftv.fsf@yahoo.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1368041925 11537 80.91.229.3 (8 May 2013 19:38:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 May 2013 19:38:45 +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 May 08 21:38:46 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 1UaACH-0000UB-B5 for geh-help-gnu-emacs@m.gmane.org; Wed, 08 May 2013 21:38:41 +0200 Original-Received: from localhost ([::1]:43108 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UaACG-0006vW-WE for geh-help-gnu-emacs@m.gmane.org; Wed, 08 May 2013 15:38:41 -0400 Original-Path: usenet.stanford.edu!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 29 Original-X-Trace: individual.net 5Ds4l5o4kIfae3FVJU+AYQ4Utmn37ckdAeFf/Z8qkMR87tFgT+ Cancel-Lock: sha1:NTFiNWM2ZGM5ZmJhYTIwMzg3MWUwMjRmMGUzOWY5Zjg1OTBiYzQ5Mw== sha1:kOJ4NXNIvohAeG1TbzK0wt5QqcI= Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwAQMAAABtzGvEAAAABlBMVEUAAAD///+l2Z/dAAAA oElEQVR4nK3OsRHCMAwF0O8YQufUNIQRGIAja9CxSA55AxZgFO4coMgYrEDDQZWPIlNAjwq9 033pbOBPtbXuB6PKNBn5gZkhGa86Z4x2wE67O+06WxGD/HCOGR0deY3f9Ijwwt7rNGNf6Oac l/GuZTF1wFGKiYYHKSFAkjIo1b6sCYS1sVmFhhhahKQssRjRT90ITWUk6vvK3RsPGs+M1RuR mV+hO/VvFAAAAABJRU5ErkJggg== X-Accept-Language: fr, es, en User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) Original-Xref: usenet.stanford.edu gnu.emacs.help:198287 X-Mailman-Approved-At: Wed, 08 May 2013 15:38:27 -0400 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:90554 Archived-At: Bob Proulx writes: > Nicolas Richard wrote: >> Hugh Lawson writes: >> > I use "sudo emacs -nw " in terminal to edit configuration >> >> This runs emacs with su power, which is not so good. > > I disagree. There is nothing wrong with it. It is no different than: > > # emacs -nw > > And surely everyone on this list would agree that emacs is a good > editor for root to use. Yes. However, you must be conscious of the theorical possibility of emacs lisp viruses thru file and directory local variables. If you find-file in a directory where a malicious user has written a .dir-locals.el file, he could theorically take advantage of it to root you. Of course, normally emacs ask permission to evaluate a form, or to set any variable he doesn't know to be safe. But if you type y or ! carelessly, you can be hosed. -- __Pascal Bourguignon__ http://www.informatimago.com/ A bad day in () is better than a good day in {}. You can take the lisper out of the lisp job, but you can't take the lisp out of the lisper (; -- antifuchs