unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Kevin Ryde <user42@zip.com.au>
Cc: 4511@emacsbugs.donarmstrong.com
Subject: bug#4511: 23.1; flyspell-mode slow editing near end of big html file
Date: Tue, 22 Sep 2009 23:13:32 -0400	[thread overview]
Message-ID: <jwveipyxsks.fsf-monnier+emacsbugreports@gnu.org> (raw)
In-Reply-To: <87vdjaa388.fsf@blah.blah> (Kevin Ryde's message of "Wed, 23 Sep 2009 10:56:07 +1000")

>> You need to pass it a `limit' argument.
> I thought about that a bit.  The limit would be the immediately
> preceding "<", ">", or "\n", since whichever of them is hit first
> answers whether you're in a tag or not.

(line-beginning-position) will do fine.

> There'd be no need for a separate limit calculation if a regexp could be
> cooked up to stop on the first of those three.

The given regexp is actually plenty, in this respect.  It's just that
looking-back is a dog and doesn't make good use of the regexp.


        Stefan





  reply	other threads:[~2009-09-23  3:13 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <jwvhbuttg6s.fsf-monnier+emacsbugreports@gnu.org>
2009-09-21 22:24 ` bug#4511: 23.1; flyspell-mode slow editing near end of big html file Kevin Ryde
2009-09-22 21:40   ` Stefan Monnier
2009-09-23  0:56     ` Kevin Ryde
2009-09-23  3:13       ` Stefan Monnier [this message]
2009-10-16 21:57         ` Kevin Ryde
2009-10-17  2:14           ` Stefan Monnier
2009-11-07  0:21             ` Kevin Ryde
2009-11-10 22:18               ` Stefan Monnier
2009-11-17  0:22                 ` Kevin Ryde
2009-09-23 23:15   ` bug#4511: marked as done (23.1; flyspell-mode slow editing near end of big html file) Emacs bug Tracking System

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=jwveipyxsks.fsf-monnier+emacsbugreports@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=4511@emacsbugs.donarmstrong.com \
    --cc=user42@zip.com.au \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).