all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Sergei Meshveliani <mechvel@botik.ru>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 33688@debbugs.gnu.org
Subject: bug#33688: UTF symbols in 25.2.2 under Ubuntu
Date: Mon, 10 Dec 2018 00:56:29 +0300	[thread overview]
Message-ID: <1544392589.2348.3.camel@one.mechvel.pereslavl.ru> (raw)
In-Reply-To: <83o99u379e.fsf@gnu.org>

On Sun, 2018-12-09 at 20:05 +0200, Eli Zaretskii wrote:
> > From: Sergei Meshveliani <mechvel@botik.ru>
> > Date: Sun, 09 Dec 2018 19:19:11 +0300
> > 
> > This is on  GNU Emacs 25.2.2  installed on Ubuntu Linux 18.04 LTS.
> > It draws wrongly some UTF symbols.
> > 
> > I see this when writing programs in Agda.
> > Agda is a programming language that uses some UTF symbols in the source
> > code. It has a certain Agda input method for UTF symbols.
> > For example, in
> >                     A\rB          (1)
> > 
> > \r is an UTF symbol \rightarrow in Agda programs.
> > (1) needs to be drawn somewht similar to
> >                                          A->B
> > 
> > But emacs draws the part `>' of the arrow inside B, so that the string
> > looks like
> >                     A-B
> > 
> > , and with with a certain garbage inside B. 
> 
> If you go to that character between A and B, and type "C-u C-x =",
> what does Emacs display in the *Help* buffer?  Please post the entire
> contents of the *Help* buffer you get.
> 


I print below what is shown in Debian + GNU Emacs 23.2.1
and
                            in Ubuntu 18.04 + GNU Emacs 25.2. 



**********************************************************************
In  Debian,  GNU Emacs 23.2.1   everything is drawn correct.

\r    Example:  A\rB   to be drawn close to   A->B
The codes are
        character: → (8594, #o20622, #x2192)
preferred charset: unicode (Unicode (ISO10646))
       code point: 0x2192
           syntax: w    which means: word
       category: .:Base, c:Chinese, h:Korean, j:Japanese
       to input: type
       "\r-" or "\rightarrow" or "\r" or "\longrightarrow" or "\to" or
"\->"
                   with Agda
      buffer code: #xE2 #x86 #x92
        file code: #xE2 #x86 #x92 (encoded by coding system utf-8-unix)
          display: terminal code #xE2 #x86 #x92

Character code properties: customize what to show
  name: RIGHTWARDS ARROW
  old-name: RIGHT ARROW
  general-category: Sm (Symbol, Math)

------------------------------------------------------------
\-->    Example:  Preserves_\-->_   to be drowun close to  Preserves_->_
 
The codes are

        character: ⟶ (10230, #o23766, #x27f6)
preferred charset: unicode (Unicode (ISO10646))
       code point: 0x27F6
           syntax: w    which means: word
         category: .:Base
         to input: type "\r--" or "\r" or "\-->" with Agda
      buffer code: #xE2 #x9F #xB6
        file code: #xE2 #x9F #xB6 (encoded by coding system utf-8-unix)
          display: terminal code #xE2 #x9F #xB6

Character code properties: customize what to show
  name: LONG RIGHTWARDS ARROW
  general-category: Sm (Symbol, Math)



************************************************************************
In Ubuntu 18.04,  Gnu Emacs 25.2 :

\r   is wrongly drawn in  A\rB

The codes are 
    character: → (displayed as →) (codepoint 8594, #o20622, #x2192)
    preferred charset: unicode (Unicode (ISO10646))
code point in charset: 0x2192
               script: symbol
               syntax: w        which means: word
    category: .:Base, c:Chinese, h:Korean, j:Japanese
    to input: type "\r-" or "\rightarrow" or "\r" or "\longrightarrow"\
 or "\to" or "\->" with Agda input method
          buffer code: #xE2 #x86 #x92
    file code: #xE2 #x86 #x92 (encoded by coding system utf-8-unix)
              display: terminal code #xE2 #x86 #x92

Character code properties: customize what to show
  name: RIGHTWARDS ARROW
  old-name: RIGHT ARROW
  general-category: Sm (Symbol, Math)
  decomposition: (8594) ('→')

---------------------------------------------------------------
\-->   is very wrongly drawn in  Preserves_\-->_

The codes are
    character: ⟶ (displayed as ⟶) (codepoint 10230, #o23766, #x27f6)
    preferred charset: unicode (Unicode (ISO10646))
code point in charset: 0x27F6
               script: symbol
               syntax: w        which means: word
             category: .:Base
       to input: type "\r--" or "\r" or "\-->" with Agda input method
       buffer code: #xE2 #x9F #xB6
       file code: #xE2 #x9F #xB6 (encoded by coding system utf-8-unix)
              display: terminal code #xE2 #x9F #xB6

Character code properties: customize what to show
  name: LONG RIGHTWARDS ARROW
  general-category: Sm (Symbol, Math)
  decomposition: (10230) ('⟶')







  reply	other threads:[~2018-12-09 21:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-09 16:19 bug#33688: UTF symbols in 25.2.2 under Ubuntu Sergei Meshveliani
2018-12-09 18:05 ` Eli Zaretskii
2018-12-09 21:56   ` Sergei Meshveliani [this message]
2018-12-10  6:09     ` Eli Zaretskii
2018-12-10 20:43       ` Sergei Meshveliani
2018-12-11  4:51         ` Eli Zaretskii
2020-08-21  7:36           ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1544392589.2348.3.camel@one.mechvel.pereslavl.ru \
    --to=mechvel@botik.ru \
    --cc=33688@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.