bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Patch: Texinfo M-x auto-insert


From: Aaron Hawley
Subject: Patch: Texinfo M-x auto-insert
Date: Wed, 3 Oct 2007 10:13:56 -0400

Attached is a patch against autoinsert.el that adds support to M-x
auto-insert for Texinfo files.  It is based on the "Emacs Lisp Header"
action in autoinsert.el.  The Texinfo source is based on material in the
"Sample
Texinfo files" section of the Texinfo manual.  auto-insert will prompt the
user for a title and a short description, then inserts 73 lines of Texinfo
source.

I chose not to insert the stock Texinfo file suggested for GNU manuals,
since the majority of Texinfo files started this way will probably not be
GNU manuals.

However, the file does license the document under the GNU FDL with no
invariant sections or cover texts.  It provides an FDL copyright notice and
"@include"s fdl.texi as an appending section.  A Texinfo comment explains
that the fdl.texi is available from the GNU Web site.

Thanks for Emacs,
/a

-- 
Modern man suffers from a kind of poverty of the spirit which
stands in glaring contrast to his scientific and technological
abundance. We've learned to fly the air like birds, we've learned
to swim the seas as fish, yet we haven't learned to walk the
earth as brothers and sisters. -- Dr. Martin King

Attachment: autoinsert.el-texinfo.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]