unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#20926: 25.0.50; Quotation marks always display as hard quotes
@ 2015-06-29 12:42 Artur Malabarba
  2015-06-29 12:48 ` bruce.connor.am
                   ` (2 more replies)
  0 siblings, 3 replies; 19+ messages in thread
From: Artur Malabarba @ 2015-06-29 12:42 UTC (permalink / raw)
  To: 20926

1. Start emacs -Q
2. go to *scratch* buffer
3. Type C-x RET 8 LEFT SINGLE QUOTATION MARK

At first sight, it seems that a hard quote gets inserted
instead. Examining it with `describe-char' (below) reveals that it is indeed a
round quote, but the display table is hiding it.
Note that the display table hides it even on the Help buffer itself!

The same happens for double quotes. And it's not exlusive to elisp
mode (I tested fundamental and text modes as well).
I haven't managed to follow all of the quote-gate conversation, but
I'm assuming this is a bug, as I can't think of a situation where it
would be right to mask a double quote the user has explicitly typed.

---

             position: 411 of 3041 (13%), column: 0
            character: ‘ (displayed as ‘) (codepoint 8216, #o20030, #x2018)
    preferred charset: unicode (Unicode (ISO10646))
code point in charset: 0x2018
               script: symbol
               syntax: . which means: punctuation
             category: .:Base, c:Chinese, h:Korean, j:Japanese
             to input: type "C-x 8 RET 2018" or "C-x 8 RET LEFT SINGLE
QUOTATION MARK"
          buffer code: #xE2 #x80 #x98
            file code: #xE2 #x80 #x98 (encoded by coding system utf-8-emacs)
              display: by display table entry [?'] (see below)

The display table entry is displayed by these fonts (glyph codes):
': xft:-unknown-Ubuntu
Mono-normal-normal-normal-*-13-*-*-*-m-0-iso10646-1 (#x0A)

Character code properties: customize what to show
  name: LEFT SINGLE QUOTATION MARK
  old-name: SINGLE TURNED COMMA QUOTATION MARK
  general-category: Pi (Punctuation, Initial quote)
  decomposition: (8216) ('‘')

There are text properties here:
  fontified            t

In GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.23)
 of 2015-06-01 on it055607
Windowing system distributor `The X.Org Foundation', version 11.0.11501000
System Description: Ubuntu 14.04.2 LTS

Configured features:
XPM JPEG TIFF GIF PNG SOUND GSETTINGS NOTIFY GNUTLS LIBXML2 FREETYPE XFT
ZLIB

Important settings:
  value of $LANG: en_GB
  value of $XMODIFIERS: @im=ibus
  locale-coding-system: iso-latin-1-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t





^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2015-07-02 16:41 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-29 12:42 bug#20926: 25.0.50; Quotation marks always display as hard quotes Artur Malabarba
2015-06-29 12:48 ` bruce.connor.am
2015-06-29 13:14   ` Artur Malabarba
2015-06-29 15:02     ` Eli Zaretskii
2015-06-29 15:10       ` Artur Malabarba
2015-06-29 15:22         ` Artur Malabarba
2015-06-29 15:32           ` Eli Zaretskii
2015-06-29 15:38             ` Artur Malabarba
2015-06-29 16:18               ` Artur Malabarba
2015-06-29 16:57                 ` Eli Zaretskii
2015-06-29 19:23         ` Artur Malabarba
2015-06-29 14:56 ` Eli Zaretskii
2015-06-29 15:08   ` Artur Malabarba
2015-07-02  5:42 ` Paul Eggert
2015-07-02 10:12   ` Artur Malabarba
2015-07-02 14:11     ` Paul Eggert
2015-07-02 14:46   ` Eli Zaretskii
2015-07-02 16:34     ` Paul Eggert
2015-07-02 16:41       ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).