From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#23204: 25.1.50; Strange behaviour of =?UTF-8?Q?=E2=80=98read-char=E2=80=99?= Date: Sun, 12 Jun 2016 20:11:22 +0300 Message-ID: <8337oigwn9.fsf@gnu.org> References: <87wpofx9ry.fsf@openmailbox.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1465751494 18416 80.91.229.3 (12 Jun 2016 17:11:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 12 Jun 2016 17:11:34 +0000 (UTC) Cc: markkarpov@openmailbox.org, 23204@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 12 19:11:22 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1bC8us-0001kA-7L for geb-bug-gnu-emacs@m.gmane.org; Sun, 12 Jun 2016 19:11:18 +0200 Original-Received: from localhost ([::1]:52031 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bC8uo-0005RX-75 for geb-bug-gnu-emacs@m.gmane.org; Sun, 12 Jun 2016 13:11:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34721) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bC8ui-0005Qs-OC for bug-gnu-emacs@gnu.org; Sun, 12 Jun 2016 13:11:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bC8uc-0005W6-NK for bug-gnu-emacs@gnu.org; Sun, 12 Jun 2016 13:11:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54036) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bC8uc-0005W2-Jq for bug-gnu-emacs@gnu.org; Sun, 12 Jun 2016 13:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bC8uc-00074D-E2 for bug-gnu-emacs@gnu.org; Sun, 12 Jun 2016 13:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 12 Jun 2016 17:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23204 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23204-submit@debbugs.gnu.org id=B23204.146575145227148 (code B ref 23204); Sun, 12 Jun 2016 17:11:02 +0000 Original-Received: (at 23204) by debbugs.gnu.org; 12 Jun 2016 17:10:52 +0000 Original-Received: from localhost ([127.0.0.1]:38140 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bC8uR-00073o-Il for submit@debbugs.gnu.org; Sun, 12 Jun 2016 13:10:51 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43665) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bC8uP-00073a-8a for 23204@debbugs.gnu.org; Sun, 12 Jun 2016 13:10:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bC8uI-0005Si-Kk for 23204@debbugs.gnu.org; Sun, 12 Jun 2016 13:10:43 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43654) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bC8uB-0005RN-3x; Sun, 12 Jun 2016 13:10:35 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2799 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bC8u9-0000V0-8C; Sun, 12 Jun 2016 13:10:33 -0400 In-reply-to: (message from Noam Postavsky on Sun, 12 Jun 2016 13:02:30 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:119452 Archived-At: > From: Noam Postavsky > Date: Sun, 12 Jun 2016 13:02:30 -0400 > Cc: Mark Karpov > > I also don't quite understand why this happens, but it seems that > using (message nil) to clear the minibuffer also works: > > (defun my-command () > (interactive) > (message nil) > (while (read-char "My prompt…" t))) > > (global-set-key (kbd " t y") #'my-command) > > (I can't bind t y in emacs -Q, I get an error message telling > me is not a prefix key) I think the problem is specifically with invoking such commands via menus, and the reason is that menu handling is inside the toolkit, out of Emacs control.