unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Using the update buffer feature of template.el
@ 2011-02-23 20:55 Jay Bingham
  0 siblings, 0 replies; only message in thread
From: Jay Bingham @ 2011-02-23 20:55 UTC (permalink / raw)
  To: help-gnu-emacs

I apologize for the nearly duplicate post, but I forgot to put a subject on the previous message.

I began using template.el many years ago to create new files. I had always meant to figure out how to automatically update the Version: $ID: line that appears in several of the templates (makefile, el, cls, sty & tex) that come with template.el. After investigating template.el I find it appears to provide the capability to do this via the template-update-buffer function and the associated variables template-auto-update, template-update-buffer-alist and template-header-regexp-alist. Unfortunately I find that the documentation describing how to do this is not very clear, at least to me.
I am wondering if anyone on this list has used the auto update feature in template.el to automatically update the Version: $ID: line, and if so you could provide me an example of how to accomplish this. It appears to me that I will need to provide a function that will actually do the updating. What is unclear to me is how to set up the associated variables to cause this to happen automatically.

While I am fairly sure that it does not matter which version of emacs I am running and the operating system I am using, just in case it does, I am running emacs 23.2 on Windows XP.

__
J_)
C_)ingham

____________________________________________________________
$65/Hr Job - 25 Openings
Part-Time job ($20-$65/hr). Requirements: Home Internet Access
http://thirdpartyoffers.netzero.net/TGL3231/4d6574e74a66c431f57st05duc



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-02-23 20:55 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-23 20:55 Using the update buffer feature of template.el Jay Bingham

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).