From: kgold@watson.ibm.com (kgold)
Subject: Re: Spell Checking
Date: 7 Jun 2005 21:28:57 GMT [thread overview]
Message-ID: <42a61199_4@news1.prserv.net> (raw)
In-Reply-To: mailman.3723.1118168249.25862.help-gnu-emacs@gnu.org
Kevin Rodgers <ihs_4664@yahoo.com> writes:
> kgold wrote:
> > When I spell check comments and strings and the string is part of
> > a printf
> >
> > printf("\tHello, world\n");
> >
> > I'd like the spell checker to ignore the letter after the \.
> > Currently, it complains that tHello is misspelled, causing many false
> > errors.
>
> Can you trick it by adding backslash-character to
> ispell-skip-region-alist?
>
> (add-hook 'c-mode-hook
> (lambda ()
> (set (make-local-variable 'ispell-skip-region-alist)
> (cons '("\\\\[abfnrtv\\'\"]") ispell-skip-region-alist))))
Works perfectly. Thanks once again.
--
Ken Goldman kgold@watson.ibm.com 914-784-7646
next prev parent reply other threads:[~2005-06-07 21:28 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-06 2:44 Spell Checking Shug Boabby
2005-06-06 3:52 ` Eli Zaretskii
2005-06-06 10:30 ` Peter Dyballa
2005-06-07 14:00 ` kgold
2005-06-07 17:59 ` Kevin Rodgers
[not found] ` <mailman.3723.1118168249.25862.help-gnu-emacs@gnu.org>
2005-06-07 21:28 ` kgold [this message]
2005-06-07 22:51 ` Stefan Monnier
2005-06-08 17:05 ` Kevin Rodgers
2005-06-09 0:10 ` Shug Boabby
-- strict thread matches above, loose matches on Subject: below --
2008-05-13 6:04 Spell checking Oleg Oltar
2008-05-14 3:05 ` Eli Zaretskii
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=42a61199_4@news1.prserv.net \
--to=kgold@watson.ibm.com \
/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.