From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric S Fraga Subject: Re: Automatic mtime and ctime on all or select group of trees? Date: Fri, 01 Sep 2017 10:57:33 +0100 Message-ID: <87inh24u7m.fsf@pinto.chemeng.ucl.ac.uk> References: <87r2vrvols.fsf@pinto.chemeng.ucl.ac.uk> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37533) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dniho-0000kY-67 for emacs-orgmode@gnu.org; Fri, 01 Sep 2017 05:57:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dnihl-0005tt-59 for emacs-orgmode@gnu.org; Fri, 01 Sep 2017 05:57:40 -0400 Received: from mail-wm0-x22d.google.com ([2a00:1450:400c:c09::22d]:35069) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dnihk-0005tg-Ti for emacs-orgmode@gnu.org; Fri, 01 Sep 2017 05:57:37 -0400 Received: by mail-wm0-x22d.google.com with SMTP id v2so737852wmf.0 for ; Fri, 01 Sep 2017 02:57:36 -0700 (PDT) In-Reply-To: (Tim Visher's message of "Thu, 31 Aug 2017 10:20:35 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Tim Visher Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Thursday, 31 Aug 2017 at 10:20, Tim Visher wrote: > Thanks for the suggestion. It doesn't really meet my needs here in that I= 'm > really looking for org to behave more like a filesystem, not something th= at > I have to manually commit changes to. I understand but I think you may be expecting more from org than it really is designed to do. It is primarily about text markup as the basis. > If this doesn't already exist, does org already provide hooks or something > that I can plug in to? I would assume a heading-created and > heading-modified hook of some kind would allow me to implement my own > solution fairly cleanly. The problem is that you can create a heading by simply typing "* blah" at the start of a line. There are some methods that create new headings (see org-meta-return and or-insert-heading-respect-content, e.g.) but you don't need to use them at all. However, if you are very disciplined, you could probably use org-capture to do what you want. Look at the capture-refile-archive section (section 9) of the info manual. Many of us use capturing for logs and journals, for instance, which do some of what you want (not all). You may wish to combine capturing with special TODO states and there are indeed hooks invoked when changing such states. HTH, eric =2D-=20 : Eric S Fraga via Emacs 26.0.50, Org release_9.0.10-723-g23eba9 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQSPXCedOQfhSlwpVw3IkZPY//z2fQUCWakvDQAKCRDIkZPY//z2 fY6WAJ9mPnhHqiCjTavpH8q5z5lq2X4AugCfflBJxARxBH2KdLNh6NV5EqJCRgg= =fG1M -----END PGP SIGNATURE----- --=-=-=--