GNU bug report logs - #9519
24.0.50; the NS variant shows the U+20xy quotes always in ugly Apple Symbols font

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs,ns; Reported by: Peter Dyballa <Peter_Dyballa <at> freenet.de>; merged with #9515; dated Thu, 15 Sep 2011 23:09:01 UTC; Maintainer for emacs is bug-gnu-emacs <at> gnu.org.
Merged 9515 9519. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 15 Sep 2011 23:08:21 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 15 19:08:21 2011
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1R4L2b-0006Mp-5o
	for submit <at> debbugs.gnu.org; Thu, 15 Sep 2011 19:08:21 -0400
Received: from eggs.gnu.org ([140.186.70.92])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <Peter_Dyballa <at> freenet.de>) id 1R4L2Y-0006Mi-D4
	for submit <at> debbugs.gnu.org; Thu, 15 Sep 2011 19:08:19 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Peter_Dyballa <at> freenet.de>) id 1R4Kxy-00070X-GM
	for submit <at> debbugs.gnu.org; Thu, 15 Sep 2011 19:03:37 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
	autolearn=unavailable version=3.3.1
Received: from lists.gnu.org ([140.186.70.17]:48687)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Peter_Dyballa <at> freenet.de>) id 1R4Kxy-00070T-En
	for submit <at> debbugs.gnu.org; Thu, 15 Sep 2011 19:03:34 -0400
Received: from eggs.gnu.org ([140.186.70.92]:48104)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Peter_Dyballa <at> freenet.de>) id 1R4Kxx-0007Ai-Be
	for bug-gnu-emacs <at> gnu.org; Thu, 15 Sep 2011 19:03:34 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Peter_Dyballa <at> freenet.de>) id 1R4Kxv-0006zs-Io
	for bug-gnu-emacs <at> gnu.org; Thu, 15 Sep 2011 19:03:33 -0400
Received: from mout1.freenet.de ([195.4.92.91]:52194)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Peter_Dyballa <at> freenet.de>) id 1R4Kxv-0006zM-AE
	for bug-gnu-emacs <at> gnu.org; Thu, 15 Sep 2011 19:03:31 -0400
Received: from [195.4.92.19] (helo=9.mx.freenet.de)
	by mout1.freenet.de with esmtpa (ID peter_dyballa <at> freenet.de) (port 25)
	(Exim 4.76 #5) id 1R4Kxs-0002UM-N0
	for bug-gnu-emacs <at> gnu.org; Fri, 16 Sep 2011 01:03:28 +0200
Received: from ip-88-153-242-186.unitymediagroup.de ([88.153.242.186]:57480
	helo=peter-dyballas-macbook-pro.fritz.box)
	by 9.mx.freenet.de with esmtpsa (ID peter_dyballa <at> freenet.de)
	(TLSv1:AES128-SHA:128) (port 587) (Exim 4.76 #1) id 1R4Kxs-0005lY-7H
	for bug-gnu-emacs <at> gnu.org; Fri, 16 Sep 2011 01:03:28 +0200
From: Peter Dyballa <Peter_Dyballa <at> freenet.de>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Subject: 24.0.50;
	the NS variant shows the U+20xy quotes always in ugly Apple Symbols
	font
Date: Fri, 16 Sep 2011 01:03:27 +0200
Message-Id: <6FA0A8AF-B8BB-4F38-9C80-463C298BF27C <at> freenet.de>
To: bug-gnu-emacs <at> gnu.org
Mime-Version: 1.0 (Apple Message framework v1084)
X-Mailer: Apple Mail (2.1084)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
	recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3)
X-Received-From: 140.186.70.17
X-Spam-Score: -5.7 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -5.7 (-----)

Hello!

These typographical quotes

	=E2=80=98;  2018  LEFT SINGLE QUOTATION MARK
	=E2=80=99;  2019  RIGHT SINGLE QUOTATION MARK
	=E2=80=9A;  201A  SINGLE LOW-9 QUOTATION MARK
	=E2=80=9B;  201B  SINGLE HIGH-REVERSED-9 QUOTATION MARK
	=E2=80=9C;  201C  LEFT DOUBLE QUOTATION MARK
	=E2=80=9D;  201D  RIGHT DOUBLE QUOTATION MARK
	=E2=80=9E;  201E  DOUBLE LOW-9 QUOTATION MARK
	=E2=80=9F;  201F  DOUBLE HIGH-REVERSED-9 QUOTATION MARK

are always displayed in ugly Apple Symbols font, which puts the low =
quotes much too high and the high quotes much too low. Except when I =
select FreeMono as font for the buffer (via Cmd-T). So I decided to =
change Emacs' behaviour with this statement in my init file:

    (set-fontset-font (frame-parameter nil 'font) '(#x2018 . #x201F)
		      "FreeMono" nil 'prepend)

This works only initially in the initial frame. In another frame or the =
initial frame after having increased the font size (via the Apple font =
chooser tool from Cmd-T) the function describe-fontset (for the current =
frame) reports:

	=E2=80=98 .. =E2=80=99 (#x2018 .. #x2019)
	    -*-*-*-*-*-*-*-*-*-*-*-*-iso10646-1
		=
[-apple-Apple_Symbols-medium-normal-normal-*-10-*-*-*-p-0-iso10646-1]
	    -*-*-*-*-*-*-*-*-*-*-*-*-jisx0208.1983-0
	    -*-*-*-*-*-*-*-*-*-*-*-*-gb2312.1980-0
	    -*-*-*-*-*-*-*-*-*-*-*-*-big5-0
	    -*-*-*-*-*-*-*-*-*-*-*-*-cns11643.1992-1
	    -*-*-*-*-*-*-*-*-*-*-*-*-ksc5601.1987-0
	=E2=80=9A .. =E2=80=9B (#x201A .. #x201B)
	    -*-*-*-*-*-*-*-*-*-*-*-*-iso10646-1
		=
[-apple-Apple_Symbols-medium-normal-normal-*-10-*-*-*-p-0-iso10646-1]
	=E2=80=9C .. =E2=80=9D (#x201C .. #x201D)
	    -*-*-*-*-*-*-*-*-*-*-*-*-iso10646-1
		=
[-apple-Apple_Symbols-medium-normal-normal-*-10-*-*-*-p-0-iso10646-1]
	    -*-*-*-*-*-*-*-*-*-*-*-*-jisx0208.1983-0
	    -*-*-*-*-*-*-*-*-*-*-*-*-gb2312.1980-0
	    -*-*-*-*-*-*-*-*-*-*-*-*-big5-0
	    -*-*-*-*-*-*-*-*-*-*-*-*-cns11643.1992-1
	    -*-*-*-*-*-*-*-*-*-*-*-*-ksc5601.1987-0
	=E2=80=9E .. =E2=80=9F (#x201E .. #x201F)
	    -*-*-*-*-*-*-*-*-*-*-*-*-iso10646-1
		=
[-apple-Apple_Symbols-medium-normal-normal-*-10-*-*-*-p-0-iso10646-1]

while, after inserting these QUOTEs for example in *scratch* buffer, the =
function returns:

	=E2=80=98 .. =E2=80=9F (#x2018 .. #x201F)
	    -*-FreeMono-*-*-*-*-*-*-*-*-*-*-*-*
		=
[-apple-FreeMono-medium-normal-normal-*-10-*-*-*-m-0-iso10646-1]

though rather short-lived...


When use

    (set-fontset-font (frame-parameter nil 'font) '(#x2018 . #x201E)
		      "Monospace" nil 'prepend)

(Monospace has no U+201F glyph) the function describe-fontset throws an =
error:

	print-fontset: Invalid regexp: "Regular expression too big"

When invoked once more it runs OK and returns:

	=E2=80=98 .. =E2=80=9E (#x2018 .. #x201E)
	    -*-Monospace-*-*-*-*-*-*-*-*-*-*-*-*
		=
[-apple-Monospace-medium-normal-normal-*-10-*-*-*-m-0-iso10646-1]

Using Bitstream Vera Sans Mono, which additionally has no U+201B glyph, =
the function describe-fontset tends to crash GNU Emacs. When not, then =
it reports:

	=E2=80=98 .. =E2=80=9E (#x2018 .. #x201E)
	    -*-Bitstream Vera Sans Mono-*-*-*-*-*-*-*-*-*-*-*-*
		=
[-apple-Bitstream_Vera_Sans_Mono-medium-normal-normal-*-10-*-*-*-m-0-iso10=
646-1]


How can the choice of FreeMono (with standard text font being Lucida =
Sans Typewriter) be made persistent? Or GNU Emacs be stopped using Apple =
Symbols, at least for these quote characters?


In GNU Emacs 24.0.50.2 (x86_64-apple-darwin10.8.0, NS =
apple-appkit-1038.36)
 of 2011-09-15 on peter-dyballas-macbook-pro.fritz.box
Windowing system distributor `Apple', version 10.3.1038
configured using `configure  '--without-sound' '--without-dbus' =
'--without-pop' '--without-gconf' '--without-gpm' '--with-ns' =
'--disable-ns-self-contained' =
'--enable-locallisppath=3D/Library/Application =
Support/Emacs/calendar24:/Library/Application Support/Emacs' =
'CFLAGS=3D-Wswitch-enum -v -g -H -pipe -fPIC -fno-common -m64 =
-mtune=3Dcore2 -march=3Dcore2 -fast -foptimize-register-move =
-ftree-vectorize' 'LDFLAGS=3D-Wl,-dead_strip_dylibs -Wl,-bind_at_load =
-Wl,-t' 'CC=3Dclang' 'CXX=3Dclang++' =
'PKG_CONFIG_PATH=3D/opt/local/lib/pkgconfig:/opt/local/share/pkgconfig:/us=
r/lib/pkgconfig''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: de_DE.UTF-8
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: de_DE.UTF-8
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t

Major mode: Help

Minor modes in effect:
  shell-dirtrack-mode: t
  diff-auto-refine-mode: t
  show-paren-mode: t
  display-time-mode: t
  desktop-save-mode: t
  mac-print-mode: t
  delete-selection-mode: t
  tooltip-mode: t
  mouse-wheel-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
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

(The -Wswitch-enum C flag is an experiment, because Clang =E2=80=93 =
Apple clang version 1.7 (tags/Apple/clang-77) (based on LLVM 2.9svn) =E2=80=
=93 emits many warning with enums, -fast and others are not understood =
by Clang. The same is true for the default option -no-cpp-precomp from =
the configure script.)

--
Greetings

             ~  O
  Pete       ~~_\\_/%
             ~  O  o





Acknowledgement sent to Peter Dyballa <Peter_Dyballa <at> freenet.de>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. Full text available.
Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#9519; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 20 Sep 2011 19:45:02 UTC

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