On dinsdag 3 augustus 2004 10:19, joe mc cool wrote:
> Bert Van Vreckem wrote:
> >I use Emacs to transcribe tunes in abc and it manages the time stamp
> >automatically. However, I wouldn't recommend installing Emacs just for abc
>
> Hmmm, useful.
>
> I'm an [x]emacs fan.
>
> Perhaps you can give some pointers on how you do this.

The following works for GNU Emacs, your mileage may vary...

First, you add a time stamp template to the beginnig of a buffer (somewhere in 
the first eight lines). The standard template is one of:

Time-stamp: " "
Time-stamp: <>

After that, when you issue the command 

  M-x time-stamp RET

the time stamp will be updated (provided the value of the variable 
time-stamp-active is non-nil). To make this really useful, you can update the 
time stamp automatically when saving a file by adding the following to 
your .emacs file:

  (add-hook 'write-file-hooks 'time-stamp)

There is a customisation group called time-stamp where you can change the 
standard settings.

More information can be found in the on-line manual:

  C-h a time-stamp RET

By the way, I do hope you know about Matthew Junker's abc-mode? 
<http://my.execpc.com/~mjunker/abc-mode.el>

Cheers,

bert

-- 
Bert Van Vreckem      <http://flanders.blackmill.net/>
Te audire non possum. Musa sapientum fixa est in aure.
To subscribe/unsubscribe, point your browser to: http://www.tullochgorm.com/lists.html

Reply via email to