From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: visudo with Emacs Date: Sun, 19 Jun 2011 05:54:33 +0300 Message-ID: <83hb7mwmxi.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1308452216 20942 80.91.229.12 (19 Jun 2011 02:56:56 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 19 Jun 2011 02:56:56 +0000 (UTC) Cc: emacs-devel@gnu.org To: MON KEY Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 19 04:56:52 2011 Return-path: Envelope-to: ged-emacs-devel@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 1QY8Bw-0003Xy-4Y for ged-emacs-devel@m.gmane.org; Sun, 19 Jun 2011 04:56:52 +0200 Original-Received: from localhost ([::1]:58032 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QY8Bv-0002Gw-8X for ged-emacs-devel@m.gmane.org; Sat, 18 Jun 2011 22:56:51 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:48651) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QY8Bi-0002Gb-18 for emacs-devel@gnu.org; Sat, 18 Jun 2011 22:56:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QY8Bd-0006CD-U4 for emacs-devel@gnu.org; Sat, 18 Jun 2011 22:56:37 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:35867) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QY8Bd-0006Be-Mj for emacs-devel@gnu.org; Sat, 18 Jun 2011 22:56:33 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0LN000K00NWR4X00@a-mtaout23.012.net.il> for emacs-devel@gnu.org; Sun, 19 Jun 2011 05:56:31 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.127.244.163]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LN000K5CO660M80@a-mtaout23.012.net.il>; Sun, 19 Jun 2011 05:56:31 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.175 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:140665 Archived-At: > Date: Sat, 18 Jun 2011 17:48:27 -0400 > From: MON KEY > > When $EDITOR is not set visudo falls back to using the nonsensical > editor (i.e. /bin/vi). However, unlike Emacs, that editor does not > leave behind an /etc/sudoers.tmp~ > > AFAICT the stray /etc/sudoers.tmp~ is not in keeping with the > spirit of visudo. Emacs should operate equivalently with vi. ??? Why? what's wrong with leaving backup files in these use cases? If nothing else, you get for free the ability to easily restore the original files, if you happen to screw up.