From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: isearch highlighting Date: Mon, 20 Dec 2004 05:56:53 -0500 Message-ID: References: <87fz2e6h6b.fsf@jurta.org> <87sm65uenh.fsf@jurta.org> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1103540765 12976 80.91.229.6 (20 Dec 2004 11:06:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Dec 2004 11:06:05 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 20 12:05:59 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CgLMV-0005An-00 for ; Mon, 20 Dec 2004 12:05:59 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CgLWx-000374-2T for ged-emacs-devel@m.gmane.org; Mon, 20 Dec 2004 06:16:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CgLTU-0002Hv-1m for emacs-devel@gnu.org; Mon, 20 Dec 2004 06:13:12 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CgLTS-0002HJ-D1 for emacs-devel@gnu.org; Mon, 20 Dec 2004 06:13:10 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CgLTS-0002Gx-6n for emacs-devel@gnu.org; Mon, 20 Dec 2004 06:13:10 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CgLIN-0005C7-T5 for emacs-devel@gnu.org; Mon, 20 Dec 2004 06:01:44 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.34) id 1CgLDh-0001JQ-5Y; Mon, 20 Dec 2004 05:56:53 -0500 Original-To: Juri Linkov In-reply-to: <87sm65uenh.fsf@jurta.org> (message from Juri Linkov on Fri, 17 Dec 2004 17:29:22 +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: main.gmane.org gmane.emacs.devel:31287 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:31287 Inside a long loop matching a regexp with nested repetition operators only C-g quits the body, not any key. The simplest example demonstrating this: (while-no-input (string-match "<\\( *\\)+>" "< ")) The reason is that while-no-input doesn't work with immediate_quit. Does this patch make it work well? *** keyboard.c 16 Dec 2004 07:02:15 -0500 1.804 --- keyboard.c 20 Dec 2004 04:30:52 -0500 *************** *** 3717,3723 **** && event->kind != FOCUS_IN_EVENT && event->kind != HELP_EVENT && event->kind != DEICONIFY_EVENT) ! Vquit_flag = Vthrow_on_input; } --- 3717,3727 ---- && event->kind != FOCUS_IN_EVENT && event->kind != HELP_EVENT && event->kind != DEICONIFY_EVENT) ! { ! Vquit_flag = Vthrow_on_input; ! if (immediate_quit && NILP (Vinhibit_quit)) ! QUIT; ! } }