From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: Using "Emacs Configure" **and** modifying .emacs Date: Thu, 10 Aug 2017 08:59:53 -0700 (PDT) Message-ID: <0c6d8dc0-2308-4d80-b8b4-dc3f9cf7022a@default> References: <1502373086.1171866.1069247696.71F9FED4@webmail.messagingengine.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1502381416 26256 195.159.176.226 (10 Aug 2017 16:10:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 10 Aug 2017 16:10:16 +0000 (UTC) To: Ronald Fischer , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 10 18:10:12 2017 Return-path: Envelope-to: geh-help-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 1dfq2F-0006Yn-Mq for geh-help-gnu-emacs@m.gmane.org; Thu, 10 Aug 2017 18:10:11 +0200 Original-Received: from localhost ([::1]:53847 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dfq2L-0008HT-LF for geh-help-gnu-emacs@m.gmane.org; Thu, 10 Aug 2017 12:10:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43277) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dfpsR-0007Yr-R1 for help-gnu-emacs@gnu.org; Thu, 10 Aug 2017 12:00:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dfpsO-0007eG-Pe for help-gnu-emacs@gnu.org; Thu, 10 Aug 2017 12:00:03 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:50899) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dfpsO-0007cN-EM for help-gnu-emacs@gnu.org; Thu, 10 Aug 2017 12:00:00 -0400 Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id v7AFxten022012 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 10 Aug 2017 15:59:56 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0022.oracle.com (8.14.4/8.14.4) with ESMTP id v7AFxtF5012473 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 10 Aug 2017 15:59:55 GMT Original-Received: from abhmp0010.oracle.com (abhmp0010.oracle.com [141.146.116.16]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id v7AFxstU028648; Thu, 10 Aug 2017 15:59:54 GMT In-Reply-To: <1502373086.1171866.1069247696.71F9FED4@webmail.messagingengine.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 12.0.6774.5000 (x86)] X-Source-IP: aserv0022.oracle.com [141.146.126.234] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] [fuzzy] X-Received-From: 141.146.126.69 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:113967 Archived-At: > What do I have to do to keep my settings and thos Emacs is writing, apart= ? I > don't want Emacs to override my settings, and I don't want the Emacs > configuration tool to get confused, just because my .emacs file contains > things I have put there. Set variable `custom-file' to a file other than your init file. Customize will then use that for the settings it writes, instead of using your init file. At an appropriate point in your init file, load the value of `custom-file'. For example: (setq custom-file "/my/path/to/my-customizations.el"))) (load-file custom-file) ; Load your customizations. See the Emacs manual, node `Saving Customizations' for more info about `custom-file'. Note that even though `custom-file' is a user option, you can't easily let Customize manage it - just set it using `setq'. (IMHO, *everyone* should use variable `custom-file', to keep Customize away from their init file.)