From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Agustin Martin Newsgroups: gmane.emacs.bugs Subject: bug#6143: ispell killing still not fixed Date: Thu, 24 Jun 2010 18:16:24 +0200 Message-ID: <20100624161624.GA12380@agmartin.aq.upm.es> References: <20100624113528.GA18586@agmartin.aq.upm.es> <87sk4cqyo2.fsf@jidanni.org> <20100624152345.GA2865@agmartin.aq.upm.es> <20100624155120.GA12063@agmartin.aq.upm.es> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1277396957 1501 80.91.229.12 (24 Jun 2010 16:29:17 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 24 Jun 2010 16:29:17 +0000 (UTC) To: jidanni@jidanni.org, 6143@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 24 18:29:15 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ORpIh-0000kc-3H for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Jun 2010 18:29:15 +0200 Original-Received: from localhost ([127.0.0.1]:38209 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ORpIg-0007gW-5I for geb-bug-gnu-emacs@m.gmane.org; Thu, 24 Jun 2010 12:29:14 -0400 Original-Received: from [140.186.70.92] (port=58907 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ORpIZ-0007fg-Gh for bug-gnu-emacs@gnu.org; Thu, 24 Jun 2010 12:29:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1ORpIX-0004up-Oa for bug-gnu-emacs@gnu.org; Thu, 24 Jun 2010 12:29:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39800) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ORpIX-0004uj-NB for bug-gnu-emacs@gnu.org; Thu, 24 Jun 2010 12:29:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1ORp6s-00046K-Em; Thu, 24 Jun 2010 12:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Agustin Martin Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Jun 2010 16:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6143 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6143-submit@debbugs.gnu.org id=B6143.127739619315753 (code B ref 6143); Thu, 24 Jun 2010 16:17:02 +0000 Original-Received: (at 6143) by debbugs.gnu.org; 24 Jun 2010 16:16:33 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ORp6O-000462-Qm for submit@debbugs.gnu.org; Thu, 24 Jun 2010 12:16:33 -0400 Original-Received: from edison.ccupm.upm.es ([138.100.4.49]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ORp6M-00045w-Hq for 6143@debbugs.gnu.org; Thu, 24 Jun 2010 12:16:31 -0400 Original-Received: from agmartin.aq.upm.es (Agmartin.aq.upm.es [138.100.41.131]) by edison.ccupm.upm.es (8.13.8/8.13.8) with ESMTP id o5OGGPSP011768; Thu, 24 Jun 2010 18:16:25 +0200 Original-Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id 08D0546487; Thu, 24 Jun 2010 18:16:25 +0200 (CEST) Content-Disposition: inline In-Reply-To: <20100624155120.GA12063@agmartin.aq.upm.es> User-Agent: Mutt/1.5.20 (2009-06-14) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 24 Jun 2010 12:17:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:37976 Archived-At: On Thu, Jun 24, 2010 at 05:51:20PM +0200, Agustin Martin wrote: > On Thu, Jun 24, 2010 at 05:23:45PM +0200, Agustin Martin wrote: > > I am testing attached patch that should make the expanded version to be > > used everywhere. I am testing it along with a dirty hack in .emacs > > > > (setq ispell-local-dictionary "american") > > (load "ispell") > > (setq ispell-program-name "aspell") > > (ispell-set-spellchecker-params) > > (ispell-start-process) > > > > that should start an ispell process. With the attached changes at least > > extra restart seems to be fixed. > > But a further ispell process (triggered from e.g. flyspell) seems to not > use process created by above code but spawn a new one. So, please discard > code above, it does not properly register ispell process. Seems I used the wrong function, something like (setq ispell-local-dictionary "american") (setq ispell-program-name "aspell") (load "ispell") (ispell-set-spellchecker-params) (ispell-init-process) in ~/.emacs seems to work better (together with my patch). A bit ugly, but that may give you the behavior you want. -- Agustin