all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Re: ipa and ispell
@ 2009-05-14  7:56 martin rudalics
  2009-05-14 14:54 ` Drew Adams
  0 siblings, 1 reply; 5+ messages in thread
From: martin rudalics @ 2009-05-14  7:56 UTC (permalink / raw)
  To: sean.sieger; +Cc: help-gnu-emacs

 > 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, 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.

In the first case we just have to make sure that (1) we can split some
window and (2) when the window used to display ispell's choices is no
more needed, the configuration before the split is orderly restored.
Both issues are not entirely trivial.

Replacing the contents of some existing window is problematic since
valuable context information might get obscured.  Also, it's not clear
whether and how that window shall be resized.  Popping up a new frame
runs counter classic ispell design choices but appears the only simple
solution.

So please make a bug report.

Thanks, martin.




^ permalink raw reply	[flat|nested] 5+ messages in thread
* ipa and ispell
@ 2009-05-13 16:15 Sean Sieger
  0 siblings, 0 replies; 5+ messages in thread
From: Sean Sieger @ 2009-05-13 16:15 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=us-ascii, Size: 1396 bytes --]

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)
  ispell-overlay-window(2)
  ispell-show-choices(2 #<marker at 125 in  *Minibuf-1*>)
  ispell-command-loop(("component" "components" "compliant" "complainant" "complaint" "component's" "compound" "competent") nil "componant" #<marker at 116 in  *Minibuf-1*> #<marker at 125 in  *Minibuf-1*>)
  byte-code("\bAA@\bAAA@\b@	\n%ć" [poss start end replace ispell-command-loop] 6)
  ispell-word(nil nil nil t)
  call-interactively(ispell-word nil nil)
  read-string("text: ")
  (let ((text ...)) (if (equal text "") (message "Empty annotations are not inserted.") (ipa-create-overlay ... text) (if ... ... ...)))
  ipa-insert()
  call-interactively(ipa-insert t nil)
  execute-extended-command(nil)
  call-interactively(execute-extended-command nil nil)

After doing `q' to exit the debugger, the annotation I was typing
vanished, not to be found in .ipa~.

Next, I did emacs -q and while the text of my annotation didn't
vanish, the attempt to use ispell resulted in the same `Attempt to
split minibuffer window' error.

This in,

GNU Emacs 23.0.93.1 (i686-pc-linux-gnu, GTK+ Version 2.14.4) of
2009-05-13 on g41r2f1





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-05-14 16:25 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-14  7:56 ipa and ispell martin rudalics
2009-05-14 14:54 ` Drew Adams
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

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.