all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ivan Andrus <darthandrus@gmail.com>
To: Chong Yidong <cyd@gnu.org>
Cc: 13577@debbugs.gnu.org
Subject: bug#13577: 24.3.50; Underscore in LaTeX comments can mess up ispell
Date: Sat, 21 Dec 2013 23:42:24 -0700	[thread overview]
Message-ID: <A9484A26-0641-4551-8E13-8B10DCA5E01B@gmail.com> (raw)
In-Reply-To: <87y53evl5g.fsf@gnu.org>

On Dec 20, 2013, at 10:16 PM, Chong Yidong <cyd@gnu.org> wrote:

> Ivan Andrus <darthandrus@gmail.com> writes:
> 
>> Starting from emacs -Q add the following to a buffer and put it in
>> latex-mode (I checked both AUCTeX and the builtin latex-mode):
>> 
>> % Again, we ignore the actual values of $\zeta_{i}$.
>> It is clear that $Z(G)=\angles{c_{i}}\cong \mathbb{Z}_{p}^{2}$ and
>> $G'=\angles{b_{i},c_{i}}$.
>> Missssspeelllllled.
>> 
>> Run ispell-buffer.  I have to do the following to get ispell to work on
>> my system:
>> 
>> (setq-default ispell-program-name "hunspell")
>> (setq ispell-dictionary "american")
>> 
>> You will notice that it tries to correct G', when it should not (since
>> it's in math mode).  It also ignores Missssspeelllllled.
> 
> I can't reproduce this.  For me, ispell-buffer tries only to correct
> Missssspeelllllled.

Hmm...  I still see the same behavior on trunk from about 3 days ago:

Bzr revision: 115610 monnier@iro.umontreal.ca-20131219140055-r6qdeooy5rrd4q1f

Are you using AUCTeX or the builtin latex-mode?

This has to do with skipping regions and in-comment.  I think I have a patch.  However, I need to get my new employer to sign papers, and they're shut down for about two weeks.

-Ivan




  reply	other threads:[~2013-12-22  6:42 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-28 17:49 bug#13577: 24.3.50; Underscore in LaTeX comments can mess up ispell Ivan Andrus
2013-12-21  5:16 ` Chong Yidong
2013-12-22  6:42   ` Ivan Andrus [this message]
2014-01-14 11:00     ` Agustin Martin
2014-01-15  5:01       ` Ivan Andrus

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=A9484A26-0641-4551-8E13-8B10DCA5E01B@gmail.com \
    --to=darthandrus@gmail.com \
    --cc=13577@debbugs.gnu.org \
    --cc=cyd@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 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.