From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.help Subject: Re: Multple emacs config files and Xmacs Date: Mon, 21 Oct 2019 03:23:39 +0200 Message-ID: References: <2991AC41-C29C-4C87-B47C-A9A22B3BACEB@icloud.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="83703"; mail-complaints-to="usenet@blaine.gmane.org" Cc: help-gnu-emacs@gnu.org To: "M.R.P. zensky" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 21 06:41:29 2019 Return-path: Envelope-to: geh-help-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 1iMPVW-000LdK-TF for geh-help-gnu-emacs@m.gmane.org; Mon, 21 Oct 2019 06:41:27 +0200 Original-Received: from localhost ([::1]:60106 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMPVV-0004Sm-Os for geh-help-gnu-emacs@m.gmane.org; Mon, 21 Oct 2019 00:41:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46539) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMMQL-0006Zm-A3 for help-gnu-emacs@gnu.org; Sun, 20 Oct 2019 21:23:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMMQK-0008AI-9P for help-gnu-emacs@gnu.org; Sun, 20 Oct 2019 21:23:53 -0400 Original-Received: from mail-pf1-f171.google.com ([209.85.210.171]:42261) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iMMQK-00089m-4Q for help-gnu-emacs@gnu.org; Sun, 20 Oct 2019 21:23:52 -0400 Original-Received: by mail-pf1-f171.google.com with SMTP id q12so7323033pff.9 for ; Sun, 20 Oct 2019 18:23:51 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=NvFLYRiy5fAMLPzAfxZf/PxkG1ir8+dPzjSnTgzWYcA=; b=h0M+ZLvB2U895s5yn8I2aJtLsgg4Zq31ojkI9ZiCU27kjCK1byW3HwlcCjSZUT1211 wW8D5PqI2pXz1bDfePZtq28G4FBhGIGx67QzmIOiYhgRdfaKANrHbheYxXaeG+cv49ML 8YEPpEtEysmFNh5l7qTUhn7iskPCbqPQCDAxF9qegwcuBlFK7wgOjLuYsn4vo44SAfRu aSgT0r6f4fENiF1ZHiI7Lo9Qx4UXb4quXrGmnhJffP5/bINmVAMLvEeCK3AIId/NYjXL hVCJdLJ3c9/0fxdZ67p1igGtXKtTUWkJ/f8O5hvHA1dy5ief2+V+9xFG2zzitu5cf3hn B8OQ== X-Gm-Message-State: APjAAAX1MnAwsbUbToXKvhl4pc+B3m+O+D0857CXbwZaZdoXvRYLoEIc getsUWQAfGnAJeudGu4zHBQXvO0s/DbX3j1Bc0w= X-Google-Smtp-Source: APXvYqzbcmoE1xpa/7SWMm7trzZW1JBgxQRMlk7aLBmIe4M0Sjvu20z879ki1qeXPCtNUvgtBTwn2hs+1OQ5jL4rHa8= X-Received: by 2002:aa7:80c6:: with SMTP id a6mr19532743pfn.107.1571621030503; Sun, 20 Oct 2019 18:23:50 -0700 (PDT) In-Reply-To: <2991AC41-C29C-4C87-B47C-A9A22B3BACEB@icloud.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.210.171 X-Mailman-Approved-At: Mon, 21 Oct 2019 00:41:13 -0400 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.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:121683 Archived-At: M.R.P. zensky writes: > Hello I was wondering if I can use multiple emacs config files or if I must only have one file. You can split your configuration in more than one file. I have a folder ~/.emacs.d/lisp where I put my configuration files. Then I add this line to my init file (~/.emacs): (add-to-list 'load-path (expand-file-name "~/.emacs.d/lisp")) In that folder, I create files named after functionality. For example, I have a file named "init-coding-haskell.el" with customizations for Haskell programming. That file is loaded automatically by this line in my init file: (require 'init-coding-haskell) > Also does anyone have experience with xmacs. Is it somehow superior to emacs? XEmacs is no longer in active development and saw its last release in January 2009. It lacks important features, and many popular Emacs packages (such as org-mode and magit) do not support XEmacs. Best regards, Stefan Kangas