From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Mastro Newsgroups: gmane.emacs.help Subject: Re: correcting word groups (general spelling question) Date: Wed, 1 Jul 2015 10:47:14 -0700 Message-ID: References: <87zj3gwxhb.fsf@nl106-137-147.student.uu.se> <20150701044655.63e6e432@JRWUBU2> <87r3orhjp9.fsf@nl106-137-147.student.uu.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1435772870 1025 80.91.229.3 (1 Jul 2015 17:47:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Jul 2015 17:47:50 +0000 (UTC) To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 01 19:47:50 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZAM6u-0002cc-6F for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Jul 2015 19:47:48 +0200 Original-Received: from localhost ([::1]:60378 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAM6t-0000vQ-HF for geh-help-gnu-emacs@m.gmane.org; Wed, 01 Jul 2015 13:47:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58042) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAM6j-0000vA-2h for help-gnu-emacs@gnu.org; Wed, 01 Jul 2015 13:47:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZAM6i-0006Ei-Ab for help-gnu-emacs@gnu.org; Wed, 01 Jul 2015 13:47:37 -0400 Original-Received: from mail-oi0-x230.google.com ([2607:f8b0:4003:c06::230]:35987) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZAM6i-0006EW-4d for help-gnu-emacs@gnu.org; Wed, 01 Jul 2015 13:47:36 -0400 Original-Received: by oiaf66 with SMTP id f66so5976174oia.3 for ; Wed, 01 Jul 2015 10:47:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=ROIYxcL8qgCDmOFrScDfXzlN/9GgXHF3VPBbmZpT8qs=; b=EMIxTXeu43Zl2EC9yspLO8zZH/W5Jl7jX6rojFTMEaf8eWozCZ7fJV2Wmylw1sVne9 PAfWLutIlvb7TpZ8kMfKsnv1WW1e5X1yFCBG9cRYX2G8IYYkaLoa/96pul7YQh1kO/gw AHC+dXgJVwviG4OhgTxF/vyo1PbFK14i8CvSvIUGX/Af+DSOKB1smvCk8RPuTUawY6A9 mHfcnw2qQycjWrogtFYKbEXWB5HZTn2mgkIxNfD7RQD4D1soKOuq2NcCaMenNEMR5TCj qRoooSbatTHS/tvUrFGs0hPe6KZ7f4WgPhzRFlxRPJeSX0GCQdaP1ILkPjRQlYTPCBjg saLA== X-Received: by 10.202.48.21 with SMTP id w21mr25306365oiw.95.1435772854438; Wed, 01 Jul 2015 10:47:34 -0700 (PDT) Original-Received: by 10.76.168.70 with HTTP; Wed, 1 Jul 2015 10:47:14 -0700 (PDT) In-Reply-To: <87r3orhjp9.fsf@nl106-137-147.student.uu.se> X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c06::230 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:105362 Archived-At: Emanuel Berg wrote: > (setq ispell-skip-region-alist > (append ispell-skip-region-alist '(("Hello Kitteh" . "")) )) > > Try it here: > > Hello Kitteh. > > Hello James. Noq I'm misspelling both "now" and > kitten: kitteh. Will it ignore Hello Kitteh, but still > get the two misspellings? That gives me an error ("matching region not found"), but these two seem to work as intended (after, admittedly, very little testing). ;; 1 (push (list "Hello Kitteh" #'ignore) ispell-skip-region-alist) ;; 2 (push (list "Hello Kitteh" (lambda (&rest _args) (match-end 0))) ispell-skip-region-alist) -- john