From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#69602: 29.1; Image :map should adjust with :scale and :rotation Date: Fri, 08 Mar 2024 10:31:12 +0200 Message-ID: <867cid15wv.fsf@gnu.org> References: <87msramv72.fsf@breatheoutbreathe.in> <86jzmejzfd.fsf@gnu.org> <87a5namqyz.fsf@breatheoutbreathe.in> <86cys63281.fsf@gnu.org> <87wmqelakx.fsf@breatheoutbreathe.in> <86bk7q2xye.fsf@gnu.org> <871q8lk2o7.fsf@breatheoutbreathe.in> <87o7bpi4c1.fsf@breatheoutbreathe.in> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33585"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 69602@debbugs.gnu.org, stephen.berman@gmx.net, juri@linkov.net To: Joseph Turner Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 08 09:32:49 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1riVer-0008UT-8W for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 08 Mar 2024 09:32:49 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1riVec-0000gK-7K; Fri, 08 Mar 2024 03:32:34 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1riVeY-0000UE-RY for bug-gnu-emacs@gnu.org; Fri, 08 Mar 2024 03:32:30 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1riVeY-0002nn-I0 for bug-gnu-emacs@gnu.org; Fri, 08 Mar 2024 03:32:30 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1riVf3-0005if-Sa for bug-gnu-emacs@gnu.org; Fri, 08 Mar 2024 03:33:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Mar 2024 08:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69602 X-GNU-PR-Package: emacs Original-Received: via spool by 69602-submit@debbugs.gnu.org id=B69602.170988672321866 (code B ref 69602); Fri, 08 Mar 2024 08:33:01 +0000 Original-Received: (at 69602) by debbugs.gnu.org; 8 Mar 2024 08:32:03 +0000 Original-Received: from localhost ([127.0.0.1]:56526 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1riVe6-0005gc-OM for submit@debbugs.gnu.org; Fri, 08 Mar 2024 03:32:03 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:53052) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1riVe4-0005g6-A6 for 69602@debbugs.gnu.org; Fri, 08 Mar 2024 03:32:01 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1riVdQ-0002e9-EV; Fri, 08 Mar 2024 03:31:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=jE7bj9fgumHVLnEeqQEsrOvBqeUqGIzTUgVmSibC698=; b=fHJAU+NWIuKa EWmw79QSMpoa8lSZtGdXssEXIPUYU1mrJZB/p8FPxiAwfvzDSxTb+zy0B12QpFMTofUuL8a7952Wh tbZPZ4rCZ5SDwwyNenxHUuUTN0Ul9oZggbMXM+bPCMs0ZwPjHL3bCj1nlTD1MqiwAQY4quvhxkZ2H r3ai+mdjc/707c0O5/VYlPPbBrN/BqJliOVVHzHKLQ6Ac5Su6omPRcaAZmzadBdvJUpTtl4rzTZVo 48in6ecC6qwkb/ihSnpEeCnh5MNPzMYanpxpX7AJ0WUSyEzGiarGrU1JUOaQVrCytOoKX/4Q7j9Cq 9xqyhy31iRu943uuS8bWpw==; In-Reply-To: <87o7bpi4c1.fsf@breatheoutbreathe.in> (message from Joseph Turner on Thu, 07 Mar 2024 23:02:24 -0800) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:281214 Archived-At: > From: Joseph Turner > Date: Thu, 07 Mar 2024 23:02:24 -0800 > > Joseph Turner writes: > > > The attached patch adds two hooks in `image.el' which allow packages to > > recompute an image's map after it's rescaled or rotated. > > In this new attached patch, rescaling image maps is handled within > image.el. No new hooks are added. This change should be backwards > compatible, except that :unscaled-map is now a reserved image property. Are we sure no Lisp program out there would want the coordinates in :map to remain unchanged under these transformation? Maybe we should add a variable to control this, so that the change could be truly backward-compatible? > If we decide to install this patch, I'll work on modifying image maps > inside of `image-rotate', as well as update the manual and NEWS. Thanks.