From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: michael.cadilhac@lrde.org (=?iso-8859-1?Q?Micha=EBl?= Cadilhac) Newsgroups: gmane.emacs.devel,gmane.emacs.help Subject: Re: Troubles with footnote-mode Date: Sun, 23 Apr 2006 21:06:12 +0200 Organization: Epita/LRDE Message-ID: <87irp0f6xn.fsf@lrde.org> References: <87k69km25j.fsf@baldur.nicundtas.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2033652685==" X-Trace: sea.gmane.org 1145819195 405 80.91.229.2 (23 Apr 2006 19:06:35 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 23 Apr 2006 19:06:35 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 23 21:06:31 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FXjug-0007Ji-Nk for ged-emacs-devel@m.gmane.org; Sun, 23 Apr 2006 21:06:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FXjug-0000z6-68 for ged-emacs-devel@m.gmane.org; Sun, 23 Apr 2006 15:06:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FXjuG-0000oE-A6 for emacs-devel@gnu.org; Sun, 23 Apr 2006 15:06:04 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FXjuD-0000mh-Bj for emacs-devel@gnu.org; Sun, 23 Apr 2006 15:06:04 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FXjuD-0000mT-4k; Sun, 23 Apr 2006 15:06:01 -0400 Original-Received: from [62.39.139.2] (helo=kualalumpur.lrde.epita.fr) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1FXjwG-0001Vs-4x; Sun, 23 Apr 2006 15:08:09 -0400 Original-Received: from mahaena.lrde.epita.fr ([192.168.101.66] helo=mahaena.lrde) by kualalumpur.lrde.epita.fr with esmtp (Exim 4.50) id 1FXju8-0008Pn-TI; Sun, 23 Apr 2006 21:05:56 +0200 Original-To: help-gnu-emacs@gnu.org, emacs-devel@gnu.org Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEU/JREXDATg1LV8UCao i1fQpmoP3Nd6AAACa0lEQVQ4jWWUQW7jMAxFqZEPICJzAjXeM6W8dyNqX9ji/a8yn04xnWIEJLD9 LJH85DcJFyJV3erqPty8ExHfBikXSdn0WVezC0hOAQiA2nCsAHOqEnPe4k+puU8zw/t+xquqjRKA 4lHsmQBT8C5pDtBwfwH8VdcHI5+FHtjRxrQRwZsf3hNjZRKAPEzHEdH9mFNSYb5dQK3r8KM6ftNy KikAirDZFWdVkDqbxjGFbAcwbQCxxc8mPRHUGOcCIMgMACV23RfJTch3gC6ofT3qCdG0NyUUPfYF yQrKCIAnuYsgX2qPzW2i9sNrfSOSPPZQiygtCNlCjlpXJV38lIKshF/AZzsAMoArdCKNHfXukPuJ ImbLh+9J2gXwap0QpZ7NjZ7ekdkFcDiqPiLGcHmuvaG/AHgy62s52Lae1ABoA7D6d2kDoAvgbnyD ZutEd6lTHOXfYPHVJDH1K8a1+oyrjoZpAGn1x5pfwPr2E9yjxSpk50/gEyKgD/+BD/KzN3tQ13b8 Cx5loF0AgnZf5IUny9hRHQOYBllHDM+6s3oviZBu77mFjDm621Np3hkjR90wE1BkTYvhdDgDgCmR xWChFfcYAOqMm5NZkVWMur8AL5+oeMQOob2FmY76FiM+PrDDZypwGdqokSlAaQOmGH6mW8KpsOwl 0YOLedjSITr6scNRF8D4PesH33QmLrx8AzjpV/3kkg025w2gfAFYKCLluJAc4Ap+h18oo4S8wzaY klDsBUTiY8EZFkg5Iass75FubC9wd8qa0u9+gRxAsAKEaRAo6iB+vwCMGmdBjvgidQGA1ntMX4CS ZYGV/wADyL80LIX/UAAAAABJRU5ErkJggg== In-Reply-To: <87k69km25j.fsf@baldur.nicundtas.de> (Tassilo Horn's message of "Thu, 20 Apr 2006 22:18:32 +0200") User-Agent: Gnus/5.110005 (No Gnus v0.5) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:53276 gmane.emacs.help:34606 Archived-At: --===============2033652685== Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Tassilo Horn writes: > Hi, > > I often use footnote-mode when writing postings. The only configurations > I made are these: > > ,----[ from ~/.emacs ] > | (add-hook 'message-mode-hook 'footnote-mode) > | (setq footnote-spaced-footnotes nil) > `---- > > The problem with that is, that all footnotes after the first one appear > below the signature. > > So here's a test (see footnotes below): [1], this one is ok. [2], below > sig. [3], below sig. After the second footnote, jumping back to the text > (C-c ! b, `Footnote-back-to-message') doesn't work, too. Does the following fix your bug? --=-=-= Content-Type: text/x-patch; charset=iso-8859-1 Content-Disposition: inline; filename=footnote.patch Content-Transfer-Encoding: quoted-printable Index: lisp/ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvsroot/emacs/emacs/lisp/ChangeLog,v retrieving revision 1.9434 diff -b -c -w -r1.9434 ChangeLog *** lisp/ChangeLog 22 Apr 2006 23:39:47 -0000 1.9434 =2D-- lisp/ChangeLog 23 Apr 2006 19:04:13 -0000 *************** *** 1,3 **** =2D-- 1,8 ---- + 2006-04-23 Micha=EBl Cadilhac (tiny change) +=20 + * mail/footnote.el (Footnote-insert-footnote): Fix the search of the + last footnote when `footnote-spaced-footnotes' is nil. +=20 2006-04-23 Romain Francoise =20=20 * comint.el (comint-match-partial-filename): Doc fix. Index: lisp/mail/footnote.el =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /cvsroot/emacs/emacs/lisp/mail/footnote.el,v retrieving revision 1.12 diff -b -c -w -r1.12 footnote.el *** lisp/mail/footnote.el 6 Feb 2006 12:31:40 -0000 1.12 =2D-- 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) =2D-- 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) --=-=-= Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable =2D-=20 | Micha=EBl `Micha' Cadilhac | Would someone please DTRT with thi= s | | Epita/LRDE Promo 2007 | then ACK? = | | http://www.lrde.org/~cadilh_m | -- Richard Stallman = | `-- - JID: micha@amessage.be --' - -= -' --=-=-=-- --==-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFES9AnZYNf4qobZ7kRAiTNAJ47T02GhBYldyfQDsAq3iQjCpFhxACcDQpX jkxE6XvaNr3F/CSxoEQ6q2I= =goLB -----END PGP SIGNATURE----- --==-=-=-- --===============2033652685== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --===============2033652685==--