From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Newsgroups: gmane.emacs.bugs Subject: bug#30507: Be sure to let user know you have surreptitiously edited his .emacs file Date: Sun, 18 Feb 2018 10:50:49 +0800 Message-ID: <874lmfau46.fsf@jidanni.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1518922230 26544 195.159.176.226 (18 Feb 2018 02:50:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 18 Feb 2018 02:50:30 +0000 (UTC) To: 30507@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 18 03:50:26 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1enF3J-0005hm-B1 for geb-bug-gnu-emacs@m.gmane.org; Sun, 18 Feb 2018 03:50:09 +0100 Original-Received: from localhost ([::1]:38552 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1enF5L-0001Nx-El for geb-bug-gnu-emacs@m.gmane.org; Sat, 17 Feb 2018 21:52:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51015) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1enF5D-0001NA-QR for bug-gnu-emacs@gnu.org; Sat, 17 Feb 2018 21:52:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1enF59-00070k-SU for bug-gnu-emacs@gnu.org; Sat, 17 Feb 2018 21:52:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40935) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1enF59-00070f-Oq for bug-gnu-emacs@gnu.org; Sat, 17 Feb 2018 21:52:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1enF59-0007JH-Em for bug-gnu-emacs@gnu.org; Sat, 17 Feb 2018 21:52:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 18 Feb 2018 02:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 30507 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.151892226528029 (code B ref -1); Sun, 18 Feb 2018 02:52:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Feb 2018 02:51:05 +0000 Original-Received: from localhost ([127.0.0.1]:48832 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1enF4D-0007I1-LL for submit@debbugs.gnu.org; Sat, 17 Feb 2018 21:51:05 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:60002) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1enF4C-0007HY-W4 for submit@debbugs.gnu.org; Sat, 17 Feb 2018 21:51:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1enF46-0006vO-To for submit@debbugs.gnu.org; Sat, 17 Feb 2018 21:50:59 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:58942) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1enF46-0006vJ-Pu for submit@debbugs.gnu.org; Sat, 17 Feb 2018 21:50:58 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50971) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1enF45-00018J-Mv for bug-gnu-emacs@gnu.org; Sat, 17 Feb 2018 21:50:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1enF41-0006uF-Qs for bug-gnu-emacs@gnu.org; Sat, 17 Feb 2018 21:50:57 -0500 Original-Received: from homie.mail.dreamhost.com ([208.97.132.208]:36600 helo=homiemail-a62.g.dreamhost.com) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1enF41-0006tu-KA for bug-gnu-emacs@gnu.org; Sat, 17 Feb 2018 21:50:53 -0500 Original-Received: from homiemail-a62.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a62.g.dreamhost.com (Postfix) with ESMTP id 82C19634073 for ; Sat, 17 Feb 2018 18:50:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=p5CCuunVPJnS6uTeJbS2WEITzso=; b=JTF8A2AoXNSBe0aA wwodjFHoxvgcue9IgDO+F+ESYL3XsZfsHxvcXzwr/dYmMRwgFo2yK3KqoDGzNDs3 3BLjFhkHFik+gkH1chTUvhY0GGZ1YgglXlPn2VscJNn4xhiBN8ptunQK2WQTx3Am EPlbsRngzhD/QUvaqdIUq/aLTXE= Original-Received: from jidanni.org (36-234-69-247.dynamic-ip.hinet.net [36.234.69.247]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a62.g.dreamhost.com (Postfix) with ESMTPSA id 40B4063406F for ; Sat, 17 Feb 2018 18:50:52 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:143408 Archived-At: Today I just happened to have my eyes near the screen when starting emacs, and for half a second noticed Saving file /home/jidanni/.emacs... Wrote /home/jidanni/.emacs [2 times] flit by. That's odd, somebody else is editing my .emacs file. And inside it I found ;; Added by Package.el. This must come before configurations of ;; installed packages. Don't delete this line. If you don't want it, ;; just comment it out by adding a semicolon to the start of the line. ;; You may delete these explanatory comments. (package-initialize) How kind of it. However my .emacs file is under my personal revision control system, and you writing into it without letting me know will make my whole system crazy and only get overwritten later anyway. So be sure to say Alert: Holmes, we have edited your .emacs file. It is for your own good. [OK] I mean you already have enough places ~/.emacs.d/ ~/.emacs-custom.el where you write things for the user. Can you please notify him when you tamper with .emacs itself? Thanks.