Uwe Brauer wrote:
Hello
The following problem occurs using xemacs -vanilla!
Please consider the following simple example:
--8<------------------------schnipp------------------------->8---
\documentclass[12pt]{article}
\begin{document}
this [1] now the second [2]
the third[3]
and the next
\end{document}
Footnotes:
[1] this is true
[2] ok
[3] that seems to work
--8<------------------------schnapp------------------------->8---
save the file say as new without extension so that xemacs opens the file
in fundamental mode.
When turning footnote-mode on and running footnote-init
xemacs will 2 things.
- Set the footnote style to english upper
- only recognise one footnote see (from lossage)
footnote-pointer-marker-alist: ((1 #<marker at 1 in new 0x9a20414>))
BTW when running footnote-init at the end of the buffer it does
not recognise no footnote, that is a bug I presume, even with
(save-excursion) xemacs should jump to the beginning of the
buffer before doing the scan?!
So I tried to set manually the style to numeric, but then I have to run
the init function again, and oops again we have the english-upper style.
I could of course delete the first line but what am I suppose to delete
in a larger file?! That cannot be the right approach.
I see that has an optional ispec, so I tried
(footnote-init 'numeric) does not work neither.
Uwe Brauer
Hi Uwe,
attached a new footnote-init.el, which should work.
Still an odditiy inside: had to write a `delete-region' different from
GNU Emacs, what's strange. A testcase didn't show any diff here.
Can't detect the reason.
If someone could look into where
`(if (featurep 'xemacs)'
is inserted, it might help find a bug or understand the issue.
Attached too a patch for footnote.el. It cures a bug,
which occurs rather seldom.
So far
Andreas Röhler
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta