emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Orgmode] possible to make loading org not make any changes?


From: Carsten Dominik
Subject: Re: [Orgmode] possible to make loading org not make any changes?
Date: Thu, 7 May 2009 07:50:17 +0200

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]