diff options
| author | David Aspinall | 1998-12-15 16:15:11 +0000 |
|---|---|---|
| committer | David Aspinall | 1998-12-15 16:15:11 +0000 |
| commit | f42e682a23e87a8b0a0f448093a857a04b7313ca (patch) | |
| tree | f3ff61217be42cdc74f0c8dc195cb7f0a0f7f1ea | |
| parent | d64ce7ea66e827a07cecbd5ff2dd9c323e7ba2a7 (diff) | |
Another todo idea added. This version sent to Emacs news groups.
| -rw-r--r-- | generic/texi-docstring-magic.el | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/generic/texi-docstring-magic.el b/generic/texi-docstring-magic.el index bb321c9a..82d9497f 100644 --- a/generic/texi-docstring-magic.el +++ b/generic/texi-docstring-magic.el @@ -3,7 +3,7 @@ ;; Keywords: texi, docstrings ;; Author: David Aspinall <da@dcs.ed.ac.uk> ;; Copyright (C) 1998 David Aspinall -;; Maintainer: Proof General maintainer <proofgen@dcs.ed.ac.uk> +;; Maintainer: David Aspinall <da@dcs.ed.ac.uk> ;; ;; $Id$ ;; @@ -13,7 +13,7 @@ ;; in more than one place, and automatically adds TexInfo markup ;; to docstrings. ;; -;; It relies heavily on your following the Elisp documentation +;; It relies heavily on you following the Elisp documentation ;; conventions to produce sensible output, check the Elisp manual ;; for details. In brief: ;; @@ -35,6 +35,9 @@ ;; This will insert @defopt, @deffn and the like underneath the ;; magic comment strings. ;; +;; Symbols are recognized if they are defined for faces, functions, +;; or variables (in that order). +;; ;; Automatic markup rules: ;; ;; 1. Indented lines are gathered into @lisp environment. @@ -49,15 +52,24 @@ ;; ;; ----- ;; -;; Useful binding +;; Useful key binding when writing TeXInfo: +;; ;; (define-key TeXinfo-mode-map "C-cC-d" 'texi-docstring-magic-insert-magic) ;; +;; ----- +;; ;; Useful enhancements to do: +;; +;; * Insert a line break after the first sentence of docstring. ;; * Use customize properties (e.g. group, simple types) ;; * Look for a "texi-docstring" property for symbols ;; so TeXInfo can be defined directly in case automatic markup ;; goes badly wrong. +;; * Add tags to special comments so that user can specify face, +;; function, or variable binding for a symbol in case more than +;; one binding exists. ;; +;; ------ (defun texi-docstring-magic-splice-sep (strings sep) "Return concatenation of STRINGS spliced together with separator SEP." |
