From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: Re: Speeding up Emacs load time Date: Mon, 01 Jul 2013 13:29:49 +0800 Message-ID: <87txkedf02.fsf@ericabrahamsen.net> References: <87y59urnfn.fsf@VLAN-3434.student.uu.se> <877ghbkbpq.fsf@VLAN-3434.student.uu.se> <87d2r3lb4g.fsf@VLAN-3434.student.uu.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1372656602 10077 80.91.229.3 (1 Jul 2013 05:30:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 1 Jul 2013 05:30:02 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jul 01 07:30:03 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UtWgd-0000JT-2q for geh-help-gnu-emacs@m.gmane.org; Mon, 01 Jul 2013 07:30:03 +0200 Original-Received: from localhost ([::1]:44077 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtWgc-0003w5-M3 for geh-help-gnu-emacs@m.gmane.org; Mon, 01 Jul 2013 01:30:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45362) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtWgQ-0003vg-42 for help-gnu-emacs@gnu.org; Mon, 01 Jul 2013 01:29:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UtWgM-0001wN-M6 for help-gnu-emacs@gnu.org; Mon, 01 Jul 2013 01:29:50 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:43288) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtWgM-0001w6-FD for help-gnu-emacs@gnu.org; Mon, 01 Jul 2013 01:29:46 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UtWgL-0008VI-9l for help-gnu-emacs@gnu.org; Mon, 01 Jul 2013 07:29:45 +0200 Original-Received: from 221.216.166.173 ([221.216.166.173]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 01 Jul 2013 07:29:45 +0200 Original-Received: from eric by 221.216.166.173 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 01 Jul 2013 07:29:45 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 24 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 221.216.166.173 User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3 (gnu/linux) Cancel-Lock: sha1:J9c+HmX/uUqljYZg6Rwlr0LNuvM= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:91886 Archived-At: Emanuel Berg writes: > Eric Abrahamsen writes: > >> Some vars are read at load time only (so re-evaling base vars >> does nothing) ... > > Good point, I forgot about that! Yeah, I have run into that as > well. And I think ... *drumroll* ... that what I did, was > restarting Emacs :) But even then, I think there is a way to get > around that, without a restart. What about "shadowing" those vars > with new vars, only closer than those original from their point of > usage? I'm sure you could figure something out... and in the case of both Org and Gnus, they each provide reload/restart functions that promise to get you a 90% clean slate :) But I'm just a fair-weather tinkerer -- the issue has never annoyed me enough to want to come up with another solution beyond restarting. It's also the reason I never started using emacs as a daemon, attractive as that sounds. E