all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
Cc: emacs-devel@gnu.org
Subject: Re: isearch highlighting
Date: Mon, 20 Dec 2004 22:57:22 +0200	[thread overview]
Message-ID: <87wtvcd6x9.fsf@jurta.org> (raw)
In-Reply-To: <E1CgLDh-0001JQ-5Y@fencepost.gnu.org> (Richard Stallman's message of "Mon, 20 Dec 2004 05:56:53 -0500")

Richard Stallman <rms@gnu.org> writes:
>     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?

No.  The first key ends the execution of body.  This part is fixed,
right.  But during reading the next key (when control returns to the
top command loop) it goes into an infinite loop in
wait_reading_process_output not interruptible even with C-g.

-- 
Juri Linkov
http://www.jurta.org/emacs/

  reply	other threads:[~2004-12-20 20:57 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-10  2:06 isearch highlighting Juri Linkov
2004-12-10  3:21 ` Stefan Monnier
2004-12-10  5:22   ` Juri Linkov
2004-12-13 19:51 ` Richard Stallman
2004-12-14 10:27   ` Juri Linkov
2004-12-15 14:58     ` Richard Stallman
2004-12-17 15:29   ` Juri Linkov
2004-12-20 10:56     ` Richard Stallman
2004-12-20 20:57       ` Juri Linkov [this message]
2005-01-06  7:54         ` Juri Linkov
2005-01-09  3:23           ` Richard Stallman
2005-01-09 21:40           ` Stefan Monnier
2005-01-11 14:30             ` Richard Stallman
2005-01-12  1:52               ` Juri Linkov
  -- strict thread matches above, loose matches on Subject: below --
2004-12-10  7:00 klaus.berndl

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wtvcd6x9.fsf@jurta.org \
    --to=juri@jurta.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.