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 Subject: Re: Troubles with footnote-mode Date: Tue, 25 Apr 2006 21:23:26 +0200 Organization: Epita/LRDE Message-ID: <877j5dv4r5.fsf@lrde.org> References: <87k69km25j.fsf@baldur.nicundtas.de> <87irp0f6xn.fsf@lrde.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1145993001 19742 80.91.229.2 (25 Apr 2006 19:23:21 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 25 Apr 2006 19:23:21 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 25 21:23:18 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 1FYT7t-00059i-LB for ged-emacs-devel@m.gmane.org; Tue, 25 Apr 2006 21:23:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FYT7t-0001yh-42 for ged-emacs-devel@m.gmane.org; Tue, 25 Apr 2006 15:23:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FYT7g-0001yc-QG for emacs-devel@gnu.org; Tue, 25 Apr 2006 15:22:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FYT7f-0001yP-CN for emacs-devel@gnu.org; Tue, 25 Apr 2006 15:22:56 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FYT7f-0001yM-6s for emacs-devel@gnu.org; Tue, 25 Apr 2006 15:22:55 -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 1FYTAB-0004X5-HT for emacs-devel@gnu.org; Tue, 25 Apr 2006 15:25:31 -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 1FYT7d-0002at-C0; Tue, 25 Apr 2006 21:22:53 +0200 Original-To: emacs-devel@gnu.org Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAElBMVEVWPh+Tai+5r5YKBAEU CQQzGAtiq7gjAAACR0lEQVQ4jW2UzW7lIAyFzVW8BzTZX5DmCZLuU2H2pMXv/ypzbK7aSh2kRCRf /HNsE0q7Sg+RQ7JFKaqtrRNAl5AIIKe6D5DBqgbmUAe5hBI1wIRFAHjeM0RKtZi7XVVEpb0BSNfA IddChChT5DildSLWOWhY5IEItMnncZgFcUAc/5jjwCMsDosRNdfKPDTFEdVBW8C+RebDb4N5Orio RhM1+11IJyx0ng2+LryFHBMPDQDYHrY6IfGuU3ouiXTQNE8LIJDKOWpNxERTFrggQwRPd7USUsTW fJ0XbR3bdj5KgBYy4SACpxDeUYEUAzLmtJ1iIrD2gczPq8Qomjhsh/RjGIgKIO8p7NITjwlx7WID nsnQe5NeuTvoBpi8LX6vLLOh5icjOHqBypgnuSp7M+RE1agbQKHQr5E2z1WObhYW4gMqeGQL7joM jCf2DxSk5ApADSYHfFF4igNfJZL1z0GKP0FN02s4XiDXr7V5P94W6I9v8MfBOQDmfwAaVYt+x8Da v4DJvX8BAdin3Knm5yMZYAO4ABDkDniZLLfi4P40gP1F0TPGZOu0CGwA1lcowxwlGy6A9705mD0V jHCxwVZT/hYdRJVUGZNlx6l7ScQBTluof6Wj6bsPYlvpwoTvXFD9gHPn2TZPF3ntI2ecxVrW5MrV XiCie5EeNa7BlWu/HNSkprDUva163PHxAv5jyGV7gVzyAghSKOTnat85UIYFICXbD2NV9rRiv0BS tKQsg6OHH4A15F1WW+UHKHHa32h6aPnAm3/pUcWp+WYnTQAAAABJRU5ErkJggg== In-Reply-To: <87irp0f6xn.fsf@lrde.org> (=?iso-8859-1?Q?Micha=EBl?= Cadilhac's message of "Sun, 23 Apr 2006 21:06:12 +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:53405 Archived-At: 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 --' - --'