From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Roland Winkler" Newsgroups: gmane.emacs.devel Subject: Re: fortran-fill-paragraph fails Date: Wed, 27 Dec 2006 18:12:23 +0100 Message-ID: <17810.43383.385509.776556@tfkp07.physik.uni-erlangen.de> References: <87d56acfod.fsf@lrde.org> NNTP-Posting-Host: dough.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1167241529 28939 80.91.229.10 (27 Dec 2006 17:45:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Dec 2006 17:45:29 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 27 18:45:27 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 1Gzcq7-0000Yo-13 for ged-emacs-devel@m.gmane.org; Wed, 27 Dec 2006 18:45:19 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gzcq6-0002e2-IP for ged-emacs-devel@m.gmane.org; Wed, 27 Dec 2006 12:45:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gzcpq-0002dO-Ir for emacs-devel@gnu.org; Wed, 27 Dec 2006 12:45:02 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gzcpn-0002as-NY for emacs-devel@gnu.org; Wed, 27 Dec 2006 12:45:02 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gzcpn-0002aj-Do for emacs-devel@gnu.org; Wed, 27 Dec 2006 12:44:59 -0500 Original-Received: from [131.188.164.197] (helo=tfkpsv.physik.uni-erlangen.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GzcKL-000282-4p for emacs-devel@gnu.org; Wed, 27 Dec 2006 12:12:29 -0500 Original-Received: from tfkp07.physik.uni-erlangen.de (tfkp07.physik.uni-erlangen.de [131.188.164.207]) by tfkpsv.physik.uni-erlangen.de (Postfix) with ESMTP id 0FE17214B2; Wed, 27 Dec 2006 18:12:24 +0100 (CET) Original-To: michael@cadilhac.name (=?iso-8859-1?Q?Micha=EBl?= Cadilhac), Stefan Monnier In-Reply-To: X-Mailer: VM 7.19 under Emacs 22.0.90.2 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:64362 Archived-At: On Mon Dec 25 2006 Stefan Monnier wrote: > > (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". I must admit that this patch goes much beyond my knowledge of elisp hacking. Also, I cannot find anything in the elisp manual explaining the meaning of "\0" in this context. If there is a general idea for this, I'd much appreciate if it was documented in the elisp manual, too. (Or did I look at the wrong spot?) Roland