unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Jan D." <jan.h.d@swipnet.se>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 9310@debbugs.gnu.org
Subject: bug#9310: BadWindow error with quail guidance frame
Date: Tue, 23 Aug 2011 08:17:52 +0200	[thread overview]
Message-ID: <4E534610.3070408@swipnet.se> (raw)
In-Reply-To: <jwvaab0q38n.fsf-monnier+emacs@gnu.org>

Stefan Monnier skrev 2011-08-23 04:23:
>>>>> emacs -Q --eval "(setq default-frame-alist '((minibuffer . nil)))" --eval
>>>>> (quail-define-package "Agda" "UTF-8" "A" t)'
>>>>> C-u C-\ agda RET
>>>>> M-%
>>>>> and I get the appended backtrace.  As the input method name explains,
>>>>> I bump into this problem when I use Agda (i.e. pretty often these days).
>>>> Is it possible that the frame switched to (0x8c793d8 at #13) is deleted?
>>> AFAIK no frame is deleted in the above scenario, and the frame's
>>> `terminal' field is not NULL (if that's what you were asking).
>>> 0x8c793d8 is the minibuffer-only frame.
>>> IIUC your question, you can't reproduce it on your end?
>> No I can not.
>
> Can someone help me figure out how to debug this (my X11 programming is
> part rusty part nonexistent)?
>

Basically set synchronized and break in the error function.  Then go up 
the call stack to find the frame the window belongs to, or see if it is 
some uninitialized value.

	Jan D.







  reply	other threads:[~2011-08-23  6:17 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-16 20:15 bug#9310: BadWindow error with quail guidance frame Stefan Monnier
2011-08-17  6:03 ` Jan D.
2011-08-17 13:46   ` Stefan Monnier
2011-08-17 16:39     ` Jan Djärv
2011-08-17 21:45       ` Chong Yidong
2011-08-23  2:23       ` Stefan Monnier
2011-08-23  6:17         ` Jan D. [this message]
2011-08-23 19:40           ` Stefan Monnier
2011-08-24 13:32             ` Jan D.
2011-10-14 17:46               ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=4E534610.3070408@swipnet.se \
    --to=jan.h.d@swipnet.se \
    --cc=9310@debbugs.gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).