>>>> "Andreas" == Andreas Röhler
<andreas.roehler(a)easy-emacs.de> writes:
Hi Uwe,
have rewritten commented footnotes again, in order to make
its behaviour congruent to footnote.el
I.e. just go to the place where a fn should be inserted, then call the
command.
You will easily advice or change this to your needs if necessary.
It works now with tex and other languages.
Thanks again but there are some problems now.
- I have (add-hook 'message-mode-hook 'turn-on-my-footnote-mode)
but now when I tried to answer you mail I can't and the reason is
the function turn-on-my-footnote-mode, I obtain a bugtrace which I
attach.
- more serious: it seems that there is a problem with the scanning
of the regular expressions. I tried to use
(fi-Footnote-add-commented-footnote) on the very same file
footnote-init.el namely just before the line
;;; footnote-init.el ends
but the footnote gets placed in strange place namely:
then two footnotes get inserted one at the position I expect it
the other in the fi-Footnote-add-commented-footnote after
(setq footnote-section-tag (concat comment-start "
Footnotes:")))
I presume he thinks that is the right place. Wouldn't it be
better to have first end-of-buffer and then a backward search
for this string! Like if on wants to update the Local
Variables.
I think another culprit is the line
;; (local-set-key [(control c) f31] 'footnote-delete-footnote)
which also gets modified, since footnote-init thinks this is a footnote.
To avoid this behaviour I changed the footnote-style to numeric-latin,
but then when running footnote-init, xemacs seems to freeze.
About the other problem I have with large latex/matlab file I write in
the next message.
Uwe
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta