From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ivan Shmakov 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 07:10:23 +0000 Message-ID: <87h9rokgm8.fsf@violet.siamics.net> References: <988c8ea5-e184-4d53-99d6-cd354006f45b@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1430982683 19630 80.91.229.3 (7 May 2015 07:11:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 7 May 2015 07:11:23 +0000 (UTC) To: 20522@debbugs.gnu.org, control@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu May 07 09:11:14 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 1YqFxg-0007YK-8L for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 May 2015 09:11:12 +0200 Original-Received: from localhost ([::1]:48813 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqFxf-0003XV-Fo for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 May 2015 03:11:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39312) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqFxa-0003XF-Kh for bug-gnu-emacs@gnu.org; Thu, 07 May 2015 03:11:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YqFxX-0003sz-El for bug-gnu-emacs@gnu.org; Thu, 07 May 2015 03:11:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:55055) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YqFxX-0003sv-0X for bug-gnu-emacs@gnu.org; Thu, 07 May 2015 03:11:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YqFxW-0006Dd-Ow for bug-gnu-emacs@gnu.org; Thu, 07 May 2015 03:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ivan Shmakov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 May 2015 07:11: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: Original-Received: via spool by 20522-submit@debbugs.gnu.org id=B20522.143098263923873 (code B ref 20522); Thu, 07 May 2015 07:11:02 +0000 Original-Received: (at 20522) by debbugs.gnu.org; 7 May 2015 07:10:39 +0000 Original-Received: from localhost ([127.0.0.1]:36797 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YqFx8-0006Ct-If for submit@debbugs.gnu.org; Thu, 07 May 2015 03:10:39 -0400 Original-Received: from fely.am-1.org ([78.47.74.50]:42058) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YqFx4-0006Cb-S0; Thu, 07 May 2015 03:10:35 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=siamics.net; s=a2013295; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:Sender:References:Subject:To:From; bh=IcKx0ECOOg46puupwqVlMsbebKuN75PpvBu8m+KrA8w=; b=gi+kJRSMKVdZpd4+Y+TJpZYyAkyZsMa9HdziAqcBccmZUSJrgI0Hxsa6Y6rqu0YMMpHp+oqLWaKNsr7kkjr55ioJJTyphPeu00Cr7qlqb3blBRhvBP1TX8qkidOI/KnC+Yi73JI3AMINB/V+Dru9rBaCRzKnm6PhI6YB3YxAl3M=; Original-Received: from [2a02:2560:6d4:26ca::1:1d] (helo=violet.siamics.net) by fely.am-1.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1YqFx1-0007SU-5s; Thu, 07 May 2015 07:10:31 +0000 Original-Received: from localhost ([::1] helo=violet.siamics.net) by violet.siamics.net with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1YqFwu-00082O-3f; Thu, 07 May 2015 14:10:24 +0700 Mail-Followup-To: 20522@debbugs.gnu.org In-Reply-To: <988c8ea5-e184-4d53-99d6-cd354006f45b@default> (Drew Adams's message of "Wed, 6 May 2015 17:03:02 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) 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:102562 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable tag 20522 + patch tag 20519 + patch thanks >>>>> Drew Adams writes: > C-u C-x 8 RET GREEK CAPITAL LETTER PSI RET C-b C-u C-x =3D > Buffer *Help* says this, for field `to input': > type "C-x 8 RET HEX-CODEPOINT" or "C-x 8 RET NAME" > It should instead be able to say something like this: > type "C-x 8 RET 0x03A8" or "C-x 8 RET GREEK CAPITAL LETTER PSI" > Both of these pieces of information are shown in the same buffer > *Help*. It seems a bit silly to tell a user to type HEX-CODEPOINT or > NAME, when these are known when *Help* is created. Please consider the patch MIMEd. * lisp/descr-text.el (describe-char): Show the exact C-x 8 RET invocation instead of a template. (Bug#20522) [=E2=80=A6] --=20 FSF associate member #7257 np. Danger Zone =E2=80=94 Rainbow =E2=80=A6 3= 013 B6A0 230E 334A --=-=-= Content-Type: text/diff Content-Disposition: inline --- a/lisp/descr-text.el +++ b/lisp/descr-text.el @@ -618,7 +618,9 @@ 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\""))))) + (format + "type \"C-x 8 RET %04x\" or \"C-x 8 RET %s\"" + char (get-char-code-property char 'name))))))) ("buffer code" ,(if multibyte-p (encoded-string-description --=-=-=--