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: Sat, 26 Oct 2024 22:09:48 +0300 Message-ID: <86ed42bs03.fsf@gnu.org> References: <79fc91f3-c2c3-44db-9817-595808917f26@cas.cat> <86ed5ahb08.fsf@gnu.org> <87zfnywki8.fsf@gmail.com> <86setqfnmq.fsf@gnu.org> <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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10803"; mail-complaints-to="usenet@ciao.gmane.io" Cc: visuweshm@gmail.com, pinmacs@cas.cat, rpluim@gmail.com, emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Oct 26 21:10:14 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 1t4mAw-0002dm-J0 for ged-emacs-devel@m.gmane-mx.org; Sat, 26 Oct 2024 21:10:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t4mAd-0006M8-MC; Sat, 26 Oct 2024 15:09:55 -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 1t4mAb-0006Lu-LO for emacs-devel@gnu.org; Sat, 26 Oct 2024 15:09:53 -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 1t4mAb-0004Iq-4f; Sat, 26 Oct 2024 15:09:53 -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=7Jk8AxiMyK+XFE/m8tgpIdgNHqbcerVRUzsGH+bUol8=; b=G9rj/hQWFQk6 CUaVbiEa+qQmWOQPmBt8xRVhifzjlKmPuaId9dNTplayDbbWLxJhDW4xADdVLxH3JXGoQUZMSBIJ6 NQ0k4x1+pon9xObPSdLGZwcQAddiQ95m5kYgMXivC40Ou3LwOBb2iEJoAATsLme8ey6ZuEr5bCoBX cK5NWsa2UADpTNbZxUBxktSG9j2UcO0hod0ULlbgTEarpTeOmS4uzNQ/V7uWpW2qEayehLvdydJ1e wXP3mMXAslD6v8Y0qQ/0Xv3dFbY4eprZug7RBTYOoyEWeElxQ73YLbU4Aqm8UTEeLUm+5Un1iFtm+ wmID5vCTDVELVfcMpt17hw==; In-Reply-To: <87msiqvkph.fsf@localhost> (message from Ihor Radchenko on Sat, 26 Oct 2024 17:27:06 +0000) 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:324856 Archived-At: > From: Ihor Radchenko > Cc: Visuwesh , pinmacs@cas.cat, rpluim@gmail.com, > emacs-devel@gnu.org > Date: Sat, 26 Oct 2024 17:27:06 +0000 > > Eli Zaretskii writes: > > >> What about a user option yank-media-preferred-mimetypes which is a list > >> of mimetypes that the user would like to always opt for, given the > >> choice? > > > > That was proposed earlier in this thread, and I responded: I'm not > > sure I understand when and why would this option be needed _as_ a user > > option. [It's hard to pick up a discussion which stopped a month ago.] > Does it mean that you are not against an equivalent variable that can be > used from Elisp? I think that it might be good enough for Org mode > purposes and, if deemed necessary, may be later converted to user option. If a Lisp program wants to control which MIME types are preferred, it can do that already by changing the list of handlers, no? I'm sure I said that at some point in the discussion.