emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Dave Marquardt <davemarq@us.ibm.com>
To: emacs-orgmode@gnu.org
Subject: Re: Auto insert and change date in header?
Date: Fri, 26 Jul 2013 15:49:03 -0500	[thread overview]
Message-ID: <864nbh11z4.fsf@davemarq.austin.ibm.com> (raw)
In-Reply-To: CAOQHXPo6G_tJRjZ=K1DZdsxDO94RBg7ANDW96yaiYP62Z8FHyw@mail.gmail.com

Xebar Saram <zeltakc@gmail.com> writes:

> does any one know of a way to auto insert/change the date in each sections
> header when the section is edited?IE have a date in the header showing
> last edited date.
> Is this technically possible?

Try setting before-save-hook.  See "(elisp) Saving Buffers".

-Dave

  reply	other threads:[~2013-07-26 20:49 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-25  0:30 Auto insert and change date in header? Xebar Saram
2013-07-26 20:49 ` Dave Marquardt [this message]
2015-08-01 14:45   ` Xebar Saram
2015-08-01 16:05     ` John Kitchin
2015-08-02 18:34       ` Xebar Saram
2015-08-03  0:09         ` John Kitchin

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=864nbh11z4.fsf@davemarq.austin.ibm.com \
    --to=davemarq@us.ibm.com \
    --cc=emacs-orgmode@gnu.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).