From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: fortran-fill-paragraph fails Date: Mon, 25 Dec 2006 18:00:07 -0500 Message-ID: References: <87d56acfod.fsf@lrde.org> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1167087637 2498 80.91.229.10 (25 Dec 2006 23:00:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 25 Dec 2006 23:00:37 +0000 (UTC) Cc: emacs-devel@gnu.org, Roland Winkler Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 26 00:00:35 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by dough.gmane.org with esmtp (Exim 4.50) id 1Gyyo3-0005Gc-On for ged-emacs-devel@m.gmane.org; Tue, 26 Dec 2006 00:00:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gyyo3-0003gU-BA for ged-emacs-devel@m.gmane.org; Mon, 25 Dec 2006 18:00:31 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gyynm-0003a0-MC for emacs-devel@gnu.org; Mon, 25 Dec 2006 18:00:14 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gyynl-0003Xh-Ad for emacs-devel@gnu.org; Mon, 25 Dec 2006 18:00:13 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gyynl-0003XO-31 for emacs-devel@gnu.org; Mon, 25 Dec 2006 18:00:13 -0500 Original-Received: from [83.228.183.142] (helo=alfajor.home) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gyynk-0001JB-JP for emacs-devel@gnu.org; Mon, 25 Dec 2006 18:00:12 -0500 Original-Received: by alfajor.home (Postfix, from userid 20848) id 669EE1CD5A; Mon, 25 Dec 2006 18:00:08 -0500 (EST) Original-To: michael@cadilhac.name (=?iso-8859-1?Q?Micha=EBl?= Cadilhac) In-Reply-To: <87d56acfod.fsf@lrde.org> (=?iso-8859-1?Q?Micha=EBl?= Cadilhac's message of "Sun\, 24 Dec 2006 01\:15\:30 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.91 (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:64263 Archived-At: > *************** > *** 838,844 **** > (commark > (comment-string-strip (buffer-substring comstart comin) nil t)) > (comment-re > ! (if (string-match comment-start-skip (concat commark "a")) > (concat "[ \t]*" (regexp-quote commark) > ;; Make sure we only match comments that use > ;; the exact same comment marker. > --- 838,844 ---- > (commark > (comment-string-strip (buffer-substring comstart comin) nil t)) > (comment-re > ! (if (string-match comment-start-skip (concat "\0" commark "a")) > (concat "[ \t]*" (regexp-quote commark) > ;; Make sure we only match comments that use > ;; the exact same comment marker. Please add a clear comment explaining the reason for this "\0". Stefan