From unknown Fri Jun 20 05:26:11 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#6143 <6143@debbugs.gnu.org> To: bug#6143 <6143@debbugs.gnu.org> Subject: Status: 24.0.50; don't ispell-kill-ispell over and over Reply-To: bug#6143 <6143@debbugs.gnu.org> Date: Fri, 20 Jun 2025 12:26:11 +0000 retitle 6143 24.0.50; don't ispell-kill-ispell over and over reassign 6143 emacs submitter 6143 jidanni@jidanni.org severity 6143 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Sat May 08 21:21:58 2010 Received: (at submit) by debbugs.gnu.org; 9 May 2010 01:21:58 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OAvDS-0006BJ-0Q for submit@debbugs.gnu.org; Sat, 08 May 2010 21:21:58 -0400 Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OAvDP-0006BD-55 for submit@debbugs.gnu.org; Sat, 08 May 2010 21:21:56 -0400 Received: from lists.gnu.org ([199.232.76.165]:59848) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OAvDQ-0002Bg-61 for submit@debbugs.gnu.org; Sat, 08 May 2010 21:21:56 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1OAvDO-0003Cf-Sf for bug-gnu-emacs@gnu.org; Sat, 08 May 2010 21:21:54 -0400 Received: from [140.186.70.92] (port=45141 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OAvDN-0003CK-Gm for bug-gnu-emacs@gnu.org; Sat, 08 May 2010 21:21:54 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OAvDL-0007Mf-Lp for bug-gnu-emacs@gnu.org; Sat, 08 May 2010 21:21:52 -0400 Received: from caiajhbdcaib.dreamhost.com ([208.97.132.81]:36746 helo=homiemail-a3.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OAvDL-0007MT-HA for bug-gnu-emacs@gnu.org; Sat, 08 May 2010 21:21:51 -0400 Received: from jidanni.org (218-163-3-88.dynamic.hinet.net [218.163.3.88]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by homiemail-a3.g.dreamhost.com (Postfix) with ESMTP id 2ECD9C5E1F; Sat, 8 May 2010 18:21:49 -0700 (PDT) From: jidanni@jidanni.org To: bug-gnu-emacs@gnu.org Subject: 24.0.50; don't ispell-kill-ispell over and over Date: Sun, 09 May 2010 09:21:45 +0800 Message-ID: <87y6ftvphy.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -5.3 (-----) X-Debbugs-Envelope-To: submit Cc: emacs-w3m@namazu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.3 (-----) 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] ... Why couldn't things be left as they were? I.e., just let it live. See http://jidanni.org/comp/configuration/ for my dotfiles if curious. From debbugs-submit-bounces@debbugs.gnu.org Tue May 11 10:00:40 2010 Received: (at 6143) by debbugs.gnu.org; 11 May 2010 14:00:40 +0000 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 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 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 Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id B1B85598DC; Tue, 11 May 2010 15:20:08 +0200 (CEST) Date: Tue, 11 May 2010 15:20:08 +0200 From: Agustin Martin To: 6143@debbugs.gnu.org, jidanni@jidanni.org Subject: Re: bug#6143: 24.0.50; don't ispell-kill-ispell over and over Message-ID: <20100511132008.GA8625@agmartin.aq.upm.es> References: <87y6ftvphy.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87y6ftvphy.fsf@jidanni.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: 6143 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 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.3 (-----) 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 From debbugs-submit-bounces@debbugs.gnu.org Tue May 11 10:40:36 2010 Received: (at 6143) by debbugs.gnu.org; 11 May 2010 14:40:36 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBqdQ-0001wX-K8 for submit@debbugs.gnu.org; Tue, 11 May 2010 10:40:36 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBqdO-0001wP-3M for 6143@debbugs.gnu.org; Tue, 11 May 2010 10:40:34 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAOcI6UtLd+Zs/2dsb2JhbACeKnK7U4UQBIwx X-IronPort-AV: E=Sophos;i="4.53,207,1272859200"; d="scan'208";a="63901683" Received: from 75-119-230-108.dsl.teksavvy.com (HELO pastel.home) ([75.119.230.108]) by ironport2-out.pppoe.ca with ESMTP; 11 May 2010 10:40:28 -0400 Received: by pastel.home (Postfix, from userid 20848) id 56E3280B1; Tue, 11 May 2010 10:40:28 -0400 (EDT) From: Stefan Monnier To: Agustin Martin Subject: Re: bug#6143: 24.0.50; don't ispell-kill-ispell over and over Message-ID: References: <87y6ftvphy.fsf@jidanni.org> <20100511132008.GA8625@agmartin.aq.upm.es> Date: Tue, 11 May 2010 10:40:28 -0400 In-Reply-To: <20100511132008.GA8625@agmartin.aq.upm.es> (Agustin Martin's message of "Tue, 11 May 2010 15:20:08 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 6143 Cc: 6143@debbugs.gnu.org, jidanni@jidanni.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > 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? Stefan From debbugs-submit-bounces@debbugs.gnu.org Tue May 11 11:23:22 2010 Received: (at 6143) by debbugs.gnu.org; 11 May 2010 15:23:22 +0000 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 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 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 Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id 4E7B7461DD; Tue, 11 May 2010 17:18:26 +0200 (CEST) Date: Tue, 11 May 2010 17:18:26 +0200 From: Agustin Martin To: 6143@debbugs.gnu.org, jidanni@jidanni.org Subject: Re: bug#6143: 24.0.50; don't ispell-kill-ispell over and over Message-ID: <20100511151826.GA13569@agmartin.aq.upm.es> References: <87y6ftvphy.fsf@jidanni.org> <20100511132008.GA8625@agmartin.aq.upm.es> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: 6143 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 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) 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 From debbugs-submit-bounces@debbugs.gnu.org Wed May 12 08:22:15 2010 Received: (at 6143) by debbugs.gnu.org; 12 May 2010 12:22:15 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCAx4-0004bY-3Z for submit@debbugs.gnu.org; Wed, 12 May 2010 08:22:15 -0400 Received: from edison.ccupm.upm.es ([138.100.4.49]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OC98l-0003Di-7L for 6143@debbugs.gnu.org; Wed, 12 May 2010 06:26:12 -0400 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 o4CAQ7bK027979; Wed, 12 May 2010 12:26:07 +0200 Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id 28BEA8C23E; Wed, 12 May 2010 12:26:07 +0200 (CEST) Date: Wed, 12 May 2010 12:26:07 +0200 From: Agustin Martin To: 6143@debbugs.gnu.org, jidanni@jidanni.org Subject: Re: bug#6143: 24.0.50; don't ispell-kill-ispell over and over Message-ID: <20100512102606.GA12529@agmartin.aq.upm.es> References: <87y6ftvphy.fsf@jidanni.org> <20100511132008.GA8625@agmartin.aq.upm.es> <20100511151826.GA13569@agmartin.aq.upm.es> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100511151826.GA13569@agmartin.aq.upm.es> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 6143 X-Mailman-Approved-At: Wed, 12 May 2010 08:22:12 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) On Tue, May 11, 2010 at 05:18:26PM +0200, Agustin Martin wrote: > I am still trying to think about something cleaner, or at least about a > reasonable workaround. I have been thinking about this, and about a fix that is XEmacs compatible. Although current ispell.el and flyspell.el cannot be used out of the box in XEmacs, I am using for Debian one of the versions before the CVS->bzr migration heavily patched to also work for XEmacs and keep a consistent spellchecking interface across different Emacs flavors. As a matter of fact it is even patched to work with emacs 21.3, but this is something I do not want to maintain any longer. 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 started faked in this specific case, so process is not killed when buffer is killed. Since process is asigned to $HOME no problems are expected when this is done from a buffer in a removable device creating a minibuffer. However, usual ispell behavior will not be fully honoured here, but this is a side use. Something like (if (window-minibuffer-p) (setq ispell-process-directory (expand-file-name "~/") ispell-process-buffer-name " *Minibuffer-1-has-spellcheck-enabled") (setq ispell-process-directory default-directory ispell-process-buffer-name (buffer-name))) The second approach requires a clean and portable way of knowing the parent buffer for the relevant minibuffer. In this case, just naming ispell-process-buffer-name as parent buffer name may work. I currently do not see a good way to do the second, so first approach should be a reasonable compromise. I will test a bit more and commit if no further problems appear. -- Agustin From debbugs-submit-bounces@debbugs.gnu.org Wed May 12 09:31:02 2010 Received: (at 6143) by debbugs.gnu.org; 12 May 2010 13:31:02 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCC1e-00057G-Ko for submit@debbugs.gnu.org; Wed, 12 May 2010 09:31:02 -0400 Received: from mail-fx0-f44.google.com ([209.85.161.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCC1c-00056s-Pz for 6143@debbugs.gnu.org; Wed, 12 May 2010 09:31:01 -0400 Received: by fxm7 with SMTP id 7so55040fxm.3 for <6143@debbugs.gnu.org>; Wed, 12 May 2010 06:30:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=nEaijCl5PGdOjo42PFfJ0oLTiSA+PmpmhZtLdCrIqD4=; b=HPtoZqI61sKZk3A15CbrolgL0/Yvq1cy9ONDPOqo+nAWDWlI9/zvQoAOFZ/jEgOoIQ IMBlpO0KP6vpfd7FTtAdLWwVx3WKSmS/bUBxKHc82MHAElpL4x+dSErgpdSARII5DL+E KZPpL79wwOI6pY3P4Q3biXsxIMIhvKYEh/q3U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=qodllWaqOqvAPcEiv2QOLenMpoeWpQ8H6krjTIspTNmexCBdAAvSS3On3fknsPW4Fa Gi6JvZRhd30FkEA3X6fSxqBaKSCQrkEd0FQnyc8QT6N5Pgh8gvC+GJ/OglvLhEeMdj1v abOiurIhNwbv5mPNU8CZ9veNuCzt15OERhHic= Received: by 10.239.147.196 with SMTP id c4mr732796hbb.82.1273671055098; Wed, 12 May 2010 06:30:55 -0700 (PDT) MIME-Version: 1.0 Received: by 10.239.164.81 with HTTP; Wed, 12 May 2010 06:30:35 -0700 (PDT) In-Reply-To: <20100512102606.GA12529@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> From: Lennart Borgman Date: Wed, 12 May 2010 15:30:35 +0200 Message-ID: Subject: Re: bug#6143: 24.0.50; don't ispell-kill-ispell over and over To: Agustin Martin Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -2.9 (--) X-Debbugs-Envelope-To: 6143 Cc: 6143@debbugs.gnu.org, jidanni@jidanni.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.9 (--) On Wed, May 12, 2010 at 12:26 PM, Agustin Martin wrote: > > The second approach requires a clean and portable way of knowing the > parent buffer for the relevant minibuffer. Can minibuffer-selected-window be used? From debbugs-submit-bounces@debbugs.gnu.org Wed May 12 10:28:34 2010 Received: (at 6143) by debbugs.gnu.org; 12 May 2010 14:28:34 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCCvJ-0005XX-Qd for submit@debbugs.gnu.org; Wed, 12 May 2010 10:28:33 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCCvH-0005XP-U4 for 6143@debbugs.gnu.org; Wed, 12 May 2010 10:28:32 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAAtY6ktMCqBp/2dsb2JhbACeK3K6XoUSBIww X-IronPort-AV: E=Sophos;i="4.53,215,1272859200"; d="scan'208";a="64030802" Received: from 76-10-160-105.dsl.teksavvy.com (HELO pastel.home) ([76.10.160.105]) by ironport2-out.pppoe.ca with ESMTP; 12 May 2010 10:28:26 -0400 Received: by pastel.home (Postfix, from userid 20848) id 0E58880B1; Wed, 12 May 2010 10:28:26 -0400 (EDT) From: Stefan Monnier To: Agustin Martin Subject: Re: bug#6143: 24.0.50; don't ispell-kill-ispell over and over Message-ID: References: <87y6ftvphy.fsf@jidanni.org> <20100511132008.GA8625@agmartin.aq.upm.es> <20100511151826.GA13569@agmartin.aq.upm.es> <20100512102606.GA12529@agmartin.aq.upm.es> Date: Wed, 12 May 2010 10:28:26 -0400 In-Reply-To: <20100512102606.GA12529@agmartin.aq.upm.es> (Agustin Martin's message of "Wed, 12 May 2010 12:26:07 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.5 (--) X-Debbugs-Envelope-To: 6143 Cc: 6143@debbugs.gnu.org, jidanni@jidanni.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.4 (--) > 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. And use $HOME whenever possible (i.e. when we can determine that there's no local dictionary in default-directory). Stefan From debbugs-submit-bounces@debbugs.gnu.org Wed May 12 10:51:02 2010 Received: (at 6143) by debbugs.gnu.org; 12 May 2010 14:51:02 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCDH3-0005iz-BA for submit@debbugs.gnu.org; Wed, 12 May 2010 10:51:02 -0400 Received: from edison.ccupm.upm.es ([138.100.4.49]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OCD1f-0005aV-9K for 6143@debbugs.gnu.org; Wed, 12 May 2010 10:35:08 -0400 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 o4CEZ1qW006600; Wed, 12 May 2010 16:35:01 +0200 Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id 192D746393; Wed, 12 May 2010 16:35:01 +0200 (CEST) Date: Wed, 12 May 2010 16:35:01 +0200 From: Agustin Martin To: 6143@debbugs.gnu.org, jidanni@jidanni.org Subject: Re: bug#6143: 24.0.50; don't ispell-kill-ispell over and over Message-ID: <20100512143500.GA3208@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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: 6143 X-Mailman-Approved-At: Wed, 12 May 2010 10:50:59 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) On Wed, May 12, 2010 at 03:30:35PM +0200, Lennart Borgman wrote: > On Wed, May 12, 2010 at 12:26 PM, Agustin Martin > wrote: > > > > The second approach requires a clean and portable way of knowing the > > parent buffer for the relevant minibuffer. > > Can minibuffer-selected-window be used? Yes, thanks, but not for all. For Emacs 22+ (window-buffer (minibuffer-selected-window)) should extract the needed info. Unfortunately this seems not available for XEmacs. I am afraid I will have to combine both if I want that to be portable, making FSF Emacs use the above and XEmacs fallback to the $HOME way. Thanks for the feedback. Hope to check and commit tomorrow. -- Agustin From debbugs-submit-bounces@debbugs.gnu.org Thu May 13 07:05:18 2010 Received: (at 6143-done) by debbugs.gnu.org; 13 May 2010 11:05:18 +0000 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 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 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 Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id 67C0646211; Thu, 13 May 2010 13:05:07 +0200 (CEST) Date: Thu, 13 May 2010 13:05:07 +0200 From: Agustin Martin To: 6143-done@debbugs.gnu.org, jidanni@jidanni.org Subject: Re: bug#6143: 24.0.50; don't ispell-kill-ispell over and over 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 6143-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) 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 From debbugs-submit-bounces@debbugs.gnu.org Fri May 28 18:28:40 2010 Received: (at 6143) by debbugs.gnu.org; 28 May 2010 22:28:40 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OI82i-00027O-Fs for submit@debbugs.gnu.org; Fri, 28 May 2010 18:28:40 -0400 Received: from caiajhbdccac.dreamhost.com ([208.97.132.202] helo=homiemail-a2.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OI82g-00027G-6D for 6143@debbugs.gnu.org; Fri, 28 May 2010 18:28:38 -0400 Received: from jidanni.org (218-163-3-163.dynamic.hinet.net [218.163.3.163]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by homiemail-a2.g.dreamhost.com (Postfix) with ESMTP id 168E7D26F9 for <6143@debbugs.gnu.org>; Fri, 28 May 2010 15:28:33 -0700 (PDT) From: jidanni@jidanni.org To: 6143@debbugs.gnu.org Subject: Re: bug#6143: closed (Re: bug#6143: 24.0.50; don't ispell-kill-ispell over and over) Date: Fri, 28 May 2010 21:45:16 +0800 References: Message-ID: <87pr0fzocu.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.1 (--) X-Debbugs-Envelope-To: 6143 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.8 (--) As of Debian emacs-snapshot package 1:20100524-1, if one kills the buffer associated with the first ispell process, ispell gets killed with it or something, when it should in fact better live on, so that it need not be created again when a new (even mini-, for me) buffer is born. From debbugs-submit-bounces@debbugs.gnu.org Sun Jun 20 00:47:50 2010 Received: (at 6143) by debbugs.gnu.org; 20 Jun 2010 04:47:50 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OQCRi-0005Yf-AQ for submit@debbugs.gnu.org; Sun, 20 Jun 2010 00:47:50 -0400 Received: from caiajhbdcahe.dreamhost.com ([208.97.132.74] helo=homiemail-a10.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OQCRg-0005YX-2t; Sun, 20 Jun 2010 00:47:48 -0400 Received: from jidanni.org (218-163-1-130.dynamic.hinet.net [218.163.1.130]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a10.g.dreamhost.com (Postfix) with ESMTPSA id BFC6A28005E; Sat, 19 Jun 2010 21:47:43 -0700 (PDT) From: jidanni@jidanni.org To: agustin.martin@hispalinux.es, control@debbugs.gnu.org Subject: ispell killing still not fixed Date: Sun, 20 Jun 2010 12:47:40 +0800 Message-ID: <87bpb65mz7.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 6143 Cc: 6143@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.5 (--) reopen 6143 thanks I'm sorry but this is still not fixed for me as of emacs-snapshot 1:20100619-2 I would be happy if you told me how to workaround it in my http://jidanni.org/comp/configuration/.emacs . From unknown Fri Jun 20 05:26:11 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: Did not alter fixed versions and reopened. Date: Sun, 20 Jun 2010 04:48:02 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # Did not alter fixed versions and reopened. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 21 08:10:15 2010 Received: (at 6143) by debbugs.gnu.org; 21 Jun 2010 12:10:15 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OQfpP-0003m3-Du for submit@debbugs.gnu.org; Mon, 21 Jun 2010 08:10:15 -0400 Received: from edison.ccupm.upm.es ([138.100.4.49]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OQfpL-0003ly-Im for 6143@debbugs.gnu.org; Mon, 21 Jun 2010 08:10:13 -0400 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 o5LCA4Vr006538; Mon, 21 Jun 2010 14:10:04 +0200 Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id A18FE59891; Mon, 21 Jun 2010 14:10:04 +0200 (CEST) Date: Mon, 21 Jun 2010 14:10:04 +0200 From: Agustin Martin To: jidanni@jidanni.org, 6143@debbugs.gnu.org Subject: Re: bug#6143: ispell killing still not fixed Message-ID: <20100621121004.GA15324@agmartin.aq.upm.es> References: <87y6ftvphy.fsf@jidanni.org> <87bpb65mz7.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87bpb65mz7.fsf@jidanni.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -4.9 (----) X-Debbugs-Envelope-To: 6143 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) On Sun, Jun 20, 2010 at 12:47:40PM +0800, jidanni@jidanni.org wrote: > reopen 6143 > thanks > I'm sorry but this is still not fixed for me as of > emacs-snapshot 1:20100619-2 Seems fixed here. It will only happen if main buffer defines an `ispell-local-dictionary' different than default `ispell-local-dictionary', where there is no way to know which language you prefer for spellchecking when in the minibuffer. And process will be restarted if dictionaries are different or there is a change in localwords/not localwords presence. > I would be happy if you told me how to workaround it in > my http://jidanni.org/comp/configuration/.emacs . > (setq ispell-dictionary "american") You should use (setq ispell-local-dictionary "american") in your .emacs file to set global dictionary default. Not sure if this what is triggering the problem at your side. If the problem persists, please attach a minimal file where that problem happens. Cheers, -- Agustin From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 22 22:19:23 2010 Received: (at 6143) by debbugs.gnu.org; 23 Jun 2010 02:19:23 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ORFYg-0004rC-MU for submit@debbugs.gnu.org; Tue, 22 Jun 2010 22:19:23 -0400 Received: from caiajhbdccac.dreamhost.com ([208.97.132.202] helo=homiemail-a5.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ORFYd-0004r7-DO for 6143@debbugs.gnu.org; Tue, 22 Jun 2010 22:19:20 -0400 Received: from homiemail-a5.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a5.g.dreamhost.com (Postfix) with ESMTP id 25D7F704076; Tue, 22 Jun 2010 19:19:15 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:cc:subject :references:date:message-id:mime-version:content-type; q=dns; s= jidanni.org; b=mCkxEP4sgXaEHaew8/3gs89H26IVWevNvmEGdIuWrDL2n7kGb I9D58OHHIXIs+c6Ll0+nV0Qeo9yejXOB1+GYKnd3dxo7/iW/8WshahvbXtDOXuOI 6RO+h1no9UHnlQhtkaxZbFEU++66Eeo1fn0x6eipIKe+rnIXmZo2o/q9/k= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=zWqdzhDhcT0uFlUI1tbxW64K9Os=; b=Q27/Ltsd1tbmW aKbNNse8pQJna6MN9riwFNtiyBWpDfLFSwVp9L63MyEU+2gmaar9BbGo8uSuXuEP CDsffxculdnimKgKT/Q8ALukCj6cqmzqs5m+He3GbycKFYgc4hvu01aV5AcVqnJX Q6KTOzLoI0W9nVtbQO/DgVURjwOCqY= Received: from jidanni.org (218-163-3-10.dynamic.hinet.net [218.163.3.10]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a5.g.dreamhost.com (Postfix) with ESMTPSA id B5DD5704074; Tue, 22 Jun 2010 19:19:14 -0700 (PDT) From: jidanni@jidanni.org To: agustin.martin@hispalinux.es Subject: Re: bug#6143: ispell killing still not fixed References: <20100621121004.GA15324@agmartin.aq.upm.es> Date: Wed, 23 Jun 2010 10:19:12 +0800 Message-ID: <87631abie7.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: 6143 Cc: 6143@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.4 (---) AM> You should use (setq ispell-local-dictionary "american") in your .emacs Done, as you now see in http://jidanni.org/comp/configuration/.emacs However filling form fields in emacs-w3m triggers one-shot ispells still. Isn't there a way to just have one permanent ispell that lives as long as the emacs session? From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 24 07:35:38 2010 Received: (at 6143) by debbugs.gnu.org; 24 Jun 2010 11:35:38 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ORkiY-00029c-3v for submit@debbugs.gnu.org; Thu, 24 Jun 2010 07:35:38 -0400 Received: from edison.ccupm.upm.es ([138.100.4.49]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ORkiV-00029X-IY for 6143@debbugs.gnu.org; Thu, 24 Jun 2010 07:35:36 -0400 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 o5OBZTZC019741; Thu, 24 Jun 2010 13:35:29 +0200 Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id EFCF280AB6; Thu, 24 Jun 2010 13:35:28 +0200 (CEST) Date: Thu, 24 Jun 2010 13:35:28 +0200 From: Agustin Martin To: jidanni@jidanni.org, 6143@debbugs.gnu.org Subject: Re: bug#6143: ispell killing still not fixed Message-ID: <20100624113528.GA18586@agmartin.aq.upm.es> References: <20100621121004.GA15324@agmartin.aq.upm.es> <87631abie7.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87631abie7.fsf@jidanni.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -5.3 (-----) X-Debbugs-Envelope-To: 6143 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) On Wed, Jun 23, 2010 at 10:19:12AM +0800, jidanni@jidanni.org wrote: > AM> You should use (setq ispell-local-dictionary "american") in your .emacs > Done, as you now see in > http://jidanni.org/comp/configuration/.emacs > However filling form fields in emacs-w3m triggers one-shot ispells still. Has this fixed the over and over ispell process restart? If so, that one shot ispell is the expected behavior. ispell process is started first time spellchecking is requested. > Isn't there a way to just have one permanent ispell that lives as long > as the emacs session? There is no reason to open an ispell process at emacs startup unless you really want to do spellchecking. If what you ask is if is possible to unconditionally start an ispell process from your .emacs to avoid it to be restarted later unless really needed, I have always got a single extra restart. Will try to investigate this a bit more. Cheers, -- Agustin From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 24 10:43:21 2010 Received: (at 6143) by debbugs.gnu.org; 24 Jun 2010 14:43:21 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ORneD-0003V0-80 for submit@debbugs.gnu.org; Thu, 24 Jun 2010 10:43:21 -0400 Received: from caiajhbdcbef.dreamhost.com ([208.97.132.145] helo=homiemail-a7.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ORneA-0003Uq-Qg for 6143@debbugs.gnu.org; Thu, 24 Jun 2010 10:43:19 -0400 Received: from homiemail-a7.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a7.g.dreamhost.com (Postfix) with ESMTP id 3E63825C06A; Thu, 24 Jun 2010 07:43:13 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:cc:subject :references:date:message-id:mime-version:content-type; q=dns; s= jidanni.org; b=jguXdHVbpj4FDC2UfxsscLRalJETEW31aZVjsI5FeixAPOEKd OQii8gQvQwisdG3ieV07JL7OdQ1LD5Zk4WlyMVxn5EeLzc8ABG2MR6i/+LfRbqUq bfUVI5NCkj5QmeW5FOOaKJ65LgKUdsgLku5u9NcdeafNoEsRe2u71Ltlzc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=nn6PDR3v+4wY2nyv4Ik8rOOMObs=; b=c2IvAc2Rn1QIj r/DtTJfK00vupFTHihbruvoVrubu5cdXlW3l23zvLxY1mVdTPkAautx5cn7BFSyX DVtbAPdzWsu1ETNi2f8Pn4xo3qDrRRe+ZcRjUKoEjCv5ZSQ3AX+CLElntAvt4VpH BWWYUUrxDMDLUh+wT8NajZiLNeIk8Q= Received: from jidanni.org (218-163-1-202.dynamic.hinet.net [218.163.1.202]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a7.g.dreamhost.com (Postfix) with ESMTPSA id D9F8225C062; Thu, 24 Jun 2010 07:43:12 -0700 (PDT) From: jidanni@jidanni.org To: agustin6martin@gmail.com Subject: Re: bug#6143: ispell killing still not fixed References: <20100624113528.GA18586@agmartin.aq.upm.es> Date: Thu, 24 Jun 2010 22:43:09 +0800 Message-ID: <87sk4cqyo2.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: 6143 Cc: 6143@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.4 (---) AM> Has this fixed the over and over ispell process restart? No. Anyway, as it is hard to detect just what is causing the problem, can we just have a flag, e.g., (setq ispell-never-kill 't) so that once ispell is started, it is never killed until emacs quits. And thus will be detected too, so no second ispell will be started. From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 24 11:23:53 2010 Received: (at 6143) by debbugs.gnu.org; 24 Jun 2010 15:23:53 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ORoHR-0003ky-HD for submit@debbugs.gnu.org; Thu, 24 Jun 2010 11:23:53 -0400 Received: from edison.ccupm.upm.es ([138.100.4.49]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ORoHP-0003kt-PZ for 6143@debbugs.gnu.org; Thu, 24 Jun 2010 11:23:52 -0400 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 o5OFNkZ6008156; Thu, 24 Jun 2010 17:23:46 +0200 Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id 0C9D446487; Thu, 24 Jun 2010 17:23:46 +0200 (CEST) Date: Thu, 24 Jun 2010 17:23:45 +0200 From: Agustin Martin To: jidanni@jidanni.org, 6143@debbugs.gnu.org Subject: Re: bug#6143: ispell killing still not fixed Message-ID: <20100624152345.GA2865@agmartin.aq.upm.es> References: <20100624113528.GA18586@agmartin.aq.upm.es> <87sk4cqyo2.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="7JfCtLOvnd9MIVvH" Content-Disposition: inline In-Reply-To: <87sk4cqyo2.fsf@jidanni.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -4.9 (----) X-Debbugs-Envelope-To: 6143 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) --7JfCtLOvnd9MIVvH Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Jun 24, 2010 at 10:43:09PM +0800, jidanni@jidanni.org wrote: > AM> Has this fixed the over and over ispell process restart? > > No. Anyway, as it is hard to detect just what is causing the problem, > can we just have a flag, e.g., (setq ispell-never-kill 't) so that once > ispell is started, it is never killed until emacs quits. And thus will > be detected too, so no second ispell will be started. I tend to disagree here (but have good news), ispell process should not be restarted unless needed. And if needed should be restarted. Other behavior may make more harm than good and hide underlying problems. The good news are that seems I found the underlying problem (at least for the single extra ispell restart). Directory value, being the same, was sometimes set with unexpanded `~' and sometimes with it expanded, so they looked different to the comparison operator. 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. If I see no further problems I will commit changes soon, so you can test them in your box. Thanks for your feedback, -- Agustin --7JfCtLOvnd9MIVvH Content-Type: text/x-diff; charset=us-ascii Content-Disposition: attachment; filename="ispell.el_expand-default-directory.diff" --- ispell.el.orig 2010-06-24 16:57:52.000000000 +0200 +++ ispell.el 2010-06-24 17:02:22.000000000 +0200 @@ -2622,7 +2622,7 @@ ;; Restart check for personal dictionary is done in ;; `ispell-internal-change-dictionary', called from `ispell-buffer-local-dict' (or (or ispell-local-pdict ispell-personal-dictionary) - (equal ispell-process-directory default-directory))) + (equal ispell-process-directory (expand-file-name default-directory)))) (setq ispell-filter nil ispell-filter-continue nil) ;; may need to restart to select new personal dictionary. (ispell-kill-ispell t) @@ -2638,13 +2638,13 @@ (if (window-minibuffer-p) (if (fboundp 'minibuffer-selected-window) ;; Assign ispell process to parent buffer - (setq ispell-process-directory default-directory + (setq ispell-process-directory (expand-file-name default-directory) ispell-process-buffer-name (window-buffer (minibuffer-selected-window))) ;; Force `ispell-process-directory' to $HOME and use a dummy name (setq ispell-process-directory (expand-file-name "~/") ispell-process-buffer-name " * Minibuffer-has-spellcheck-enabled")) ;; Not in a minibuffer - (setq ispell-process-directory default-directory + (setq ispell-process-directory (expand-file-name default-directory) ispell-process-buffer-name (buffer-name))) (if ispell-async-processp (set-process-filter ispell-process 'ispell-filter)) --7JfCtLOvnd9MIVvH-- From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 24 11:51:29 2010 Received: (at 6143) by debbugs.gnu.org; 24 Jun 2010 15:51:29 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ORoi8-0003vy-QF for submit@debbugs.gnu.org; Thu, 24 Jun 2010 11:51:29 -0400 Received: from edison.ccupm.upm.es ([138.100.4.49]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ORoi6-0003vr-LV for 6143@debbugs.gnu.org; Thu, 24 Jun 2010 11:51:27 -0400 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 o5OFpKYE009968; Thu, 24 Jun 2010 17:51:20 +0200 Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id 9570B46487; Thu, 24 Jun 2010 17:51:20 +0200 (CEST) Date: Thu, 24 Jun 2010 17:51:20 +0200 From: Agustin Martin To: jidanni@jidanni.org, 6143@debbugs.gnu.org Subject: Re: bug#6143: ispell killing still not fixed Message-ID: <20100624155120.GA12063@agmartin.aq.upm.es> References: <20100624113528.GA18586@agmartin.aq.upm.es> <87sk4cqyo2.fsf@jidanni.org> <20100624152345.GA2865@agmartin.aq.upm.es> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100624152345.GA2865@agmartin.aq.upm.es> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: 6143 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) 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. patch included in my previous mail is OK, and should avoid some restarts. Still testing ... -- Agustin From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 24 12:16:33 2010 Received: (at 6143) by debbugs.gnu.org; 24 Jun 2010 16:16:33 +0000 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 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 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 Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id 08D0546487; Thu, 24 Jun 2010 18:16:25 +0200 (CEST) Date: Thu, 24 Jun 2010 18:16:24 +0200 From: Agustin Martin To: jidanni@jidanni.org, 6143@debbugs.gnu.org Subject: Re: bug#6143: ispell killing still not fixed 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100624155120.GA12063@agmartin.aq.upm.es> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: 6143 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.2 (------) 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 From debbugs-submit-bounces@debbugs.gnu.org Thu Jun 24 19:52:28 2010 Received: (at 6143) by debbugs.gnu.org; 24 Jun 2010 23:52:28 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ORwDb-00026z-Ov for submit@debbugs.gnu.org; Thu, 24 Jun 2010 19:52:27 -0400 Received: from mailbigip.dreamhost.com ([208.97.132.5] helo=homiemail-a1.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1ORwDZ-00026s-LV for 6143@debbugs.gnu.org; Thu, 24 Jun 2010 19:52:26 -0400 Received: from homiemail-a1.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a1.g.dreamhost.com (Postfix) with ESMTP id 40B6F34807D; Thu, 24 Jun 2010 16:52:21 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:cc:subject :references:date:message-id:mime-version:content-type; q=dns; s= jidanni.org; b=cxhFXAq1DTAx3PI1I0Ts3AnW1cGM/uOyW4O85r1q/Uo8U7XWB SbgYz9yJanuZvPqDTpiw3pwc/vYdVr1u3uBHekqI6r6uXFrlanPoy8CcI0YDmF0r 6W+cbx8rjXecMRgl2FNeGENZC4SA5FNj6Ent/S/GN+bBtoCT3Tk5K+3tbc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=0mQaFbA34cSVd4Ji8cC8H4vTPC0=; b=oI3LDUtzx5a1X CR+Z6ijeY8TmnQJFBJf5Ei5eviSax7l540htKYy5KajupFSGTmAL64RGCqqN/yeU MTcuUyqwqLh+INPOk2UHcGxRE49xom2k/62DnjPBiS2lhjTB4hHCWRHVpNNueeSz 7KuI3+y0fWXoMPcLxMBnbT90e6A6BU= Received: from jidanni.org (218-163-2-155.dynamic.hinet.net [218.163.2.155]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a1.g.dreamhost.com (Postfix) with ESMTPSA id E0B57348078; Thu, 24 Jun 2010 16:52:20 -0700 (PDT) From: jidanni@jidanni.org To: agustin.martin@hispalinux.es Subject: Re: bug#6143: ispell killing still not fixed References: <20100624161624.GA12380@agmartin.aq.upm.es> Date: Fri, 25 Jun 2010 07:52:17 +0800 Message-ID: <8739wcvvim.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.4 (--) X-Debbugs-Envelope-To: 6143 Cc: 6143@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.4 (--) What I will do is just wait for the next version of emacs-snapshot: *** 1:20100619-2 0 500 http://emacs.orebokech.com sid/main Packages which should contain your fixes. That way I won't need to modify my .emacs file I suppose. From debbugs-submit-bounces@debbugs.gnu.org Fri Jun 25 04:30:59 2010 Received: (at 6143) by debbugs.gnu.org; 25 Jun 2010 08:30:59 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OS4JO-00065q-U3 for submit@debbugs.gnu.org; Fri, 25 Jun 2010 04:30:59 -0400 Received: from edison.ccupm.upm.es ([138.100.4.49]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OS4JM-00065l-Hw for 6143@debbugs.gnu.org; Fri, 25 Jun 2010 04:30:57 -0400 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 o5P8UqkH018277; Fri, 25 Jun 2010 10:30:52 +0200 Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id A6F1280B02; Fri, 25 Jun 2010 10:30:52 +0200 (CEST) Date: Fri, 25 Jun 2010 10:30:52 +0200 From: Agustin Martin To: jidanni@jidanni.org, 6143@debbugs.gnu.org Subject: Re: bug#6143: ispell killing still not fixed Message-ID: <20100625083052.GB3012@agmartin.aq.upm.es> References: <20100624161624.GA12380@agmartin.aq.upm.es> <8739wcvvim.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8739wcvvim.fsf@jidanni.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -6.2 (------) X-Debbugs-Envelope-To: 6143 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) On Fri, Jun 25, 2010 at 07:52:17AM +0800, jidanni@jidanni.org wrote: > What I will do is just wait for the next version of > emacs-snapshot: > *** 1:20100619-2 0 > 500 http://emacs.orebokech.com sid/main Packages > which should contain your fixes. That way I won't need to modify my > .emacs file I suppose. Changes committed (bzr#100641). Not yet closing bug report. Thanks for your feedback, -- Agustin From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 09 22:30:35 2010 Received: (at 6143) by debbugs.gnu.org; 10 Jul 2010 02:30:36 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OXPpr-0001EK-H7 for submit@debbugs.gnu.org; Fri, 09 Jul 2010 22:30:35 -0400 Received: from caiajhbdcbbj.dreamhost.com ([208.97.132.119] helo=homiemail-a2.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OXPpp-0001EC-EA for 6143@debbugs.gnu.org; Fri, 09 Jul 2010 22:30:34 -0400 Received: from homiemail-a2.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a2.g.dreamhost.com (Postfix) with ESMTP id 5CD98280063 for <6143@debbugs.gnu.org>; Fri, 9 Jul 2010 19:30:29 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:from:to :subject:date:message-id:mime-version:content-type; q=dns; s= jidanni.org; b=Zu7VUAHR7RAGVA6++405W9vAMcSrFvGWtDA9IdcqXqhq2AB2k s+n4vub7/NTD1BULt485vJ1TFE6ZmHw5+DZhUOl1wOW/tNE4J3dnd54J2Fs2S3KW p+sxQYh/Lhpqp+rGUQI+QG14J/xI0EvcRjcud+tifr7If4kTXnUaZgbpVc= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:from :to:subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=eb/pUcZCH8FBOkEPVsSqHr9Pk5Q=; b=OnH0gBAn6/A9iI0D KCl0srLQfSGkrHdPaS4ehVkvH0/ShLTlIfi+t+Pi3uQ+7nI33Ii0fkWZIx1J4SlM wDefqPYL3YNms9WUmrKMj6mpmAY4i/klmRYhKk/qekITbkgLp8+IKYz/OPxeB8kG 1qU8LFVdTmd+FobXK09k1HgRSVY= Received: from jidanni.org (220-140-124-26.dynamic.hinet.net [220.140.124.26]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a2.g.dreamhost.com (Postfix) with ESMTPSA id 2195E280062 for <6143@debbugs.gnu.org>; Fri, 9 Jul 2010 19:30:29 -0700 (PDT) From: agustin.martin@hispalinux.es From: jidanni@jidanni.org To: 6143@debbugs.gnu.org Subject: totally not fixed Date: Sat, 10 Jul 2010 10:30:25 +0800 Message-ID: <87y6dk83we.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.6 (--) X-Debbugs-Envelope-To: 6143 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) Sorry, this is totally not fixed as of emacs-snapshot 1:20100705-1. Please send me a workaround that I can put in my .emacs file. It is driving me nuts. Just start the process once for me please. From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 22 15:11:30 2010 Received: (at 6143) by debbugs.gnu.org; 22 Jul 2010 19:11:30 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oc1B3-0002kE-OV for submit@debbugs.gnu.org; Thu, 22 Jul 2010 15:11:29 -0400 Received: from caiajhbdcbbj.dreamhost.com ([208.97.132.119] helo=homiemail-a1.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Oc1B1-0002k9-Eu for 6143@debbugs.gnu.org; Thu, 22 Jul 2010 15:11:28 -0400 Received: from homiemail-a1.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a1.g.dreamhost.com (Postfix) with ESMTP id 7C07834806E; Thu, 22 Jul 2010 12:11:22 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:cc:subject :date:message-id:mime-version:content-type; q=dns; s=jidanni.org ; b=k4IjsMfijhcoV7C/6tnFCF9qnbT5lYBnAJC2DyO6w9jW9YhGXb0wuuddc9uP 1VAZZxmpfwl8hWfSveAnary1ZAf5NT5IofqTUiDiPRlBJcSxaalxKH3UEwevWMEV faOBrIVHPVR1r13TDDvRYmGQ//PnYp8C5oshVScV+zHtj7Q= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:date:message-id:mime-version:content-type; s= jidanni.org; bh=HUmpxSKUOBweOOjjPFvzdfgwzgc=; b=jRez+2BGeFn8hR+E mF/N62gy3Gc+doPFHktgxUielxdSBav8iP1hhTyY5vAiC3C/TLIjWBro1bRYjYuF Fv2TUj2g1GkWFdPIfspHKCvfGDV84hBfMPccfxPhUj7jKi7Eq0jj9WH5nsFxFle8 +WH6UrMM5xZdoSwrO/LFdqwz+pE= Received: from jidanni.org (218-163-2-106.dynamic.hinet.net [218.163.2.106]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a1.g.dreamhost.com (Postfix) with ESMTPSA id 314D834806B; Thu, 22 Jul 2010 12:11:22 -0700 (PDT) From: jidanni@jidanni.org To: 6143@debbugs.gnu.org Subject: 6143 ispell not fixed Date: Fri, 23 Jul 2010 03:11:19 +0800 Message-ID: <871vavtjqg.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: 6143 Cc: agustin.martin@hispalinux.es X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.4 (---) Sorry, this is totally not fixed as of Package: emacs-snapshot Version: 1:20100711-1 Is there any workaround? Thanks. From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 23 07:18:28 2010 Received: (at 6143) by debbugs.gnu.org; 23 Jul 2010 11:18:28 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcGGq-0002AQ-66 for submit@debbugs.gnu.org; Fri, 23 Jul 2010 07:18:28 -0400 Received: from fibonacci.ccupm.upm.es ([138.100.198.70] helo=smtp.upm.es) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcGGn-0002AK-6q for 6143@debbugs.gnu.org; Fri, 23 Jul 2010 07:18:26 -0400 Received: from agmartin.aq.upm.es (Agmartin.aq.upm.es [138.100.41.131]) by smtp.upm.es (8.14.3/8.14.3/fibonacci-001) with ESMTP id o6NBILjH032268; Fri, 23 Jul 2010 13:18:21 +0200 Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id 064A646224; Fri, 23 Jul 2010 13:18:20 +0200 (CEST) Date: Fri, 23 Jul 2010 13:18:20 +0200 From: Agustin Martin To: jidanni@jidanni.org, 6143@debbugs.gnu.org Subject: Re: bug#6143: 6143 ispell not fixed Message-ID: <20100723111820.GA16027@agmartin.aq.upm.es> References: <87y6ftvphy.fsf@jidanni.org> <871vavtjqg.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <871vavtjqg.fsf@jidanni.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -5.4 (-----) X-Debbugs-Envelope-To: 6143 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) On Fri, Jul 23, 2010 at 03:11:19AM +0800, jidanni@jidanni.org wrote: > Sorry, this is totally not fixed as of > Package: emacs-snapshot > Version: 1:20100711-1 > > Is there any workaround? Thanks. I am confused, this is working perfectly for me. Tried with the scratch buffer and a reduced .emacs file containing only (setq ispell-local-dictionary "american") (setq ispell-program-name "aspell") (load "ispell") (ispell-set-spellchecker-params) (ispell-init-process) (add-hook 'minibuffer-setup-hook (lambda () (if(string-match "TEXT: \\| search: " (minibuffer-prompt)) (flyspell-mode 1)))) Does yout file contain something special? -- Agustin From debbugs-submit-bounces@debbugs.gnu.org Fri Jul 23 15:30:25 2010 Received: (at 6143) by debbugs.gnu.org; 23 Jul 2010 19:30:25 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcNwv-0006UA-BZ for submit@debbugs.gnu.org; Fri, 23 Jul 2010 15:30:25 -0400 Received: from caiajhbdcahe.dreamhost.com ([208.97.132.74] helo=homiemail-a1.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcNws-0006U4-Kz for 6143@debbugs.gnu.org; Fri, 23 Jul 2010 15:30:23 -0400 Received: from homiemail-a1.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a1.g.dreamhost.com (Postfix) with ESMTP id 59B5C34806E; Fri, 23 Jul 2010 12:30:20 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:cc:subject :references:date:message-id:mime-version:content-type; q=dns; s= jidanni.org; b=YjXH4XNJcQwaobHH9BkAZGvctOUDUUBLMXMBtj6D9LffZqnbg PCzSISYOLn8gtBYJiqDLJGaHfPYOMGNK9VmxCIpygZLfU/QnWFH/M+o6mcchyWFl maRzXsEZJ/zV6fwZe0pUpXsTFMTdO1mPC3LMEXZbDtZ/F/cBd8OpzqZ700= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=QfSca0Cpejt46fFs9xROzbtEBlU=; b=jItm2KCEdu0/+ 50pD8TQy/zwplGgKm2AIF2ku3r9OJgq7yVCP1hK60KHteoIIibZez9yEMpyAkdqW h+sZML+l0nJPCiYrP7YIhYT8Q/8CYn4GYm3Z2rXFcindDZ9M6ifVcoM0aBaY2fm3 L6xu+KPds5+CSiBbyQO2xFRlceWvoE= Received: from jidanni.org (218-163-4-137.dynamic.hinet.net [218.163.4.137]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a1.g.dreamhost.com (Postfix) with ESMTPSA id 161A834806C; Fri, 23 Jul 2010 12:30:20 -0700 (PDT) From: jidanni@jidanni.org To: agustin.martin@hispalinux.es Subject: Re: bug#6143: 6143 ispell not fixed References: <20100723111820.GA16027@agmartin.aq.upm.es> Date: Sat, 24 Jul 2010 03:30:17 +0800 Message-ID: <87zkxixagm.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -3.4 (---) X-Debbugs-Envelope-To: 6143 Cc: 6143@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.4 (---) I will write back when I can reproduce it with you small file. From debbugs-submit-bounces@debbugs.gnu.org Sat Jul 24 01:35:09 2010 Received: (at 6143) by debbugs.gnu.org; 24 Jul 2010 05:35:09 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcXO9-0002On-FQ for submit@debbugs.gnu.org; Sat, 24 Jul 2010 01:35:09 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OcXO8-0002Oi-Gc for 6143@debbugs.gnu.org; Sat, 24 Jul 2010 01:35:09 -0400 Received: from dann by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OcXO6-0005w3-84; Sat, 24 Jul 2010 01:35:06 -0400 To: jidanni@jidanni.org Subject: Re: bug#6143: 6143 ispell not fixed References: <87y6ftvphy.fsf@jidanni.org> <871vavtjqg.fsf@jidanni.org> From: Dan Nicolaescu X-Debbugs-No-Ack: yes Date: Sat, 24 Jul 2010 01:35:06 -0400 In-Reply-To: <871vavtjqg.fsf@jidanni.org> (jidanni@jidanni.org's message of "Fri\, 23 Jul 2010 03\:11\:19 +0800") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.5 (------) X-Debbugs-Envelope-To: 6143 Cc: agustin.martin@hispalinux.es, 6143@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.5 (------) You can get the "Ispell process killed" message by doing: $ echo $LANG C $ emacs -Q M-: (add-hook 'text-mode-hook 'flyspell-mode) RET C-x C-f A_FILE_UNDER_VERSION_CONTROL_FOR_EXAMPLE_MANAGED_BY_GIT type something C-x v v type something in the log-edit buffer. C-c C-c now look at the *Messages* buffer and see the "Ispell process killed" From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 25 23:54:32 2010 Received: (at 6143) by debbugs.gnu.org; 26 Jul 2010 03:54:32 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdEls-0006Tq-Fx for submit@debbugs.gnu.org; Sun, 25 Jul 2010 23:54:32 -0400 Received: from mx1.spunky.mail.dreamhost.com ([208.97.132.47] helo=homiemail-a62.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdElq-0006Ti-4b for 6143@debbugs.gnu.org; Sun, 25 Jul 2010 23:54:31 -0400 Received: from homiemail-a62.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a62.g.dreamhost.com (Postfix) with ESMTP id 2A02A63406F; Sun, 25 Jul 2010 20:54:34 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:cc:subject :references:date:message-id:mime-version:content-type; q=dns; s= jidanni.org; b=bzspZ+dbyQgsthVE2ViSoVzAml22oGhOAUSZvQm3UHnsdok6q SnycRFAFV0D5+oLFBX2bK8wZYIRInF7As+np36nal8G8KMev65v1qTN9i8Tq0VcW SM1y8i97m0I7IC+XB1U7NABAc2A/SIH+Io/cpeoUTZ7iUIClau0xM+fnBQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=QGlco+apZRM7JBomElOmcgkzUvY=; b=ahT1OstBo4cBT 4SBY79EyulLG5FtO1V4UQ4/NMcP7bzctEdknJb1Zs5KAjAeCeAj9DZ+6pTJuO6Dn Pj+eey3/3nwrL5fA8YpvW93K1NdSyff/lPqXryw6pIZ14ob/butmOPhZ9qxetnlq bPd/rFo2WxTaHypUE+CoxNvYqKrTpM= Received: from jidanni.org (218-163-7-46.dynamic.hinet.net [218.163.7.46]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a62.g.dreamhost.com (Postfix) with ESMTPSA id D623D63406E; Sun, 25 Jul 2010 20:54:33 -0700 (PDT) From: jidanni@jidanni.org To: dann@gnu.org Subject: Re: bug#6143: 6143 ispell not fixed References: Date: Mon, 26 Jul 2010 11:54:29 +0800 Message-ID: <87hbjmdhje.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: 6143 Cc: agustin.martin@hispalinux.es, 6143@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.3 (---) Agustin, what do you say about Dan Nicolaescu's finding? From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 26 05:38:50 2010 Received: (at 6143) by debbugs.gnu.org; 26 Jul 2010 09:38:50 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdK93-0000VI-PT for submit@debbugs.gnu.org; Mon, 26 Jul 2010 05:38:50 -0400 Received: from fibonacci.ccupm.upm.es ([138.100.198.70] helo=smtp.upm.es) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdK91-0000VD-Jo for 6143@debbugs.gnu.org; Mon, 26 Jul 2010 05:38:48 -0400 Received: from agmartin.aq.upm.es (Agmartin.aq.upm.es [138.100.41.131]) by smtp.upm.es (8.14.3/8.14.3/fibonacci-001) with ESMTP id o6Q9cnoE004050; Mon, 26 Jul 2010 11:38:49 +0200 Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id 74C6B46224; Mon, 26 Jul 2010 11:38:49 +0200 (CEST) Date: Mon, 26 Jul 2010 11:38:49 +0200 From: Agustin Martin To: 6143@debbugs.gnu.org Subject: Re: bug#6143: 6143 ispell not fixed Message-ID: <20100726093848.GA3291@agmartin.aq.upm.es> References: <87y6ftvphy.fsf@jidanni.org> <871vavtjqg.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 6143 Cc: jidanni@jidanni.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) On Sat, Jul 24, 2010 at 01:35:06AM -0400, Dan Nicolaescu wrote: > > You can get the "Ispell process killed" message by doing: > > $ echo $LANG > C > $ emacs -Q > M-: (add-hook 'text-mode-hook 'flyspell-mode) RET > > C-x C-f A_FILE_UNDER_VERSION_CONTROL_FOR_EXAMPLE_MANAGED_BY_GIT > type something > C-x v v > type something in the log-edit buffer. > C-c C-c > > now look at the *Messages* buffer and see the "Ispell process killed" Strange, I get a different result (although also with an error), $ LANG=C LC_ALL=C emacs-snapshot -Q & M-: (add-hook 'text-mode-hook 'flyspell-mode) RET C-x C-f A_FILE_UNDER_GIT_VERSION_CONTROL (kkk.txt) type something C-x v v type something in the log-edit buffer. Error during redisplay: (error No match 4 in highlight (4 font-lock-warning-face)) C-c C-c Buffer kkk.txt modified; save it? (y or n) Error during redisplay: (error No match 4 in highlight (4 font-lock-warning-face)) But no ispell process restart. Tested with Debian GNU/Linux emacs-snapshot 20100711 which should contain all recent *spell changes. -- Agustin From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 26 05:59:06 2010 Received: (at 6143) by debbugs.gnu.org; 26 Jul 2010 09:59:06 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdKSg-0000f4-2F for submit@debbugs.gnu.org; Mon, 26 Jul 2010 05:59:06 -0400 Received: from fibonacci.ccupm.upm.es ([138.100.198.70] helo=smtp.upm.es) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdKSd-0000ei-A7 for 6143@debbugs.gnu.org; Mon, 26 Jul 2010 05:59:04 -0400 Received: from agmartin.aq.upm.es (Agmartin.aq.upm.es [138.100.41.131]) by smtp.upm.es (8.14.3/8.14.3/fibonacci-001) with ESMTP id o6Q9x7Hp006970; Mon, 26 Jul 2010 11:59:07 +0200 Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id 2A37D46224; Mon, 26 Jul 2010 11:59:07 +0200 (CEST) Date: Mon, 26 Jul 2010 11:59:07 +0200 From: Agustin Martin To: 6143@debbugs.gnu.org Subject: Re: bug#6143: 6143 ispell not fixed Message-ID: <20100726095907.GA10100@agmartin.aq.upm.es> References: <87y6ftvphy.fsf@jidanni.org> <871vavtjqg.fsf@jidanni.org> <20100726093848.GA3291@agmartin.aq.upm.es> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100726093848.GA3291@agmartin.aq.upm.es> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 6143 Cc: jidanni@jidanni.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) On Mon, Jul 26, 2010 at 11:38:49AM +0200, Agustin Martin wrote: > On Sat, Jul 24, 2010 at 01:35:06AM -0400, Dan Nicolaescu wrote: > > > > You can get the "Ispell process killed" message by doing: > > > > $ echo $LANG > > C > > $ emacs -Q > > M-: (add-hook 'text-mode-hook 'flyspell-mode) RET > > > > C-x C-f A_FILE_UNDER_VERSION_CONTROL_FOR_EXAMPLE_MANAGED_BY_GIT > > type something > > C-x v v > > type something in the log-edit buffer. > > C-c C-c > > > > now look at the *Messages* buffer and see the "Ispell process killed" > > Strange, I get a different result (although also with an error), And more funny, I can reproduce your original problem with last version of dictionaries-common I uploaded to Debian, which contains bleedeng edge *spell.el from FSF Emacs bzr heavily patched to work with XEmacs and some older Emacs flavours (At some time I will try to push the XEmacs stuff into the bzr repo) with no special precautions (In my .emacs file I instruct to enable flyspell mode for text files), $ emacs kkk.txt & C-x v v And process is restarted. This seems to happen only once and I could only reproduce this in this special case. Will try to investigate. -- Agustin From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 26 06:24:59 2010 Received: (at 6143) by debbugs.gnu.org; 26 Jul 2010 10:24:59 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdKri-0001VT-R5 for submit@debbugs.gnu.org; Mon, 26 Jul 2010 06:24:59 -0400 Received: from fibonacci.ccupm.upm.es ([138.100.198.70] helo=smtp.upm.es) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdKrg-0001VL-7W for 6143@debbugs.gnu.org; Mon, 26 Jul 2010 06:24:57 -0400 Received: from agmartin.aq.upm.es (Agmartin.aq.upm.es [138.100.41.131]) by smtp.upm.es (8.14.3/8.14.3/fibonacci-001) with ESMTP id o6QAP0QE010782; Mon, 26 Jul 2010 12:25:00 +0200 Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id 274BA4645C; Mon, 26 Jul 2010 12:25:00 +0200 (CEST) Date: Mon, 26 Jul 2010 12:25:00 +0200 From: Agustin Martin To: 6143@debbugs.gnu.org Subject: Re: bug#6143: 6143 ispell not fixed Message-ID: <20100726102459.GA12069@agmartin.aq.upm.es> References: <87y6ftvphy.fsf@jidanni.org> <871vavtjqg.fsf@jidanni.org> <20100726093848.GA3291@agmartin.aq.upm.es> <20100726095907.GA10100@agmartin.aq.upm.es> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100726095907.GA10100@agmartin.aq.upm.es> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 6143 Cc: jidanni@jidanni.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) On Mon, Jul 26, 2010 at 11:59:07AM +0200, Agustin Martin wrote: > On Mon, Jul 26, 2010 at 11:38:49AM +0200, Agustin Martin wrote: > > On Sat, Jul 24, 2010 at 01:35:06AM -0400, Dan Nicolaescu wrote: > > > > > > You can get the "Ispell process killed" message by doing: > > > > > > $ echo $LANG > > > C > > > $ emacs -Q > > > M-: (add-hook 'text-mode-hook 'flyspell-mode) RET > > > > > > C-x C-f A_FILE_UNDER_VERSION_CONTROL_FOR_EXAMPLE_MANAGED_BY_GIT > > > type something > > > C-x v v > > > type something in the log-edit buffer. > > > C-c C-c > > > > > > now look at the *Messages* buffer and see the "Ispell process killed" > > > > Strange, I get a different result (although also with an error), > > And more funny, I can reproduce your original problem with last version of > dictionaries-common I uploaded to Debian, which contains bleedeng edge > *spell.el from FSF Emacs bzr heavily patched to work with XEmacs and some > older Emacs flavours (At some time I will try to push the XEmacs stuff into > the bzr repo) with no special precautions (In my .emacs file I instruct to > enable flyspell mode for text files), Forgot to mention that along with Emacs 23.2, not with bleeding edge Emacs. -- Agustin From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 26 10:21:40 2010 Received: (at 6143) by debbugs.gnu.org; 26 Jul 2010 14:21:40 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdOYl-0003tw-PX for submit@debbugs.gnu.org; Mon, 26 Jul 2010 10:21:39 -0400 Received: from mailbigip.dreamhost.com ([208.97.132.5] helo=homiemail-a5.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdOYj-0003tr-97 for 6143@debbugs.gnu.org; Mon, 26 Jul 2010 10:21:38 -0400 Received: from homiemail-a5.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a5.g.dreamhost.com (Postfix) with ESMTP id CFFDB70406F; Mon, 26 Jul 2010 07:21:41 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:cc:subject :references:date:message-id:mime-version:content-type; q=dns; s= jidanni.org; b=jD0ADvNM95UtWmMo5Hl3q9Zp1YY6Z1UUlBX735Gz5oX7mRE9Y Bcxu8VVtIrO2cnHfbc7hKhZgnKUhkj22r459CD2tA9uHhwf0oezr/R8luGMXmsPp NcNuN9mdKapeiFRbhDGoyaNaZ0t1ssORnbcEdcd7eaIcbVvcVjwuZrBDOY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=Bzz8VnvYr4s1QglcFdf5TTGZOqY=; b=Lm+mZwUG/0fDc HwL4dW+23Q4se+uTrkLjF/cThuKCM5gdiOFYtfdU3d8XhSRrXJwddz5xbIKJ0nL6 jHBBvYESLSWesIker4pbpcUkpy3/fBhIPIa3rOq9GzeZql5mkdPkiz/fT3jDLWlt YD6fNAJg7I2dnvemKi+WvESPFjaXw8= Received: from jidanni.org (218-163-5-229.dynamic.hinet.net [218.163.5.229]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a5.g.dreamhost.com (Postfix) with ESMTPSA id 64E3D70406E; Mon, 26 Jul 2010 07:21:41 -0700 (PDT) From: jidanni@jidanni.org To: agustin.martin@hispalinux.es Subject: Re: bug#6143: 6143 ispell not fixed References: <20100726102459.GA12069@agmartin.aq.upm.es> Date: Mon, 26 Jul 2010 22:21:37 +0800 Message-ID: <87sk368gsu.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: 6143 Cc: 6143@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.3 (---) So there are so many different outside factors affecting this bug. Therefore you probably need to make a new variable ispell-never-kill, to keep ispell alive, no matter what the outside conditions. Ugly, but needed. From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 27 08:03:33 2010 Received: (at 6143) by debbugs.gnu.org; 27 Jul 2010 12:03:33 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Odisf-0004wO-5s for submit@debbugs.gnu.org; Tue, 27 Jul 2010 08:03:33 -0400 Received: from fibonacci.ccupm.upm.es ([138.100.198.70] helo=smtp.upm.es) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Odisc-0004wH-7V for 6143@debbugs.gnu.org; Tue, 27 Jul 2010 08:03:31 -0400 Received: from agmartin.aq.upm.es (Agmartin.aq.upm.es [138.100.41.131]) by smtp.upm.es (8.14.3/8.14.3/fibonacci-001) with ESMTP id o6RC3ap2009768; Tue, 27 Jul 2010 14:03:36 +0200 Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id B02F14645C; Tue, 27 Jul 2010 14:03:36 +0200 (CEST) Date: Tue, 27 Jul 2010 14:03:36 +0200 From: Agustin Martin To: 6143@debbugs.gnu.org Subject: Re: bug#6143: 6143 ispell not fixed Message-ID: <20100727120336.GA8245@agmartin.aq.upm.es> References: <87y6ftvphy.fsf@jidanni.org> <871vavtjqg.fsf@jidanni.org> <20100726093848.GA3291@agmartin.aq.upm.es> <20100726095907.GA10100@agmartin.aq.upm.es> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100726095907.GA10100@agmartin.aq.upm.es> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 6143 Cc: jidanni@jidanni.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.4 (------) On Mon, Jul 26, 2010 at 11:59:07AM +0200, Agustin Martin wrote: > On Mon, Jul 26, 2010 at 11:38:49AM +0200, Agustin Martin wrote: > > On Sat, Jul 24, 2010 at 01:35:06AM -0400, Dan Nicolaescu wrote: > > > > > > You can get the "Ispell process killed" message by doing: > > > > > > $ echo $LANG > > > C > > > $ emacs -Q > > > M-: (add-hook 'text-mode-hook 'flyspell-mode) RET > > > > > > C-x C-f A_FILE_UNDER_VERSION_CONTROL_FOR_EXAMPLE_MANAGED_BY_GIT > > > type something > > > C-x v v > > > type something in the log-edit buffer. > > > C-c C-c > > > > > > now look at the *Messages* buffer and see the "Ispell process killed" > > > > Strange, I get a different result (although also with an error), > > And more funny, I can reproduce your original problem with last version of > dictionaries-common I uploaded to Debian, which contains bleedeng edge > *spell.el from FSF Emacs bzr heavily patched to work with XEmacs and some > older Emacs flavours (At some time I will try to push the XEmacs stuff into > the bzr repo) with no special precautions (In my .emacs file I instruct to > enable flyspell mode for text files), > > $ emacs kkk.txt & > C-x v v > > And process is restarted. This seems to happen only once and I could only > reproduce this in this special case. Will try to investigate. An even more fun (and desperation), I cannot reproduce this today with the same file and the same emacs23.2 version + ispell.el from Debian dictionaries-common, when I was trying to investigate what was triggering that behavior. Will try to keep an eye on this, -- Agustin From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 27 13:35:00 2010 Received: (at 6143) by debbugs.gnu.org; 27 Jul 2010 17:35:00 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Odo3Q-0007pF-1M for submit@debbugs.gnu.org; Tue, 27 Jul 2010 13:35:00 -0400 Received: from caiajhbdcahe.dreamhost.com ([208.97.132.74] helo=homiemail-a6.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Odo3M-0007p9-NE for 6143@debbugs.gnu.org; Tue, 27 Jul 2010 13:34:57 -0400 Received: from homiemail-a6.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a6.g.dreamhost.com (Postfix) with ESMTP id 6FD8F598076; Tue, 27 Jul 2010 10:35:04 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:cc:subject :references:date:message-id:mime-version:content-type; q=dns; s= jidanni.org; b=RxGLcXNq0FKHVwogDwdNPfviScmmREsu/pTWITUgc326MS4G9 ofYw/Q7z+ltvdVMrm1wJgDN2ZORJ8c7xTTvsHP65/AEsLUvuoXn4XE4Duel0N6rC gaCFAZaWLvhRZ6pEG2LuS5FozrBEN3bPb8iRA29qsmZXcekPoQ2VasjSlQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=sHAX5u+rPCZKdzXmXe86J9UW55M=; b=cDQ0W7YuDOYlz ruE69Jns9lyaX2NdbPQ0a3srEsyzzlbxHPSSqreb3zsVs7zMgKg75CmFa8xOaovU UsAKAX+RBynkR6dd2F5VLqM8KDNZQOEf5jZmj/LxhdaWazERZotjYE0V0uduBesX 4ripOUWeYGAOCvUMnsmV9tap2ZnB6M= Received: from jidanni.org (218-163-2-97.dynamic.hinet.net [218.163.2.97]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a6.g.dreamhost.com (Postfix) with ESMTPSA id 1D4A359806E; Tue, 27 Jul 2010 10:35:04 -0700 (PDT) From: jidanni@jidanni.org To: agustin.martin@hispalinux.es Subject: Re: bug#6143: 6143 ispell not fixed References: <20100727120336.GA8245@agmartin.aq.upm.es> Date: Wed, 28 Jul 2010 01:35:00 +0800 Message-ID: <87wrsgx1yz.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: 6143 Cc: 6143@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.3 (---) >>>>> "AM" == Agustin Martin writes: AM> An even more fun (and desperation), I cannot reproduce this today with the AM> same file and the same emacs See, too many factors. So instead just make a variable that users can turn on: ispell-never-die-once-started, to make it invincible. From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 27 14:16:27 2010 Received: (at 6143) by debbugs.gnu.org; 27 Jul 2010 18:16:27 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdohW-000875-ME for submit@debbugs.gnu.org; Tue, 27 Jul 2010 14:16:27 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdohV-000870-I4 for 6143@debbugs.gnu.org; Tue, 27 Jul 2010 14:16:25 -0400 Received: from dann by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1Odohc-0008Ss-Px; Tue, 27 Jul 2010 14:16:32 -0400 To: Agustin Martin Subject: Re: bug#6143: 6143 ispell not fixed References: <87y6ftvphy.fsf@jidanni.org> <871vavtjqg.fsf@jidanni.org> <20100726093848.GA3291@agmartin.aq.upm.es> From: Dan Nicolaescu X-Debbugs-No-Ack: yes Date: Tue, 27 Jul 2010 14:16:32 -0400 In-Reply-To: <20100726093848.GA3291@agmartin.aq.upm.es> (Agustin Martin's message of "Mon\, 26 Jul 2010 11\:38\:49 +0200") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.5 (------) X-Debbugs-Envelope-To: 6143 Cc: 6143@debbugs.gnu.org, jidanni@jidanni.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.5 (------) Agustin Martin writes: > On Sat, Jul 24, 2010 at 01:35:06AM -0400, Dan Nicolaescu wrote: >> >> You can get the "Ispell process killed" message by doing: >> >> $ echo $LANG >> C >> $ emacs -Q >> M-: (add-hook 'text-mode-hook 'flyspell-mode) RET >> >> C-x C-f A_FILE_UNDER_VERSION_CONTROL_FOR_EXAMPLE_MANAGED_BY_GIT >> type something >> C-x v v >> type something in the log-edit buffer. >> C-c C-c >> >> now look at the *Messages* buffer and see the "Ispell process killed" > > Strange, I get a different result (although also with an error), > > $ LANG=C LC_ALL=C emacs-snapshot -Q & > M-: (add-hook 'text-mode-hook 'flyspell-mode) RET > C-x C-f A_FILE_UNDER_GIT_VERSION_CONTROL (kkk.txt) > type something > C-x v v > type something in the log-edit buffer. > > Error during redisplay: (error No match 4 in highlight (4 font-lock-warning-face)) > > C-c C-c > > Buffer kkk.txt modified; save it? (y or n) Can you try to first edit the kkk.txt file, save it, and then invoke C-x v v ? (No idea if that makes a difference, but...) From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 27 15:04:49 2010 Received: (at 6143) by debbugs.gnu.org; 27 Jul 2010 19:04:50 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdpSL-0008S7-8m for submit@debbugs.gnu.org; Tue, 27 Jul 2010 15:04:49 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdpSH-0008S1-Qo for 6143@debbugs.gnu.org; Tue, 27 Jul 2010 15:04:46 -0400 Received: from dann by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OdpSP-0001hG-C8; Tue, 27 Jul 2010 15:04:53 -0400 To: Agustin Martin Subject: Re: bug#6143: 6143 ispell not fixed References: <87y6ftvphy.fsf@jidanni.org> <871vavtjqg.fsf@jidanni.org> <20100726093848.GA3291@agmartin.aq.upm.es> From: Dan Nicolaescu X-Debbugs-No-Ack: yes Date: Tue, 27 Jul 2010 15:04:53 -0400 In-Reply-To: <20100726093848.GA3291@agmartin.aq.upm.es> (Agustin Martin's message of "Mon\, 26 Jul 2010 11\:38\:49 +0200") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.5 (------) X-Debbugs-Envelope-To: 6143 Cc: 6143@debbugs.gnu.org, jidanni@jidanni.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.5 (------) Agustin Martin writes: > On Sat, Jul 24, 2010 at 01:35:06AM -0400, Dan Nicolaescu wrote: >> >> You can get the "Ispell process killed" message by doing: >> >> $ echo $LANG >> C >> $ emacs -Q >> M-: (add-hook 'text-mode-hook 'flyspell-mode) RET >> >> C-x C-f A_FILE_UNDER_VERSION_CONTROL_FOR_EXAMPLE_MANAGED_BY_GIT >> type something >> C-x v v >> type something in the log-edit buffer. >> C-c C-c >> >> now look at the *Messages* buffer and see the "Ispell process killed" > > Strange, I get a different result (although also with an error), > > $ LANG=C LC_ALL=C emacs-snapshot -Q & > M-: (add-hook 'text-mode-hook 'flyspell-mode) RET > C-x C-f A_FILE_UNDER_GIT_VERSION_CONTROL (kkk.txt) > type something > C-x v v > type something in the log-edit buffer. > > Error during redisplay: (error No match 4 in highlight (4 font-lock-warning-face)) > > C-c C-c > > Buffer kkk.txt modified; save it? (y or n) > Error during redisplay: (error No match 4 in highlight (4 font-lock-warning-face)) > > But no ispell process restart. When I ispell-kill-ispell is invoked the backtrace looks like this: ispell-kill-ispell(t) (if (equal ispell-process-buffer-name (buffer-name)) (ispell-kill-ispell t)) (lambda nil (if (equal ispell-process-buffer-name ...) (ispell-kill-ispell t)))() kill-buffer(#) vc-finish-logentry() call-interactively(vc-finish-logentry) log-edit-done() call-interactively(log-edit-done nil nil) So this is caused by: (add-hook 'kill-buffer-hook '(lambda () (if (equal ispell-process-buffer-name (buffer-name)) (ispell-kill-ispell t)))) ispell-process-buffer-name is "*VC-log*" From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 29 07:41:14 2010 Received: (at 6143) by debbugs.gnu.org; 29 Jul 2010 11:41:14 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OeRU9-0002k3-RN for submit@debbugs.gnu.org; Thu, 29 Jul 2010 07:41:14 -0400 Received: from mail-qw0-f44.google.com ([209.85.216.44]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OeRU7-0002jy-Qt for 6143@debbugs.gnu.org; Thu, 29 Jul 2010 07:41:12 -0400 Received: by qwe5 with SMTP id 5so97071qwe.3 for <6143@debbugs.gnu.org>; Thu, 29 Jul 2010 04:41:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=IGki7mq7IApzfAn+HPaDr3cuuqTIoQlGTqZoXnSLKII=; b=dhRRGoD64AEu8PaSHHxEsXVlszBvelKjgL6/MzQILOYoOSYsah+JOpN3HbB6k9dIgZ 91kJvkYfytwCf3oAe3UV1Xdh4Gzq6YKX2oPcQ18YvmIIQkLXPg2ULBxMbyBw7riMTH7c BuC5QVBNVR7oEhiEMKMMJj3Ye8GDNXWbMV1H8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; b=gcNz48d0rpC/1s0Y1BOEbuCkq0Ysr59lTe5JA8k8dl7J6HeR2jnleoCFnr85bZXZ0D C2WifQm5l2jmP2u7CbWDAek3R3DtyaJhOirbBur2CbJzUoC9CqNxt00v/j1mE9ZXK7Dd u3SNAd0Ns3DFw7+8OAMliY8WKbX7GZzJsK5iI= MIME-Version: 1.0 Received: by 10.224.105.199 with SMTP id u7mr9225038qao.131.1280403682059; Thu, 29 Jul 2010 04:41:22 -0700 (PDT) Received: by 10.229.249.129 with HTTP; Thu, 29 Jul 2010 04:41:21 -0700 (PDT) In-Reply-To: References: <87y6ftvphy.fsf@jidanni.org> <871vavtjqg.fsf@jidanni.org> <20100726093848.GA3291@agmartin.aq.upm.es> Date: Thu, 29 Jul 2010 13:41:21 +0200 X-Google-Sender-Auth: ihRfwO_kNnrCHSr8eDnFg7ynBT4 Message-ID: Subject: Re: bug#6143: 6143 ispell not fixed From: Agustin Martin To: 6143@debbugs.gnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 6143 Cc: jidanni@jidanni.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.3 (-) 2010/7/27 Dan Nicolaescu : > Agustin Martin writes: > >> On Sat, Jul 24, 2010 at 01:35:06AM -0400, Dan Nicolaescu wrote: >>> >>> You can get the "Ispell process killed" message by doing: >>> >>> $ echo $LANG >>> C >>> $ emacs -Q >>> M-: (add-hook 'text-mode-hook =A0 =A0 =A0 'flyspell-mode) RET >>> >>> C-x C-f A_FILE_UNDER_VERSION_CONTROL_FOR_EXAMPLE_MANAGED_BY_GIT >>> type something >>> C-x v v >>> type something in the log-edit buffer. >>> C-c C-c >>> >>> now look at the *Messages* buffer and see the "Ispell process killed" >> >> Strange, I get a different result (although also with an error), >> >> $ LANG=3DC LC_ALL=3DC emacs-snapshot -Q & >> M-: (add-hook 'text-mode-hook =A0 =A0 =A0 'flyspell-mode) RET >> C-x C-f A_FILE_UNDER_GIT_VERSION_CONTROL (kkk.txt) >> type something >> C-x v v >> type something in the log-edit buffer. >> >> =A0 Error during redisplay: (error No match 4 in highlight (4 font-lock-= warning-face)) >> >> C-c C-c >> >> =A0 Buffer kkk.txt modified; save it? (y or n) >> =A0 Error during redisplay: (error No match 4 in highlight (4 font-lock-= warning-face)) >> >> But no ispell process restart. > > When I ispell-kill-ispell is invoked the backtrace looks like this: > > =A0ispell-kill-ispell(t) > =A0(if (equal ispell-process-buffer-name (buffer-name)) (ispell-kill-ispe= ll t)) > =A0(lambda nil (if (equal ispell-process-buffer-name ...) (ispell-kill-is= pell t)))() > =A0kill-buffer(#) > =A0vc-finish-logentry() > =A0call-interactively(vc-finish-logentry) > =A0log-edit-done() > =A0call-interactively(log-edit-done nil nil) > > > So this is caused by: > > (add-hook 'kill-buffer-hook > =A0 =A0 =A0 =A0 =A0 =A0'(lambda () > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 (if (equal ispell-process-buffer-name (bu= ffer-name)) > =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(ispell-kill-ispell t)))) > > > ispell-process-buffer-name is "*VC-log*" Thanks for debugging, Dan I guess your original A_FILE_UNDER_GIT_VERSION_CONTROL file is not a text-mode file. If so, this is the currently expected behavior, do not leave unused ispell processes behind. So, no ispell process is started for initial file, and only when you start the text mode buffer "*VC-log*", an ispell process is started. Since there was no previous process "owned" by a previous buffer, this is killed on buffer kill. Note that I was playing with a text file, so an ispell process is started for it and, since it does not contain neither localwords nor an explicit language different from default, same process is used for "*VC-log*" buffer and is not killed on "*VC-log*" kill since it was initiated from original buffer. That is the difference I find. What happened before for me is that I probably did not use the file as kkk.txt, but as plain kkk. This being too noisy or not is open for discussion, others may argue that leaving unused ispell processes behind is also a bug. I personally do not find this noisy enough. Opinions welcome. If this is considered too noisy and leaving unused ispell processes behind not a problem I think the way to go is to always use "~/" as ispell process directory, so problem with removable media that used the kill-on-kill gets also fixed. Better if there is a not too complicated way of having an exception when Ispell is the spellchecking engine and original directory contains an Ispell directory dictionary for given language. This way if using Ispell, current directory is used as ispell-default-directory only if contains appropriate directory personal dictionary and process is killed on buffer kill only if so (IIRC someone already proposed this, but I do not find original mail). Otherwise we lose support for this Ispell funcionality. Have to think a bit about this. PS: I have been lately with limited time and connectivity. Do not expect something quickly. --=20 Agustin From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 29 09:07:49 2010 Received: (at 6143) by debbugs.gnu.org; 29 Jul 2010 13:07:49 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OeSpw-0003KV-OT for submit@debbugs.gnu.org; Thu, 29 Jul 2010 09:07:48 -0400 Received: from impaqm5.telefonica.net ([213.4.138.5]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OeSpt-0003KP-TF for 6143@debbugs.gnu.org; Thu, 29 Jul 2010 09:07:46 -0400 Received: from IMPmailhost6.adm.correo ([10.20.102.127]) by IMPaqm5.telefonica.net with bizsmtp id nmdu1e00R2kvMAa3Rp7csB; Thu, 29 Jul 2010 15:07:36 +0200 Received: from ceviche.home ([83.61.51.16]) by IMPmailhost6.adm.correo with BIZ IMP id np7b1e0080LyJBX1mp7bhy; Thu, 29 Jul 2010 15:07:36 +0200 X-Brightmail-Tracker: AAAAAA== X-TE-authinfo: authemail="monnier$movistar.es" |auth_email="monnier@movistar.es" X-TE-AcuTerraCos: auth_cuTerraCos="cosuitnetc01" Received: by ceviche.home (Postfix, from userid 20848) id 3E79466361; Thu, 29 Jul 2010 15:07:35 +0200 (CEST) From: Stefan Monnier To: Agustin Martin Subject: Re: bug#6143: 6143 ispell not fixed Message-ID: References: <87y6ftvphy.fsf@jidanni.org> <871vavtjqg.fsf@jidanni.org> <20100726093848.GA3291@agmartin.aq.upm.es> Date: Thu, 29 Jul 2010 15:07:35 +0200 In-Reply-To: (Agustin Martin's message of "Thu, 29 Jul 2010 13:41:21 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 6143 Cc: 6143@debbugs.gnu.org, jidanni@jidanni.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > If this is considered too noisy and leaving unused ispell processes > behind not a problem I think the way to go is to always use "~/" as > ispell process directory, so problem with removable media that used > the kill-on-kill gets also fixed. Better if there is a not too That's the way I would prefer: leaving an ispell process running is not a big deal, especially if it comes with some kind of timeout (so it does get killed if it's unused for more than N minutes). Regarding support for directory-specific dictionaries, I have no strong opinion on this, except that I'd rather not have to pay for it in the case where I don't use it (as is my case, and I expect many people's case as well). Stefan From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 29 16:42:10 2010 Received: (at 6143) by debbugs.gnu.org; 29 Jul 2010 20:42:10 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OeZvd-0006ay-OB for submit@debbugs.gnu.org; Thu, 29 Jul 2010 16:42:09 -0400 Received: from caiajhbdcaid.dreamhost.com ([208.97.132.83] helo=homiemail-a38.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OeZvb-0006ag-LE for 6143@debbugs.gnu.org; Thu, 29 Jul 2010 16:42:08 -0400 Received: from homiemail-a38.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a38.g.dreamhost.com (Postfix) with ESMTP id A068B10AFB0; Thu, 29 Jul 2010 13:42:20 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:cc:subject :references:date:message-id:mime-version:content-type; q=dns; s= jidanni.org; b=NQCgV+EsJjdVhJ7OlS72uoB8/MKuRsa5J1VOBlv9Cwp4BvOzU CqupEK3yDGq64GsEplNHQdgi4jgQlSIC6aOre5+St3Qz175bdv9Rd7GZQpXOwhFL +lE11XYtee1iIDBZNHJUpKlUDSnCcck/yveQPJinGoZI+hbj6sEg44fAo8= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=Fll4IXPfRdXheBIJHC+jTbl1RlY=; b=o56i/t75t2e77 ChufL+y722bl0TzXpQUFuFMp2BiHJ6l32ZqDMbt0pVoxN+QDWNQ/xCRWP0KRA3tq eRLqh/UU4qnFBTYjedpeTyv2gkZBShYDVhBvuAuhJRm+qqHwCcGfgA67J9gHha33 CHY17jHTP+C6RGjp24aXk/e2Q6NX/E= Received: from jidanni.org (218-163-0-53.dynamic.hinet.net [218.163.0.53]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a38.g.dreamhost.com (Postfix) with ESMTPSA id 383EB10AFAA; Thu, 29 Jul 2010 13:42:20 -0700 (PDT) From: jidanni@jidanni.org To: monnier@iro.umontreal.ca Subject: Re: bug#6143: 6143 ispell not fixed References: Date: Fri, 30 Jul 2010 04:42:16 +0800 Message-ID: <87mxta6mvr.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: 6143 Cc: agustin.martin@hispalinux.es, 6143@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.3 (---) Yes it is no big deal for me if an ispell process never dies in emacs once it is started. And I never use .ispell or whatever files per directory. Just stop this awful starting/stopping I see all day that appeared this summer, please. From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 13 10:22:17 2010 Received: (at 6143) by debbugs.gnu.org; 13 Aug 2010 14:22:17 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ojv9E-0001Nb-Lv for submit@debbugs.gnu.org; Fri, 13 Aug 2010 10:22:17 -0400 Received: from caiajhbdcaid.dreamhost.com ([208.97.132.83] helo=homiemail-a6.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Ojv9C-0001NP-EE for 6143@debbugs.gnu.org; Fri, 13 Aug 2010 10:22:15 -0400 Received: from homiemail-a6.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a6.g.dreamhost.com (Postfix) with ESMTP id C1F90598084; Fri, 13 Aug 2010 07:23:05 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:cc:subject :references:date:message-id:mime-version:content-type; q=dns; s= jidanni.org; b=UnTCEMwD4KKaai9H36k2cLGLx2Xvm3hXJXFIRCSeTT2ieqDLG nz02gK1vwaPUM5+wYdI1q1FcQheW3WIVyeg+hjkak140dqAxNvTvbAL5pGtq42TH JvO6dZK+O0md2B03uFI1+urxuBQDvnEeRcAXI/f//bIFYbKdNSJ1qFMpVk= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=ADi58T16u8EbJOLpUgawwRWEvks=; b=YlxOYTjLyDY9D LK/kX257mV77CwMo4zZe+gVK7xIOU0e+ODsXgRBUU9UxQb7BpEa7+jeoZ87PswZL 9otvjn4I25WUhVAIVtOTwm0IbHHdIVBLr094PvrcQvovq5YNxSrTscmOtBX0BPNr G/dUOKmNhsVTP8e408+VkRYlhkSIVc= Received: from jidanni.org (218-163-4-174.dynamic.hinet.net [218.163.4.174]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a6.g.dreamhost.com (Postfix) with ESMTPSA id 6006E598081; Fri, 13 Aug 2010 07:23:04 -0700 (PDT) From: jidanni@jidanni.org To: agustin.martin@hispalinux.es Subject: Re: bug#6143: 6143 ispell not fixed References: <20100723111820.GA16027@agmartin.aq.upm.es> Date: Fri, 13 Aug 2010 22:20:25 +0800 Message-ID: <87hbiy7fx2.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: 6143 Cc: 6143@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.3 (---) Austin, is your email not bouncing? Austin, can you fix the bug? From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 02 08:46:08 2010 Received: (at 6143) by debbugs.gnu.org; 2 Sep 2010 12:46:08 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Or9BA-0003EG-I3 for submit@debbugs.gnu.org; Thu, 02 Sep 2010 08:46:08 -0400 Received: from fibonacci.ccupm.upm.es ([138.100.198.70] helo=smtp.upm.es) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Or9B7-0003Dt-Vc for 6143@debbugs.gnu.org; Thu, 02 Sep 2010 08:46:06 -0400 Received: from agmartin.aq.upm.es (Agmartin.aq.upm.es [138.100.41.131]) by smtp.upm.es (8.14.3/8.14.3/fibonacci-001) with ESMTP id o82CllAH006955; Thu, 2 Sep 2010 14:47:47 +0200 Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id CF768461CA; Thu, 2 Sep 2010 14:47:47 +0200 (CEST) Date: Thu, 2 Sep 2010 14:47:47 +0200 From: Agustin Martin To: 6143@debbugs.gnu.org, jidanni@jidanni.org Subject: Re: bug#6143: 6143 ispell not fixed Message-ID: <20100902124747.GA10288@agmartin.aq.upm.es> References: <87y6ftvphy.fsf@jidanni.org> <871vavtjqg.fsf@jidanni.org> <20100726093848.GA3291@agmartin.aq.upm.es> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -5.1 (-----) X-Debbugs-Envelope-To: 6143 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) On Thu, Jul 29, 2010 at 03:07:35PM +0200, Stefan Monnier wrote: > > If this is considered too noisy and leaving unused ispell processes > > behind not a problem I think the way to go is to always use "~/" as > > ispell process directory, so problem with removable media that used > > the kill-on-kill gets also fixed. Better if there is a not too > > That's the way I would prefer: leaving an ispell process running is not > a big deal, especially if it comes with some kind of timeout (so it > does get killed if it's unused for more than N minutes). > > Regarding support for directory-specific dictionaries, I have no strong > opinion on this, except that I'd rather not have to pay for it in the > case where I don't use it (as is my case, and I expect many people's > case as well). I have just commited a change that should use "~/" as default-directory unless Ispell per-directory personal dicts are used and not in a minibuffer under XEmacs. kill-on-exit is no longer done if ispell-process directory is "~/", so I expect this to achieve the best of both worlds. diff looks large because of re-indenting (a new let* is added), but changes are smaller. Hope this is a better approach to the problem. Will wait for further testing (cross fingers) before closing the bug report. Thanks all for the feedback. -- Agustin From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 02 09:08:11 2010 Received: (at 6143) by debbugs.gnu.org; 2 Sep 2010 13:08:11 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Or9WV-0003NB-0c for submit@debbugs.gnu.org; Thu, 02 Sep 2010 09:08:11 -0400 Received: from caiajhbdcbef.dreamhost.com ([208.97.132.145] helo=homiemail-a4.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Or9WS-0003N6-G0 for 6143@debbugs.gnu.org; Thu, 02 Sep 2010 09:08:09 -0400 Received: from homiemail-a4.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a4.g.dreamhost.com (Postfix) with ESMTP id 31B9151C074; Thu, 2 Sep 2010 06:09:51 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=date:from:to:cc :subject:message-id:references:mime-version:content-type: in-reply-to; q=dns; s=jidanni.org; b=JEqGrvbj7RBx9xe5YdIgxQARvJj BYQYz/rOnXG1zphL8e9ZPdAnL86W3x7VplM/dUUXsiDi7MP7rSha0F/r3/IaQ2fj 8Psrwxn7Q2/XWTCGdGS5rBnYYeUAY1IUeJYr6iv9519eyVwrT1rh7CyMIuMZwrGC /IoTWFErKO+fYE10= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=date:from :to:cc:subject:message-id:references:mime-version:content-type: in-reply-to; s=jidanni.org; bh=vVnHfbosZ0i7Awvq1LiAZlLTVlA=; b=c obwU8zE6C2DtsuYEqmF67CtH2C4DZ6Rx6iBv7HmlB+h/v3a9SoeBC1ONUZhay+mG peGFFJ3deArd2/d7KFOKjqw7hWz3X0ek3jiIbAazKCdsIhWd5IR17V2BfGb9+PuY tKR0acy8uvL3ZSrwDE7RlisZ+FAy+sd/eiVcafqLtY= Received: from jidanni.org (218-163-5-101.dynamic.hinet.net [218.163.5.101]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a4.g.dreamhost.com (Postfix) with ESMTPSA id CB11651C06C; Thu, 2 Sep 2010 06:09:50 -0700 (PDT) Date: Thu, 2 Sep 2010 21:03:57 +0800 From: jidanni@jidanni.org To: Agustin Martin Subject: Re: bug#6143: 6143 ispell not fixed Message-ID: <20100902130356.GA3436@jidanni.org> References: <87y6ftvphy.fsf@jidanni.org> <871vavtjqg.fsf@jidanni.org> <20100726093848.GA3291@agmartin.aq.upm.es> <20100902124747.GA10288@agmartin.aq.upm.es> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100902124747.GA10288@agmartin.aq.upm.es> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: 6143 Cc: 6143@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.3 (---) Thanks. I'll get your change in the next Debian emacs-snapshot. From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 02 11:59:53 2010 Received: (at 6143) by debbugs.gnu.org; 2 Sep 2010 15:59:53 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OrCCe-00058l-SA for submit@debbugs.gnu.org; Thu, 02 Sep 2010 11:59:53 -0400 Received: from impaqm5.telefonica.net ([213.4.138.5]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OrCCc-00058d-Pc for 6143@debbugs.gnu.org; Thu, 02 Sep 2010 11:59:51 -0400 Received: from IMPmailhost5.adm.correo ([10.20.102.126]) by IMPaqm5.telefonica.net with bizsmtp id 1pDC1f00N2jdgqJ3Rs1BVm; Thu, 02 Sep 2010 18:01:11 +0200 Received: from ceviche.home ([88.9.47.113]) by IMPmailhost5.adm.correo with BIZ IMP id 1s1A1f00A2SXESY1ls1A7s; Thu, 02 Sep 2010 18:01:11 +0200 X-Brightmail-Tracker: AAAAAA== X-TE-authinfo: authemail="monnier$movistar.es" |auth_email="monnier@movistar.es" X-TE-AcuTerraCos: auth_cuTerraCos="cosuitnetc01" Received: by ceviche.home (Postfix, from userid 20848) id 1BEA1660DF; Thu, 2 Sep 2010 18:01:10 +0200 (CEST) From: Stefan Monnier To: Agustin Martin Subject: Re: bug#6143: 6143 ispell not fixed Message-ID: References: <87y6ftvphy.fsf@jidanni.org> <871vavtjqg.fsf@jidanni.org> <20100726093848.GA3291@agmartin.aq.upm.es> <20100902124747.GA10288@agmartin.aq.upm.es> Date: Thu, 02 Sep 2010 18:01:10 +0200 In-Reply-To: <20100902124747.GA10288@agmartin.aq.upm.es> (Agustin Martin's message of "Thu, 2 Sep 2010 14:47:47 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -2.0 (--) X-Debbugs-Envelope-To: 6143 Cc: 6143@debbugs.gnu.org, jidanni@jidanni.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.0 (--) > I have just commited a change that should use "~/" as default-directory > unless Ispell per-directory personal dicts are used and not in a minibuffer > under XEmacs. Could you explain (ideally in a comment in the code) why the minibuffer case is important, why we distinguish the Emacs-vs-XEmacs cases, and why we use (fboundp 'minibuffer-selected-window) rather than (featurep 'xemacs) to check whether we're in XEmacs (I see this use comes from the earlier code, but maybe it's an opportunity to change it, since (featurep 'xemacs) is treated specially by the byte-compiler to generate more efficient code and to avoid spurious warnings). Stefan From debbugs-submit-bounces@debbugs.gnu.org Fri Sep 03 06:17:40 2010 Received: (at 6143) by debbugs.gnu.org; 3 Sep 2010 10:17:40 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OrTL2-0004TD-Fn for submit@debbugs.gnu.org; Fri, 03 Sep 2010 06:17:40 -0400 Received: from fibonacci.ccupm.upm.es ([138.100.198.70] helo=smtp.upm.es) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OrTKz-0004T7-VP for 6143@debbugs.gnu.org; Fri, 03 Sep 2010 06:17:38 -0400 Received: from agmartin.aq.upm.es (Agmartin.aq.upm.es [138.100.41.131]) by smtp.upm.es (8.14.3/8.14.3/fibonacci-001) with ESMTP id o83AJMIX003023; Fri, 3 Sep 2010 12:19:22 +0200 Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id 22009461CA; Fri, 3 Sep 2010 12:19:22 +0200 (CEST) Date: Fri, 3 Sep 2010 12:19:22 +0200 From: Agustin Martin To: 6143@debbugs.gnu.org Subject: Re: bug#6143: 6143 ispell not fixed Message-ID: <20100903101921.GA3217@agmartin.aq.upm.es> References: <87y6ftvphy.fsf@jidanni.org> <871vavtjqg.fsf@jidanni.org> <20100726093848.GA3291@agmartin.aq.upm.es> <20100902124747.GA10288@agmartin.aq.upm.es> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -6.3 (------) X-Debbugs-Envelope-To: 6143 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.3 (------) On Thu, Sep 02, 2010 at 06:01:10PM +0200, Stefan Monnier wrote: > > I have just commited a change that should use "~/" as default-directory > > unless Ispell per-directory personal dicts are used and not in a minibuffer > > under XEmacs. > > Could you explain (ideally in a comment in the code) why the minibuffer > case is important, Minibuffer case is now a very marginal case which will currently appear only when directory-specific dictionaries are used under Ispell, and someone tries to spell-check stuff in the minibuffer (like jidanni did for FSF Emacs). Without the change, in that very marginal case, everytime the minibuffer is closed ispell process will be killed. > why we distinguish the Emacs-vs-XEmacs cases, I try to introduce as few XEmacs incompatibilities as possible, even if current ispell.el and flyspell.el do not work under XEmacs. I still use FSF Emacs ispell.el and flyspell.el as base for Debian, patched so they work even with XEmacs. I'd ideally like to decrease the number of Debian changes added just for XEmacs compatibility by committing some of them to bzr repo. Also, since most of the Debian changes are already committed to FSF Emacs bzr repo, I'd like to sit down and see what else is needed for FSF Emacs ispell.el and flyspell.el to be integrated with our Debian dictionary registration mechanism. If that seems of enough wide use, I'd like to push changes to bzr. I have some other changes pushed to Debian that should go into FSF Emacs repo (I sometimes try things first in Debian). > and why > we use (fboundp 'minibuffer-selected-window) rather than (featurep > 'xemacs) to check whether we're in XEmacs (I see this use comes > from the earlier code, but maybe it's an opportunity to change it, > since (featurep 'xemacs) is treated specially by the byte-compiler to > generate more efficient code and to avoid spurious warnings). Someone asked Stephen Turnbull if it was posible to implement `minibuffer-selected-window' in XEmacs and he asked for code. So, I left that possibility open. Unless is a known design choice, I usually prefer to check for variable/function availability, in case that is later implemented. -- Agustin From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 26 06:16:49 2010 Received: (at 6143) by debbugs.gnu.org; 26 Oct 2010 10:16:49 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PAgaG-00005b-OH for submit@debbugs.gnu.org; Tue, 26 Oct 2010 06:16:48 -0400 Received: from fibonacci.ccupm.upm.es ([138.100.198.70] helo=smtp.upm.es) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PAgaD-00005U-EQ for 6143@debbugs.gnu.org; Tue, 26 Oct 2010 06:16:46 -0400 Received: from agmartin.aq.upm.es (Agmartin.aq.upm.es [138.100.41.131]) by smtp.upm.es (8.14.3/8.14.3/fibonacci-001) with ESMTP id o9QAKlIw030590; Tue, 26 Oct 2010 12:20:47 +0200 Received: by agmartin.aq.upm.es (Postfix, from userid 1000) id 139D346348; Tue, 26 Oct 2010 12:20:47 +0200 (CEST) Date: Tue, 26 Oct 2010 12:20:47 +0200 From: Agustin Martin To: jidanni@jidanni.org, 6143@debbugs.gnu.org Subject: Re: bug#6143: ispell killing still not fixed Message-ID: <20101026102046.GA5094@agmartin.aq.upm.es> References: <87y6ftvphy.fsf@jidanni.org> <871vavtjqg.fsf@jidanni.org> <20100726093848.GA3291@agmartin.aq.upm.es> <20100902124747.GA10288@agmartin.aq.upm.es> <20100902130356.GA3436@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100902130356.GA3436@jidanni.org> User-Agent: Mutt/1.5.20 (2009-06-14) X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: 6143 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) On Thu, Sep 02, 2010 at 09:03:57PM +0800, jidanni@jidanni.org wrote: > On Thu, Sep 02, 2010 at 02:47:47PM +0200, Agustin Martin wrote: > > I have just commited a change that should use "~/" as default-directory > > unless Ispell per-directory personal dicts are used and not in a > > minibuffer > > under XEmacs. kill-on-exit is no longer done if ispell-process > > directory is > > "~/", so I expect this to achieve the best of both worlds. > Thanks. I'll get your change in the next Debian emacs-snapshot. Hi, Dan, Could you please check if this bug report is still valid, so we can close it if fixed. On Mon, Jun 21, 2010 at 02:10:04PM +0200, Agustin Martin wrote: > On Sun, Jun 20, 2010 at 12:47:40PM +0800, jidanni@jidanni.org wrote: > > I would be happy if you told me how to workaround it in > > my http://jidanni.org/comp/configuration/.emacs . > > > (setq ispell-dictionary "american") > > You should use (setq ispell-local-dictionary "american") in your .emacs > file to set global dictionary default. By the way, I was wrong about this, is ispell-dictionary what should be used for global dictionary default, as in your original config file. Sorry for the noise. Thanks for your feedback, -- Agustin From debbugs-submit-bounces@debbugs.gnu.org Tue Oct 26 08:03:41 2010 Received: (at 6143-done) by debbugs.gnu.org; 26 Oct 2010 12:03:42 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PAiFg-0001pI-Gy for submit@debbugs.gnu.org; Tue, 26 Oct 2010 08:03:41 -0400 Received: from caiajhbdcagg.dreamhost.com ([208.97.132.66] helo=homiemail-a3.g.dreamhost.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PAiFU-0001pA-Md for 6143-done@debbugs.gnu.org; Tue, 26 Oct 2010 08:03:36 -0400 Received: from homiemail-a3.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a3.g.dreamhost.com (Postfix) with ESMTP id C0222284087; Tue, 26 Oct 2010 05:07:29 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:cc:subject :references:date:message-id:mime-version:content-type; q=dns; s= jidanni.org; b=pF0dxbPu8Lr/8SvH8vKFJ1RL7dOhtvluirshH+Y8g5BRpqH7X QzZopD3Xeyt4haGxIct/2FQNhwhKxtcgDt95Oq3hwzd+c2b2z9q+ng94ck+SqMhf PIp89jLyLxN12hhu9/POWb1fGs3oX5rt/PNVkkEZzEZYxtTvFzgw03G4uM= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:date:message-id:mime-version:content-type; s=jidanni.org; bh=6/IhbxOBhER+SstnkKbXc2EIWSI=; b=VbGAMeDybMr6P 3IGPeUPdGAIkN69fHN05TsxkCgEJu2uEqr5mCBJ3f8pxz8qArlWK2KAjvrbrswld RmqvfHV0AfKK7uIHkWe/nen/6b546J1RzmlArhALYQxmgUCbBV5PRH9X1W7PIb7A 5i5E2IfM8PAFEjoHWl00pW08ibGZZg= Received: from jidanni.org (218-163-2-104.dynamic.hinet.net [218.163.2.104]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a3.g.dreamhost.com (Postfix) with ESMTPSA id E6D1F284081; Tue, 26 Oct 2010 05:07:28 -0700 (PDT) From: jidanni@jidanni.org To: agustin6martin@gmail.com Subject: Re: bug#6143: ispell killing still not fixed References: <20101026102046.GA5094@agmartin.aq.upm.es> Date: Tue, 26 Oct 2010 20:07:20 +0800 Message-ID: <87r5fd6ttz.fsf@jidanni.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -3.3 (---) X-Debbugs-Envelope-To: 6143-done Cc: 6143-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.3 (---) AM> Could you please check if this bug report is still valid, so we can AM> close it if fixed. Lately it hasn't bothered me. Must be fixed. Closing. AM> By the way, I was wrong about this, is ispell-dictionary what should AM> be used for global dictionary default, as in your original config AM> file. OK. I'll change it back. Thanks. From unknown Fri Jun 20 05:26:11 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 23 Nov 2010 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator