[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Spell Checking
|
From: |
kgold |
|
Subject: |
Re: Spell Checking |
|
Date: |
7 Jun 2005 21:28:57 GMT |
Kevin Rodgers <address@hidden> 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 address@hidden 914-784-7646
- Spell Checking, Shug Boabby, 2005/06/05
- Re: Spell Checking, Eli Zaretskii, 2005/06/05
- Re: Spell Checking, Peter Dyballa, 2005/06/06
- Re: Spell Checking, kgold, 2005/06/07
- Re: Spell Checking, Kevin Rodgers, 2005/06/07
- Message not available
- Re: Spell Checking,
kgold <=
- Message not available
- Re: Spell Checking, Shug Boabby, 2005/06/08