From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#34375: Problem with the 'to input' information in what-cursor-position Date: Fri, 08 Feb 2019 08:09:48 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="177226"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 34375@debbugs.gnu.org To: Andy Smith Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Feb 08 08:10:16 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 1gs0Ig-000jwv-OQ for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Feb 2019 08:10:14 +0100 Original-Received: from localhost ([127.0.0.1]:52264 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gs0If-0003qD-JC for geb-bug-gnu-emacs@m.gmane.org; Fri, 08 Feb 2019 02:10:13 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50454) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gs0IV-0003px-U4 for bug-gnu-emacs@gnu.org; Fri, 08 Feb 2019 02:10:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gs0IV-00015l-95 for bug-gnu-emacs@gnu.org; Fri, 08 Feb 2019 02:10:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39551) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gs0IV-00015e-5L for bug-gnu-emacs@gnu.org; Fri, 08 Feb 2019 02:10:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gs0IU-0002do-S8 for bug-gnu-emacs@gnu.org; Fri, 08 Feb 2019 02:10:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Feb 2019 07:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34375 X-GNU-PR-Package: emacs Original-Received: via spool by 34375-submit@debbugs.gnu.org id=B34375.154960980210148 (code B ref 34375); Fri, 08 Feb 2019 07:10:02 +0000 Original-Received: (at 34375) by debbugs.gnu.org; 8 Feb 2019 07:10:02 +0000 Original-Received: from localhost ([127.0.0.1]:38832 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gs0IT-0002dU-MN for submit@debbugs.gnu.org; Fri, 08 Feb 2019 02:10:01 -0500 Original-Received: from mail-wr1-f41.google.com ([209.85.221.41]:39670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gs0IR-0002dG-Ix for 34375@debbugs.gnu.org; Fri, 08 Feb 2019 02:10:00 -0500 Original-Received: by mail-wr1-f41.google.com with SMTP id t27so2392426wra.6 for <34375@debbugs.gnu.org>; Thu, 07 Feb 2019 23:09:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:mail-copies-to:gmane-reply-to-list :date:in-reply-to:message-id:mime-version:content-transfer-encoding; bh=3Gu0v8gpkw0cWWCOQcZIhEW3WAeO7A/CdQ1Vv4gpN0U=; b=a4iNgPoYWgMEFsHvjFsd/c0BtgScA1EqL42axxiXzKM4LpXJPhQJHB+2sOwJGhbnpc sEvs+dkCp6BKEH30gVQk7FMcz/55HPY+K/bODrnYWS8iTqo41athsUN75rw/8u0sZGJr 2NVE2ZlrUJOtFZTM7y4P1Lso3xdKZ2bYCV0sq3vM8jNO/t2pKGJ5Gsk61qv4/ZAFp5uN jyiDX6OWVjCx/X5ysMjerG8912bkK4nQpu37mwWBv007OfIF98ADn2nm9SdmByE0gzFA gTRCq1knwxTd2v1hyuMxCXtaenxCwuWnoxl2QIDeHqiRR4eWhoPkivc9yd9fJACeTg7J /pqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:mail-copies-to :gmane-reply-to-list:date:in-reply-to:message-id:mime-version :content-transfer-encoding; bh=3Gu0v8gpkw0cWWCOQcZIhEW3WAeO7A/CdQ1Vv4gpN0U=; b=F6ywHPXRUN2uAdnlniUxO8dLFE6c/2jpl/MjYQT2TNxe0VtPSLRWSHsTkpWz/0xzq9 bgNYZiuglhh24lZpmS/MeCT2GNwjgSiVRXR9qHhAiLbSL1K0oaaRL5c+CN9V+Ylh/WBI PGJa+SZ+PCgcULyDq37+CLBsPaR+Vo5W4Obfewe/T4+vPwL359aZcAbLuFwVQJj3r5Td 2K2pHpA6f12GZgP9J1BF16whUlkDMmIWLSuzMOc3ngZMHcf4fLCMqKYz6g67oZrwWnx/ p9vZkiqp5NCs0JigOpmiR7p7YBH6QT9AUlVjwGCYxJIEaqTV+I2ABa82gX+XGb+JwGQQ VvoA== X-Gm-Message-State: AHQUAua8GKP8nEIyX9yvamy4S/bDYyTQy7Kv9Ua6bc/8qu2RTTlQXuQJ nTPBze1mdXH2zdHqJiNFXMWA9xxv X-Google-Smtp-Source: AHgI3IYYCGzz9RSmvVmgD6DUZE+MG05/Q0Gk9KiAHf7dD2rKmJx/rlGwSrJ2Ra16DNMTxb6PaGHQ0g== X-Received: by 2002:a5d:5750:: with SMTP id q16mr15059666wrw.12.1549609791085; Thu, 07 Feb 2019 23:09:51 -0800 (PST) Original-Received: from rpluim-mac ([2a01:e34:ecfc:a860:508e:f5c1:5162:8e85]) by smtp.gmail.com with ESMTPSA id d17sm591371wrw.68.2019.02.07.23.09.49 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 07 Feb 2019 23:09:50 -0800 (PST) Mail-Copies-To: never Gmane-Reply-To-List: yes In-Reply-To: (Andy Smith's message of "Thu, 7 Feb 2019 23:00:01 +0000") 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:155247 Archived-At: Andy Smith writes: > 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:La= tin > 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? (you didn=CA=BCt specify which version of Emacs you=CA=BCre using) The number you need to enter is in hex, and C-x 8 ret implicitly assumes that numbers entered are in hexadecimal format, at least in 26.1 and master, so I suspect you=CA=BCre not running either of those. Robert