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: Re: font-lock-comment-delimiter-face Date: Mon, 16 May 2005 17:20:18 -0400 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1116367462 18737 80.91.229.2 (17 May 2005 22:04:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 17 May 2005 22:04:22 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 18 00:04:19 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DYA8X-0006V3-QX for ged-emacs-devel@m.gmane.org; Wed, 18 May 2005 00:02:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DYAAp-00039I-Vy for ged-emacs-devel@m.gmane.org; Tue, 17 May 2005 18:04:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DXq8G-0004mY-Bg for emacs-devel@gnu.org; Mon, 16 May 2005 20:40:24 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DXnPD-0002Ct-77 for emacs-devel@gnu.org; Mon, 16 May 2005 17:45:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DXnON-0001EJ-Vs for emacs-devel@gnu.org; Mon, 16 May 2005 17:44:52 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DXn8Z-00086i-9H for emacs-devel@gnu.org; Mon, 16 May 2005 17:28:31 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1DXn0c-0000dU-EP; Mon, 16 May 2005 17:20:18 -0400 Original-To: Ralf Angeli In-reply-to: (message from Ralf Angeli on Mon, 16 May 2005 10:16:36 +0200) 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:37198 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:37198 (with-temp-buffer (insert " ;") (backward-char) (looking-at "\\(\\(^\\|[^\\\\\n]\\)\\(\\\\\\\\\\)*\\);+ *")) (with-temp-buffer (insert " ;;") (backward-char 2) (looking-at "\\(\\(^\\|[^\\\\\n]\\)\\(\\\\\\\\\\)*\\);+ *")) Shouldn't both examples return the same value? For that regexp, it is clear that they should NOT both return the same value. As for whether it is correct to use that regexp for comment-start-skip, I am not sure, but I don't see a bug in it as of now.