From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.bugs Subject: bug#24308: 25.1.50; Fix back-white <-> black-white typo Date: Thu, 25 Aug 2016 15:07:46 +0000 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=94eb2c0943f2580a74053ae6c38d X-Trace: blaine.gmane.org 1472137771 20197 195.159.176.226 (25 Aug 2016 15:09:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 25 Aug 2016 15:09:31 +0000 (UTC) To: 24308@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 25 17:09:23 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bcwHS-0004Su-Ji for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Aug 2016 17:09:22 +0200 Original-Received: from localhost ([::1]:56734 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcwHQ-0005tR-32 for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Aug 2016 11:09:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41139) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcwHA-0005oq-Pb for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2016 11:09:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bcwH8-0003Q0-Je for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2016 11:09:03 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43043) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcwH8-0003Pr-G5 for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2016 11:09:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bcwH8-00027t-Ab for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2016 11:09:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Kaushal Modi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 25 Aug 2016 15:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24308 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" Original-Received: via spool by submit@debbugs.gnu.org id=B.14721377018122 (code B ref -1); Thu, 25 Aug 2016 15:09:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Aug 2016 15:08:21 +0000 Original-Received: from localhost ([127.0.0.1]:40755 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bcwGT-00026v-4E for submit@debbugs.gnu.org; Thu, 25 Aug 2016 11:08:21 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49808) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bcwGQ-00026f-MK for submit@debbugs.gnu.org; Thu, 25 Aug 2016 11:08:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bcwGF-00036v-Qw for submit@debbugs.gnu.org; Thu, 25 Aug 2016 11:08:13 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:34422) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcwGF-00035X-Nf for submit@debbugs.gnu.org; Thu, 25 Aug 2016 11:08:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40743) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcwGD-00059H-Ej for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2016 11:08:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bcwG7-00033X-SM for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2016 11:08:04 -0400 Original-Received: from mail-ua0-x22b.google.com ([2607:f8b0:400c:c08::22b]:36134) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bcwG7-00033B-Mc for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2016 11:07:59 -0400 Original-Received: by mail-ua0-x22b.google.com with SMTP id m60so48476806uam.3 for ; Thu, 25 Aug 2016 08:07:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=5uw01XFQer6JA19PkF+rYBTPpyBieL4bunwb30K1i0g=; b=Pnj/Y2jarnl3bi1YTuS4pxpIdwX11P2YcDWgTsTeedbS8cwx5lcSjftVyDDP7+GaeO uE89+UVe1ntGemnL2FbDMrqFLbiqvTl+JgmVPEoWTUEBrf9scrhy/I/H11IQURbUSSdD jqq545T7UhjY4G0hXDD8ZhnUkQnuMdmBq5PKXDgItFgxtiMRjKgr/eaQ0dkGtJ8b77qp yd1hs+1PnT7hnJhz7DmWT+2DCfOIQIG0J1lm1Kr5CBk2pZlkGq1oA0Jxz3iFlOr5BqUM A11qSidKd92gu726H/JBBWQXahzuP/BJmXr1bDFl+Ju0ut4ASJ+6oThsaWXPWHfv38pf l0KQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=5uw01XFQer6JA19PkF+rYBTPpyBieL4bunwb30K1i0g=; b=PyHFBQupeyDPM4OnAkGIq+kyYyiZiHefYC7BBwlTA4RlD6vnPxlL0X36+pMZqW77MI LVr9nbvTbvKN1b3Tw5yxFcHpKAPtLxjxcU5VVyXEvtsBNV6zRvcKgcUzmNffJ/k/Bk0p GqYPuLD8q7ZIcwf6YXgvz8ZSv0KT6lLKY8UaRkuruTnsFl2U9aUUME28Qjg/4p8V058V JkmKtmSzcXMF9XM8LLMcxjnVnu7IPfWuBuLGpgw/8rUsZG8WCZkw+mmNkrIbHE+8mCdt FQvMAoL2iFOiQLK/Z9IA+lHPKtpGkOnX+p7HC1dQm0JgZj5h7t9I3dCJH5N1gRWzaFuE pMwA== X-Gm-Message-State: AEkooutscdTRUkNKUUk1ItoSHl6pFj1jWazPcWfnhNCVlzIcxpPFLLMMMFpfndgemXz55jui1G37eCY5K8l4PA== X-Received: by 10.31.102.135 with SMTP id a129mr4383349vkc.112.1472137677767; Thu, 25 Aug 2016 08:07:57 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:122655 Archived-At: --94eb2c0943f2580a74053ae6c38d Content-Type: text/plain; charset=UTF-8 This bug affects printing post-scripts in black and white. >From the documentation of ps-default-fs and ps-default-bg, we get: > This variable is used only when `ps-print-color-p' (which see) is neither nil > nor black-white. That does not match with the code .. these values affect the postscript export even when ps-print-color-p is set to 'black-white. On reviewing the code, the bug was that black-white was written as back-white (note the typo). I'll attach the patch in a followup email. In GNU Emacs 25.1.50.36 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.23) of 2016-08-24 Repository revision: 70cfe9df957bd2f0699f62fe5e69176313f7c8f0 Windowing system distributor 'The X.Org Foundation', version 11.0.60900000 System Description: Red Hat Enterprise Linux Workstation release 6.6 (Santiago) Configured using: 'configure --with-modules --prefix=/home/kmodi/usr_local/apps/6/emacs/master 'CPPFLAGS=-fgnu89-inline -I/home/kmodi/usr_local/6/include -I/usr/include/freetype2 -I/usr/include' 'CFLAGS=-ggdb3 -O0' 'CXXFLAGS=-ggdb3 -O0' 'LDFLAGS=-L/home/kmodi/usr_local/6/lib -L/home/kmodi/usr_local/6/lib64 -ggdb3'' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK2 X11 MODULES Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=none locale-coding-system: utf-8-unix -- Kaushal Modi --94eb2c0943f2580a74053ae6c38d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
This bug affects printing post-scripts in black and w= hite.

From the documentation of ps-default-fs and = ps-default-bg, we get:

> This variable is = used only when `ps-print-color-p' (which see) is neither nil
= > nor black-white.

That does not match wi= th the code .. these values affect the postscript export even when ps-print= -color-p is set to 'black-white.

On reviewing = the code, the bug was that black-white was written as back-white (note the = typo).=C2=A0

I'll attach the patch in a follow= up email.

<= span style=3D"line-height:1.5">In GNU Emacs 25.1.50.36 (x86_64-unknown-linu= x-gnu, GTK+ Version 2.24.23)
=C2=A0of 2016-08-24
=
Repository revision: 70cfe9df957bd2f0699f62fe5e69176313f7c8f0
Windowing system distributor 'The X.Org Foundation', version 11.0= .60900000
System Description: Red Hat Enterprise Linux Workstation release 6= .6 (Santiago)


Configured using:
=C2=A0'configure --with-modules
=C2=A0--prefix=3D/home= /kmodi/usr_local/apps/6/emacs/master
=C2=A0'CPPFLAGS=3D-fgnu8= 9-inline -I/home/kmodi/usr_local/6/include
=C2=A0-I/usr/include/f= reetype2 -I/usr/include' 'CFLAGS=3D-ggdb3 -O0'
=C2=A0= 'CXXFLAGS=3D-ggdb3 -O0' 'LDFLAGS=3D-L/home/kmodi/usr_local/6/li= b
=C2=A0-L/home/kmodi/usr_local/6/lib64 -ggdb3''

Configured features:
XPM JPEG TIFF GIF PNG RSVG = IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
NOTIFY ACL LIBSELINUX = GNUTLS LIBXML2 FREETYPE LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK2 = X11 MODULES

Important settings:
=C2=A0 v= alue of $LANG: en_US.UTF-8
=C2=A0 value of $XMODIFIERS: @im=3Dnon= e
=C2=A0 locale-coding-system: utf-8-unix
--
=

Kaushal Modi

--94eb2c0943f2580a74053ae6c38d--