From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ilya Zakharevich Newsgroups: gmane.emacs.help Subject: HOWTO: Ispell multiple regions? Date: Tue, 18 Oct 2005 02:00:13 +0000 (UTC) Organization: U.C. Berkeley Math. Department. Message-ID: NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1129601218 1449 80.91.229.2 (18 Oct 2005 02:06:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Oct 2005 02:06:58 +0000 (UTC) Bcc: ilya Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 18 04:06:54 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1ERgs4-00046C-9a for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Oct 2005 04:06:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ERgs3-0002o8-Ik for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Oct 2005 22:06:31 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsfeed.berkeley.edu!ucberkeley!agate.berkeley.edu!ilya Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-NNTP-Posting-Host: powdermilk.math.berkeley.edu Original-X-Trace: agate.berkeley.edu 1129600813 54432 169.229.140.13 (18 Oct 2005 02:00:13 GMT) Original-X-Complaints-To: usenet@agate.berkeley.edu Original-NNTP-Posting-Date: Tue, 18 Oct 2005 02:00:13 +0000 (UTC) User-Agent: trn [how to get a version via %-escapes???] with a custom header X-How-To-Reach-Me: The From: address is valid X-How-To-Disable-Cc: Put in the headers the line: Mail-Copies-To: never Originator: ilya@powdermilk Original-Xref: shelby.stanford.edu gnu.emacs.help:134720 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:30302 Archived-At: 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