kgold wrote:
> And my periodic question:
>
> 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))))

--
Kevin Rodgers



_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to