From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thierry Volpiatto Newsgroups: gmane.emacs.bugs Subject: bug#6881: 23.2; bookmark-bmenu-search makes menu disappear Date: Thu, 19 Aug 2010 11:22:08 +0200 Organization: ThierryVolpiatto Message-ID: <87fwybq7nj.fsf@tux.homenetwork> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1282210752 8929 80.91.229.12 (19 Aug 2010 09:39:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 19 Aug 2010 09:39:12 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 19 11:39:10 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Om1aW-0004xj-Ua for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Aug 2010 11:39:09 +0200 Original-Received: from localhost ([127.0.0.1]:58408 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Om1aW-0000s6-BF for geb-bug-gnu-emacs@m.gmane.org; Thu, 19 Aug 2010 05:39:08 -0400 Original-Received: from [140.186.70.92] (port=43721 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Om1aO-0000s0-HH for bug-gnu-emacs@gnu.org; Thu, 19 Aug 2010 05:39:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Om1aN-0006un-AH for bug-gnu-emacs@gnu.org; Thu, 19 Aug 2010 05:39:00 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49761) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Om1aN-0006ui-5W for bug-gnu-emacs@gnu.org; Thu, 19 Aug 2010 05:38:59 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Om1Lu-0004DJ-4v; Thu, 19 Aug 2010 05:24:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Thierry Volpiatto Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 19 Aug 2010 09:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6881 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by submit@debbugs.gnu.org id=B.128220982116190 (code B ref -1); Thu, 19 Aug 2010 09:24:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Aug 2010 09:23:41 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Om1LY-0004D5-3t for submit@debbugs.gnu.org; Thu, 19 Aug 2010 05:23:40 -0400 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Om1LV-0004D0-GI for submit@debbugs.gnu.org; Thu, 19 Aug 2010 05:23:38 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:57332) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Om1MZ-0000Y5-LF for submit@debbugs.gnu.org; Thu, 19 Aug 2010 05:24:43 -0400 Original-Received: from [140.186.70.92] (port=60087 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Om1MX-0007DF-Ih for bug-gnu-emacs@gnu.org; Thu, 19 Aug 2010 05:24:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1Om1MW-00058M-1d for bug-gnu-emacs@gnu.org; Thu, 19 Aug 2010 05:24:41 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:34992) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Om1MV-000582-Id for bug-gnu-emacs@gnu.org; Thu, 19 Aug 2010 05:24:39 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Om1MS-0006Lz-L4 for bug-gnu-emacs@gnu.org; Thu, 19 Aug 2010 11:24:36 +0200 Original-Received: from 114.77.197-77.rev.gaoland.net ([77.197.77.114]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Aug 2010 11:24:36 +0200 Original-Received: from thierry.volpiatto by 114.77.197-77.rev.gaoland.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 19 Aug 2010 11:24:36 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 30 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 114.77.197-77.rev.gaoland.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:rzjo2dcA47L0SzLFBTM+mdNckZY= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Thu, 19 Aug 2010 05:24:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:39620 Archived-At: Leo writes: > This is a bug in read-key. read-key should not echo the command in minibuffer. > It appears using read-char solve this problem and the key echoing one. Note that if read-char is used in `bookmark-read-search-input' `inhibit-quit' need to be set to t, as read-char is not aware of C-g like read-key. It is safe to use inhibit-quit in bookmark-read-search-input, i use it without problems since months in bookmark-extensions.el (with read-char). An alternative to read-char is to use most of the time read-char and when read-char fail use read-event instead: (defun ioccur-read-char-or-event (prompt) "Replace `read-key' when not available using PROMPT." (if (fboundp 'read-key) (read-key prompt) -> (let* ((chr (condition-case nil (read-char prompt) (error nil))) -> (evt (unless chr (read-event prompt)))) -> (or chr evt)))) -- Thierry Volpiatto Get my Gnupg key: gpg --keyserver pgp.mit.edu --recv-keys 59F29997