From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: possible to make loading org not make any changes? Date: Thu, 7 May 2009 07:50:17 +0200 Message-ID: References: <20524da70905051935w346bd1d4i92f2fb4a1a8ee13e@mail.gmail.com> <20524da70905061207l7a9897aak41fb83bf12966c45@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v930.3) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M1wV1-0003xt-Gf for emacs-orgmode@gnu.org; Thu, 07 May 2009 01:50:27 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M1wUw-0003xC-L7 for emacs-orgmode@gnu.org; Thu, 07 May 2009 01:50:26 -0400 Received: from [199.232.76.173] (port=59337 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M1wUw-0003x9-B1 for emacs-orgmode@gnu.org; Thu, 07 May 2009 01:50:22 -0400 Received: from ey-out-1920.google.com ([74.125.78.145]:6361) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M1wUv-0003Qo-Rg for emacs-orgmode@gnu.org; Thu, 07 May 2009 01:50:22 -0400 Received: by ey-out-1920.google.com with SMTP id 13so163029eye.24 for ; Wed, 06 May 2009 22:50:21 -0700 (PDT) In-Reply-To: <20524da70905061207l7a9897aak41fb83bf12966c45@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Samuel Wales Cc: emacs-orgmode@gnu.org Hi Samuel, On May 6, 2009, at 9:07 PM, Samuel Wales wrote: > Thanks for considering it. I didn't know whether it would be > difficult or not. Obviously if it's too hard it's too hard. > > Background: > > I was hoping that some bugs I've not been able to track down could be > fixed by making loading side-effect free. I thought it might help > fix future bugs also. > > For example, org-return-follows-link seems to stop working for me > quite frequently, and I suspect that it has something to do with > autoloading or org-reload. It doesn't seem to matter where in .emacs > it is set. > > FWIW my info tree says this: > > (elisp)Coding Conventions > === > * Simply loading the package should not change Emacs's editing > behavior. Include a command or commands to enable and disable the > feature, or to invoke it. > === I think this is meant such that (require 'org) will not do anything until you turn on Org-mode in a buffer. I don't think it means that re-loading the same package cannot restore some of its defaults. In fact, one of the reasons for reloading is so the new/modified features can be activated without restarting Emacs. Still, I agree that it is not nice to overwrite your key bindings, or to make org-return-follows-link stop working. The latter is clearly a bug which I would like to fix. - Carsten > > It goes on. > > Thanks. > > -- > Myalgic encephalomyelitis denialism is causing death and severe > suffering > worse than MS. Conflicts of interest are destroying science. > Anybody can > get the disease at any time permanently. Do science and justice > matter to > you? http://www.meactionuk.org.uk/What_Is_ME_What_Is_CFS.htm