GNU bug report logs - #7786
23.2; Encoding of PostScript files

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; Reported by: Peter Dyballa <Peter_Dyballa@HIDDEN>; dated Wed, 5 Jan 2011 00:12:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

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


Received: (at submit) by debbugs.gnu.org; 5 Jan 2011 00:11:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jan 04 19:11:20 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 1PaGyF-00018I-TN
	for submit <at> debbugs.gnu.org; Tue, 04 Jan 2011 19:11:20 -0500
Received: from eggs.gnu.org ([140.186.70.92])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <Peter_Dyballa@HIDDEN>) id 1PaGyE-000186-9S
	for submit <at> debbugs.gnu.org; Tue, 04 Jan 2011 19:11:19 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Peter_Dyballa@HIDDEN>) id 1PaH59-000683-Mu
	for submit <at> debbugs.gnu.org; Tue, 04 Jan 2011 19:18:28 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
	autolearn=unavailable version=3.3.1
Received: from lists.gnu.org ([199.232.76.165]:59593)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Peter_Dyballa@HIDDEN>) id 1PaH59-00067z-KT
	for submit <at> debbugs.gnu.org; Tue, 04 Jan 2011 19:18:27 -0500
Received: from [140.186.70.92] (port=49198 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1PaH58-0006Xr-Fe
	for bug-gnu-emacs@HIDDEN; Tue, 04 Jan 2011 19:18:27 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <Peter_Dyballa@HIDDEN>) id 1PaH56-00067k-Q9
	for bug-gnu-emacs@HIDDEN; Tue, 04 Jan 2011 19:18:26 -0500
Received: from mout6.freenet.de ([195.4.92.96]:60701)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <Peter_Dyballa@HIDDEN>) id 1PaH56-00067R-EC
	for bug-gnu-emacs@HIDDEN; Tue, 04 Jan 2011 19:18:24 -0500
Received: from [195.4.92.14] (helo=4.mx.freenet.de)
	by mout6.freenet.de with esmtpa (ID peter_dyballa@HIDDEN) (port 25)
	(Exim 4.72 #3) id 1PaH54-0004Pr-7r
	for bug-gnu-emacs@HIDDEN; Wed, 05 Jan 2011 01:18:22 +0100
Received: from p5b23d337.dip.t-dialin.net ([91.35.211.55]:61144
	helo=[192.168.1.2])
	by 4.mx.freenet.de with esmtpsa (ID peter_dyballa@HIDDEN)
	(TLSv1:AES128-SHA:128) (port 587) (Exim 4.72 #3) id 1PaH53-0003hu-Oz
	for bug-gnu-emacs@HIDDEN; Wed, 05 Jan 2011 01:18:22 +0100
Message-Id: <F265AF4E-C402-4C84-9B50-9D8061FE896B@HIDDEN>
From: Peter Dyballa <Peter_Dyballa@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Content-Type: text/plain; charset=WINDOWS-1252; format=flowed; delsp=yes
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Apple Message framework v936)
Subject: 23.2; Encoding of PostScript files
Date: Wed, 5 Jan 2011 01:18:19 +0100
X-Mailer: Apple Mail (2.936)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Spam-Score: -5.1 (-----)
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/pipermail/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.1 (-----)

Hello!

When I open a PostScript file it's opened "(encoded by coding system =20
undecided-unix)" =96 as the *Help* buffer explains after invocation of =
C-=20
u x =3D.

This is incorrect, because, as PRML, The PostScript=AE Language =20
Reference manual, explains in a footnote near the end, on encodings:

	3. The ISOLatin1Encoding encoding vector deviates from the ISO =
8859-1 =20
standard in one
	   respect: the character at position 140 is quoteleft, whereas =
the =20
ISO standard specifies
	   grave. A PostScript program needing to conform exactly to the =
ISO =20
standard should
	   create a modified encoding vector with this entry changed.

So what is displayed in the buffer as

	character: ` (96, #o140, #x60)

is in reality, printed on some medium or on screen

	character: =91 (8216, #o20030, #x2018)

or: instead of /grave the character /quoteleft is encoded here.

IMO GNU Emacs should open a PostScript file in adobe-standard-=20
encoding, except it sees in the file that the font(s) used is (are) re-=20=

encoded in ISOLatin1Encoding (which is *not* the same as ISO 8819-1), =20=

CE Encoding, or whatever.


In GNU Emacs 23.2.1 (powerpc-apple-darwin9.8.0, X toolkit, Xaw3d =20
scroll bars)
  of 2010-08-01 on Latsche.local
Windowing system distributor `The X.Org Foundation', version =20
11.0.10903000
configured using `configure  '--without-sound' '--without-dbus' '--=20
without-pop' '--without-gconf' '--with-x-toolkit=3Dathena' '--x-=20
libraries=3D/usr/X11/lib' '--x-includes=3D/usr/X11/include' '--enable-=20=

locallisppath=3D/Library/Application Support/Emacs/calendar23:/Library/=20=

Application Support/Emacs' 'CFLAGS=3D-H -Wno-pointer-sign -pipe -fPIC -=20=

fno-common -mcpu=3D7450 -mtune=3D7450 -faltivec -fast' 'CPPFLAGS=3D' =20
'LDFLAGS=3D' 'CC=3Dgcc-4.2' 'CPP=3Dcpp-4.2''

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: PostScript

Minor modes in effect:
   doc-view-minor-mode: t
   tooltip-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-encryption-mode: t
   auto-compression-mode: t
   line-number-mode: t
   transient-mark-mode: t
   view-mode: t

Recent input:
<down-mouse-1> <mouse-1> C-x d <return> <escape> <
s <down> <down> <down> <down> <down> <down> <down>
<down> v <end> <escape> > <prior> <prior> M-x d e s
c r i b <tab> e n c o <tab> <backspace> <backspace>
c <tab> <backspace> <backspace> <backspace> <tab> c
h a r <tab> a <tab> <return> C-g M-x d e s c r i b
e - <tab> c o d <tab> <return> <return> <help-echo>
<prior> <prior> <prior> <prior> <prior> <prior> <next>
<next> <down> <down> <right> <right> <right> <right>
<right> <right> <right> <right> <right> <right> <right>
C-u C-x =3D <help-echo> <help-echo> <menu-bar> <PostScript>
<Cookbook> <ISOLatin1Extended> <help-echo> <help-echo>
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo>
<help-echo> <menu-bar> <help-menu> <send-emacs-bug
-report>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Mark set
Type C-c C-c to toggle between editing or viewing the document.
View mode: type C-h for help, h for commands, q to quit.
Mark set
Making completion list...
Quit
Making completion list...
Char: ` (96, #o140, #x60) point=3D36185 of 39534 (92%) column=3D11
call-interactively: Buffer is read-only: #<buffer man_ascii.ps>


--
Mit friedvollen Gr=FC=DFen

   Pete

=DCblicherweise begehen Menschen beim Entwerfen vollkommen =20
narrensicherer Dinge gerne den Fehler, das Genie des Volltrottels zu =20
untersch=E4tzen.





Acknowledgement sent to Peter Dyballa <Peter_Dyballa@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:
bug#7786; 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: Fri, 31 Oct 2014 17:00:04 UTC

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