all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Artur Malabarba <bruce.connor.am@gmail.com>
To: 20926@debbugs.gnu.org
Subject: bug#20926: 25.0.50; Quotation marks always display as hard quotes
Date: Mon, 29 Jun 2015 13:42:18 +0100	[thread overview]
Message-ID: <CAAdUY-LJVT5oeHMY3X3h0sUVnYyo+xczvm=cOAjgTaeyGNTSfw@mail.gmail.com> (raw)

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





             reply	other threads:[~2015-06-29 12:42 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-29 12:42 Artur Malabarba [this message]
2015-06-29 12:48 ` bug#20926: 25.0.50; Quotation marks always display as hard quotes 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

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='CAAdUY-LJVT5oeHMY3X3h0sUVnYyo+xczvm=cOAjgTaeyGNTSfw@mail.gmail.com' \
    --to=bruce.connor.am@gmail.com \
    --cc=20926@debbugs.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.