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#16617: 24.3.50; REGRESSION: `C-q ?' pops up annoying *Char Help* buffer Date: Thu, 03 Apr 2014 18:51:07 +0300 Message-ID: <83y4zm9ztg.fsf@gnu.org> References: <891cf052-6085-4ad4-b03b-83379a85ff0f@default> <7367bf77-7602-4a02-82ce-804c2f88bf25@default> <831txebg2x.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1396540291 3908 80.91.229.3 (3 Apr 2014 15:51:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Apr 2014 15:51:31 +0000 (UTC) Cc: 16617@debbugs.gnu.org To: Leo Liu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 03 17:51:23 2014 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 1WVjvC-0007Bj-AZ for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Apr 2014 17:51:18 +0200 Original-Received: from localhost ([::1]:44725 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVjvB-0004Kq-SE for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Apr 2014 11:51:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33417) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVjv3-00047E-2f for bug-gnu-emacs@gnu.org; Thu, 03 Apr 2014 11:51:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WVjux-0003KG-4k for bug-gnu-emacs@gnu.org; Thu, 03 Apr 2014 11:51:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33442) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WVjux-0003KC-1e for bug-gnu-emacs@gnu.org; Thu, 03 Apr 2014 11:51:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WVjuv-0004lZ-Pu for bug-gnu-emacs@gnu.org; Thu, 03 Apr 2014 11:51: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: Thu, 03 Apr 2014 15:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16617 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16617-submit@debbugs.gnu.org id=B16617.139654025918311 (code B ref 16617); Thu, 03 Apr 2014 15:51:01 +0000 Original-Received: (at 16617) by debbugs.gnu.org; 3 Apr 2014 15:50:59 +0000 Original-Received: from localhost ([127.0.0.1]:34624 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WVjus-0004lH-4h for submit@debbugs.gnu.org; Thu, 03 Apr 2014 11:50:58 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:43757) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WVjuo-0004l3-Mc for 16617@debbugs.gnu.org; Thu, 03 Apr 2014 11:50:56 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0N3G00F00P9DZK00@a-mtaout22.012.net.il> for 16617@debbugs.gnu.org; Thu, 03 Apr 2014 18:50:53 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0N3G00F41PCSZE10@a-mtaout22.012.net.il>; Thu, 03 Apr 2014 18:50:53 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:87707 Archived-At: > From: Leo Liu > Cc: 16617@debbugs.gnu.org > Date: Thu, 03 Apr 2014 23:39:08 +0800 > > On 2014-04-03 23:14 +0800, Eli Zaretskii wrote: > > FWIW, I don't think this is the right fix. The problem is not that > > '?' pops up the help text -- I disagree with Drew about that, as '?' > > is a normal way to ask Emacs for guidance. The problem is that the > > help text is not really displayed -- it flashes for a fraction of a > > second and disappears without a trace. Your suggestion doesn't fix > > that part. Even if it is eventually decided that '?' should not > > invoke help in this case, the problem with momentarily flashing the > > help text should be solved, because it actually renders the whole > > help-form feature useless. > > Agreed. To help investigating this, I can say that it looks like we call help-form-show, which displays the help text inside with-output-to-temp-buffer, and when help-form-show returns, we call read_char, which calls redisplay. But since with-output-to-temp-buffer already exited by that time, redisplay simply pops down the help buffer, so the user doesn't get the chance to read the text. Moreover, the help character, either '?' or F1, gets inserted into the original buffer, instead of being gobbled by the code which pops up the help text. Hope this description will help someone fix the feature.