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: Thu, 31 Oct 2024 13:16:28 +0200 Message-ID: <86froc34kz.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> <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> <830de500-7c21-4dad-8290-9ab0f210af97@cas.cat> <86y1243cbx.fsf@gnu.org> <358410b5-29c3-4c75-a63c-68edd123fad8@cas.cat> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33075"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: pinmacs Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 31 12:17:56 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 1t6TBa-0008Rm-Tw for ged-emacs-devel@m.gmane-mx.org; Thu, 31 Oct 2024 12:17:55 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t6TAx-00085K-Ag; Thu, 31 Oct 2024 07:17:15 -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 1t6TAf-00084H-Ig for emacs-devel@gnu.org; Thu, 31 Oct 2024 07:16:57 -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 1t6TAf-0004QI-2g; Thu, 31 Oct 2024 07:16:57 -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=/1CzC1B7n4VPT+GLzeqeZtpFOB5SqZA9y9pMlv4G0R8=; b=UJAugAC/shET K4se4I1BpOKtjfW+k9mDt9p2//mMeEY9kO9CrB1aVvg+BI/t/IJ0QdaCjn9iJ/87f/gfkCMAT2eSx wlJXwc1xs3eo5qyJInYsA9lTsDI4czcYLrksK7WFPxoqNaXJu9zmI3qio4zSEEh6YNS7EBhbmlhP3 I3XjiAZXng2ya0CX/1fWTgYAb00RggCX8Yp0niRP3tdUdvvjqh3BwKEaasCsbFVYB0Hj3SCyGDS9/ JDE/5aVO3QQuB7A0Ryy/20GbWs9jeyShtxn74aDrsU7MCRHVNcdc1FrQeR57Ki+RmG6vY4h3iqghY 80W6u1q8/e/AZVuQ8WkGWg==; In-Reply-To: <358410b5-29c3-4c75-a63c-68edd123fad8@cas.cat> (message from pinmacs on Thu, 31 Oct 2024 11:47:42 +0100) 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:324965 Archived-At: > Date: Thu, 31 Oct 2024 11:47:42 +0100 > From: pinmacs > > Maybe I am missing too but when you choose a format, you choose how you > store and retain that information. Depending on what you are going to do > with that images, you might be interested in different formats. That is inaccurate: the format in which the yanked data is store in Emacs does NOT depend on your selection. Your selection only determines how Emacs will fetch the data from the clipboard/selection, and therefore also how it will interpret that data for the purpose of inserting it into a buffer.