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: Tue, 11 May 2010 17:18:26 +0200 Message-ID: <20100511151826.GA13569@agmartin.aq.upm.es> References: <87y6ftvphy.fsf@jidanni.org> <20100511132008.GA8625@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 1273591607 20312 80.91.229.12 (11 May 2010 15:26:47 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 11 May 2010 15:26:47 +0000 (UTC) To: 6143@debbugs.gnu.org, jidanni@jidanni.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 11 17:26:44 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 1OBrM3-0007pJ-VY for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 May 2010 17:26:44 +0200 Original-Received: from localhost ([127.0.0.1]:60112 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBrM3-0003dC-HY for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 May 2010 11:26:43 -0400 Original-Received: from [140.186.70.92] (port=41509 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBrLp-0003bm-PM for bug-gnu-emacs@gnu.org; Tue, 11 May 2010 11:26:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OBrLn-0008Qt-Ue for bug-gnu-emacs@gnu.org; Tue, 11 May 2010 11:26:29 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44231) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBrLn-0008Qj-SP for bug-gnu-emacs@gnu.org; Tue, 11 May 2010 11:26:27 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OBrJS-0002GC-6A; Tue, 11 May 2010 11:24: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: Tue, 11 May 2010 15:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6143 X-GNU-PR-Package: notemacs X-GNU-PR-Keywords: Original-Received: via spool by 6143-submit@debbugs.gnu.org id=B6143.12735914028677 (code B ref 6143); Tue, 11 May 2010 15:24:02 +0000 Original-Received: (at 6143) by debbugs.gnu.org; 11 May 2010 15:23:22 +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 1OBrIn-0002Ft-B5 for submit@debbugs.gnu.org; Tue, 11 May 2010 11:23:22 -0400 Original-Received: from edison.ccupm.upm.es ([138.100.4.49]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBrE8-0002D5-2l for 6143@debbugs.gnu.org; Tue, 11 May 2010 11:18:32 -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 o4BFIQeB015585; Tue, 11 May 2010 17:18:26 +0200 Original-Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id 4E7B7461DD; Tue, 11 May 2010 17:18:26 +0200 (CEST) Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Mailman-Approved-At: Tue, 11 May 2010 11:23:20 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 11 May 2010 11:24: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:36876 Archived-At: On Tue, May 11, 2010 at 10:40:28AM -0400, Stefan Monnier wrote: > > The reason for that changes is that when emacs visits a file in a removable > > device and an ispell process is launched in that file, ispell process sets > > the dir in the removable device as default dir, so if one switch to other > > buffer outside the removable device and original buffer is killed, unless > > ispell process is restarted (personal dictionary, localwords, different > > language) or just killed, removable device stays bound and cannot be > > unmounted. > > Why not always start the ispell process in the / or $HOME directory? Note that ispell uses the directory where ispell is called as a directory that can contain personal dictionaries in parallel with the possible standard personal dictionary when no explicit personal dictionary is set. Unconditionally changing to $HOME will break this behavior. Using / is not a different option in practice. Since it is not writable, ispell-process-directory will automatically be changed to $HOME. Same for any other non-writable dir. This partially breaks the above for non-writable dirs, but is standard ispell.el behavior for some time. jidanni's report also made me note that if we ever implement buffer based ispell processes (different process associated to every buffer that request it) we will also face jidanni's problem (Thanks Dan). I am still trying to think about something cleaner, or at least about a reasonable workaround. Cheers, -- Agustin