all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'martin rudalics'" <rudalics@gmx.at>, <sean.sieger@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: RE: ipa and ispell
Date: Thu, 14 May 2009 07:54:31 -0700	[thread overview]
Message-ID: <010301c9d4a3$e4580020$0200a8c0@us.oracle.com> (raw)
In-Reply-To: <4A0BCEA5.6040107@gmx.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.






  reply	other threads:[~2009-05-14 14:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-14  7:56 ipa and ispell martin rudalics
2009-05-14 14:54 ` Drew Adams [this message]
2009-05-14 16:14   ` martin rudalics
2009-05-14 16:25     ` Drew Adams
  -- strict thread matches above, loose matches on Subject: below --
2009-05-13 16:15 Sean Sieger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='010301c9d4a3$e4580020$0200a8c0@us.oracle.com' \
    --to=drew.adams@oracle.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=rudalics@gmx.at \
    --cc=sean.sieger@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.