emacs-orgmode@gnu.org archives
 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 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).