From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#42708: Let users copy "*Char Help*" buffer Date: Wed, 05 Aug 2020 02:42:29 +0300 Organization: LINKOV.NET Message-ID: <877duerlw2.fsf@mail.linkov.net> References: <87r1smy1du.5.fsf@jidanni.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27373"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: 42708@debbugs.gnu.org, rms@gnu.org To: =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 05 02:25:11 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1k37F0-0006zE-M1 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 05 Aug 2020 02:25:10 +0200 Original-Received: from localhost ([::1]:50492 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k37Ez-0000xb-GE for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 04 Aug 2020 20:25:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44642) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k37Et-0000xE-8U for bug-gnu-emacs@gnu.org; Tue, 04 Aug 2020 20:25:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37821) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k37Es-0005mL-18 for bug-gnu-emacs@gnu.org; Tue, 04 Aug 2020 20:25:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k37Er-0002Hd-NA for bug-gnu-emacs@gnu.org; Tue, 04 Aug 2020 20:25:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Aug 2020 00:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 42708 X-GNU-PR-Package: emacs Original-Received: via spool by 42708-submit@debbugs.gnu.org id=B42708.15965870988753 (code B ref 42708); Wed, 05 Aug 2020 00:25:01 +0000 Original-Received: (at 42708) by debbugs.gnu.org; 5 Aug 2020 00:24:58 +0000 Original-Received: from localhost ([127.0.0.1]:49364 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k37Eo-0002H6-5c for submit@debbugs.gnu.org; Tue, 04 Aug 2020 20:24:58 -0400 Original-Received: from relay1-d.mail.gandi.net ([217.70.183.193]:58397) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k37Em-0002Gs-HC for 42708@debbugs.gnu.org; Tue, 04 Aug 2020 20:24:57 -0400 X-Originating-IP: 91.129.102.47 Original-Received: from mail.gandi.net (m91-129-102-47.cust.tele2.ee [91.129.102.47]) (Authenticated sender: juri@linkov.net) by relay1-d.mail.gandi.net (Postfix) with ESMTPSA id ADE75240002; Wed, 5 Aug 2020 00:24:48 +0000 (UTC) In-Reply-To: <87r1smy1du.5.fsf@jidanni.org> ("=?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson"'s message of "Tue, 04 Aug 2020 21:41:17 +0800") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:184056 Archived-At: > There is a buffer "*Char Help*" that emacs makes sure the user is never > able to copy. (What if Stallman found out about this?) Actually you can copy it after signing an NDA. > There is only one place that those "you are not allowed to copy" police > cannot control: when viewed with emacs -nw. (Oops, I leaked it.) Else > one's only option is a screenshot. This patch should allow copying freely: diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el index efb214088d..7bad4a720c 100644 --- a/lisp/dired-aux.el +++ b/lisp/dired-aux.el @@ -1266,7 +1266,7 @@ dired-query (format " [Type yn!q or %s] " (key-description (vector help-char))) " [Type y, n, q or !] "))) - (set sym (setq char (read-char-choice prompt char-choices))) + (set sym (setq char (read-char-from-minibuffer prompt char-choices))) (if (memq char '(?y ?\s ?!)) t)))))