emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Eric S Fraga <esflists@gmail.com>
To: Tim Visher <tim.visher@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Automatic mtime and ctime on all or select group of trees?
Date: Fri, 01 Sep 2017 10:57:33 +0100	[thread overview]
Message-ID: <87inh24u7m.fsf@pinto.chemeng.ucl.ac.uk> (raw)
In-Reply-To: <CAHa53uxL12B17ij6bt2JSo=J70Pv6Z2W3-suBNipmGPmar9NBA@mail.gmail.com> (Tim Visher's message of "Thu, 31 Aug 2017 10:20:35 -0400")

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

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 that
> 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

-- 
: Eric S Fraga via Emacs 26.0.50, Org release_9.0.10-723-g23eba9

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 194 bytes --]

  reply	other threads:[~2017-09-01  9:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-31 11:55 Automatic mtime and ctime on all or select group of trees? Tim Visher
2017-08-31 13:44 ` Eric S Fraga
2017-08-31 14:20   ` Tim Visher
2017-09-01  9:57     ` Eric S Fraga [this message]
2017-09-02  1:09       ` Adam Porter
2017-09-02 23:18 ` Jorge Morais Neto
2017-09-03  1:10   ` Adam Porter
2017-09-05 16:47     ` Jorge Morais Neto
2017-09-07  1:38       ` Adam Porter
2017-09-02 23:34 ` Samuel Wales
2017-09-03  1:06   ` Adam Porter

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=87inh24u7m.fsf@pinto.chemeng.ucl.ac.uk \
    --to=esflists@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=tim.visher@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).