Add an easy template for index (i)
commit62c12cc50f860ffd076c5bf3bca6df052a209c11
authorRobert P. Goldman <rpgoldman@real-time.com>
Thu, 28 Apr 2011 20:38:54 +0000 (28 20:38 +0000)
committerCarsten Dominik <carsten.dominik@gmail.com>
Wed, 4 May 2011 07:49:31 +0000 (4 09:49 +0200)
tree88e8c001fc21321255fdcedff0d1894ca7415b3b
parentad28fc9a61735900ff6b6bdca3d73c0364aa1a8e
Add an easy template for index (i)

* lisp/org.el (org-structure-template-alist):  Add an easy template
for index (i), and move include file to I from i.
* doc/org.texi (Easy Templates): Document new template.

Notes about this patch:
1.  It breaks some old user-visible behavior, since <i changes meaning.
    Per Nick's posting, we expect that if index is used, it will be used
    more commonly than include file.  However, since this is a custom,
    behavior could be changed.  Indeed, we could put index on capital
    I with a suggestion that users who are indexing should swap in their
    customizations.
2.  I modified the docstring for org-structure-template-alist, which did
    not explain the function of the "?" in the string.  Someone should
    check and verify I didn't get this wrong.
3.  There doesn't seem to be a Muse tag equivalent for #+index, so I
    just made the Muse equivalent of #+index be #+index.  I don't know
    org-mtags enough to know if this is appropriate.
doc/org.texi
lisp/org.el