From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rustom Mody Newsgroups: gmane.emacs.help Subject: Re: Speeding up Emacs load time Date: Sun, 30 Jun 2013 09:07:45 -0700 (PDT) Message-ID: References: <87y59urnfn.fsf@VLAN-3434.student.uu.se> <877ghbkbpq.fsf@VLAN-3434.student.uu.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1372617253 2556 80.91.229.3 (30 Jun 2013 18:34:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 30 Jun 2013 18:34:13 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 30 20:34:14 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 1UtMRy-0001BQ-7g for geh-help-gnu-emacs@m.gmane.org; Sun, 30 Jun 2013 20:34:14 +0200 Original-Received: from localhost ([::1]:47620 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UtMRx-0001Fd-Pj for geh-help-gnu-emacs@m.gmane.org; Sun, 30 Jun 2013 14:34:13 -0400 X-Received: by 10.224.205.138 with SMTP id fq10mr22494995qab.1.1372608466460; Sun, 30 Jun 2013 09:07:46 -0700 (PDT) X-Received: by 10.50.196.227 with SMTP id ip3mr624006igc.10.1372608466167; Sun, 30 Jun 2013 09:07:46 -0700 (PDT) Original-Path: usenet.stanford.edu!j2no1845256qak.0!news-out.google.com!f7ni121qai.0!nntp.google.com!j2no3075914qak.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=59.95.35.86; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui Original-NNTP-Posting-Host: 59.95.35.86 User-Agent: G2/1.0 Injection-Date: Sun, 30 Jun 2013 16:07:46 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:199604 X-Mailman-Approved-At: Sun, 30 Jun 2013 14:33:51 -0400 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:91875 Archived-At: On Sunday, June 30, 2013 8:30:16 PM UTC+5:30, Eric Abrahamsen wrote: > Ideally, this works fine. Mostly, it works for smaller libraries you've > written yourself. But try hacking on something larger (org-mode or, god > help you, gnus), and it becomes very, very difficult to make sure you've > cleaned up the run-time. Some vars are read at load time only (so > re-evaling base vars does nothing), and often you succeed only in > eval-ing yourself to a non-working environment. Especially if you're > planning on pushing your changes to some poor unsuspecting group of > users, you need to start from a clean slate. I believe its the other way round. With significant libraries following the require/provide protocol one can somewhat rely on unload-feature. Its the tiny pieces of code that slips through the cracks