all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Attaching hook to subtree
@ 2014-06-25 13:49 Fabrice Popineau
  0 siblings, 0 replies; only message in thread
From: Fabrice Popineau @ 2014-06-25 13:49 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 461 bytes --]

Hi list,

I wonder if someone has already tried the following.
It could be useful to trigger some action whenever
a subtree is modified.
This would require to attach a hook to the subtree,
which can be done using a property drawer.
The real problem is how to (efficiently) track
the fact that some subtree has been modified?
Maybe by keeping an md5 sum and checking
if it has changed when writing the file.
Any other idea?

Thanks for your inputs,

-- 
Fabrice

[-- Attachment #2: Type: text/html, Size: 669 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2014-06-25 13:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-25 13:49 Attaching hook to subtree Fabrice Popineau

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.