From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Andy Smith Newsgroups: gmane.emacs.bugs Subject: bug#34375: Problem with the 'to input' information in what-cursor-position Date: Thu, 7 Feb 2019 23:00:01 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000137cfd058155ce6d" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="248294"; mail-complaints-to="usenet@blaine.gmane.org" To: 34375@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 08 01:26:17 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1grtzh-0012N9-1P for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Feb 2019 01:26:13 +0100 Original-Received: from localhost ([127.0.0.1]:48871 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grtzg-0007EG-3Y for geb-bug-gnu-emacs@m.gmane.org; Thu, 07 Feb 2019 19:26:12 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49515) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grtyZ-0006dW-9s for bug-gnu-emacs@gnu.org; Thu, 07 Feb 2019 19:25:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1grtyY-0003m6-Fv for bug-gnu-emacs@gnu.org; Thu, 07 Feb 2019 19:25:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39423) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1grtyY-0003ll-5G for bug-gnu-emacs@gnu.org; Thu, 07 Feb 2019 19:25:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1grtyX-0000sF-R9 for bug-gnu-emacs@gnu.org; Thu, 07 Feb 2019 19:25:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andy Smith Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Feb 2019 00:25:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 34375 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15495854703304 (code B ref -1); Fri, 08 Feb 2019 00:25:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Feb 2019 00:24:30 +0000 Original-Received: from localhost ([127.0.0.1]:38704 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1grty1-0000rE-MK for submit@debbugs.gnu.org; Thu, 07 Feb 2019 19:24:29 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48765) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1grsep-0007Ek-Fw for submit@debbugs.gnu.org; Thu, 07 Feb 2019 18:00:36 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:39990) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1grsef-0003hl-Bw for submit@debbugs.gnu.org; Thu, 07 Feb 2019 18:00:28 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:34901) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1grsee-0006jg-De for bug-gnu-emacs@gnu.org; Thu, 07 Feb 2019 18:00:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1grsec-0003ba-D6 for bug-gnu-emacs@gnu.org; Thu, 07 Feb 2019 18:00:24 -0500 Original-Received: from mail-pf1-x434.google.com ([2607:f8b0:4864:20::434]:40054) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1grseY-0003TY-7T for bug-gnu-emacs@gnu.org; Thu, 07 Feb 2019 18:00:18 -0500 Original-Received: by mail-pf1-x434.google.com with SMTP id i12so696513pfo.7 for ; Thu, 07 Feb 2019 15:00:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=VkIJhKMS0W8EjMR97scqMty6FGG6iEUjysgzTAnyBso=; b=FJO0yNQrOUlLuIZcA5d3jwvZO25NzHoAlSQxBfvSlh3cnGwFXWZrAtiO+wPzSoOZBW bf5PUYx5uj6JYMCuVvNCiTom7t/TYjPqHmeyiv0uK+QNsUQHfYjwZmO7pKBjTQo8W4+C oLlvdbNB+iVOLBbCzudW3VDT2t+pmVXaHUzPjsIGFiRIP6NIlMFN03pQ9W/s3eCUpbTP pJ7qPz5PLGjyNtWHbsFyFmdn6JuGiFkUWsgUm9T7kU5b10qePnO/aARndBZbPv1TCzZp 4dVkU2lA0maqexP/u0a8ep20FtynScJXAPbXr7wqzMBiCBnmN7Cg6RdfNRFjHeNqu6/s ch1g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=VkIJhKMS0W8EjMR97scqMty6FGG6iEUjysgzTAnyBso=; b=Hn3OPUO9M7MDr5je87vonqDOJcbHeNzBo+xAn/l31MKlFkCO0rXYsG79FIg0JlZQCm /B5RkIc9GSNXmsEbW+q2dwUQ9fScYIhQYCNyVT33TYOU5rdE8/uvlhZuo3qECd9SwPdj 4VHXioX9cQMckZHnD1ySqvlqD4cBoIATUhQtlizZMIFDY/kIz8PCJ+ombIq5O275cQmB efb/DvrITxNcERXNIWhWzi5gkHn+j6+kU5sDudiIRO1j5ieHbDRs7WV5A/t76saNDVid Zbb23GlkuP6IOu24gyAzuYRiR5/zdPMDnimoXaV8/0moiIGJQ8Z+g7A10RFnSnQpWfCX zw2g== X-Gm-Message-State: AHQUAuZBgNnAMJgSu96mVTo8JxmB+Z/OXXyF/0BfvTes1fRjCDNLQt2q bRzWkhOEvLoM32c25VN4FAOAzLGfOAsPIf0/eNCY1A== X-Google-Smtp-Source: AHgI3IbunVIdMvJUH8RHFexlvBXLX4QWV/n432E3gCrg2ukD7LFx+vr4rjR4uOHCEAmPgmnBPooxHGZCsMEAZEPco0U= X-Received: by 2002:a62:1043:: with SMTP id y64mr18980475pfi.78.1549580413138; Thu, 07 Feb 2019 15:00:13 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Thu, 07 Feb 2019 19:24:29 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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" Xref: news.gmane.org gmane.emacs.bugs:155241 Archived-At: --000000000000137cfd058155ce6d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable I ran what-cursor-position on a unicode char. Get the following ... position: 12 of 16 (69%), column: 0 character: =C5=90 (displayed as =C5=90) (codepoint 336, #o520, = #x150) preferred charset: unicode (Unicode (ISO10646)) code point in charset: 0x0150 script: latin syntax: w which means: word category: .:Base, L:Left-to-right (strong), j:Japanese, l:Lati= n to input: type "C-x 8 RET 150" or "C-x 8 RET LATIN CAPITAL LETTER O WITH DOUBLE ACUTE" buffer code: #xC5 #x90 file code: #xC5 #x90 (encoded by coding system utf-8-unix) display: by this font (glyph code) xft:-DAMA-Ubuntu Mono-normal-normal-normal-*-72-*-*-*-m-0-iso10646-1 (#x12E) If I follow the 'to input' instructions ... i.e "C-x 8 RET 150" this doesn't work. i.e. I can roundtrip and insert a copy of the character I initially looked up. Needed to do "C-x 8 RET 0150" instead. The to-input field maybe needs to display an octal string properly prefixed with a zero maybe? Rgds, A. --000000000000137cfd058155ce6d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I ran what-cursor-position on a unicode char. Get the following = ...

position: 12 = of 16 (69%), column: 0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 character: =C5=90 (di= splayed as =C5=90) (codepoint 336, #o520, #x150)
=C2=A0 =C2=A0 preferred charset: unic= ode (Unicode (ISO10646))
code point in charset: 0x0150
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0script: latin
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0synt= ax: w which means: word=
=C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0category: .:Base, L:Left-to-right (strong), = j:Japanese, l:Latin
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0to input: type &qu= ot;C-x 8 RET 150" or "C-x 8 RET LATIN CAPITAL LETTER O WITH DOUBL= E ACUTE"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 buffer code: #xC5 #x90
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 file code: #xC5 #x90 (encoded by coding system utf-8-unix= )
=C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 display: by this font (glyph code= )
=C2=A0 = =C2=A0 xft:-DAMA-Ubuntu Mono-normal-normal-normal-*-72-*-*-*-m-0-iso10646-1=
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (#x12E)

If I follow the 'to input' i= nstructions ... i.e "C-x 8 RET 150" this
doesn't work. i.e. I ca= n roundtrip and insert a copy of the character I
initially looked up. Needed t= o do "C-x 8 RET 0150" instead.

The to-input field maybe needs to d= isplay an octal string properly
prefixed with a zero maybe?
<= font size=3D"1" face=3D"arial, helvetica, sans-serif">
Rgds,
<= div>
A.

--000000000000137cfd058155ce6d--