From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ralf Angeli Newsgroups: gmane.emacs.devel Subject: Re: font-lock-comment-delimiter-face Date: Mon, 16 May 2005 10:16:36 +0200 Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1116377464 12359 80.91.229.6 (18 May 2005 00:51:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 18 May 2005 00:51:04 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 18 02:50:58 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1DYCm1-00051R-00 for ; Wed, 18 May 2005 02:50:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DYCoM-0000U4-Ny for ged-emacs-devel@m.gmane.org; Tue, 17 May 2005 20:53:22 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DY2Bi-0007CW-57 for emacs-devel@gnu.org; Tue, 17 May 2005 09:32:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DY1UQ-0008Rp-Qa for emacs-devel@gnu.org; Tue, 17 May 2005 08:48:03 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DXaoj-0000xt-MO for emacs-devel@gnu.org; Mon, 16 May 2005 04:19:14 -0400 Original-Received: from [134.96.7.25] (helo=triton.rz.uni-saarland.de) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DXatt-0000sx-IT; Mon, 16 May 2005 04:24:33 -0400 Original-Received: from iwi-gate.iwi.uni-sb.de (iwi-gate.iwi.uni-sb.de [134.96.72.13]) by triton.rz.uni-saarland.de (8.12.10/8.12.10) with ESMTP id j4G8GkQw2865610; Mon, 16 May 2005 10:16:46 +0200 (CEST) Original-Received: from [134.96.72.190] (helo=neutrino.iwi.uni-sb.de) by iwi-gate.iwi.uni-sb.de with esmtp (Exim 4.43 (FreeBSD)) id 1DXamA-000CA6-RW; Mon, 16 May 2005 10:16:34 +0200 Original-Received: from angeli by neutrino.iwi.uni-sb.de with local (Exim 4.50) id 1DXamC-0003dL-2X; Mon, 16 May 2005 10:16:36 +0200 Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Sun, 15 May 2005 23:55:44 -0400") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-IWi-MailScanner-Information: Please contact the ISP for more information X-IWi-MailScanner: Found to be clean X-IWi-MailScanner-SpamCheck: not spam, SpamAssassin (score=1.122, required 5, autolearn=disabled, SUBJ_HAS_UNIQ_ID 1.12) X-IWi-MailScanner-SpamScore: s X-MailScanner-From: angeli@iwi.uni-sb.de X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.1 (triton.rz.uni-saarland.de [134.96.7.25]); Mon, 16 May 2005 10:16:46 +0200 (CEST) X-AntiVirus: checked by AntiVir Milter 1.0.6; AVE 6.30.0.12; VDF 6.30.0.177 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:37204 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:37204 * Richard Stallman (2005-05-16) writes: > As your fix does not concern regular expression matching, does this > mean it is correct for `(looking-at comment-start-skip)' in Lisp mode > to return different values in case of single and multiple semicolons? > > I don't understand that question. Okay, here are two examples: (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? It looks like a bug to me that the first example returns nil and the second t. -- Ralf