unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Ilya Zakharevich <nospam-abuse@ilyaz.org>
Subject: HOWTO: Ispell multiple regions?
Date: Tue, 18 Oct 2005 02:00:13 +0000 (UTC)	[thread overview]
Message-ID: <dj1kvd$1l50$1@agate.berkeley.edu> (raw)

I have some ELisp code to select several regions in my file (e.g.,
those having text property ispell).  How would I Ispell these regions?

AFAIC, ispell-region() does not provide a way to query "the status of
operation".  Thus my idea is that the following code:

  (my-map-regions
   (function
    (lambda (s e)
      (ispell-region s e)
      ;; Bulk out if user pressed 'x' or 'q' - but HOWTO?
      )))

would not be easily breakable out by 'x' or 'q'.

Now what?

Thanks,
Ilya

             reply	other threads:[~2005-10-18  2:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-18  2:00 Ilya Zakharevich [this message]
2005-10-18  4:18 ` HOWTO: Ispell multiple regions? Edward O'Connor
     [not found] ` <mailman.11699.1129609328.20277.help-gnu-emacs@gnu.org>
2005-10-18  8:51   ` Ilya Zakharevich
2005-10-18 18:23 ` Kevin Rodgers
     [not found] ` <mailman.11780.1129660075.20277.help-gnu-emacs@gnu.org>
2005-10-18 19:53   ` Ilya Zakharevich
2005-10-19  0:15     ` Kevin Rodgers

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='dj1kvd$1l50$1@agate.berkeley.edu' \
    --to=nospam-abuse@ilyaz.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.
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).