From: michael.cadilhac@lrde.org (Michaël Cadilhac)
Cc: emacs-devel@gnu.org
Subject: Re: Troubles with footnote-mode
Date: Tue, 25 Apr 2006 21:23:26 +0200 [thread overview]
Message-ID: <877j5dv4r5.fsf@lrde.org> (raw)
In-Reply-To: <87irp0f6xn.fsf@lrde.org> (Michaël Cadilhac's message of "Sun, 23 Apr 2006 21:06:12 +0200")
michael.cadilhac@lrde.org (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: micha@amessage.be --' - --'
next prev parent reply other threads:[~2006-04-25 19:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87k69km25j.fsf@baldur.nicundtas.de>
2006-04-23 19:06 ` Troubles with footnote-mode Michaël Cadilhac
2006-04-23 19:46 ` Tassilo Horn
2006-04-23 22:10 ` Adrian Aichner
2006-04-24 7:12 ` Michaël Cadilhac
2006-04-25 19:23 ` Michaël Cadilhac [this message]
2006-05-09 9:46 ` Michaël Cadilhac
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877j5dv4r5.fsf@lrde.org \
--to=michael.cadilhac@lrde.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).