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 15:20:08 +0200 Message-ID: <20100511132008.GA8625@agmartin.aq.upm.es> References: <87y6ftvphy.fsf@jidanni.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1273588011 5419 80.91.229.12 (11 May 2010 14:26:51 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 11 May 2010 14:26:51 +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 16:26:48 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 1OBqQ4-0006h9-C7 for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 May 2010 16:26:48 +0200 Original-Received: from localhost ([127.0.0.1]:34531 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBqQ3-000433-8Q for geb-bug-gnu-emacs@m.gmane.org; Tue, 11 May 2010 10:26:47 -0400 Original-Received: from [140.186.70.92] (port=57185 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBqPy-00041I-0G for bug-gnu-emacs@gnu.org; Tue, 11 May 2010 10:26:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OBqPv-0005o2-P6 for bug-gnu-emacs@gnu.org; Tue, 11 May 2010 10:26:41 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35411) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBqPv-0005ny-Lg for bug-gnu-emacs@gnu.org; Tue, 11 May 2010 10:26:39 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OBq18-0001e5-Cf; Tue, 11 May 2010 10:01: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 14:01: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.12735864406312 (code B ref 6143); Tue, 11 May 2010 14:01:02 +0000 Original-Received: (at 6143) by debbugs.gnu.org; 11 May 2010 14:00:40 +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 1OBq0l-0001dh-CB for submit@debbugs.gnu.org; Tue, 11 May 2010 10:00:40 -0400 Original-Received: from edison.ccupm.upm.es ([138.100.4.49]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBpNf-0001MG-Ab for 6143@debbugs.gnu.org; Tue, 11 May 2010 09:20:16 -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 o4BDK8dw005486; Tue, 11 May 2010 15:20:08 +0200 Original-Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id B1B85598DC; Tue, 11 May 2010 15:20:08 +0200 (CEST) Content-Disposition: inline In-Reply-To: <87y6ftvphy.fsf@jidanni.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-Mailman-Approved-At: Tue, 11 May 2010 10:00:37 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 11 May 2010 10:01: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:36870 Archived-At: On Sun, May 09, 2010 at 09:21:45AM +0800, jidanni@jidanni.org wrote: > Every time I even do a > S runs the command w3m-search, which is an interactive compiled Lisp > function in `w3m-search.el'. > > I see a > Starting new Ispell process [american] ... > > Looking in *Messages* > Note: file is write protected > Ispell process killed > Starting new Ispell process [american] ... > Mark set > Mark saved where search started [5 times] > Ispell process killed > Starting new Ispell process [american] ... > Ispell process killed > Making completion list... > Scanning for dabbrevs...100% > Starting new Ispell process [american] ... The part of your dotfiles that triggers this is in .emacs-w3m (add-hook 'minibuffer-setup-hook (lambda () (if(string-match "TEXT: \\| search: " (minibuffer-prompt)) (flyspell-mode 1)))) and is related to my changes in bzr:#100056 killing ispell if buffer where ispell process was generated is killed. (partially related to bzr:#100055) 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. This is the reason for ispell process being killed when buffer where it was created is killed. Since you create a buffer (the minibuffer) and a new ispell process for it, this is the behavior you get. Note that this will not happen if in the main buffer you already have an ispell process started for the same language you will use in the minibuffer. Will think about it, but I do not see an easy workaround to take care of both things reliably. Cheers, -- Agustin