From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#38696: "If you edit it by hand, you could mess it up" Date: Sun, 22 Dec 2019 09:49:51 -0800 (PST) Message-ID: References: <87eewyr1f4.8.fsf@jidanni.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="20525"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 38696@debbugs.gnu.org To: arthur miller , =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson , Richard Stallman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 22 18:51:14 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ij5Np-0005C1-5y for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Dec 2019 18:51:13 +0100 Original-Received: from localhost ([::1]:49728 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ij5Nn-0001En-Jt for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Dec 2019 12:51:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43851) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ij5Nf-0001ET-NH for bug-gnu-emacs@gnu.org; Sun, 22 Dec 2019 12:51:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ij5Ne-00068z-EE for bug-gnu-emacs@gnu.org; Sun, 22 Dec 2019 12:51:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44234) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ij5Ne-000685-8g for bug-gnu-emacs@gnu.org; Sun, 22 Dec 2019 12:51:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ij5Ne-0004hN-5H for bug-gnu-emacs@gnu.org; Sun, 22 Dec 2019 12:51:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Dec 2019 17:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38696 X-GNU-PR-Package: emacs Original-Received: via spool by 38696-submit@debbugs.gnu.org id=B38696.157703700417981 (code B ref 38696); Sun, 22 Dec 2019 17:51:02 +0000 Original-Received: (at 38696) by debbugs.gnu.org; 22 Dec 2019 17:50:04 +0000 Original-Received: from localhost ([127.0.0.1]:50207 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ij5Mh-0004fx-Nl for submit@debbugs.gnu.org; Sun, 22 Dec 2019 12:50:04 -0500 Original-Received: from userp2130.oracle.com ([156.151.31.86]:52476) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ij5Mf-0004fM-Cs for 38696@debbugs.gnu.org; Sun, 22 Dec 2019 12:50:02 -0500 Original-Received: from pps.filterd (userp2130.oracle.com [127.0.0.1]) by userp2130.oracle.com (8.16.0.27/8.16.0.27) with SMTP id xBMHnt1k139725; Sun, 22 Dec 2019 17:49:55 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2019-08-05; bh=c9O2D35SRar+oL3R8pDbwW/sD5AvLroKQ9J3hMkL0FA=; b=VAl+edp+5jOw/dv0cpV6+kan90/PVeJZocsEoZNDtxOsWb2Azx7YaE8ce0GILyTKP/Vt Ey+WF5ynxMfsHsYXFlDxBDKvs4ST65t4z9tdWkbSky43JBGXZ4PP/VyP5pHUP8keXgVq my1qTdplBg/QnV6o5UFwckPlYx8T1mzeVl9z3OZ4udYtpYolmh4GtwUgVbczvrDuRFCV 0UrERVwFiWCDvj8DugvIx/cv7q26/zCgzv4n3O+KwcP9BXdpbamFUKt2nGmABAl9ZqWB q+Zq/2Zckz095p6z4v+mDrEema+eaCM/EmzFwW4xHg/I96FPXfKAoqiIVLb6uA1Wz3Ha TQ== Original-Received: from userp3030.oracle.com (userp3030.oracle.com [156.151.31.80]) by userp2130.oracle.com with ESMTP id 2x1attbv7c-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 22 Dec 2019 17:49:55 +0000 Original-Received: from pps.filterd (userp3030.oracle.com [127.0.0.1]) by userp3030.oracle.com (8.16.0.27/8.16.0.27) with SMTP id xBMHmKgG191871; Sun, 22 Dec 2019 17:49:55 GMT Original-Received: from userv0122.oracle.com (userv0122.oracle.com [156.151.31.75]) by userp3030.oracle.com with ESMTP id 2x1vv76ght-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 22 Dec 2019 17:49:54 +0000 Original-Received: from abhmp0002.oracle.com (abhmp0002.oracle.com [141.146.116.8]) by userv0122.oracle.com (8.14.4/8.14.4) with ESMTP id xBMHnqTP017389; Sun, 22 Dec 2019 17:49:52 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4939.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9479 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1911140001 definitions=main-1912220162 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9479 signatures=668685 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1911140001 definitions=main-1912220162 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: 209.51.188.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:173646 Archived-At: >> The user is no longer in full control, but must >> maintain it via an interface (the menus.) > > Actually it says "you should be careful". It does > not says you should never edit it. I don't think > you have reason to edit it by hand, especially if > you redirect customize saves to different file > then your init, but you certainly can if you wish > (and know what you are doing). The most important message about this, for users, is to let them know that this code is inserted and _updated (overwritten) automatically_. That's the _reason_ we warn users not to edit it. It's not so much because their edits might mess something up. It's that they need to be aware that editing it competes with automatic updating. If you edit it then you are fighting against Customize. If you edit it, and if you never use Customize (and no code you use ever uses Customize code), then, yes, the only potential problem is that you can mess things up for your future Emacs sessions. But that's not the likeliest scenario. The real, more likely problem is that you make a change to this code and later Customize overwrites your change - and you might not be aware of that. IMO, that's what this inserted comment is really about: letting you know that the code is updated automatically, and manual and automatic updating don't mix well - each can overwrite the other. =20 -------- Originalmeddelande -------- Fr=C3=A5n: =E7=A9=8D=E4=B8=B9=E5=B0=BC Dan Jacobson = =20 Datum: 2019-12-22 01:37 (GMT+01:00)=20 Till: Richard Stallman =20 Kopia: 38696@debbugs.gnu.org=20 =C3=84mne: bug#38696: "If you edit it by hand, you could mess it up"=20 >>>>> "RMS" =3D=3D Richard Stallman writes: RMS> Would you please show us what this looks like? $ cat .emacs (custom-set-variables =C2=A0;; custom-set-variables was added by Custom. =C2=A0;; If you edit it by hand, you could mess it up, so be careful. =C2=A0;; Your init file should contain only one such instance. =C2=A0;; If there is more than one, they won't work right. =C2=A0) (custom-set-faces =C2=A0;; custom-set-faces was added by Custom. =C2=A0;; If you edit it by hand, you could mess it up, so be careful. =C2=A0;; Your init file should contain only one such instance. =C2=A0;; If there is more than one, they won't work right. =C2=A0'(default ((t (:family "DejaVu Sans Mono" :foundry "PfEd" :slant norm= al :weight normal :height 218 :width normal))))) There is no way offered to "decompile" this into something that all those Emacs manuals talk about when introducing how to edit your .emacs file. The user is no longer in full control, but must maintain it via an interface (the menus.)