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.devel Subject: Re: yank-media: allow users to limit image types that can be inserted Date: Fri, 01 Nov 2024 09:38:38 +0200 Message-ID: <86ikt71k01.fsf@gnu.org> References: <79fc91f3-c2c3-44db-9817-595808917f26@cas.cat> <87frpqflv4.fsf@gmail.com> <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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28866"; mail-complaints-to="usenet@ciao.gmane.io" Cc: yantar92@posteo.net, 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 Fri Nov 01 08:39:58 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 1t6mGB-0007FA-Tg for ged-emacs-devel@m.gmane-mx.org; Fri, 01 Nov 2024 08:39:56 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t6mFP-0000kF-5m; Fri, 01 Nov 2024 03:39:07 -0400 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 1t6mFN-0000jy-LE for emacs-devel@gnu.org; Fri, 01 Nov 2024 03:39:05 -0400 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 1t6mFM-0004US-OQ; Fri, 01 Nov 2024 03:39:04 -0400 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=uuLcEZ4rqjFXS8R+PpG3SpN+lZlZAVnol6LKXPf+2dM=; b=D0ALuUL6EaxM ivNWoFE4Emj1FMdqQMFYmpJ+yU8zeZnFWMYj54M/QSGHiOyAD8vVPMwiK87GhlBtCbD9lkajfv9WP LYGsAnM3GBzcZIQybEaCXkZ3RrTeLH8RPupb2ntvCX9xvpvgHq+5w0MEv/zp8YJbFNB7hSLLEOqLm Q2v7qNqvit2prs55qAGAxfsgY1e4Cvj7ievV+gU7AdxiSIxXfivfKR9kWKuPWexCt/fS18ABzKIj4 qWc7iOtI+UwIGlxUKHL2t0WfwEZtA/h6dMdZi+r7AkkDCC/Uxmbkjdc1xMooIPDyoRS4jWmrdRe3G 7Ex3GF0+bxabaOBuUj/Hpg==; In-Reply-To: <87jzdny1g4.fsf@gmail.com> (message from Visuwesh on Fri, 01 Nov 2024 10:50:43 +0530) 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:324988 Archived-At: > From: Visuwesh > Cc: yantar92@posteo.net, pinmacs@cas.cat, rpluim@gmail.com, > emacs-devel@gnu.org > Date: Fri, 01 Nov 2024 10:50:43 +0530 > > 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? Yes. Thanks for a concise summary.