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.devel Subject: RE: Settings Date: Sun, 25 Aug 2019 09:30:26 -0700 (PDT) Message-ID: <3927d736-2447-4aa0-9734-339efd497898@default> References: <87y2zuumeg.fsf@mouse.gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="142179"; mail-complaints-to="usenet@blaine.gmane.org" Cc: emacs-devel@gnu.org To: Stefan Monnier , Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 25 18:31:52 2019 Return-path: Envelope-to: ged-emacs-devel@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 1i1vQm-000atk-AT for ged-emacs-devel@m.gmane.org; Sun, 25 Aug 2019 18:31:52 +0200 Original-Received: from localhost ([::1]:43778 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i1vQl-0003M8-9g for ged-emacs-devel@m.gmane.org; Sun, 25 Aug 2019 12:31:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34584) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i1vPX-0003M1-F7 for emacs-devel@gnu.org; Sun, 25 Aug 2019 12:30:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i1vPW-0006ul-Cb for emacs-devel@gnu.org; Sun, 25 Aug 2019 12:30:35 -0400 Original-Received: from userp2120.oracle.com ([156.151.31.85]:44304) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1i1vPW-0006t0-4U for emacs-devel@gnu.org; Sun, 25 Aug 2019 12:30:34 -0400 Original-Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x7PGUVjZ171779; Sun, 25 Aug 2019 16:30:31 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=CRvJjdkbGZvBQlSRERAM3GZk+ocrIkbqaKWCNH7szrM=; b=J+0OUh3coSWMrXO2eEvXS8rOzr3c6XKU1Y1v93XrpK1kBdA6UDLfQoU0Aw4SvFaZDfwv MEucDIV9pXXaiA5+5j9ExBKAiwBkOoQFg+I5AvqjkJsv4jRAyBUJSgcSsIExpQu/8uu9 vS83yGXx6NlCYvJf7hTMAUsII/xAztQHKbaYWu+5yaq1WlDhf5Dw1vo77Lssw9Z+Aoyk 2S6wYlTx12ARZ7AaWLBaLPVV17xp6ScvRWORpPQGM6MMrrp2X7vAaSIMTvHW/pnxuYJ4 9BI0ROnMLLlLYrz2uHCZkCYDsp1ies+dZLICZuPWu9rcnxb+q6oEnFnL9eDs32AXeNVB 4Q== Original-Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by userp2120.oracle.com with ESMTP id 2ujwvq4ghg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 25 Aug 2019 16:30:31 +0000 Original-Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x7PGS5gP056782; Sun, 25 Aug 2019 16:30:30 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userp3020.oracle.com with ESMTP id 2ujw6gwgcp-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sun, 25 Aug 2019 16:30:30 +0000 Original-Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x7PGUQQl021697; Sun, 25 Aug 2019 16:30:28 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4873.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9360 signatures=668684 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-1906280000 definitions=main-1908250184 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9360 signatures=668684 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1906280000 definitions=main-1908250184 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] X-Received-From: 156.151.31.85 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.org gmane.emacs.devel:239554 Archived-At: > > As a first principle, I think Emacs should not mess, at all, with the > > ~/.emacs file. That's for users to put their lovingly hand-crafted > > setqs in. >=20 > I don't have a strong opinion on that, but I think it's important to > realize that depending on the circumstances, the custom-set-variables > call may have to come before some of the user's config as well as it > may > also have to come after some of the user's config. >=20 > IOW if Emacs just loads ~/.emacs.d/custom.el before ~/.emacs.d/emacs.el > some things will break, and same thing if it swaps the order. Definitely. The doc should tell users that they need to decide when/where in their init files to load `custom-file'. Sometimes it can even be preferable to load it more than once, e.g., to pick up stuff from some loaded libraries and then to let some later-loaded libraries pick up stuff from `custom-file' (or vice versa). The most important point for users is that by using `custom-file' they can prevent Customize from fiddling with their init file, and they can prevent accidental fiddling with Customize settings when they edit their init file. But a secondarily important point is that when `custom-file' gets loaded can be important.