GNU bug report logs - #34375
Problem with the 'to input' information in what-cursor-position

Previous Next

Package: emacs;

Reported by: Andy Smith <andyrsmith <at> gmail.com>

Date: Fri, 8 Feb 2019 00:25:01 UTC

Severity: normal

Tags: notabug

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Andy Smith <andyrsmith <at> gmail.com>
To: 34375 <at> debbugs.gnu.org
Subject: Re: bug#34375: Problem with the 'to input' information in
 what-cursor-position
Date: Fri, 8 Feb 2019 10:18:21 +0000
[Message part 1 (text/plain, inline)]
Thanks for getting back.

(version)
"GNU Emacs 26.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.22.30)
 of 2018-07-05"

Just to explain what I'm seeing. Apologies for having to use screenshot but
the I'm not sure if the unicode stuff will translate well via email :-(

My point is that 'what-char-position' gives an incorrect instruction to the
user for character 150. I think it should really say ....

to input:  type "C-8 RET 0150 ...."

instead of

to input:  type "C-8 RET 150 ...."

2c60 works as expected so maybe it's a problem for characters who have a
hex representation less than four letters.

Cheers,

A.



[image: 2019-02-08_10-11.png]




On Fri, 8 Feb 2019 at 07:11, Eli Zaretskii <eliz <at> gnu.org> wrote:

> > From: Andy Smith <andyrsmith <at> gmail.com>
> > Date: Thu, 7 Feb 2019 23:00:01 +0000
> >
> > I ran what-cursor-position on a unicode char. Get the following ...
> >
> > position: 12 of 16 (69%), column: 0
> >             character: Ő (displayed as Ő) (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:Latin
> >              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 cannot reproduce this.  It works for me.  What do you get if you
> type "C-x 8 RET 150", as indicated in what-cursor-position's output?
>
> > The to-input field maybe needs to display an octal string properly
> > prefixed with a zero maybe?
>
> No, the code is interpreted as hex by "C-x 8 RET".  So I wonder what
> went wrong in your case.  Can you show the result of "C-h l" (the
> letter ell, not the digit one) after typing "C-x 8 RET 150"?
>
[Message part 2 (text/html, inline)]
[2019-02-08_10-11.png (image/png, inline)]

This bug report was last modified 6 years and 154 days ago.

Previous Next


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