From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 16 08:30:03 2017 Received: (at submit) by debbugs.gnu.org; 16 Mar 2017 12:30:03 +0000 Received: from localhost ([127.0.0.1]:58163 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1coUXa-00040i-QL for submit@debbugs.gnu.org; Thu, 16 Mar 2017 08:30:03 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57228) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1coUXY-0003zo-8T for submit@debbugs.gnu.org; Thu, 16 Mar 2017 08:30:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1coUXS-0007hi-8l for submit@debbugs.gnu.org; Thu, 16 Mar 2017 08:29:55 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47238) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1coUXS-0007hd-61 for submit@debbugs.gnu.org; Thu, 16 Mar 2017 08:29:54 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48172) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1coUXR-0001qD-3h for bug-auctex@gnu.org; Thu, 16 Mar 2017 08:29:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1coUXN-0007ex-6O for bug-auctex@gnu.org; Thu, 16 Mar 2017 08:29:53 -0400 Received: from forward13j.cmail.yandex.net ([5.255.227.177]:39507) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1coUXM-0007dR-Oy for bug-auctex@gnu.org; Thu, 16 Mar 2017 08:29:49 -0400 Received: from smtp1h.mail.yandex.net (smtp1h.mail.yandex.net [IPv6:2a02:6b8:0:f05::115]) by forward13j.cmail.yandex.net (Yandex) with ESMTP id 791C021D59 for ; Thu, 16 Mar 2017 15:29:43 +0300 (MSK) Received: from smtp1h.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1h.mail.yandex.net (Yandex) with ESMTP id 1E2588C1133 for ; Thu, 16 Mar 2017 15:29:42 +0300 (MSK) Received: by smtp1h.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id anFEhYjZr6-TfQm5tsZ; Thu, 16 Mar 2017 15:29:41 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1489667382; bh=j0yBBjcbJ4jamOjPUahQSV/AGINzGizgcknMFA6st+c=; h=To:From:Subject:Message-ID:Date; b=pnx8eUOOEIEh01n5xKqEfTouV18AS+HTwK3EJghHAtqUkkjvQD4FbPaRao1CCKRu4 kK1rTTj2F6I9I+V4apRLP82+97iH8lRGUqgGOGA3L6aIGEglSgnHjj5f5wwaXjeMkt NtGZ+42sCCRv7Suo9eTkC7zWfHiwJqglC25M3pZs= Authentication-Results: smtp1h.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0 To: bug-auctex@gnu.org From: Leon Meier Subject: ispell fails to detect certain typos Message-ID: <36aff6a9-7d58-d8db-70cc-9c414f483dcc@yandex.ru> Date: Thu, 16 Mar 2017 13:29:41 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) Used packages: - auctex 11.90.0, - emacs 24.3.1 (24.3-22.1 on OpenSuse), - ispell 3.3.02 (3.3.02-113.1 on OpenSuse), - ispell-american (american.aff v 1.23, 3.3.02-113.1 on OpenSuse) Bug description: Create the file q.tex with the following contents (without the square brackets): [ \(\sigma\) contradition %%% Local Variables: %%% ispell-local-dictionary: "american" %%% End: ] Then, open q.tex with emacs when auctex is loaded. Issue M-x ispell-buffer Observe that the typo in the word "contradition" remains unnoticed. With auctex 11.87-11.42, taken from opensuse leap 42.2 by default, the bug is not present: the typo "contradition" is correctly reported. Any bugfix? Thx in advance, Leon From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 16 10:23:01 2017 Received: (at 26125) by debbugs.gnu.org; 16 Mar 2017 14:23:01 +0000 Received: from localhost ([127.0.0.1]:59003 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1coWIv-0006z8-Dc for submit@debbugs.gnu.org; Thu, 16 Mar 2017 10:23:01 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36958) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1coWIt-0006yw-ER for 26125@debbugs.gnu.org; Thu, 16 Mar 2017 10:22:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1coWIl-0001C1-82 for 26125@debbugs.gnu.org; Thu, 16 Mar 2017 10:22:54 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43952) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1coWIl-0001Bw-43; Thu, 16 Mar 2017 10:22:51 -0400 Received: from p54ace4d0.dip0.t-ipconnect.de ([84.172.228.208]:53315 helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1coWIk-0003YV-JR; Thu, 16 Mar 2017 10:22:50 -0400 From: Arash Esbati To: Leon Meier Subject: Re: bug#26125: ispell fails to detect certain typos References: <36aff6a9-7d58-d8db-70cc-9c414f483dcc@yandex.ru> Date: Thu, 16 Mar 2017 15:22:18 +0100 In-Reply-To: <36aff6a9-7d58-d8db-70cc-9c414f483dcc@yandex.ru> (Leon Meier's message of "Thu, 16 Mar 2017 13:29:41 +0100") Message-ID: <86h92tmhd1.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26125 Cc: 26125@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Leon Meier writes: > Used packages: > - auctex 11.90.0, > - emacs 24.3.1 (24.3-22.1 on OpenSuse), > - ispell 3.3.02 (3.3.02-113.1 on OpenSuse), > - ispell-american (american.aff v 1.23, 3.3.02-113.1 on OpenSuse) > > Bug description: > > Create the file q.tex with the following contents (without the square > brackets): > [ > \(\sigma\) contradition > > %%% Local Variables: > %%% ispell-local-dictionary: "american" > %%% End: > ] > > Then, open q.tex with emacs when auctex is loaded. Issue > M-x ispell-buffer > > Observe that the typo in the word "contradition" remains unnoticed. > > With auctex 11.87-11.42, taken from opensuse leap 42.2 by default, the > bug is not present: the typo "contradition" is correctly reported. AUCTeX 11.90 does some additions to `ispell-tex-skip-alists' in order to skip more macro arguments and environments; they are all in tex-ispell.el. The scenario you describe is strange, and I can't tell why it happens. > Any bugfix? I'm not on OpenSuse and don't use ispell (I use Hunspell), but I can offer some possibilities you can try: 1) Try $\sigma$ contradition -- it has the same effect within LaTeX 2) Try \( \sigma \) contradition -- note the spaces around \sigma; same effect, but ugly 3) Eval the form in verbatim environment below and run ispell again: --8<---------------cut here---------------start------------->8--- \documentclass{article} \begin{document} \begin{verbatim} (TeX-ispell-skip-setcar '(("\\\\(" . "\\\\)"))) \end{verbatim} \(\sigma\) contradition $\sigma$ contradition \end{document} --8<---------------cut here---------------end--------------->8--- If it works, I can add it to tex-ispell.el. 4) Disable the new feature by setting `TeX-ispell-extend-skip-list' to nil. HTH. Best, Arash From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 16 10:40:00 2017 Received: (at 26125) by debbugs.gnu.org; 16 Mar 2017 14:40:00 +0000 Received: from localhost ([127.0.0.1]:59020 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1coWZL-0007P5-O4 for submit@debbugs.gnu.org; Thu, 16 Mar 2017 10:40:00 -0400 Received: from forward2p.cmail.yandex.net ([77.88.31.17]:59181) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1coWZJ-0007Oq-FV for 26125@debbugs.gnu.org; Thu, 16 Mar 2017 10:39:58 -0400 Received: from smtp3m.mail.yandex.net (smtp3m.mail.yandex.net [77.88.61.130]) by forward2p.cmail.yandex.net (Yandex) with ESMTP id CD16A21129; Thu, 16 Mar 2017 17:39:50 +0300 (MSK) Received: from smtp3m.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp3m.mail.yandex.net (Yandex) with ESMTP id 67DF82840E2B; Thu, 16 Mar 2017 17:39:49 +0300 (MSK) Received: by smtp3m.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id Vl63TCZpty-dmEqV7bm; Thu, 16 Mar 2017 17:39:49 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1489675189; bh=BuFUhu5eUoC1JUTX7bKUQDEhnBcxFFzz7Sz4z5QeXss=; h=Subject:To:References:From:Message-ID:Date:In-Reply-To; b=ktfKMgRq6BTtbFCJmNEQ7Pw4bD7+ZiaPnrKLFR+RvwKb+N6tYfht3ZCatduDlUA+h SOzgvFnlQXW+JGqcWa2B3EoUSrD4wWXCnWFZByO/zk19tKmkxgnTjsoUuXm5NaPvxx fLzjGmHB0ytALVnIQ2GIrF6weqvQUbA3+NWh72Ao= Authentication-Results: smtp3m.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0,1 0 Subject: Re: bug#26125: ispell fails to detect certain typos To: Arash Esbati , 26125@debbugs.gnu.org References: <36aff6a9-7d58-d8db-70cc-9c414f483dcc@yandex.ru> <86h92tmhd1.fsf@gnu.org> From: Leon Meier Message-ID: <90d0565f-e0a6-00de-3791-17f0cac23716@yandex.ru> Date: Thu, 16 Mar 2017 15:39:48 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <86h92tmhd1.fsf@gnu.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 26125 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) > 1) Try $\sigma$ contradition -- it has the same effect within LaTeX Then ispell complains, which is its correct behavior. > > 2) Try \( \sigma \) contradition -- note the spaces around \sigma; same > effect, but ugly Then ispell also complains, which is also its correct behavior. > > 3) Eval the form in verbatim environment below and run ispell again: > > --8<---------------cut here---------------start------------->8--- > \documentclass{article} > > \begin{document} > > \begin{verbatim} > (TeX-ispell-skip-setcar > '(("\\\\(" . "\\\\)"))) > \end{verbatim} > > \(\sigma\) contradition > > $\sigma$ contradition > > \end{document} > --8<---------------cut here---------------end--------------->8--- I'm not quite sure what you mean. I did M-x eval-expression and pasted (TeX-ispell-skip-setcar '(("\\\\(" . "\\\\)"))) into the minibuffer. After that, ispell complained correctly. > > If it works, I can add it to tex-ispell.el. > > 4) Disable the new feature by setting `TeX-ispell-extend-skip-list' to > nil. After appending (setq TeX-ispell-extend-skip-list nil) to .emacs , ispell complained correctly. Thank you, that helped. The options 1) and 2) are out of question in the long run for legacy latex code with \( and \) you wouldn't like to change. I wouldn't like to run eval-expression each time I start emacs, so 3) is out of question for me now. I guess, 4) could be a current workaround for me. Note that if you replace \sigma by x (or some other Latin letter), ispell also complains correctly, so, per se, \( \) poses a problem only under certain special circumstances. Best, Leon > > HTH. > > Best, Arash > From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 16 11:03:01 2017 Received: (at 26125) by debbugs.gnu.org; 16 Mar 2017 15:03:02 +0000 Received: from localhost ([127.0.0.1]:59030 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1coWvd-0007xs-JY for submit@debbugs.gnu.org; Thu, 16 Mar 2017 11:03:01 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1coWvc-0007xe-EO for 26125@debbugs.gnu.org; Thu, 16 Mar 2017 11:03:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1coWvU-0002QJ-BB for 26125@debbugs.gnu.org; Thu, 16 Mar 2017 11:02:55 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44534) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1coWvU-0002QF-8C; Thu, 16 Mar 2017 11:02:52 -0400 Received: from p54ace4d0.dip0.t-ipconnect.de ([84.172.228.208]:53588 helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1coWvT-0001BN-Oi; Thu, 16 Mar 2017 11:02:52 -0400 From: Arash Esbati To: Leon Meier Subject: Re: bug#26125: ispell fails to detect certain typos References: <36aff6a9-7d58-d8db-70cc-9c414f483dcc@yandex.ru> <86h92tmhd1.fsf@gnu.org> <90d0565f-e0a6-00de-3791-17f0cac23716@yandex.ru> Date: Thu, 16 Mar 2017 16:02:35 +0100 In-Reply-To: <90d0565f-e0a6-00de-3791-17f0cac23716@yandex.ru> (Leon Meier's message of "Thu, 16 Mar 2017 15:39:48 +0100") Message-ID: <86h92tqn78.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26125 Cc: 26125@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Leon Meier writes: >> 1) Try $\sigma$ contradition -- it has the same effect within LaTeX > Then ispell complains, which is its correct behavior. > >> >> 2) Try \( \sigma \) contradition -- note the spaces around \sigma; same >> effect, but ugly > Then ispell also complains, which is also its correct behavior. > >> >> 3) Eval the form in verbatim environment below and run ispell again: >> >> --8<---------------cut here---------------start------------->8--- >> \documentclass{article} >> >> \begin{document} >> >> \begin{verbatim} >> (TeX-ispell-skip-setcar >> '(("\\\\(" . "\\\\)"))) >> \end{verbatim} >> >> \(\sigma\) contradition >> >> $\sigma$ contradition >> >> \end{document} >> --8<---------------cut here---------------end--------------->8--- > I'm not quite sure what you mean. I did > M-x eval-expression > and pasted > (TeX-ispell-skip-setcar '(("\\\\(" . "\\\\)"))) > into the minibuffer. > After that, ispell complained correctly. Yes, that is correct. You also could have put the cursor after the last ) and hit `C-x C-e'. >> 4) Disable the new feature by setting `TeX-ispell-extend-skip-list' to >> nil. > After appending > > (setq TeX-ispell-extend-skip-list nil) > > to .emacs , ispell complained correctly. > > Thank you, that helped. > > The options 1) and 2) are out of question in the long run for legacy > latex code with \( and \) you wouldn't like to change. I wouldn't like > to run eval-expression each time I start emacs, so 3) is out of > question for me now. You can put something like this in your .emacs; then Emacs does it automatically for you: (with-eval-after-load "tex-ispell" (TeX-ispell-skip-setcar '(("\\\\(" . "\\\\)")))) > I guess, 4) could be a current workaround for me. > > Note that if you replace \sigma by x (or some other Latin letter), > ispell also complains correctly, so, per se, \( \) poses a problem > only under certain special circumstances. Many thanks for testing. Indeed, this seems to be an interesting case. At any rate, I will add the solution to tex-ispell.el. You can use the code above until then, and remove it once you have installed the next version. Best, Arash From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 16 11:12:31 2017 Received: (at 26125) by debbugs.gnu.org; 16 Mar 2017 15:12:31 +0000 Received: from localhost ([127.0.0.1]:59042 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1coX4p-0008Eo-LO for submit@debbugs.gnu.org; Thu, 16 Mar 2017 11:12:31 -0400 Received: from forward3h.cmail.yandex.net ([87.250.230.18]:45586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1coX4n-0008Eb-Ng for 26125@debbugs.gnu.org; Thu, 16 Mar 2017 11:12:30 -0400 Received: from smtp1j.mail.yandex.net (smtp1j.mail.yandex.net [95.108.130.59]) by forward3h.cmail.yandex.net (Yandex) with ESMTP id 3563720F76; Thu, 16 Mar 2017 18:12:23 +0300 (MSK) Received: from smtp1j.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1j.mail.yandex.net (Yandex) with ESMTP id A91FF3C8120E; Thu, 16 Mar 2017 18:12:22 +0300 (MSK) Received: by smtp1j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id jLfvJObtLZ-CLp4RHRi; Thu, 16 Mar 2017 18:12:21 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1489677141; bh=TB+E81YXAQRM8+6rgSJJP9Iv+D0vpvMNKdwN+wfhc64=; h=Subject:To:References:Cc:From:Message-ID:Date:In-Reply-To; b=XMbJxiT5AvGLfbBNSeXOwYKoNfJgk+6HeBIh6GSNxgx+3cFc3xTu5HNU3s/Z577Wf spcULZsr/RkTuAOoY10lQcRjqmM0hHKUb3KwT3AhR9YHlfUvDLZAKb851MdVn3/WUz IsKC2PXIGMsF1RV8ypMZxkFaUyD0SKuWUQ1bCGpc= Authentication-Results: smtp1j.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0,1 0 Subject: Re: bug#26125: ispell fails to detect certain typos To: Arash Esbati References: <36aff6a9-7d58-d8db-70cc-9c414f483dcc@yandex.ru> <86h92tmhd1.fsf@gnu.org> <90d0565f-e0a6-00de-3791-17f0cac23716@yandex.ru> <86h92tqn78.fsf@gnu.org> From: Leon Meier Message-ID: Date: Thu, 16 Mar 2017 16:12:20 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <86h92tqn78.fsf@gnu.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 26125 Cc: 26125@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Dear Arash: > You can put something like this in your .emacs; then Emacs does it > automatically for you: > > (with-eval-after-load "tex-ispell" > (TeX-ispell-skip-setcar '(("\\\\(" . "\\\\)")))) These lines in .emacs result in [ Warning (initialization): An error occurred while loading `/home/malkis/.emacs': Symbol's function definition is void: with-eval-after-load To ensure normal operation, you should investigate and remove the cause of the error in your initialization file. Start Emacs with the `--debug-init' option to view a complete error backtrace. ] Feel free to tell me to do more testing for you with the current auctex. (For production purposes I'm going to switch back to the old version shipped with Opensuse 42.2 anyway.) Best, Leon From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 16 11:28:31 2017 Received: (at 26125) by debbugs.gnu.org; 16 Mar 2017 15:28:31 +0000 Received: from localhost ([127.0.0.1]:59054 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1coXKJ-0000BH-ER for submit@debbugs.gnu.org; Thu, 16 Mar 2017 11:28:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58892) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1coXKH-0000B4-1b for 26125@debbugs.gnu.org; Thu, 16 Mar 2017 11:28:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1coXK7-00035b-33 for 26125@debbugs.gnu.org; Thu, 16 Mar 2017 11:28:23 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:44998) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1coXK7-00035X-06; Thu, 16 Mar 2017 11:28:19 -0400 Received: from p54ace4d0.dip0.t-ipconnect.de ([84.172.228.208]:53694 helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1coXK6-0004oE-8m; Thu, 16 Mar 2017 11:28:18 -0400 From: Arash Esbati To: Leon Meier Subject: Re: bug#26125: ispell fails to detect certain typos References: <36aff6a9-7d58-d8db-70cc-9c414f483dcc@yandex.ru> <86h92tmhd1.fsf@gnu.org> <90d0565f-e0a6-00de-3791-17f0cac23716@yandex.ru> <86h92tqn78.fsf@gnu.org> Date: Thu, 16 Mar 2017 16:28:07 +0100 In-Reply-To: (Leon Meier's message of "Thu, 16 Mar 2017 16:12:20 +0100") Message-ID: <86d1dhqm0o.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26125 Cc: 26125@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Leon Meier writes: >> You can put something like this in your .emacs; then Emacs does it >> automatically for you: >> >> (with-eval-after-load "tex-ispell" >> (TeX-ispell-skip-setcar '(("\\\\(" . "\\\\)")))) > > These lines in .emacs result in > > [ > Warning (initialization): An error occurred while loading > `/home/malkis/.emacs': > > Symbol's function definition is void: with-eval-after-load > > To ensure normal operation, you should investigate and remove the > cause of the error in your initialization file. Start Emacs with > the `--debug-init' option to view a complete error backtrace. > ] Sigh, sorry, my bad! `with-eval-after-load' was introduced in Emacs 24.4. Please use the snippet below, it should do the trick: (eval-after-load "tex-ispell" '(TeX-ispell-skip-setcar '(("\\\\(" . "\\\\)")))) > Feel free to tell me to do more testing for you with the current > auctex. (For production purposes I'm going to switch back to the old > version shipped with Opensuse 42.2 anyway.) Thanks for your offer, I really appreciate it! It would be great if you would stick with AUCTeX 11.90 and report any other problems you encounter. 11.87 was released 2012. AUCTeX went through some development since then and has some cool new features. And the parts I haven't touched are bug-free, i.e. 99.99% :-) Best, Arash From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 16 11:38:25 2017 Received: (at 26125) by debbugs.gnu.org; 16 Mar 2017 15:38:25 +0000 Received: from localhost ([127.0.0.1]:59073 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1coXTt-0000R2-8x for submit@debbugs.gnu.org; Thu, 16 Mar 2017 11:38:25 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35195) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1coXTq-0000Qp-Va for 26125@debbugs.gnu.org; Thu, 16 Mar 2017 11:38:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1coXTh-0007dJ-RR for 26125@debbugs.gnu.org; Thu, 16 Mar 2017 11:38:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: * X-Spam-Status: No, score=1.3 required=5.0 tests=BAYES_50,RCVD_IN_SORBS_SPAM, RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45228) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1coXTh-0007d8-PA for 26125@debbugs.gnu.org; Thu, 16 Mar 2017 11:38:13 -0400 Received: from mail-ot0-f173.google.com ([74.125.82.173]:34034) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1coXTh-0002tQ-9p for 26125@debbugs.gnu.org; Thu, 16 Mar 2017 11:38:13 -0400 Received: by mail-ot0-f173.google.com with SMTP id o24so59518891otb.1 for <26125@debbugs.gnu.org>; Thu, 16 Mar 2017 08:38:13 -0700 (PDT) X-Gm-Message-State: AFeK/H0Ou2kTIaxmKIAWwvikmtgA6cECYvkfTLSMk23TwnA11ohifT+MALU4DbUd17mpYxCgfUNRz+Yl+XKGiA== X-Received: by 10.202.244.88 with SMTP id s85mr1529872oih.207.1489678692329; Thu, 16 Mar 2017 08:38:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.157.17.82 with HTTP; Thu, 16 Mar 2017 08:37:32 -0700 (PDT) In-Reply-To: <36aff6a9-7d58-d8db-70cc-9c414f483dcc@yandex.ru> References: <36aff6a9-7d58-d8db-70cc-9c414f483dcc@yandex.ru> From: =?UTF-8?Q?Mos=C3=A8_Giordano?= Date: Thu, 16 Mar 2017 16:37:32 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: bug#26125: ispell fails to detect certain typos To: Leon Meier Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -4.5 (----) X-Debbugs-Envelope-To: 26125 Cc: 26125@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.5 (----) Hi Leon, 2017-03-16 13:29 GMT+01:00 Leon Meier : > Used packages: > - auctex 11.90.0, > - emacs 24.3.1 (24.3-22.1 on OpenSuse), > - ispell 3.3.02 (3.3.02-113.1 on OpenSuse), > - ispell-american (american.aff v 1.23, 3.3.02-113.1 on OpenSuse) > > Bug description: > > Create the file q.tex with the following contents (without the square > brackets): > [ > \(\sigma\) contradition > > %%% Local Variables: > %%% ispell-local-dictionary: "american" > %%% End: > ] > > Then, open q.tex with emacs when auctex is loaded. Issue > M-x ispell-buffer > > Observe that the typo in the word "contradition" remains unnoticed. For the record, I cannot reproduce this on my machine (Debian testing). I have "aspell" as `ispell-program-name', not sure if this is relevant. Bye, Mos=C3=A8 From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 16 11:50:06 2017 Received: (at 26125) by debbugs.gnu.org; 16 Mar 2017 15:50:06 +0000 Received: from localhost ([127.0.0.1]:59086 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1coXfB-0000io-VG for submit@debbugs.gnu.org; Thu, 16 Mar 2017 11:50:06 -0400 Received: from forward4h.cmail.yandex.net ([87.250.230.101]:33315) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1coXfA-0000i5-6j for 26125@debbugs.gnu.org; Thu, 16 Mar 2017 11:50:04 -0400 Received: from smtp2o.mail.yandex.net (smtp2o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::26]) by forward4h.cmail.yandex.net (Yandex) with ESMTP id 68AFC208EC; Thu, 16 Mar 2017 18:49:56 +0300 (MSK) Received: from smtp2o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp2o.mail.yandex.net (Yandex) with ESMTP id 9F10B5080E28; Thu, 16 Mar 2017 18:49:54 +0300 (MSK) Received: by smtp2o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id zsXm8bBrgn-nr6KZULM; Thu, 16 Mar 2017 18:49:53 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1489679393; bh=5HEU2iZTb5SwTT0ThwMgHoXRip29BrZ7fobAvVbPSUM=; h=Subject:To:References:Cc:From:Message-ID:Date:In-Reply-To; b=Ss7VG/vefWh5C8h5VtP6BFczycos9sfBtzs+34r8R3LUvJlIXpg/oZ53eMd7hcLkE V2stRV1Wzjadg7KC41/lmJaDwzt5KO4hPp6wsYLuNrIMuzK1Pa9VdUYJqP7XPJa0dF P/4aM1LSrMbb+3zFiAIuZe7f7/1boAMRhVWO/ZAw= Authentication-Results: smtp2o.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0,1 0 Subject: Re: bug#26125: ispell fails to detect certain typos To: =?UTF-8?Q?Mos=c3=a8_Giordano?= References: <36aff6a9-7d58-d8db-70cc-9c414f483dcc@yandex.ru> From: Leon Meier Message-ID: Date: Thu, 16 Mar 2017 16:49:53 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 26125 Cc: 26125@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) > For the record, I cannot reproduce this on my machine (Debian > testing). I have "aspell" as `ispell-program-name', not sure if this > is relevant. Thank you, Mosè! On the machine on which the bugs occurs, the value of the variable is ispell. Best, Leon From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 16 12:06:06 2017 Received: (at 26125) by debbugs.gnu.org; 16 Mar 2017 16:06:06 +0000 Received: from localhost ([127.0.0.1]:59105 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1coXuf-0001Bw-R0 for submit@debbugs.gnu.org; Thu, 16 Mar 2017 12:06:05 -0400 Received: from forward3m.cmail.yandex.net ([5.255.216.21]:56014) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1coXud-0001BR-Oz for 26125@debbugs.gnu.org; Thu, 16 Mar 2017 12:06:04 -0400 Received: from smtp2m.mail.yandex.net (smtp2m.mail.yandex.net [IPv6:2a02:6b8:0:2519::122]) by forward3m.cmail.yandex.net (Yandex) with ESMTP id 4B0E220D8B; Thu, 16 Mar 2017 19:05:57 +0300 (MSK) Received: from smtp2m.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp2m.mail.yandex.net (Yandex) with ESMTP id DA5482300C08; Thu, 16 Mar 2017 19:05:56 +0300 (MSK) Received: by smtp2m.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id bxBXAzqmSd-5tEeQoCa; Thu, 16 Mar 2017 19:05:55 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1489680355; bh=sP/3GlN7qta2YS1EBQeuTyMQN/N1thoVrKUQFUtF6Vw=; h=Subject:To:References:Cc:From:Message-ID:Date:In-Reply-To; b=oFBiKC4vr9hNbfF8Ln8hBrRtlMGZtbzbz0UpryIr39u4d3IyaXYisrJHw//L8oib7 Z0iSUXpIsP1ztmvsvxcUZmn2kDYE3pzrVzDrIoOCtvaR1qlKS7YspRgukt3PKirOlZ rgqkTaE6LG8BI1NYmELZ63A+GSAbKRyzcwsU/7Q8= Authentication-Results: smtp2m.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0,1 0 Subject: Re: bug#26125: ispell fails to detect certain typos To: Arash Esbati References: <36aff6a9-7d58-d8db-70cc-9c414f483dcc@yandex.ru> <86h92tmhd1.fsf@gnu.org> <90d0565f-e0a6-00de-3791-17f0cac23716@yandex.ru> <86h92tqn78.fsf@gnu.org> <86d1dhqm0o.fsf@gnu.org> From: Leon Meier Message-ID: Date: Thu, 16 Mar 2017 17:05:54 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <86d1dhqm0o.fsf@gnu.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 26125 Cc: 26125@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 03/16/2017 04:28 PM, Arash Esbati wrote: > (eval-after-load "tex-ispell" > '(TeX-ispell-skip-setcar '(("\\\\(" . "\\\\)")))) Dear Arash: I appended this to ~/.gnu-emacs-custom, and made one line out of it (which is a cosmetic change). After restarting emacs on the file in question, ispell-buffer started complaining as it should. Thank you! I could stay with the newer AUCTeX version and test it further, as you suggested. But only if you promise to inform me explicitly via an important-flagged personal e-mail directly to my e-mail address when an AUCTeX update is issued by writing "AUCTeX: adapt your init file" in the subject of your e-mail. Otherwise (e.g., if such an AUCTeX update notice goes down in a stream of dozens of e-mails I am getting daily), I am 100% sure to forget it, and I wouldn't like to risk it. (I'm sorry, I simply cannot rely on my memory that much.) Thank you in advance, Leon From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 16 12:07:46 2017 Received: (at 26125) by debbugs.gnu.org; 16 Mar 2017 16:07:46 +0000 Received: from localhost ([127.0.0.1]:59109 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1coXwI-0001Eq-6G for submit@debbugs.gnu.org; Thu, 16 Mar 2017 12:07:46 -0400 Received: from forward5p.cmail.yandex.net ([77.88.31.20]:39117) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1coXwH-0001Ec-12 for 26125@debbugs.gnu.org; Thu, 16 Mar 2017 12:07:45 -0400 Received: from smtp1o.mail.yandex.net (smtp1o.mail.yandex.net [37.140.190.26]) by forward5p.cmail.yandex.net (Yandex) with ESMTP id 7DAE520274; Thu, 16 Mar 2017 19:07:38 +0300 (MSK) Received: from smtp1o.mail.yandex.net (localhost.localdomain [127.0.0.1]) by smtp1o.mail.yandex.net (Yandex) with ESMTP id 05FB11300471; Thu, 16 Mar 2017 19:07:37 +0300 (MSK) Received: by smtp1o.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id B9J7CWnH7z-7aIKjj9K; Thu, 16 Mar 2017 19:07:36 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1489680456; bh=HKrHpzMvF07yewWrufTTAsd7PX1XQrJDhGbylDNIBjU=; h=Subject:To:References:Cc:From:Message-ID:Date:In-Reply-To; b=LQiUWyGpNU4viL1KERH/AmbdprFWafw8OfkG7hppkiM/2uK4uRLSBfMyIAWFnNJ2L VfcIJCN+T99eWAXlQ4R/EdPbyRTnrMnGmRgTkOFnnQ8wY6Ra7Sl8/epj1fphLlFnUc fftvJBBFbJhmxRdmvMmL9yFJeXYTJrwkjsKAaeHM= Authentication-Results: smtp1o.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0,1 0 Subject: Re: bug#26125: ispell fails to detect certain typos To: Arash Esbati References: <36aff6a9-7d58-d8db-70cc-9c414f483dcc@yandex.ru> <86h92tmhd1.fsf@gnu.org> <90d0565f-e0a6-00de-3791-17f0cac23716@yandex.ru> <86h92tqn78.fsf@gnu.org> <86d1dhqm0o.fsf@gnu.org> From: Leon Meier Message-ID: <60d8e825-7274-885b-8aa2-0d49a07b6259@yandex.ru> Date: Thu, 16 Mar 2017 17:07:35 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 26125 Cc: 26125@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) I feel I have to be more precise: testing whatever you tell me explicitly to test is still ok. From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 16 16:08:09 2017 Received: (at 26125-done) by debbugs.gnu.org; 16 Mar 2017 20:08:09 +0000 Received: from localhost ([127.0.0.1]:59295 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cobgv-0002R3-Fz for submit@debbugs.gnu.org; Thu, 16 Mar 2017 16:08:09 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55709) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cobgt-0002Qh-4z for 26125-done@debbugs.gnu.org; Thu, 16 Mar 2017 16:08:07 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cobgj-0005W5-RK for 26125-done@debbugs.gnu.org; Thu, 16 Mar 2017 16:08:01 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49286) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cobgj-0005W1-O6; Thu, 16 Mar 2017 16:07:57 -0400 Received: from p54ace4d0.dip0.t-ipconnect.de ([84.172.228.208]:54415 helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1cobgj-0001Tf-8F; Thu, 16 Mar 2017 16:07:57 -0400 From: Arash Esbati To: Leon Meier Subject: Re: bug#26125: ispell fails to detect certain typos References: <36aff6a9-7d58-d8db-70cc-9c414f483dcc@yandex.ru> <86h92tmhd1.fsf@gnu.org> <90d0565f-e0a6-00de-3791-17f0cac23716@yandex.ru> <86h92tqn78.fsf@gnu.org> <86d1dhqm0o.fsf@gnu.org> Date: Thu, 16 Mar 2017 21:07:23 +0100 In-Reply-To: (Leon Meier's message of "Thu, 16 Mar 2017 17:05:54 +0100") Message-ID: <861stxq938.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 26125-done Cc: 26125-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Leon Meier writes: > On 03/16/2017 04:28 PM, Arash Esbati wrote: >> (eval-after-load "tex-ispell" >> '(TeX-ispell-skip-setcar '(("\\\\(" . "\\\\)")))) > > I appended this to ~/.gnu-emacs-custom, and made one line out of it > (which is a cosmetic change). After restarting emacs on the file in > question, ispell-buffer started complaining as it should. Thank you! Hi Leon, you're welcome, I'm glad that we have it sorted out. > I could stay with the newer AUCTeX version and test it further, as you > suggested. But only if you promise to inform me explicitly via an > important-flagged personal e-mail directly to my e-mail address when > an AUCTeX update is issued by writing "AUCTeX: adapt your init file" > in the subject of your e-mail. Otherwise (e.g., if such an AUCTeX > update notice goes down in a stream of dozens of e-mails I am getting > daily), I am 100% sure to forget it, and I wouldn't like to risk > it. (I'm sorry, I simply cannot rely on my memory that much.) There are also good news: It doesn't matter if we both forget about that snippet in your .emacs; that piece of code will not break anything when you update your AUCTeX (hopefully from ELPA) with the next release. If you don't want to have that snippet in you .emacs, you can put something like this in your .tex file: %%% Local Variables: %%% mode: latex %%% TeX-master: t %%% ispell-local-dictionary: "american" %%% eval: (TeX-ispell-skip-setcar '(("\\\\(" . "\\\\)"))) %%% End: And you'll get a reminder every time you open the file :-) Please keep on using the latest version and report anything suspicious; this is the best way to fix bugs. For now, I'm closing this report. Best, Arash From unknown Sat Aug 16 16:56:56 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 14 Apr 2017 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator