From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Bug in looking-at? Date: Sat, 13 Aug 2005 18:35:57 +0200 Message-ID: <42FE216D.6070709@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1123952480 908 80.91.229.2 (13 Aug 2005 17:01:20 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 13 Aug 2005 17:01:20 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Aug 13 19:01:17 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E3zNC-0002mj-2a for ged-emacs-devel@m.gmane.org; Sat, 13 Aug 2005 19:00:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E3zQT-0008UF-1d for ged-emacs-devel@m.gmane.org; Sat, 13 Aug 2005 13:04:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E3zKj-0007cO-Py for emacs-devel@gnu.org; Sat, 13 Aug 2005 12:58:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E3zKZ-0007V2-0l for emacs-devel@gnu.org; Sat, 13 Aug 2005 12:58:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E3zKQ-0007Pr-DL for emacs-devel@gnu.org; Sat, 13 Aug 2005 12:57:50 -0400 Original-Received: from [81.228.11.98] (helo=pne-smtpout1-sn1.fre.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E3zE8-0001EH-Td for emacs-devel@gnu.org; Sat, 13 Aug 2005 12:51:21 -0400 Original-Received: from [192.168.123.121] (83.249.204.240) by pne-smtpout1-sn1.fre.skanova.net (7.2.060.1) id 42B813B00081C144 for emacs-devel@gnu.org; Sat, 13 Aug 2005 18:35:59 +0200 User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en Original-To: Emacs Devel 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:42004 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:42004 Second time today I think I have found a bug... What should I say... Hope this one is ok ;-) (defun bug-looking-at() "Instructions for showing the possible bug: 1. Place the point before \(interactive\) and run this function. The first looking-at succeeds, the second fails. 2. Then copy the last (looking-at ...), place point as before and run with M-S-:. It should fail to match again. 3. Now recall this in M-S-: and add character s last in the regexp. This time it should match. Try removing the s again..." (interactive) (unless (looking-at "(interactive)") (error "Please put the point at \(interactive\)")) (message "Second (looking-at ...) => %s" (looking-at "(interactive)[[:space:]]+(unles"))) I am doing this on w32, Emacs from 9 aug, emacs -Q.