From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Agustin Martin Newsgroups: gmane.emacs.devel Subject: Re: Adding ispell-multi.el and friends to Emacs Date: Mon, 18 Jun 2007 12:02:00 +0200 Message-ID: <20070618100200.GB4724@agmartin.aq.upm.es> References: <87zm32k7zl.fsf@dur.ac.uk> <46725A27.4070406@gmx.at> <87ir9ohlt1.fsf@heslin.eclipse.co.uk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1182160936 32581 80.91.229.12 (18 Jun 2007 10:02:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 18 Jun 2007 10:02:16 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 18 12:02:15 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1I0E3m-0007Ka-0C for ged-emacs-devel@m.gmane.org; Mon, 18 Jun 2007 12:02:10 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I0E3l-0005Gp-Ln for ged-emacs-devel@m.gmane.org; Mon, 18 Jun 2007 06:02:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1I0E3h-0005Gk-Hr for emacs-devel@gnu.org; Mon, 18 Jun 2007 06:02:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1I0E3g-0005GY-2f for emacs-devel@gnu.org; Mon, 18 Jun 2007 06:02:05 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1I0E3f-0005GV-V0 for emacs-devel@gnu.org; Mon, 18 Jun 2007 06:02:03 -0400 Original-Received: from edison.ccupm.upm.es ([138.100.4.49]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1I0E3f-0000al-A9 for emacs-devel@gnu.org; Mon, 18 Jun 2007 06:02:03 -0400 Original-Received: from mala.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 l5IA20Ts032130; Mon, 18 Jun 2007 12:02:00 +0200 Original-Received: by mala.aq.upm.es (Postfix, from userid 1000) id C70F125F8; Mon, 18 Jun 2007 12:02:00 +0200 (CEST) Mail-Followup-To: emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: <87ir9ohlt1.fsf@heslin.eclipse.co.uk> User-Agent: Mutt/1.5.13 (2006-08-11) X-detected-kernel: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:73230 Archived-At: On Fri, Jun 15, 2007 at 11:53:14PM +0100, Peter Heslin wrote: > martin rudalics writes: > > > AFAICT flyspell-mode has the following bug: When I check two buffers > > with different languages and switch buffers, words that have been > > "accepted for the session" are lost. Does ispell-multi handle this? > > I wasn't aware of the problem and I haven't looked into it closely, but > a quick test seems to indicate that loading ispell-multi.el makes this > bug go away. This would make sense, since ispell-multi tries to stop > the killing and restarting of ispell processes that would cause the > words accepted for the session to be lost. A corollary is that with > ispell-multi, words accepted for the session are also accepted for the > session in other buffers in the same language. I would tend to regard > that as a feature rather than a bug. Current ispell.el behavior wrt localwords when switching buffers with the same language is to restart ispell if localwords are present, to avoid the problem of conflicting localwords. If ispell-multi.el starts a new ispell process in this case, keeping two processes for the same language, it might also be made aware that words are accepted for that buffer session. -- Agustin