GNU bug report logs - #42708
Let users copy "*Char Help*" buffer

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Tue, 4 Aug 2020 15:58:02 UTC

Severity: wishlist

Tags: fixed

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 42708 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 42708 <at> debbugs.gnu.org, rms <at> gnu.org
Subject: Re: bug#42708: Let users copy "*Char Help*" buffer
Date: Wed, 05 Aug 2020 02:42:29 +0300
> 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)))))
 
 




This bug report was last modified 4 years and 188 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.