From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Devon Sean McCullough Newsgroups: gmane.emacs.bugs Subject: bug#33126: 26.1; xpm2 broken in MacOSX Date: Tue, 23 Oct 2018 22:02:06 +0800 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1540303339 4984 195.159.176.226 (23 Oct 2018 14:02:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 23 Oct 2018 14:02:19 +0000 (UTC) To: 33126@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 23 16:02:14 2018 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 1gExGA-0001Ci-7Z for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Oct 2018 16:02:14 +0200 Original-Received: from localhost ([::1]:41550 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gExIG-0005qd-DZ for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Oct 2018 10:04:24 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34215) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gExI0-0005mL-5J for bug-gnu-emacs@gnu.org; Tue, 23 Oct 2018 10:04:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gExHu-00042L-Kr for bug-gnu-emacs@gnu.org; Tue, 23 Oct 2018 10:04:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34095) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gExHu-00041n-DG for bug-gnu-emacs@gnu.org; Tue, 23 Oct 2018 10:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gExHu-0007hK-75 for bug-gnu-emacs@gnu.org; Tue, 23 Oct 2018 10:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Devon Sean McCullough Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 Oct 2018 14:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 33126 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.154030338729522 (code B ref -1); Tue, 23 Oct 2018 14:04:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Oct 2018 14:03:07 +0000 Original-Received: from localhost ([127.0.0.1]:38353 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gExH0-0007g6-El for submit@debbugs.gnu.org; Tue, 23 Oct 2018 10:03:06 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52030) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gExGw-0007fS-7t for submit@debbugs.gnu.org; Tue, 23 Oct 2018 10:03:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gExGh-00031Z-5Q for submit@debbugs.gnu.org; Tue, 23 Oct 2018 10:02:57 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:37039) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gExGg-00031M-W5 for submit@debbugs.gnu.org; Tue, 23 Oct 2018 10:02:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33299) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gExGb-0004ji-3D for bug-gnu-emacs@gnu.org; Tue, 23 Oct 2018 10:02:46 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gExGX-0002vs-90 for bug-gnu-emacs@gnu.org; Tue, 23 Oct 2018 10:02:40 -0400 Original-Received: from gateway32.websitewelcome.com ([192.185.145.122]:28714) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gExGR-0002jb-Sv for bug-gnu-emacs@gnu.org; Tue, 23 Oct 2018 10:02:33 -0400 Original-Received: from cm11.websitewelcome.com (cm11.websitewelcome.com [100.42.49.5]) by gateway32.websitewelcome.com (Postfix) with ESMTP id B99F215663 for ; Tue, 23 Oct 2018 09:02:11 -0500 (CDT) Original-Received: from leaf.websitewelcome.com ([192.185.82.99]) by cmsmtp with SMTP id ExG7g3SaeRPojExG7gIuf5; Tue, 23 Oct 2018 09:02:11 -0500 X-Authority-Reason: nr=8 Original-Received: from 1-36-60-235.static.netvigator.com ([1.36.60.235]:58870 helo=[192.168.8.2]) by leaf.websitewelcome.com with esmtpsa (TLSv1:ECDHE-RSA-AES256-SHA:256) (Exim 4.91) (envelope-from ) id 1gExG6-004Ezo-Ka for bug-gnu-emacs@gnu.org; Tue, 23 Oct 2018 09:02:11 -0500 X-Mailer: Apple Mail (2.3124) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - leaf.websitewelcome.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jovi.net X-BWhitelist: no X-Source-IP: 1.36.60.235 X-Source-L: No X-Exim-ID: 1gExG6-004Ezo-Ka X-Source: X-Source-Args: X-Source-Dir: X-Source-Sender: 1-36-60-235.static.netvigator.com ([192.168.8.2]) [1.36.60.235]:58870 X-Source-Auth: devon2011@jovi.net X-Email-Count: 1 X-Source-Cap: am92aW5ldDtkZXZvbjtsZWFmLndlYnNpdGV3ZWxjb21lLmNvbQ== X-Local-Domain: yes X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] 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:151519 Archived-At: ; This code inserts four images ; 1 - a correct checkerboard ; 2 - an incorrect blank image of the wrong size ; 3 - a correct "blarg" ; 4 - a correct checkerboard ; but the middle two images should look identical. (defvar chex (create-image "/* XPM */ static char * chex_xpm[] =3D { \"32 32 2 1\", \"* c #ffff00\", \". c #00ff00\", \"****....****....****....****....\", \"****....****....****....****....\", \"****....****....****....****....\", \"****....****....****....****....\", \"....****....****....****....****\", \"....****....****....****....****\", \"....****....****....****....****\", \"....****....****....****....****\", \"****....****....****....****....\", \"****....****....****....****....\", \"****....****....****....****....\", \"****....****....****....****....\", \"....****....****....****....****\", \"....****....****....****....****\", \"....****....****....****....****\", \"....****....****....****....****\", \"****....****....****....****....\", \"****....****....****....****....\", \"****....****....****....****....\", \"****....****....****....****....\", \"....****....****....****....****\", \"....****....****....****....****\", \"....****....****....****....****\", \"....****....****....****....****\", \"****....****....****....****....\", \"****....****....****....****....\", \"****....****....****....****....\", \"****....****....****....****....\", \"....****....****....****....****\", \"....****....****....****....****\", \"....****....****....****....****\", \"....****....****....****....****\", };" 'xpm t) "32x32 pixel yellow and green checker board.") (defvar xpm2 (create-image "! XPM2 16 7 2 1 * c #000000 . c #ffffff **..*........... *.*.*........... **..*..**.**..** *.*.*.*.*.*..*.* **..*..**.*...** ...............* .............**." 'xpm t) "The xpm2 example at = https://en.wikipedia.org/wiki/X_PixMap#Comparison_with_other_formats") (defvar xpm3 (create-image "/* XPM */ static char * blarg_xpm[] =3D { \"16 7 2 1\", \"* c #000000\", \". c #ffffff\", \"**..*...........\", \"*.*.*...........\", \"**..*..**.**..**\", \"*.*.*.*.*.*..*.*\", \"**..*..**.*...**\", \"...............*\", \".............**.\" };" 'xpm t) "The xpm3 example at = https://en.wikipedia.org/wiki/X_PixMap#Comparison_with_other_formats") (progn (insert "\n") (insert-image chex) (insert "\n") (insert-image xpm2) (insert "\n") (insert-image xpm3) (insert "\n") (insert-image chex)) In GNU Emacs 26.1 (build 1, x86_64-apple-darwin14.5.0, NS appkit-1348.17 = Version 10.10.5 (Build 14F2511)) of 2018-05-31 built on builder10-10.porkrind.org Windowing system distributor 'Apple', version 10.3.1404 Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured using: 'configure --with-ns '--enable-locallisppath=3D/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp' --with-modules' Configured features: NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS Important settings: value of $LANG: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Fundamental 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 blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message rmc puny seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils elec-pair time-date tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/ns-win ns-win ucs-normalize mule-util term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote kqueue cocoa ns multi-tty make-network-process emacs) Memory information: ((conses 16 204288 9229) (symbols 48 20206 1) (miscs 40 70 171) (strings 32 28845 1721) (string-bytes 1 764502) (vectors 16 35070) (vector-slots 8 718022 13590) (floats 8 48 72) (intervals 56 205 0) (buffers 992 12))