[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Troubles with footnote-mode
From: |
Michaël Cadilhac |
Subject: |
Re: Troubles with footnote-mode |
Date: |
Tue, 25 Apr 2006 21:23:26 +0200 |
User-agent: |
Gnus/5.110005 (No Gnus v0.5) Emacs/22.0.50 (gnu/linux) |
address@hidden (Michaël Cadilhac) writes:
> *** lisp/mail/footnote.el 6 Feb 2006 12:31:40 -0000 1.12
> --- lisp/mail/footnote.el 23 Apr 2006 19:04:13 -0000
> ***************
> *** 501,507 ****
> (regexp-quote footnote-end-tag)))
> nil t)
> (unless (beginning-of-line) t))
> ! (goto-char (point-max)))))
> (unless (looking-at "^$")
> (insert "\n"))
> (when (eobp)
> --- 501,508 ----
> (regexp-quote footnote-end-tag)))
> nil t)
> (unless (beginning-of-line) t))
> ! (Footnote-goto-char-point-max)
> ! (re-search-backward (concat "^" footnote-section-tag-regexp)
> nil t))))
> (unless (looking-at "^$")
> (insert "\n"))
> (when (eobp)
BTW, just to comment this patch: the (goto-char (point-max)) thing
supposed that the buffer was narrowed to footnotes. The lines
I added are taken from the narrowing function, it's the part that
tells what is the end of the narrowed region.
Regards,
--
| Michaël `Micha' Cadilhac | Mieux vaut se taire |
| Epita/LRDE Promo 2007 | Que de parler trop fort. |
| http://www.lrde.org/~cadilh_m | -- As de trèfle |
`-- - JID: address@hidden --' - --'