From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: image-rotate: Accept angle as an argument Date: Mon, 05 Sep 2016 18:52:39 +0200 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1473094462 6231 195.159.176.226 (5 Sep 2016 16:54:22 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 5 Sep 2016 16:54:22 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Cc: monnier@iro.umontreal.ca, Emacs developers To: Tino Calancha Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 05 18:54:16 2016 Return-path: Envelope-to: ged-emacs-devel@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 1bgx9x-0000qR-Qd for ged-emacs-devel@m.gmane.org; Mon, 05 Sep 2016 18:54:13 +0200 Original-Received: from localhost ([::1]:55850 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgx9v-0005lB-Ey for ged-emacs-devel@m.gmane.org; Mon, 05 Sep 2016 12:54:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45375) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgx9p-0005l5-3U for emacs-devel@gnu.org; Mon, 05 Sep 2016 12:54:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bgx9k-0007v2-Sy for emacs-devel@gnu.org; Mon, 05 Sep 2016 12:54:04 -0400 Original-Received: from hermes.netfonds.no ([80.91.224.195]:45476) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bgx9k-0007uY-M2 for emacs-devel@gnu.org; Mon, 05 Sep 2016 12:54:00 -0400 Original-Received: from cm-84.215.1.64.getinternet.no ([84.215.1.64] helo=stories) by hermes.netfonds.no with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1bgx9d-0006M0-Fa; Mon, 05 Sep 2016 18:53:55 +0200 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAHlBMVEUTExUPDxEFBQcSEhMl ISITExMWFhgUFBbMnIUUFBQiu8TUAAACNklEQVQ4jXXTwWrbQBAG4AGhCt2iCJqz/QQKiwq5tdQ1 OQrMEvZWqJHwzVDQsrdCS+rcdFmLedv+M5LsQt0hxMt+7IxmVqL95nbQh//B+3aPQ9u2beXsFv+3 rfzRQ3uJzea6bv+C59NpOy8PgDv8MB+4F3jV7c4fzgpdYA7eA35h6X0YeewBXQs4K7weUjsSD+kL oG99CIQQ+Jo2RPmQNz2Kd+cDH2dIjEL68o4eOu9RnqpK4JupqG5S20gqVIjWHWkCSGpdk9GdB7C1 bk5VJY3jqIA2omOt8dMgKGUnj9t3AHY0LJC4OPXhJRWzpvpu5LGYx1ZrOA4chql4UlEeFdoQLeNU pkBJcgWk4pCP2jn2szQ6gV4BMUFKNMO0H2aINvODk1RlziiORhSO1hINwwLMGI8DvKE1n8l9CFhn 7a52DeDH4MIofaHBsraYVG2s1RPMPl8A6a0xtVEYxxEdR9x5WWPoAHM5gQiAokYmkRm8hkJ0O2t2 tZ1THT2qn/e0qm20GtOJYUm1cg65YHMf2aUGrsVK86ww+NH7PrRI5fg6xDfcsJzoe6R6WmAjkMmu l7d99SRHosDm9JtHpMdLqyCjVXgGsL7uCjrdONUA5KPv9cPR4tYtT4X5+emLWskQMXiFj07enBkq tOcGNIhv8wvu4JLKOJ2hMYDPZmfpSNPjJrXsmuJRoCixrDIIlZV5LDQAn3ShQuW8XRT7BUCU0bS6 X19DN0rA+t9YFQXd2pdjdHt/ff8HYueXIuOrQpcAAAAASUVORK5CYII= In-Reply-To: (Tino Calancha's message of "Tue, 6 Sep 2016 01:30:35 +0900 (JST)") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 80.91.224.195 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:207200 Archived-At: Tino Calancha writes: > i guess the code in image-mode.el for the rotations/resizes would be > much simple using the API from image.el. Well, the image-mode rotation settings do a lot more, like keeping the width/height from exceeding the frame width/height etc, so I don't think there's much potential for reuse there. Unless I'm misremembering what all that stuff was about in image-mode; it's been a while since I looked at it. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no