From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: master b525f201ba: Allow specifying the color to use in image-elide Date: Thu, 15 Sep 2022 09:07:50 +0200 Message-ID: <87illp15fd.fsf@gnus.org> References: <166317972871.8462.16344173364399917298@vcs2.savannah.gnu.org> <20220914182209.04F50C00872@vcs2.savannah.gnu.org> <838rml194r.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5202"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Stefan Kangas , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Sep 15 09:18:42 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 1oYj8y-0001BY-RQ for ged-emacs-devel@m.gmane-mx.org; Thu, 15 Sep 2022 09:18:40 +0200 Original-Received: from localhost ([::1]:47412 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oYj8x-0007EP-6B for ged-emacs-devel@m.gmane-mx.org; Thu, 15 Sep 2022 03:18:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYiyd-0001PS-5c for emacs-devel@gnu.org; Thu, 15 Sep 2022 03:08:01 -0400 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:48508) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYiyb-0001A7-NU; Thu, 15 Sep 2022 03:07:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=kVMAgWpKtlnSLGK1QsRxiiJSBz/Yhf7rlHXc2m0aykU=; b=VQIukIxCsrQAduZQfaMmeeq2AZ kxLXPoOsMlvAkPg2+65bY55lZeKHcFZZk8K8BL70lijzKt6EnbZZdbZIQMvNtHj7gU9S5pBll837R bTh0R08tI0IH5HDOL+t7KeX3gKNGS1BxNaxmIMRzWIffFv4zkQtfLnr5r2ObzMlvSm34=; Original-Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oYiyV-0007jE-5d; Thu, 15 Sep 2022 09:07:53 +0200 In-Reply-To: <838rml194r.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 15 Sep 2022 08:47:48 +0300") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEUhHB0oIyNYSEKT dmzjwrX////3c5ssAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+YJDwcDDH5uKXUAAAFFSURBVDjL7ZPh bcQwCIXNTQB0gfDcAXomG8T7z1Sw3bu0jdRK/VtOFyl8BgyPlHJlwuXaSMofTAFI2DdQ3f0SqAzj XyT/tx+ML710OfdYgXTnP8LOnEiWJlyIP503WDxSrdOarNOCIOf9mWmYxA3plJM/VDeOCLV0LL/O 3RmXUqOP4jRyR4DyAEyrUeJ05i+upYZIJLMBEpjFKlbPEmChBVQRx3MZ3SoQd5gg8uDFsPfevakA PCOyYByrPS2BzlneMi2g+wCe5SdQgjzB0eS2gJDlxzEzRa54m7PPHgBf/n4sMMYaAfsJTCGjmczU H2a2FA5Qqz/Bm+W1hh9fQCqQSg/wqNE3HaCMtmtbId59yxnLECmLj0aOBm+sdcgrCWq8x6c+RN1C A1iqB7Qo0kAcJ2L+CVA4tikmu+/Nt839db/fQ2boO+f/RiO2cVKPAAAAJXRFWHRkYXRlOmNyZWF0 ZQAyMDIyLTA5LTE1VDA3OjAzOjEyKzAwOjAwzAGIFgAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0w OS0xNVQwNzowMzoxMiswMDowML1cMKoAAAAASUVORK5CYII= X-Now-Playing: Console's _Herself_: "Of Time" Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=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:295393 Archived-At: 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. I think I'll follow Stefan's suggestion to make it prompt with a prefix, and then move the SQUARE stuff into the function itself -- i.e., hit a key while cropping to switch to square mode. Eli Zaretskii writes: > I see the same term used in at least one more such program. So it > sounds like "cut" is the term we should use here. OK, I'll go with `image-cut', and move the key binding to `x'. 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.