From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: [usenet@pusto.de: minor bug in footnote.el] Date: Wed, 31 Oct 2007 03:46:57 -0400 Message-ID: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1193816946 4960 80.91.229.12 (31 Oct 2007 07:49:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 31 Oct 2007 07:49:06 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 31 08:49:08 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1In8K4-00055D-71 for ged-emacs-devel@m.gmane.org; Wed, 31 Oct 2007 08:49:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1In8Ju-0001qX-QY for ged-emacs-devel@m.gmane.org; Wed, 31 Oct 2007 03:48:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1In8I1-00013t-6h for emacs-devel@gnu.org; Wed, 31 Oct 2007 03:47:01 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1In8Hz-00012P-Ay for emacs-devel@gnu.org; Wed, 31 Oct 2007 03:47:00 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1In8Hy-00012A-NC for emacs-devel@gnu.org; Wed, 31 Oct 2007 03:46:58 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1In8Hy-0002eX-58 for emacs-devel@gnu.org; Wed, 31 Oct 2007 03:46:58 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1In8Hx-0000Mm-LL; Wed, 31 Oct 2007 03:46:57 -0400 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:82196 [I sent this message a week ago but did not get a response.] Would someone please DTRT and ack? ------- Start of forwarded message ------- X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_HELO_PASS,SPF_PASS, UNPARSEABLE_RELAY autolearn=failed version=3.1.0 Mail-Followup-To: emacs-devel@gnu.org To: emacs-devel@gnu.org From: Eduard Wiebe Date: Wed, 17 Oct 2007 23:19:38 +0200 Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Mail-Copies-To: never Subject: minor bug in footnote.el - --=-=-= Hi all, The mini bug occurs by switching footnote marks of more than one characters from roman-lower to roman-upper style. For example try this: (progn (point-max) (newline 2) (footnote-mode 1) (Footnote-set-style 'roman-lower) (insert "eins") (Footnote-add-footnote) (insert "must I after cyclic style change") (Footnote-back-to-message) (insert " zwei") (Footnote-add-footnote) (insert "must II after cyclic style change") (Footnote-back-to-message) (Footnote-cycle-style) (footnote-mode -1)) My simple patch follows - --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=footnote.diff - --- footnote.el 26 Jul 2007 07:27:12 +0200 1.20 +++ footnote.el 17 Oct 2007 22:09:06 +0200 @@ -344,7 +344,7 @@ (search-backward footnote-start-tag nil t) (when (looking-at (concat (regexp-quote footnote-start-tag) - - "\\(" index-regexp "\\)" + "\\(" index-regexp "+\\)" (regexp-quote footnote-end-tag))) (replace-match (concat footnote-start-tag @@ -360,7 +360,7 @@ (goto-char (cdr alist)) (when (looking-at (concat (regexp-quote footnote-start-tag) - - "\\(" index-regexp "\\)" + "\\(" index-regexp "+\\)" (regexp-quote footnote-end-tag))) (replace-match (concat footnote-start-tag - --=-=-= GNU Emacs 22.1.1 (i386-pc-freebsd, GTK+ Version 2.10.14) - -- Eduard Wiebe - --=-=-= 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 - --=-=-=-- ------- End of forwarded message -------