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#20522: 25.0.50; =?UTF-8?Q?=E2=80=98C-u?= C-x =?UTF-8?Q?=3D=E2=80=99?= output, =?UTF-8?Q?=E2=80=98to_?= =?UTF-8?Q?input=E2=80=99?= field Date: Thu, 07 May 2015 18:37:41 +0300 Message-ID: <836184qtyy.fsf@gnu.org> References: <988c8ea5-e184-4d53-99d6-cd354006f45b@default> <87h9rokgm8.fsf@violet.siamics.net> <838ud0qwe9.fsf@gnu.org> <874mnoju5n.fsf_-_@violet.siamics.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8BIT X-Trace: ger.gmane.org 1431013103 22788 80.91.229.3 (7 May 2015 15:38:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 May 2015 15:38:23 +0000 (UTC) Cc: 20522@debbugs.gnu.org To: Ivan Shmakov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 07 17:38:12 2015 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 1YqNsJ-0002Wa-Dt for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 May 2015 17:38:11 +0200 Original-Received: from localhost ([::1]:51782 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqNsJ-0000Vv-02 for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 May 2015 11:38:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60135) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqNsG-0000Vf-6Y for bug-gnu-emacs@gnu.org; Thu, 07 May 2015 11:38:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YqNsB-0006da-7v for bug-gnu-emacs@gnu.org; Thu, 07 May 2015 11:38:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56225) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqNsB-0006dP-0u for bug-gnu-emacs@gnu.org; Thu, 07 May 2015 11:38:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YqNsA-0006X4-Iu for bug-gnu-emacs@gnu.org; Thu, 07 May 2015 11:38: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, 07 May 2015 15:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20522 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 20522-submit@debbugs.gnu.org id=B20522.143101306225060 (code B ref 20522); Thu, 07 May 2015 15:38:02 +0000 Original-Received: (at 20522) by debbugs.gnu.org; 7 May 2015 15:37:42 +0000 Original-Received: from localhost ([127.0.0.1]:37956 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YqNrp-0006W7-GA for submit@debbugs.gnu.org; Thu, 07 May 2015 11:37:41 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:44846) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YqNrm-0006Vp-4w for 20522@debbugs.gnu.org; Thu, 07 May 2015 11:37:39 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0NNZ00C00KL92S00@a-mtaout23.012.net.il> for 20522@debbugs.gnu.org; Thu, 07 May 2015 18:37:31 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NNZ00BSVKQIYR90@a-mtaout23.012.net.il>; Thu, 07 May 2015 18:37:31 +0300 (IDT) In-reply-to: <874mnoju5n.fsf_-_@violet.siamics.net> 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:102573 Archived-At: > From: Ivan Shmakov > Date: Thu, 07 May 2015 15:15:32 +0000 > > Please consider the revised patch MIMEd. > > * lisp/descr-text.el (describe-char): Show the exact C-x 8 RET > invocation instead of a template. (Bug#20522) > > It was also requested in bug#20499 that a specific C-x 8 > (iso-transl) sequence is shown. Yet I believe that deserves a > separate patch. > > -- > FSF associate member #7257 http://am-1.org/~ivan/ … 3013 B6A0 230E 334A > > [2:text/diff Hide] > > --- a/lisp/descr-text.el > +++ b/lisp/descr-text.el > @@ -618,7 +618,14 @@ defun describe-char (pos &optional buffer) > 'help-args '(,current-input-method)) > "input method") > (list > - "type \"C-x 8 RET HEX-CODEPOINT\" or \"C-x 8 RET NAME\""))))) > + (let ((name > + (or (get-char-code-property char 'name) > + (get-char-code-property char 'old-name)))) > + (if name > + (format > + "type \"C-x 8 RET %x\" or \"C-x 8 RET %s\"" > + char name) > + (format "type \"C-x 8 RET %x\"" char)))))))) > ("buffer code" > ,(if multibyte-p > (encoded-string-description LGTM, thanks.