From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#10851: Error edebugging read-char-by-name Date: Mon, 20 Feb 2012 13:52:59 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1329742453 1690 80.91.229.3 (20 Feb 2012 12:54:13 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 20 Feb 2012 12:54:13 +0000 (UTC) To: 10851@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Feb 20 13:54:09 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RzSko-0007Dr-LT for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Feb 2012 13:54:06 +0100 Original-Received: from localhost ([::1]:36632 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RzSko-0007xV-39 for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Feb 2012 07:54:06 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:37004) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RzSkf-0007wv-65 for bug-gnu-emacs@gnu.org; Mon, 20 Feb 2012 07:54:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RzSkZ-0007Su-IX for bug-gnu-emacs@gnu.org; Mon, 20 Feb 2012 07:53:57 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:43324) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RzSkZ-0007SS-FZ for bug-gnu-emacs@gnu.org; Mon, 20 Feb 2012 07:53:51 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1RzSmf-0006f6-LT for bug-gnu-emacs@gnu.org; Mon, 20 Feb 2012 07:56:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 20 Feb 2012 12:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10851 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10851-submit@debbugs.gnu.org id=B10851.132974255825597 (code B ref 10851); Mon, 20 Feb 2012 12:56:01 +0000 Original-Received: (at 10851) by debbugs.gnu.org; 20 Feb 2012 12:55:58 +0000 Original-Received: from localhost ([127.0.0.1]:46947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RzSmb-0006eo-Io for submit@debbugs.gnu.org; Mon, 20 Feb 2012 07:55:57 -0500 Original-Received: from mail-pz0-f44.google.com ([209.85.210.44]:54719) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1RzSmZ-0006ea-FZ for 10851@debbugs.gnu.org; Mon, 20 Feb 2012 07:55:56 -0500 Original-Received: by dakl33 with SMTP id l33so5229789dak.3 for <10851@debbugs.gnu.org>; Mon, 20 Feb 2012 04:53:39 -0800 (PST) Received-SPF: pass (google.com: domain of lekktu@gmail.com designates 10.68.227.164 as permitted sender) client-ip=10.68.227.164; Authentication-Results: mr.google.com; spf=pass (google.com: domain of lekktu@gmail.com designates 10.68.227.164 as permitted sender) smtp.mail=lekktu@gmail.com; dkim=pass header.i=lekktu@gmail.com Original-Received: from mr.google.com ([10.68.227.164]) by 10.68.227.164 with SMTP id sb4mr55361379pbc.134.1329742419196 (num_hops = 1); Mon, 20 Feb 2012 04:53:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=ZYuqERfPpIKnvreqQErD5wqWfca1J5YD0mqvU6zoqco=; b=MzG8heFE6XSZax3z9fTPNJ9e86OKvbZqoZyL73Hzv0QKGVW3bUVljPLvipEONENzAP ZNScnBQktpjhS+ar3xg9hZDBaGM+vOf+L+Eqtc6cBIKZmsOoEvrxcsGnuK+cXaUCq6UF NsZKu2cY7VxukDZXmhTWdOwa25vFvGDpW/cRk= Original-Received: by 10.68.227.164 with SMTP id sb4mr46322370pbc.134.1329742419156; Mon, 20 Feb 2012 04:53:39 -0800 (PST) Original-Received: by 10.143.37.9 with HTTP; Mon, 20 Feb 2012 04:52:59 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:57022 Archived-At: The initial analysis by Martin: "In `edebug-pop-to-buffer' the following branch is taken in both versions: ((one-window-p 'nomini) ;; When there's one window only, split it. (split-window)) The difference between 23.4 and 24.1 lies in the fact that with 23.4 the selected window is the frame's root window while with 24.1 the selected window is the minibuffer window. Now asking to split the minibuffer window is surely wrong, so `edebug-pop-to-buffer' should check that case anyway. But we should be able to find out which change is responsible for calling `edebug-pop-to-buffer' with the minibuffer window selected. FWIW this is due to the following change in `read-char-by-name' which instead of (input (completing-read prompt ucs-completions))) now does (input (completing-read prompt (lambda (string pred action) (if (eq action 'metadata) '(metadata (category . unicode-name)) (complete-with-action action (ucs-names) string pred)))))) and here I suppose (I didn't check) that we enter `complete-with-action' and somehow change the selected window under the feet of edebug."