From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/18724 Path: news.gmane.org!.POSTED!not-for-mail From: "Loris Bennett" Newsgroups: gmane.emacs.orgmode,gmane.emacs.gnus.user Subject: Re: (gnus-icalendar-org-setup) not evaluated in .emacs? Date: Wed, 20 Sep 2017 09:33:37 +0200 Organization: ZEDAT, Freie =?utf-8?Q?Universit=C3=A4t?= Berlin Message-ID: <87a81pj032.fsf@hornfels.zedat.fu-berlin.de> References: <87a81x3e8n.fsf@hornfels.zedat.fu-berlin.de> <87wp517kut.fsf@t3610> <871sn91iqc.fsf@hornfels.zedat.fu-berlin.de> <877ewvdpmz.fsf@pinto.chemeng.ucl.ac.uk> <87mv5rkodt.fsf@hornfels.zedat.fu-berlin.de> <87lglabapk.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1505892872 4680 195.159.176.226 (20 Sep 2017 07:34:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 20 Sep 2017 07:34:32 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: info-gnus-english@gnu.org To: emacs-orgmode@gnu.org Original-X-From: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Wed Sep 20 09:34:29 2017 Return-path: Envelope-to: geo-emacs-orgmode@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 1duZWd-0000yZ-49 for geo-emacs-orgmode@m.gmane.org; Wed, 20 Sep 2017 09:34:27 +0200 Original-Received: from localhost ([::1]:47210 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1duZWk-0000Go-Do for geo-emacs-orgmode@m.gmane.org; Wed, 20 Sep 2017 03:34:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48811) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1duZW6-0000GV-Ni for emacs-orgmode@gnu.org; Wed, 20 Sep 2017 03:33:55 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1duZW4-0001me-3P for emacs-orgmode@gnu.org; Wed, 20 Sep 2017 03:33:54 -0400 Original-Received: from [195.159.176.226] (port=38497 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1duZW3-0001gw-SV for emacs-orgmode@gnu.org; Wed, 20 Sep 2017 03:33:52 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1duZVs-00079O-4l for emacs-orgmode@gnu.org; Wed, 20 Sep 2017 09:33:40 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 58 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:hSeDl1fGsYQReUTJBWg5h7cPwl8= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Original-Sender: "Emacs-orgmode" Xref: news.gmane.org gmane.emacs.orgmode:116147 gmane.emacs.gnus.user:18724 Archived-At: Hi Tim, Tim Cross writes: > Management of an emacs init file is a challenge for anyone who has been > using Emacs for a long time. I did this after being a user for over 20 > years and like you, was a little daunted by the task. However, I now > realise it was the single best thing I ever did to improve my emacs. I > also had let my config grow organically and what I found out when I > decided to clean it up was that a lot of what I had in there was > unnecessary, was slowing down my Emacs (both startup and runtime) and > that many of my long-term emacs 'annoyances' were actually due to > incorrect or outdated settings in my init file. > > A few things I learned which may be of help > > 1. Put your init in git (or your favourite source control system ) and > do your changes incrementally. You will need to revert to previous > versions, so be methodical with checking in changes and do it > incrementally. > > 2. Have a look at the use-package macro. This really cleaned up my init > file, helped me make it more modular and really improved both the > structure and maintenance as well as startup times etc. > > 3. I now use org to manage my init file. In fact, I have a few init > files. I have a bare bones minimal init file which I use when I need to > debug a specific feature/package or generate bug reports, I have an > experimental one where I play with new things and I have my stable > one. Using org, I can just 'tangle' a new init based on one of those > files whenever I need it. I started by just putting all my existing > setup into a block in an org file and exporting that as elisp. As time > permitted, I broke bits off into their own blocks with explanatory > comments/text so that I can remember why/what of the block. > > 4. Finally, there are some really good 'canned' configurations out > there. I personally quite like purcell's setup (on github). While I > don't use any of these per se, I did 'borrow' some of the ideas. > > My setup is now healthier and more stable than it ever has been. The > effort is definitely worth it. > > Tim [snip (28 lines)] OK, you've convinced me - I'm sure you are right about potential incorrect and outdated stuff. I already have my .emacs in Git, so that's a start and I'll definitely have a look at 'use-package'. I might even go wild and move to init.el ;-) Cheers, Loris -- Dr. Loris Bennett (Mr.) ZEDAT, Freie Universität Berlin Email loris.bennett@fu-berlin.de