GNU bug report logs -
#13577
24.3.50; Underscore in LaTeX comments can mess up ispell
Previous Next
Reported by: Ivan Andrus <darthandrus <at> gmail.com>
Date: Mon, 28 Jan 2013 17:51:01 UTC
Severity: normal
Merged with 14419
Found in version 24.3.50
Done: Agustin Martin <agustin.martin <at> hispalinux.es>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 13577 in the body.
You can then email your comments to 13577 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#13577
; Package
emacs
.
(Mon, 28 Jan 2013 17:51:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ivan Andrus <darthandrus <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 28 Jan 2013 17:51:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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. It seems it's
getting math mode backwards. However, if the first line is uncommented
then everything works correctly.
-Ivan
In GNU Emacs 24.3.50.19 (i386-apple-darwin12.2.0, NS apple-appkit-1187.34)
of 2013-01-25 on oroszlan.local
Bzr revision: 111607 acm <at> muc.de-20130125181814-v129xa7rwqbntgq1
Windowing system distributor `Apple', version 10.3.1187
Configured using:
`configure --with-ns --no-create --no-recursion'
Important settings:
value of $LC_CTYPE: UTF-8
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t
Major mode: Fundamental
Minor modes in effect:
shell-dirtrack-mode: t
tooltip-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
- b u f f e r SPC C-e <left> <left> C-t C-e C-x C-e
q <C-left> <C-left> <C-left> <C-left> <C-right> M-t
C-e C-x C-e M-x <up> <return> SPC SPC SPC SPC SPC SPC
SPC SPC SPC <C-tab> C-x 0 C-x b * s <backspace> i <tab>
<return> <C-up> <C-up> C-s - C-a C-s _ C-s C-s C-s
C-s C-s C-s C-s C-s C-x 1 <help-echo> <wheel-down>
<wheel-down> C-x 2 C-x b <return> <tool-bar> <kill-buffer>
C-x b <return> <return> , , i <backspace> <backspace>
<backspace> M-( i s p e l l - b u f f e r C-e C-x C-e
SPC SPC SPC SPC SPC SPC SPC SPC SPC SPC <down> <down>
<down> C-; C-a % SPC <C-up> <C-down> C-x C-e SPC SPC
SPC SPC SPC SPC SPC SPC SPC SPC SPC <down> <down> <down>
<down> C-k <up> <up> <down> C-y <up> C-a C-k C-k C-k
<C-up> <C-up> C-y <return> <up> <return> <up> <up>
<down> <down> <down> <return> <C-tab> <help-echo> <down-mouse-1>
<mouse-1> <help-echo> <down-mouse-1> <mouse-1> C-x
C-e <down> C-x C-e SPC <help-echo> <down-mouse-1> <mouse-1>
d d d d d <down-mouse-1> <mouse-1> C-x C-e SPC SPC
<C-tab> <down-mouse-1> <mouse-1> C-3 C-a <C-up> <C-up>
<C-up> C-M-SPC <C-down> <C-down> <C-down> <C-down>
C-w <C-backspace> <C-backspace> <C-backspace> <C-tab>
<help-echo> <down-mouse-1> <mouse-1> C-x C-e SPC <help-echo>
<wheel-up> <double-wheel-up> <wheel-down> <double-wheel-down>
<triple-wheel-down> <wheel-up> <double-wheel-up> <triple-wheel-up>
<triple-wheel-up> <wheel-down> <double-wheel-down>
<triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
<triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
<wheel-up> <double-wheel-up> <triple-wheel-up> <triple-wheel-up>
<wheel-down> <double-wheel-down> <triple-wheel-down>
<triple-wheel-down> <triple-wheel-down> <triple-wheel-down>
<down-mouse-1> <mouse-1> C-M-SPC <C-up> C-w <down>
<down> <C-tab> C-x o C-x C-e SPC <C-tab> <down-mouse-1>
<mouse-1> <wheel-down> <double-wheel-down> <triple-wheel-down>
<wheel-down> <double-wheel-down> <triple-wheel-down>
<triple-wheel-down> <wheel-up> <double-wheel-up> <triple-wheel-up>
<triple-wheel-up> <triple-wheel-up> <triple-wheel-up>
<triple-wheel-up> <triple-wheel-up> <down-mouse-1>
<mouse-1> C-a <up> <up> <up> <C-right> <C-right> <C-right>
<C-right> <C-right> <C-left> <left> <left> C-s C-w
C-w C-s <C-tab> <C-tab> M-x r e p o <tab> r t <tab>
<return>
Recent messages:
byte-code: Beginning of buffer [3 times]
byte-code: End of buffer [5 times]
Mark set
End of buffer [2 times]
Spell-checking *scratch* using hunspell with american dictionary...done
0
byte-code: End of buffer
byte-code: Beginning of buffer [3 times]
Mark saved where search started
Making completion list...
Load-path shadows:
None found.
Features:
(shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml
mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils misearch multi-isearch debug help-mode easymenu
help-fns ispell tex-mode compile shell pcomplete comint ansi-color ring
time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win
tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment
lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer loaddefs button faces cus-face macroexp files text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process ns multi-tty
emacs)
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#13577
; Package
emacs
.
(Sat, 21 Dec 2013 05:17:01 GMT)
Full text and
rfc822 format available.
Message #8 received at 13577 <at> debbugs.gnu.org (full text, mbox):
Ivan Andrus <darthandrus <at> 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.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#13577
; Package
emacs
.
(Sun, 22 Dec 2013 06:43:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 13577 <at> debbugs.gnu.org (full text, mbox):
On Dec 20, 2013, at 10:16 PM, Chong Yidong <cyd <at> gnu.org> wrote:
> Ivan Andrus <darthandrus <at> 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 <at> 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 sent
to
Agustin Martin <agustin.martin <at> hispalinux.es>
:
You have taken responsibility.
(Tue, 14 Jan 2014 11:02:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Ivan Andrus <darthandrus <at> gmail.com>
:
bug acknowledged by developer.
(Tue, 14 Jan 2014 11:02:03 GMT)
Full text and
rfc822 format available.
Message #16 received at 13577-done <at> debbugs.gnu.org (full text, mbox):
On Sat, Dec 21, 2013 at 11:42:24PM -0700, Ivan Andrus wrote:
> On Dec 20, 2013, at 10:16 PM, Chong Yidong <cyd <at> gnu.org> wrote:
>
> > Ivan Andrus <darthandrus <at> 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 <at> iro.umontreal.ca-20131219140055-r6qdeooy5rrd4q1f
Hi,
I debugged this problem to start with my commit
http://bzr.savannah.gnu.org/lh/emacs/trunk/revision/110817
The reason is that `add-comment' is wrongly reset for new line instead of
`in-comment' (`add-comment' is automatically reset after `in-comment' for
each line).
Fix comitted to trunk as r116025. This must also go into emacs24.x branch.
Which is the best way to make this happen?
Regards,
--
Agustin
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#13577
; Package
emacs
.
(Wed, 15 Jan 2014 05:03:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 13577-done <at> debbugs.gnu.org (full text, mbox):
On Jan 14, 2014, at 4:00 AM, Agustin Martin <agustin.martin <at> hispalinux.es> wrote:
> On Sat, Dec 21, 2013 at 11:42:24PM -0700, Ivan Andrus wrote:
>> On Dec 20, 2013, at 10:16 PM, Chong Yidong <cyd <at> gnu.org> wrote:
>>
>>> Ivan Andrus <darthandrus <at> 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 <at> iro.umontreal.ca-20131219140055-r6qdeooy5rrd4q1f
>
> Hi,
>
> I debugged this problem to start with my commit
>
> http://bzr.savannah.gnu.org/lh/emacs/trunk/revision/110817
>
> The reason is that `add-comment' is wrongly reset for new line instead of
> `in-comment' (`add-comment' is automatically reset after `in-comment' for
> each line).
>
> Fix comitted to trunk as r116025. This must also go into emacs24.x branch.
> Which is the best way to make this happen?
Cool!
Thanks,
Ivan
Forcibly Merged 13577 14419.
Request was from
Agustin Martin <agustin.martin <at> hispalinux.es>
to
control <at> debbugs.gnu.org
.
(Thu, 16 Jan 2014 13:53:01 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 14 Feb 2014 12:24:03 GMT)
Full text and
rfc822 format available.
This bug report was last modified 10 years and 81 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.