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 13:50:38 +0200 Message-ID: <8634t10woh.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> <867cid15wv.fsf@gnu.org> <87bk7phzdz.fsf@breatheoutbreathe.in> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36571"; 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 12:52:07 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 1riYlh-0009GX-HS for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 08 Mar 2024 12:52:05 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1riYlB-000828-R2; Fri, 08 Mar 2024 06:51:33 -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 1riYl9-00081Q-Ot for bug-gnu-emacs@gnu.org; Fri, 08 Mar 2024 06:51:31 -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 1riYl9-0006AJ-D1 for bug-gnu-emacs@gnu.org; Fri, 08 Mar 2024 06:51:31 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1riYlf-000498-BQ for bug-gnu-emacs@gnu.org; Fri, 08 Mar 2024 06:52:03 -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 11:52:03 +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.170989869515858 (code B ref 69602); Fri, 08 Mar 2024 11:52:03 +0000 Original-Received: (at 69602) by debbugs.gnu.org; 8 Mar 2024 11:51:35 +0000 Original-Received: from localhost ([127.0.0.1]:56912 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1riYlD-00047h-EZ for submit@debbugs.gnu.org; Fri, 08 Mar 2024 06:51:35 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55368) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1riYlA-00047O-3y for 69602@debbugs.gnu.org; Fri, 08 Mar 2024 06:51:33 -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 1riYkP-0005wy-HY; Fri, 08 Mar 2024 06:50:53 -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=Y4+hTl8G1i3Nef1br6ml/ie0nAIWxtaH/Bz5m0CEB8I=; b=TscGgJYvrUEW LHtPNKytBhhyebPPc70PZWozsTwBBkp6AZFvgmuRfMpO4nu1nF3K1SscvEBE9Mx64GDNoRGQJF/gf QYN4eFkOI5P8dQHuhG1uiAbpK79hDUdRRhz/HLiTk2hEn4LpfwpmUqOw+bTxSHvukcrhuuWTNMkmK OPNNtVSEZdes+uErKSWaK3bQP9jvMZzY/CE2QtMQGtXEsTttiGwztEit93AfJ+ZHff7WU1yDH0K3q ZCJLFxdXJv5lFzvG9QR1ZiSd10EXp8zM+u7R/J+kwfhth2V877zwk2A9H0IEyZXQC74++G99uSKQx 2OgY+ZU2AlK9p37vyiQ5PA==; In-Reply-To: <87bk7phzdz.fsf@breatheoutbreathe.in> (message from Joseph Turner on Fri, 08 Mar 2024 00:39:16 -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:281226 Archived-At: > From: Joseph Turner > Cc: 69602@debbugs.gnu.org, stephen.berman@gmx.net, juri@linkov.net > Date: Fri, 08 Mar 2024 00:39:16 -0800 > > > 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? > > Good point. Thanks! > > What if explicitly passing :unscaled-map 'no-recalculate in > `create-image' prevented :map from being recalculated later? I think that's less desirable, since some images could be created outside of control of a Lisp program that wants to control the coordinates. > If not, what kind of variable did you have in mind? A special variable > let-bound the call? Or another argument to `create-image'? I had in mind a special variable (we'd need to mention it in NEWS and in the doc string of the relevant functions). Adding an argument is a heavier change, and I think it is not justified in this case, because I do agree with you that most, if not all, applications would want the coordinates to scale together with the image. Thanks.