From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.bugs Subject: bug#20926: 25.0.50; Quotation marks always display as hard quotes Date: Mon, 29 Jun 2015 13:48:57 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d04428e4057d7550519a78339 X-Trace: ger.gmane.org 1435582226 3255 80.91.229.3 (29 Jun 2015 12:50:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Jun 2015 12:50:26 +0000 (UTC) To: 20926@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jun 29 14:50:16 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z9YVs-0001yG-6Q for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Jun 2015 14:50:16 +0200 Original-Received: from localhost ([::1]:42158 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9YVr-0003JQ-JK for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Jun 2015 08:50:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55113) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9YVj-0003Gx-FC for bug-gnu-emacs@gnu.org; Mon, 29 Jun 2015 08:50:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z9YVg-0003BH-7V for bug-gnu-emacs@gnu.org; Mon, 29 Jun 2015 08:50:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59517) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9YVg-0003An-3Z for bug-gnu-emacs@gnu.org; Mon, 29 Jun 2015 08:50:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Z9YVf-0004fB-Io for bug-gnu-emacs@gnu.org; Mon, 29 Jun 2015 08:50:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 29 Jun 2015 12:50:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20926 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20926-submit@debbugs.gnu.org id=B20926.143558214717859 (code B ref 20926); Mon, 29 Jun 2015 12:50:03 +0000 Original-Received: (at 20926) by debbugs.gnu.org; 29 Jun 2015 12:49:07 +0000 Original-Received: from localhost ([127.0.0.1]:60963 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z9YUj-0004dy-Qu for submit@debbugs.gnu.org; Mon, 29 Jun 2015 08:49:06 -0400 Original-Received: from mail-wi0-f182.google.com ([209.85.212.182]:38268) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Z9YUh-0004dU-5U for 20926@debbugs.gnu.org; Mon, 29 Jun 2015 08:49:04 -0400 Original-Received: by wibdq8 with SMTP id dq8so71313473wib.1 for <20926@debbugs.gnu.org>; Mon, 29 Jun 2015 05:48:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=6dBrDOyoiZ1sw2ygypjJLxYriqvi+fRzEoAEOfueNAY=; b=GFX2J1d3KLZsQ4OOVwyhKIKjxElne3sUyPYkZTEBQ626exJcSelSRbdhnnooTMhWnm uN49J5SDgbsLy7kX1ClO2IWciMAzDlbtvmjyWseBswUOs3OQ7yU23W24lHKRosujr4Dw A+86SKQGPRqUxNx6d2/3RsCNEMtC2S969wpvfRkmkG2zN8OKGWy6GztY/PdS1wUlGqLm TPwqgxmKF/UGpOYp4Pd984E6RRjGPEmwz3IRRCzCBtwzOTkp3OVDbA0M38ex9V3nwGxf jHjEEEw/GLHJSCXJC4oaIYocdvQ+BfEzE/7uoUz6zeSynuYXKNwm3rksBeyJ2Nj5QAoH Tx+w== X-Received: by 10.180.80.229 with SMTP id u5mr21043490wix.92.1435582137356; Mon, 29 Jun 2015 05:48:57 -0700 (PDT) Original-Received: by 10.194.16.42 with HTTP; Mon, 29 Jun 2015 05:48:57 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:104472 Archived-At: --f46d04428e4057d7550519a78339 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable To add to the confusion. If I start a regular emacs (i.e., if I *don't* use emacs -Q), then elisp buffers *do* display round quotations, but text-mode buffers still don't. 2015-06-29 13:42 GMT+01:00 Artur Malabarba : > 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: =E2=80=98 (displayed as =E2=80=98) (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) ('=E2=80=98') > > 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.1150100= 0 > 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=3Dibus > 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 > > > > --f46d04428e4057d7550519a78339 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
To add to the confusion. If I start a regular emacs (i.e.,= if I *don't* use emacs -Q), then elisp buffers *do* display round quot= ations, but text-mode buffers still don't.


2015-06-29 13:42 GMT+01:0= 0 Artur Malabarba <bruce.connor.am@gmail.com>:
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 i= ndeed 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 i= t
would be right to mask a double quote the user has explicitly typed.

---

=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0position: 411 of 3041 (13%)= , column: 0
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 character: =E2=80=98 (displayed a= s =E2=80=98) (codepoint 8216, #o20030, #x2018)
=C2=A0 =C2=A0 preferred charset: unicode (Unicode (ISO10646))
code point in charset: 0x2018
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0script: symbol
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0syntax: . which mean= s: punctuation
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0category: .:Base, c:Chinese= , h:Korean, j:Japanese
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0to input: type "C-x 8 = RET 2018" or "C-x 8 RET LEFT SINGLE
QUOTATION MARK"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 buffer code: #xE2 #x80 #x98
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 file code: #xE2 #x80 #x98 (encode= d by coding system utf-8-emacs)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 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
=C2=A0 name: LEFT SINGLE QUOTATION MARK
=C2=A0 old-name: SINGLE TURNED COMMA QUOTATION MARK
=C2=A0 general-category: Pi (Punctuation, Initial quote)
=C2=A0 decomposition: (8216) ('=E2=80=98')

There are text properties here:
=C2=A0 fontified=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 t

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

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

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

Major mode: Lisp Interaction

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




--f46d04428e4057d7550519a78339--