From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Angelo Graziosi Newsgroups: gmane.emacs.devel Subject: Problem with flyspell? Date: Mon, 19 Jan 2009 17:49:07 +0100 Message-ID: <4974AF03.4050104@alice.it> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1232383775 29070 80.91.229.12 (19 Jan 2009 16:49:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 Jan 2009 16:49:35 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 19 17:50:47 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LOxKm-0003vv-93 for ged-emacs-devel@m.gmane.org; Mon, 19 Jan 2009 17:50:44 +0100 Original-Received: from localhost ([127.0.0.1]:40152 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LOxJV-0004fp-9L for ged-emacs-devel@m.gmane.org; Mon, 19 Jan 2009 11:49:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LOxJQ-0004fV-M2 for emacs-devel@gnu.org; Mon, 19 Jan 2009 11:49:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LOxJO-0004ex-Lp for emacs-devel@gnu.org; Mon, 19 Jan 2009 11:49:20 -0500 Original-Received: from [199.232.76.173] (port=57469 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LOxJO-0004eo-Ix for emacs-devel@gnu.org; Mon, 19 Jan 2009 11:49:18 -0500 Original-Received: from smtp-out114.alice.it ([85.37.17.114]:3617) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LOxJN-0005r8-3x for emacs-devel@gnu.org; Mon, 19 Jan 2009 11:49:17 -0500 Original-Received: from FBCMMO01.fbc.local ([192.168.68.195]) by smtp-out114.alice.it with Microsoft SMTPSVC(6.0.3790.1830); Mon, 19 Jan 2009 17:49:11 +0100 Original-Received: from FBCMCL01B02.fbc.local ([192.168.69.83]) by FBCMMO01.fbc.local with Microsoft SMTPSVC(6.0.3790.3959); Mon, 19 Jan 2009 17:49:15 +0100 Original-Received: from [87.3.197.67] ([87.3.197.67]) by FBCMCL01B02.fbc.local with Microsoft SMTPSVC(6.0.3790.1830); Mon, 19 Jan 2009 17:49:14 +0100 User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) X-OriginalArrivalTime: 19 Jan 2009 16:49:14.0801 (UTC) FILETIME=[DC901A10:01C97A55] X-detected-operating-system: by monty-python.gnu.org: Windows 2000 SP4, XP SP1+ X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:107994 Archived-At: They are a few months I am working on several tex files on which I have enabled flyspell-mode. These file have always been flyspelled correctly using the italian dictionary without I choose it explicitly (I think this happens because I have $LANG == it) I do weekly build of Emacs trunk on Cygwin and the above behaviour has been conserved since many months. Also with the build I did on Jan 12 2009. (This pushed me to make the following theory: flyspell-mode 'see' the 'LANG' env. var. and sets the default dict. accordingly. Right?) The build of few minutes ago has changed this (or my conjecture was false): now all my files are spelled with english dictionary even if Emacs says that (getenv "LANG") is 'it'! I have to set explicitly the 'it' dictionary. Is this new behaviour to be expected? or something changed between 20090112 and today 20090119 ? Oops..., in the lisp/changelog I see: 2009-01-16 Agustín Martín * textmodes/flyspell.el (flyspell-post-command-hook): Do nothing unless flyspell-mode is enabled. (flyspell-pre-point): Make buffer-local. Is it the cause? Cheers, Angelo.