Stephen J. Turnbull writes:
From: "Stephen J. Turnbull" <stephen(a)xemacs.org>
Cc: xemacs-beta(a)xemacs.org
Subject: Re: filladapt and footnote
Date: Tue, 11 Mar 2003 19:39:40 +0900
Message-ID: <87ptoyxk43.fsf(a)tleepslib.sk.tsukuba.ac.jp>
>>>>> "Hans-Christoph" == Hans-Christoph Wirth
<hcw(a)gmx.de> writes:
Hans-Christoph> footnote-mode generates "bullets" with square
Hans-Christoph> brackets, e.g. [1] or
Hans-Christoph> [a]. These bullets are not recognized by standard
Hans-Christoph> filladapt-mode. You should extend
Hans-Christoph> filladapt-token-table by the entry
Hans-Christoph> ("\\[[0-9]+\\][ \t]" bullet) ("\\[[A-Za-z]\\][
Hans-Christoph> \t]" bullet)
Hans-Christoph> or something similar.
This is unlikely to happen without 3rd party effort, as the extension
probably should not be done in filladapt, but rather in footnote, and
the footnote maintainer is in retirement and unlikley to come out of
retirement any time soon. If you want to do the work to figure out
how to hook in from footnote and send a patch (to
xemacs-patches(a)xemacs.org), that would be very cool.
Stephen,
when glancing through the code of footnote.el I discovered that the
"bug" is probably caused by a misunderstanding of mine. I used
footnote related commands (e.g. Footnote-add-footnote which is bound
to "C-c ! a") without entering footnote-mode first. In this case,
footnotes itself work fine, but without fill support.
When entering footnote minor mode (by executing (footnote-mode 1)),
the current code registers the appropriate regexps into
filladapt-token-table and everything works fine. This means, the bug
might actually be considered as no bug.
Currently I do not understand whether it really makes sense that these
key bounds are defined and work (partially, as described) while
footnote-mode is not active.
Before I would be able to supply a patch, I should learn more about
(emacs lisp in general and) the mechanism used by xemacs for
loading/initializing all its standard modules.
Best regards,
Hans-Christoph
--
~~~~ Dr. Hans-Christoph Wirth Universitaet Wuerzburg
| | Lehrstuhl fuer Informatik I
(-OO wirth(a)informatik.uni-wuerzburg.de Am Hubland
| _) phone +49-931-888-5058, fax -4600 97074 Wuerzburg / Germany