From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.devel Subject: Re: yank-media: allow users to limit image types that can be inserted Date: Sun, 03 Nov 2024 17:19:26 +0000 Message-ID: <87plncgrq9.fsf@localhost> References: <79fc91f3-c2c3-44db-9817-595808917f26@cas.cat> <86ikumfjri.fsf@gnu.org> <877cb2fj0c.fsf@gmail.com> <86cykufhw7.fsf@gnu.org> <3a015d0f-549a-401f-be1c-651c9dbd5d9a@cas.cat> <8634lqfcaf.fsf@gnu.org> <87ikulwsd6.fsf@gmail.com> <86o74ddzxp.fsf@gnu.org> <87msiqvkph.fsf@localhost> <86ed42bs03.fsf@gnu.org> <874j4yot7x.fsf@localhost> <861q01c3h9.fsf@gnu.org> <87wmht3n17.fsf@gmail.com> <86v7xdamck.fsf@gnu.org> <87sesh37ya.fsf@gmail.com> <86iktd8o9h.fsf@gnu.org> <87iktb171d.fsf@gmail.com> <861pzw4r3j.fsf@gnu.org> <87v7x8y81c.fsf@gmail.com> <86ttcs38a8.fsf@gnu.org> <87jzdny1g4.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24099"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , pinmacs@cas.cat, rpluim@gmail.com, emacs-devel@gnu.org To: Visuwesh Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 03 18:18:54 2024 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 1t7eFZ-00067q-Pi for ged-emacs-devel@m.gmane-mx.org; Sun, 03 Nov 2024 18:18:53 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t7eEk-0004DX-4R; Sun, 03 Nov 2024 12:18:02 -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 1t7eEh-0004DO-R3 for emacs-devel@gnu.org; Sun, 03 Nov 2024 12:18:00 -0500 Original-Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t7eEg-0007yx-3X for emacs-devel@gnu.org; Sun, 03 Nov 2024 12:17:59 -0500 Original-Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 6AC5F240027 for ; Sun, 3 Nov 2024 18:17:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1730654275; bh=OEZZqgXu0wVRlEdD3wF5bMXHAPOa5fzqvVNf+TbY+GU=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: From; b=MPhncxZo1+OlWxJV9D+shtvJy8UeqiyDzCQ5kKjkm0IuZXWMepPYQtNoLh2vC70Zi rHwILecWVnEa46DoJUuBC/P24ApHDxC8Ju2wx9cyVc0zYYOaKvLL4SuZq8BkO0sI5u mVsjs4opPTFyi3Y+ZVUFCnW33zOCahHTeXdjWjsKTwNexO0UqTrtbXc4QwBzdzW8eA X0mE7HfAlaXlZ6TTmlGvKnaz0ln4jcLl2ntwb40O7o8Wcf+xDZZoScLViBkgcq5olV DFSv2A14pLAjl2MrRJ15gtIhuZ7Bn+xRVN7DXc1Mt75IC0GYjDU+6Exi9BGnECpC1j 0/hWfDBoBbDqw== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4XhLrx20kZz6tsb; Sun, 3 Nov 2024 18:17:53 +0100 (CET) In-Reply-To: <87jzdny1g4.fsf@gmail.com> Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.posteo.de 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, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:325063 Archived-At: Visuwesh writes: >> And I'm saying that I don't understand why users would need such >> control, in addition to being able to select a format in each case. > > OK, I think I finally understand your stance: we let yank-media pick the > best format out of all in the clipboard based on rules that a major-mode > can tweak. Apart from this, we also have C-u or somesuch that asks the > user to select the data type instead of auto-selecting it. Since the > C-u is good enough to override a case-by-case basis, you do not see > value in having a defcustom to let the user customise the selection > rules for the best data type, correct? So, what will be the plan here? A patch? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at