From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#16617: 24.3.50; REGRESSION: `C-q ?' pops up annoying *Char Help* buffer Date: Sat, 1 Feb 2014 11:15:45 -0800 (PST) Message-ID: <891cf052-6085-4ad4-b03b-83379a85ff0f@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1391282243 18829 80.91.229.3 (1 Feb 2014 19:17:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 1 Feb 2014 19:17:23 +0000 (UTC) To: 16617@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 01 20:17:29 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 1W9g4G-0001dD-A5 for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Feb 2014 20:17:28 +0100 Original-Received: from localhost ([::1]:38906 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9g4F-0007tj-QR for geb-bug-gnu-emacs@m.gmane.org; Sat, 01 Feb 2014 14:17:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48993) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9g41-0007mc-DU for bug-gnu-emacs@gnu.org; Sat, 01 Feb 2014 14:17:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W9g3r-0002BJ-3R for bug-gnu-emacs@gnu.org; Sat, 01 Feb 2014 14:17:13 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59540) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9g3q-0002BA-WA for bug-gnu-emacs@gnu.org; Sat, 01 Feb 2014 14:17:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W9g3q-0003g1-ME for bug-gnu-emacs@gnu.org; Sat, 01 Feb 2014 14:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 01 Feb 2014 19:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 16617 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.139128217714074 (code B ref -1); Sat, 01 Feb 2014 19:17:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Feb 2014 19:16:17 +0000 Original-Received: from localhost ([127.0.0.1]:45326 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W9g37-0003ev-4H for submit@debbugs.gnu.org; Sat, 01 Feb 2014 14:16:17 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47144) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W9g34-0003en-Pf for submit@debbugs.gnu.org; Sat, 01 Feb 2014 14:16:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W9g2u-0001wa-2n for submit@debbugs.gnu.org; Sat, 01 Feb 2014 14:16:14 -0500 Original-Received: from lists.gnu.org ([208.118.235.17]:48239) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9g2t-0001wV-Vt for submit@debbugs.gnu.org; Sat, 01 Feb 2014 14:16:04 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48835) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9g2l-0007fQ-9S for bug-gnu-emacs@gnu.org; Sat, 01 Feb 2014 14:16:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W9g2c-0001vg-NG for bug-gnu-emacs@gnu.org; Sat, 01 Feb 2014 14:15:55 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:34214) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W9g2c-0001va-GJ for bug-gnu-emacs@gnu.org; Sat, 01 Feb 2014 14:15:46 -0500 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s11JFirU014760 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 1 Feb 2014 19:15:45 GMT Original-Received: from userz7022.oracle.com (userz7022.oracle.com [156.151.31.86]) by ucsinet22.oracle.com (8.14.5+Sun/8.14.5) with ESMTP id s11JFilb002995 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 1 Feb 2014 19:15:44 GMT Original-Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by userz7022.oracle.com (8.14.5+Sun/8.14.4) with ESMTP id s11JFi8L002986 for ; Sat, 1 Feb 2014 19:15:44 GMT X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x 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:84408 Archived-At: This is a regression. `C-q ?' pops up an annoying "*Char Help*" buffer. What is said here for `?' is also true for `'. It is not true for `C-h', however. The char inserted when using `C-q ' is `^@'. `' is not a character, so it should not cause a character to be inserted. 1. The text in this help buffer is not formatted (e.g. filled) correctly. 2. The doc string for `quoted-insert' does not even mention this bizarre `?' behavior. Nor does this behavior seem to be documented elsewhere. It is not even listed in NEWS as a change (an incompatible change, no less). The behavior for `' is not new, but it too is not documented in connection with `C-q' AFAICT. 3. This *Char Help* buffer should not be popped up at all - for ANY char that you type after `C-q'. This is a misfeature. `?' should just be inserted, with no noise. It should certainly not be interpreted as a plea for help. 4. With `emacs -Q', you might not even notice the popped-up *Char Help* buffer, which means that it does not even do what the enhancer presumably intended. It just flashes for an instant - impossible to read it, and serving no purpose but to annoy and puzzle. This alone is a regression wrt previous Emacs releases. 5. In other contexts it can be even more annoying: (a) The help really is shown. (b) It can remain shown, requiring the user to remove it. (c) That can even involve requiring the user to change buffers and delete a frame. (d) It can require that you hit `?' again, to insert the `?' char (after moving back to the right frame). For example, `emacs -Q', then set `pop-up-frames' to t, then do `C-q ?'. A frame pops up with the helpful text. You must hit `?' again, for `?' to be inserted. But before that you must change the input focus back to the original frame, or else you will get a read-only error for trying to insert `?' into the *Char Help* frame. And of course at some point you must manually delete that helpful frame. 6. This help enhancement appeared already in previous Emacs versions, at least as far back as Emacs 22. But there, most of the behavior described above does not occur. So this is a regression wrt those versions. But even those versions that introduce this help are a regression wrt earlier Emacs versions that do not. At least Emacs 22-24.3 do not show help for `?', but only for `'. In Emacs 22 through 24.3, with `emacs -Q', `C-h ?' inserts `?' normally. And `C-q ' does not insert any char; it just displays the help text. So far, so good. However, with non-nil `pop-up-frames' in Emacs 22-24.3, the same problems described above arise for `C-q ', and `^@' is inserted (but at least without needing to change focus back to the original frame). I never noticed that bug (regression) for Emacs 22-24.3, because I never hit `'. In sum, this help display interferes with `C-q' behavior (user interaction). It should be removed altogether. Or if you do not agree with that, then at least: 1. `?' should be removed from the equation and handled as any other character (i.e., just inserted). It should not solicit help. 2. The bugged behavior when `pop-up-frames' is non-nil (or via any other settings that cause the help buffer to use another frame) must be fixed. `C-q ' should not insert `^@', ever. And the focus should remain in the original frame. And the help buffer's frame should be deleted when `quoted-insert' is done. `C-q' should not interpret ANY characters, such as `?' specially as instructions to show help. It should just insert the character ("quoted", per its description), as it has always done before. Yes, `' is not a character. It could, as before (e.g. in Emacs 22-24.3), show such help. But it should not do so in another frame etc., or if it must, then that temporary help frame should be deleted after the char is inserted, i.e., when `quoted-insert' has finished its job. In GNU Emacs 24.3.50.1 (i686-pc-mingw32) of 2014-01-23 on ODIEONE Bzr revision: 116129 monnier@iro.umontreal.ca-20140123150141-qopqqhpm8jqo8a= 18 Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --prefix=3D/c/Devel/emacs/binary --enable-checking=3Dyes,glyphs 'CFLAGS=3D-O0 -g3' LDFLAGS=3D-Lc:/Devel/emacs/lib CPPFLAGS=3D-Ic:/Devel/emacs/include'