From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.help Subject: Re: ~/.emacs vs ~/.emacs.d/init.el. Date: Sun, 13 Dec 2020 10:06:52 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10140"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Hongyi Zhao Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 13 10:07:28 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1koNLj-0002YS-T1 for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 13 Dec 2020 10:07:27 +0100 Original-Received: from localhost ([::1]:51472 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1koNLi-0003LO-Ro for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 13 Dec 2020 04:07:26 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42196) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koNLF-0003L4-CT for help-gnu-emacs@gnu.org; Sun, 13 Dec 2020 04:06:57 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:50221) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1koNLD-00075k-9x for help-gnu-emacs@gnu.org; Sun, 13 Dec 2020 04:06:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1607850412; bh=uTW6qIUFDIvmHoUiiktVO6sz/R7+pmGzaFjSJJsSZGM=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=W/SsVLtbwh/igbxL79viNZai9xiO8IpLJrr8gKBNlSb7bCvuO5EGHSumZXRWDH7pV O3haAo9iKl52izbP0SezSCA41LMEd2ZKOUoMOI9z2SXpB0tHrSrKN6bQShRQOoO2+L oepNt4bEAShUaYYpEPcTQawwBBtoVdBmoPSes+H8= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs09.server.lan [172.19.170.177]) (via HTTP); Sun, 13 Dec 2020 10:06:52 +0100 Importance: normal Sensitivity: Normal In-Reply-To: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:Dr0U3TRGLaULKL/cTN97J3aUBtH7g1DqTYmWMXqk6dFwvPNHaGO1ACa8F3sDm1O0hEHVP yklrgOsRJcJeajel8uo9EhXgYLG64pI8Yp/gxlwbqEtgS43bpUV3Yuv9vZV+YQPXfFbOA/6iNoxv TgGzPBYWj2dGxeemWzVWY7HCblQho9j2c3/OvfnKkA8j4hEaCfTA9T0zT8C4HMHdCUlHNgEQJvDU CPWRXkpdVj+vR0NU06WRosl4vG8+WBGF3ejiCEw+W3ZqcDRx8O1cghaZzAY3be1VQkBc3CNjE9Tw fY= X-UI-Out-Filterresults: notjunk:1;V03:K0:PXjxZdKlNss=:canKj5QIC5kiAbaGXvY/zU m+YBazV0bAaolx24xFZ7/Uxew1rpG7PdVVUjYIOM+K4Y8xngAZlvW5B9PcY5WLg4XSXAbz86j FcUBDGM8JlY0P66dYNdFwVNVJub35uJ+DGVY6ay08r3rdBRnCn8bibcOo692EdxCjqb3LKD84 dbeRp83lZBVQWzQ91JNZpqIV+IOLKwtJtewskjHKBBz103CLsJEZ8N52y41DB5fX+nGDaJ/2X lznI1NKecekJqN3PB3SGI5ytXvw4E9HCAwpF63lTc0hlmbRGz4qUo/Vgp5gsVxt7+NytYPiNg vnlvjuOAlWbOiUjZmAcKKK+YbU44/tU2u+ynl5ukmQkQgWc1aKym4zOHjdN7RfN+6BHckqs4y xoGmMd3l+UcPeXuHcRKEX9RTJk9jtPF/td+QN4AvMT7yAfgp55bu4gqm79hGSW6E3yk7nUCNU pYFztUwyjDRYomaMSra9eXwgPffRBvkmMnVMhLcJ/mC0SEbWylBaKjzc9MCntX3X7F5Il7f/c V4RBaZw2mwZCdCvEl+7136mIu7IurqnY1wLlJ6ZbI+JkFyR5HGPO645bI+o3nvZUN3wphF2YS HzH9bCNWfIrSE= Received-SPF: pass client-ip=212.227.17.21; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:126301 Archived-At: You can have your own set of files for emacs customisation, then use ~/.emacs or ~/.emacs.d/init.el to load them. It would give you clear distinction between your customisation and customizations that emacs itself can generate. Using ~/.emacs is somewhat easier because it is also the location of your ".bashrc". C* > Sent: Sunday, December 13, 2020 at 10:00 AM > From: "Hongyi Zhao" > To: help-gnu-emacs@gnu.org > Subject: ~/.emacs vs ~/.emacs.d/init.el. > > Hi, > > As far as the initialization file is concerned, which is more > preferable,~/.emacs or ~/.emacs.d/init.el? > > Regards > -- > Assoc. Prof. Hongyi Zhao > Theory and Simulation of Materials > Hebei Polytechnic Vocational and Technical University > NO. 552 North Gangtie Road, Xingtai, China > >