From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Agustin Martin Newsgroups: gmane.emacs.devel Subject: Re: ispell.el, flyspell.el: better ispell/aspell switching Date: Tue, 15 Apr 2008 20:00:42 +0200 Message-ID: <20080415180042.GA5994@agmartin.aq.upm.es> References: <20080404120217.GA7503@agmartin.aq.upm.es> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1208283267 17696 80.91.229.12 (15 Apr 2008 18:14:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Apr 2008 18:14:27 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 15 20:14:45 2008 connect(): Connection refused 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 1JlpTO-0004vv-6O for ged-emacs-devel@m.gmane.org; Tue, 15 Apr 2008 20:01:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JlpSj-0004tQ-SD for ged-emacs-devel@m.gmane.org; Tue, 15 Apr 2008 14:00:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JlpSZ-0004pR-3V for emacs-devel@gnu.org; Tue, 15 Apr 2008 14:00:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JlpSX-0004od-GR for emacs-devel@gnu.org; Tue, 15 Apr 2008 14:00:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JlpSX-0004oa-Ak for emacs-devel@gnu.org; Tue, 15 Apr 2008 14:00:45 -0400 Original-Received: from euler.ccupm.upm.es ([138.100.4.67] helo=smtp.upm.es) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JlpSW-0001hT-Hg for emacs-devel@gnu.org; Tue, 15 Apr 2008 14:00:44 -0400 Original-Received: from mala.aq.upm.es (Agmartin.aq.upm.es [138.100.41.131]) by smtp.upm.es (8.13.8/8.13.8/euler-005) with ESMTP id m3FI0gAq024982; Tue, 15 Apr 2008 20:00:42 +0200 Original-Received: by mala.aq.upm.es (Postfix, from userid 1000) id 8236151C3B; Tue, 15 Apr 2008 20:00:42 +0200 (CEST) Mail-Followup-To: emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: <20080404120217.GA7503@agmartin.aq.upm.es> User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-MIME-Autoconverted: from 8bit to quoted-printable by smtp.upm.es id m3FI0gAq024982 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:95300 Archived-At: On Fri, Apr 04, 2008 at 02:02:17PM +0200, Agustin Martin wrote: > Hi, >=20 > I come back with a rewritten approach for a problem in current ispell.e= l and > flyspell.el when switching spellchecker in an emacs session. >=20 > The problem is as follows, when in an emacs run aspell is used for the = first > time, ispell-dictionary-alist is filled with the aspell values, and if > ispell-program-name is customized or changed to ispell during that emac= s run > it inherits the aspell values, thus failing if there was an aspell entr= y > with the same name. Since ispell is still (rarely) needed for pseudo-en= codings > like [\'a -> =E1] I think this should not happen and all ispell values = should > be restored in such case. Also current behavior is too ispell/aspell > centric, in case support for another spellchecker is ever added. >=20 > In the proposed attached patches ... Any comment? --=20 Agustin