From: "R. Diez" <rdiezmail-emacs@yahoo.de>
To: 32136@debbugs.gnu.org
Subject: bug#32136: 26.1; Provide a customize variable to turn off spell-checking literal strings in flyspell-prog-mode
Date: Thu, 12 Jul 2018 22:06:01 +0000 (UTC) [thread overview]
Message-ID: <1856494893.5680179.1531433161731@mail.yahoo.com> (raw)
In-Reply-To: 1856494893.5680179.1531433161731.ref@mail.yahoo.com
I wish I could easily turn off spell-checking of literal strings in flyspell-prog-mode . Some customize variable would probably be the best way.
I mentioned it on the help-gnu-emacs mailing list here:
https://lists.gnu.org/archive/html/help-gnu-emacs/2018-07/msg00100.html
This is an excerpt from that discussion:
> it checks
> literal strings too, even the filenames inside C's #include <blah/blah-h>
> preprocessor directives, littering too much source code with error marks.
They are strings, aren't they? How should Flyspell know that some
string is a file name?
> Trying to limit spell checking to just source-code comments is hard. I found
> this page that explains how to do it:
>
> http://blog.binchen.org/posts/effective-spell-check-in-emacs.html
>
> But I haven't quite understood it yet (I am no Lisp expert). How about adding
> a simple customizable variable to turn literal string checking on and off?
next parent reply other threads:[~2018-07-12 22:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1856494893.5680179.1531433161731.ref@mail.yahoo.com>
2018-07-12 22:06 ` R. Diez [this message]
2020-08-27 20:08 ` bug#32136: 26.1; Provide a customize variable to turn off spell-checking literal strings in flyspell-prog-mode Stefan Kangas
2020-09-09 18:11 ` Stefan Kangas
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1856494893.5680179.1531433161731@mail.yahoo.com \
--to=rdiezmail-emacs@yahoo.de \
--cc=32136@debbugs.gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).