From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: ipa and ispell Date: Thu, 14 May 2009 07:54:31 -0700 Message-ID: <010301c9d4a3$e4580020$0200a8c0@us.oracle.com> References: 87d4adc731.fsf@gmail.com <4A0BCEA5.6040107@gmx.at> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1242313086 11623 80.91.229.12 (14 May 2009 14:58:06 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 May 2009 14:58:06 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "'martin rudalics'" , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu May 14 16:57:59 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M4cNe-0006n3-B5 for geh-help-gnu-emacs@m.gmane.org; Thu, 14 May 2009 16:57:54 +0200 Original-Received: from localhost ([127.0.0.1]:56217 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M4cNd-0000Mn-NG for geh-help-gnu-emacs@m.gmane.org; Thu, 14 May 2009 10:57:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M4cKd-0007wg-DB for help-gnu-emacs@gnu.org; Thu, 14 May 2009 10:54:47 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M4cKY-0007u9-7v for help-gnu-emacs@gnu.org; Thu, 14 May 2009 10:54:46 -0400 Original-Received: from [199.232.76.173] (port=35992 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M4cKY-0007u1-11 for help-gnu-emacs@gnu.org; Thu, 14 May 2009 10:54:42 -0400 Original-Received: from rcsinet11.oracle.com ([148.87.113.123]:57413 helo=rgminet11.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M4cKX-0003gV-H4 for help-gnu-emacs@gnu.org; Thu, 14 May 2009 10:54:41 -0400 Original-Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rgminet11.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n4EEswGf022289 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 14 May 2009 14:54:59 GMT Original-Received: from abhmt005.oracle.com (abhmt005.oracle.com [141.146.116.14]) by acsinet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n4EEt2CU013268; Thu, 14 May 2009 14:55:02 GMT Original-Received: from dradamslap1 (/141.144.64.154) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 14 May 2009 07:54:31 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <4A0BCEA5.6040107@gmx.at> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 Thread-Index: AcnUanO6RmHsAfrZRHSDeEtjZlSjqQANcY8w X-Source-IP: abhmt005.oracle.com [141.146.116.14] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A010206.4A0C30A7.039A:SCFSTAT5015188,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:64434 Archived-At: > > While inserting an annotation, I used ispell to check a > > word, it worked several times (I think) and then > > subsequently, the debugger was entered > > after ispell's correct spelling message: > > > > Debugger entered--Lisp error: (error "Attempt to split > > minibuffer window") split-window(nil 2) > > We have to fix that eventually, We do? Fix what? Fix ispell? OK. Change Emacs to handle attempts to split the minibuffer window other than by raising an error? No - why?. > maybe using a new function to pop up a > window below all "normal" windows just above the minibuffer-window, or > by popping up a new frame, or by temporarily replacing the contents of > the minibuffer-window or some other window. I didn't follow this thread - apologies if I misunderstand. But I wonder about the need you claim. Can't the code in question (in this case presumably ispell) just check whether the window it would normally split is a minibuffer window and then DTRT itself, whatever that might be? Your proposed solutions are actions that ispell itself might decide to take. If user input is needed at that point, it could enter a recursive minibuffer. If it is just a matter of displaying information, there are plenty of ways to do that - bind `pop-up-windows' or `pop-up-frames', split some other window than the minibuffer, put info in the mode-line or a tool-tip, use `message' or `minibuffer-message'... I don't see the need for something special here, and I don't see a general Emacs bug or a missing needed feature. Sounds like an ispell bug, instead. If code blindly attempts to split the minibuffer window, then that code should just be changed to DTRT, no? I don't see it as _imperative_ ("we have to fix that") for Emacs to do something special if a program tries to split the minibuffer window.