From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#7847: insert-sliced-image bug on darwin Date: Sat, 10 Sep 2016 23:57:41 +0100 Message-ID: References: <19760.29981.190000.767327@MJ.T42.T42> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1473548315 24068 195.159.176.226 (10 Sep 2016 22:58:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 10 Sep 2016 22:58:35 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (darwin) Cc: 7847-done@debbugs.gnu.org To: Antonio Santos Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 11 00:58:27 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 1birE1-0004KY-DD for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Sep 2016 00:58:17 +0200 Original-Received: from localhost ([::1]:35910 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1birDz-0006wE-2y for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Sep 2016 18:58:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49493) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1birDr-0006vI-0E for bug-gnu-emacs@gnu.org; Sat, 10 Sep 2016 18:58:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1birDm-0004QZ-M1 for bug-gnu-emacs@gnu.org; Sat, 10 Sep 2016 18:58:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:58109) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1birDm-0004QS-I5 for bug-gnu-emacs@gnu.org; Sat, 10 Sep 2016 18:58:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1birDm-0006Dk-9X for bug-gnu-emacs@gnu.org; Sat, 10 Sep 2016 18:58:02 -0400 Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 10 Sep 2016 22:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 7847 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Mail-Followup-To: 7847@debbugs.gnu.org, alan@idiocy.org, mjchan.inbox@gmail.com Original-Received: via spool by 7847-done@debbugs.gnu.org id=D7847.147354827123888 (code D ref 7847); Sat, 10 Sep 2016 22:58:02 +0000 Original-Received: (at 7847-done) by debbugs.gnu.org; 10 Sep 2016 22:57:51 +0000 Original-Received: from localhost ([127.0.0.1]:55821 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1birDb-0006DC-8y for submit@debbugs.gnu.org; Sat, 10 Sep 2016 18:57:51 -0400 Original-Received: from mail-wm0-f43.google.com ([74.125.82.43]:37697) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1birDZ-0006Cy-Fw for 7847-done@debbugs.gnu.org; Sat, 10 Sep 2016 18:57:49 -0400 Original-Received: by mail-wm0-f43.google.com with SMTP id c131so1858903wmh.0 for <7847-done@debbugs.gnu.org>; Sat, 10 Sep 2016 15:57:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=RWVidpjHEGU8sV+gQektC3UClWGYlXkzy4JNMiJvGew=; b=Q2U8FSHwg+PdhPk/CvNkrnnr+PQUgNxfNkN4StF5dcUIPWg84nL2CEoG7Ojql9hse9 cET5B2cp3Mp1Gru6gJ95kWOot0V4CAynCorkPLH9RfHaHX45r3MoZaGNve7yhk3KX1DM ilbGKSXfiBaXHLZtndHvjVRmTTKM5QktxeS9xJlrIpnQNahCZPW3EoDkqh/uUBOkl+jH /NM7aOvef2CPZ/mTLv2giL4jm2DY+HEB4KjCKq5hlI3HgwmatH7AQTzUfZof8GEFlOG9 z80Awoqgif78D+N/NVxmU0CiHkNYtaA8zONIzr3hkv6jlayvnXVIRxH1jyaiARYd9LfC Xp+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=RWVidpjHEGU8sV+gQektC3UClWGYlXkzy4JNMiJvGew=; b=OK1x2zBnhHNp6E3N5fZs/pESC6Pv62HMt6ldRkXH+SnSMQa68sSEvLVc5IQQDLx6eE jJnXMLciXophP9iz1FdbVF1ofmk4AXY8P3lqDETonSuYAZJD8PFnAz+WgpHjn3fcgBUk 442xj64TqCAoeHlaJ8CA5MWpmk9p/M8uWKMiYHtnjwSMeEZrqfXYWMwqceGCxMF1sTVg vhcXbQZxCwEOdTnCQmFwD8TSZ0fsMruVAYP4IoxJODAUwcYIH7yxcSEGiAWbjtIu5VGm 2Pb6de3GLEu4el5loPd0Ix0fdT4R8jemD1MqOpyMAl+tsNhJkIMogEboWOjis4EkDZm9 jSoQ== X-Gm-Message-State: AE9vXwPUxZeEUum2FxPe/vmzhAFAuusA5UNFrdZpa1/Czs/g5O3AKrQlNj1xwPvdHItY3g== X-Received: by 10.28.215.67 with SMTP id o64mr4343491wmg.98.1473548263528; Sat, 10 Sep 2016 15:57:43 -0700 (PDT) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-2914-1213-ae12-f60c.holly.idiocy.org. [2001:8b0:3f8:8129:2914:1213:ae12:f60c]) by smtp.gmail.com with ESMTPSA id ya1sm10281064wjb.23.2016.09.10.15.57.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 10 Sep 2016 15:57:43 -0700 (PDT) In-Reply-To: (Antonio Santos's message of "Wed, 14 Oct 2015 13:32:13 +0200") 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:123151 Archived-At: Antonio Santos writes: > It appears I've experienced this (or a very similar issue) recently. > > The order of the sliced images is reversed when evaluating > > (progn > (let ((image (find-image '((:type xpm :file "delete.xpm"))))) > (insert "\ntop: ") > (insert (propertize " " 'display `(,image (slice .0 .0 1.0 0.5)))) > (insert "\nbuttom: ") > (insert (propertize " " 'display `(,image (slice .0 .5 1.0 1.0)))))) > > I'm using OS X as well. Images in NextStep have an inverted Y co-ordinate and it looks like it was forgotten about when handling slices. I've pushed a fix to master. -- Alan Third