emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Samuel Wales <samologist@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: possible to make loading org not make any changes?
Date: Thu, 7 May 2009 07:50:17 +0200	[thread overview]
Message-ID: <FB03BFA7-C7CF-47F7-BC3A-C8AF9AFA3106@gmail.com> (raw)
In-Reply-To: <20524da70905061207l7a9897aak41fb83bf12966c45@mail.gmail.com>

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	other threads:[~2009-05-07  5:50 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-06  2:35 possible to make loading org not make any changes? Samuel Wales
2009-05-06  7:30 ` Carsten Dominik
2009-05-06 19:07   ` Samuel Wales
2009-05-07  5:50     ` Carsten Dominik [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=FB03BFA7-C7CF-47F7-BC3A-C8AF9AFA3106@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=samologist@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).