From: Bastien <bzg@altern.org>
To: Francesco Pizzolante
<public-fpz-djc/iPCCuDYQheJpep6IedvLeJWuRmrY@plane.gmane.org>
Cc: mailing-list-org-mode <public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org>
Subject: Re: [PATCH] Avoid all modification hooks in org-unmodified
Date: Wed, 30 Jan 2013 17:54:59 +0100 [thread overview]
Message-ID: <87r4l28vbw.fsf@bzg.ath.cx> (raw)
In-Reply-To: <87y5fafyq0.fsf@somewhere.org> (Francesco Pizzolante's message of "Wed, 30 Jan 2013 16:59:51 +0100")
Hi Francesco,
"Francesco Pizzolante"
<fpz-djc/iPCCuDYQheJpep6IedvLeJWuRmrY@public.gmane.org> writes:
> I've changed org-unmodified in order to avoid all modification hooks to be
> called (not only before-change-functions and after-change-functions, but also
> first-change-hook).
>
> I've used inhibit-modification-hooks as described here:
> http://www.gnu.org/software/emacs/manual/html_node/elisp/Change-Hooks.html
>
> In my case, this positively impacts the loading of the agenda.
This is great. It's not only more efficient but also more
consistent. Thanks a lot for joining the "agenda optimization
gang" with such a contribution! I applied your patch, with
a tiny change in the ChangeLog.
--
Bastien
next prev parent reply other threads:[~2013-01-30 16:55 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-30 15:59 [PATCH] Avoid all modification hooks in org-unmodified Francesco Pizzolante
2013-01-30 16:54 ` Bastien [this message]
[not found] ` <87r4l28vbw.fsf-E3UqQZAQFPqWIDz0JBNUog@public.gmane.org>
2013-01-31 9:00 ` Francesco Pizzolante
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=87r4l28vbw.fsf@bzg.ath.cx \
--to=bzg@altern.org \
--cc=public-emacs-orgmode-mXXj517/zsQ@plane.gmane.org \
--cc=public-fpz-djc/iPCCuDYQheJpep6IedvLeJWuRmrY@plane.gmane.org \
/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).