From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.devel Subject: Re: master b525f201ba: Allow specifying the color to use in image-elide Date: Thu, 15 Sep 2022 10:21:38 +0300 Message-ID: References: <166317972871.8462.16344173364399917298@vcs2.savannah.gnu.org> <20220914182209.04F50C00872@vcs2.savannah.gnu.org> <838rml194r.fsf@gnu.org> <87illp15fd.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16333"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/+ () (2022-06-11) Cc: Eli Zaretskii , Stefan Kangas , emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Sep 15 09:36:46 2022 Return-path: Envelope-to: ged-emacs-devel@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 1oYjQS-00044B-KE for ged-emacs-devel@m.gmane-mx.org; Thu, 15 Sep 2022 09:36:44 +0200 Original-Received: from localhost ([::1]:33028 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oYjQK-00081o-TE for ged-emacs-devel@m.gmane-mx.org; Thu, 15 Sep 2022 03:36:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41000) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYjDH-000195-EY for emacs-devel@gnu.org; Thu, 15 Sep 2022 03:23:07 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:32811) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYjDE-0003sk-LI; Thu, 15 Sep 2022 03:23:06 -0400 Original-Received: from localhost ([::ffff:102.83.248.126]) (AUTH: PLAIN admin, TLS: TLS1.3,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA id 00000000000B5AC5.000000006322D2CD.000033A6; Thu, 15 Sep 2022 00:22:53 -0700 Mail-Followup-To: Lars Ingebrigtsen , Eli Zaretskii , Stefan Kangas , emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: <87illp15fd.fsf@gnus.org> Received-SPF: pass client-ip=217.170.207.13; envelope-from=bugs@gnu.support; helo=stw1.rcdrun.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:295398 Archived-At: * Lars Ingebrigtsen [2022-09-15 10:15]: > Eli Zaretskii writes: > > > Shouldn't the default be the background color of the frame? > > Yes, I guess that's as good a default as any. If default is background color of the frame then it means that cut out rectangle is transparent, there shall be no color. However, using default background for images related to frame is very bad idea. People use various themes and theme of Emacs is not related to the image. By default you should have background color to be white and customizable. Follow the established standard that foreground and background for image editing shall be defined somewhere beforehand just as in Gimp. > Hm... thinking about this for a couple of seconds, it wouldn't be > that hard to make it do what Gimp does -- that is, put the cut > pixels into a "clipboard"... But I think this would probably have > pretty marginal utility. Possibly. That is very useful, not marginal, that is what we do with images. We cut out something in order to save it. There shall be cut and copy options, not just cut. Copy means to select and copy, without removing part of the image. -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/