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: 24.0.50; don't ispell-kill-ispell over and over Date: Thu, 13 May 2010 13:05:07 +0200 Message-ID: <20100513110507.GA17120@agmartin.aq.upm.es> References: <87y6ftvphy.fsf@jidanni.org> <20100511132008.GA8625@agmartin.aq.upm.es> <20100511151826.GA13569@agmartin.aq.upm.es> <20100512102606.GA12529@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 1273750844 23754 80.91.229.12 (13 May 2010 11:40:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 13 May 2010 11:40:44 +0000 (UTC) To: 6143-done@debbugs.gnu.org, jidanni@jidanni.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 13 13:40:41 2010 connect(): No such file or directory 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 1OCWmP-0002TZ-7E for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 May 2010 13:40:41 +0200 Original-Received: from localhost ([127.0.0.1]:35104 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OCWmO-0003y1-D6 for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 May 2010 07:40:40 -0400 Original-Received: from [140.186.70.92] (port=56878 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OCWYy-0006dX-Br for bug-gnu-emacs@gnu.org; Thu, 13 May 2010 07:26:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OCWYp-0002D2-6H for bug-gnu-emacs@gnu.org; Thu, 13 May 2010 07:26:45 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42450) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCWYp-0002Cx-4U for bug-gnu-emacs@gnu.org; Thu, 13 May 2010 07:26:39 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OCWEs-0007Ef-0v for bug-gnu-emacs@gnu.org; Thu, 13 May 2010 07:06:02 -0400 Resent-From: Agustin Martin Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 May 2010 11:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 6143 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 6143@debbugs.gnu.org, agustin.martin@hispalinux.es Original-Received: via spool by 6143-done@debbugs.gnu.org id=D6143.127374871827801 (code D ref 6143); Thu, 13 May 2010 11:06:01 +0000 Original-Received: (at 6143-done) by debbugs.gnu.org; 13 May 2010 11:05:18 +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 1OCWE9-0007EM-M2 for submit@debbugs.gnu.org; Thu, 13 May 2010 07:05:18 -0400 Original-Received: from edison.ccupm.upm.es ([138.100.4.49]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCWE6-0007EG-OO for 6143-done@debbugs.gnu.org; Thu, 13 May 2010 07:05:15 -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 o4DB57nw011101; Thu, 13 May 2010 13:05:07 +0200 Original-Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id 67C0646211; Thu, 13 May 2010 13:05:07 +0200 (CEST) Content-Disposition: inline In-Reply-To: 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, 13 May 2010 07:06: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:36907 Archived-At: On Wed, May 12, 2010 at 10:28:26AM -0400, Stefan Monnier wrote: > > I am thinking about two possible approaches, one is a compromise, minibuffer > > is somewhat special, so ispell process directory could be set to $HOME only > > when spellchecking minibuffer, and name of buffer where ispell process is > > How about associating ispell processes with default-directories rather > than just with buffers? I.e. share ispell processes between buffers > that share default-directory. That is current behavior unless buffers use different languages for spellchecking or have a set of localwords defined (which may be different for different buffers, needing process restart). > And use $HOME whenever possible > (i.e. when we can determine that there's no local dictionary in > default-directory). Doing this without the kill-ispell-on-kill-buffer machinery may still leave some corner cases. Noticed that this dual personal dictionary behavior seems to be an ispell only feature. If properly handling this is causing more harm than good, it may even be dropped by forcing ispell-process-directory to always be $HOME. Anyway, I have commited a possible fix for jidanni's problem, making parent-dir 'owner' of ispell process in a minibuffer'. Hope this fixes the problem. Closing bug report, -- Agustin