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 07c0e090bd 2/2: Add new commands 'image-crop' and 'image-elide' Date: Thu, 15 Sep 2022 09:52:19 +0300 Message-ID: References: <166307722823.21573.11653227304007303308@vcs2.savannah.gnu.org> <20220913135349.5341DC00872@vcs2.savannah.gnu.org> <87a6714yam.fsf@gnus.org> <83a671196f.fsf@gnu.org> <87r10d18pq.fsf@gnus.org> <86wna5kus1.fsf@mail.linkov.net> 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="18089"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/+ () (2022-06-11) Cc: Lars Ingebrigtsen , Eli Zaretskii , Stefan Kangas , emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Sep 15 09:13:02 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 1oYj3W-0004Tc-Ag for ged-emacs-devel@m.gmane-mx.org; Thu, 15 Sep 2022 09:13:02 +0200 Original-Received: from localhost ([::1]:56496 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oYj3U-0003hU-Nc for ged-emacs-devel@m.gmane-mx.org; Thu, 15 Sep 2022 03:13:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48626) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYikF-0002XR-5K for emacs-devel@gnu.org; Thu, 15 Sep 2022 02:53:07 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:38819) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYikD-0001st-Cv; Thu, 15 Sep 2022 02:53: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.000000006322CBCC.00003043; Wed, 14 Sep 2022 23:53:00 -0700 Mail-Followup-To: Juri Linkov , Lars Ingebrigtsen , Eli Zaretskii , Stefan Kangas , emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: <86wna5kus1.fsf@mail.linkov.net> 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:295392 Archived-At: * Juri Linkov [2022-09-15 09:45]: > > In Gimp, selecting a rectangle and removing the contents is called "cut" > > (and is on `C-x'). It puts the cut portion onto the clipboard, so it's > > not quite the same, but perhaps it's similar enough? > > "Cut" that doesn't put a rectangle onto the clipboard is called > "Clear" (on the Delete key). Also variations of this are called > "Fill with ..." (BG color, FG color, ...) He said that rectangle shall be filled with blankness. Blankness means to me transparency, it means no color. In that case, why not image-rectangle-blank -- as in that case function decides that what is cut out it becomes blank and I assume this means transparent, without any color. But if something is cut out to be pasted in some other image, then: image-rectangle-cut -- while the type of the image or its settings decide if it will be cut with transparency or not. If with "blankness" is not meant transparency that means that there shall be settings just like in Gimp to designate default foreground and background color, and when rectangle is cut, the background color should appear in the elided area. In that case it should be image-rectangle-remove or -cut or similar. -- Jean Take action in Free Software Foundation campaigns: https://www.fsf.org/campaigns In support of Richard M. Stallman https://stallmansupport.org/