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:01:50 +0200 Message-ID: <86v7x71lpd.fsf@gnu.org> References: <79fc91f3-c2c3-44db-9817-595808917f26@cas.cat> <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> <86froc34kz.fsf@gnu.org> <86cyjg2w1i.fsf@gnu.org> <877c9ocevy.fsf@localhost> <86zfmk14ey.fsf@gnu.org> <871pzwccpn.fsf@localhost> <86y1241378.fsf@gnu.org> <87y124awk1.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11821"; mail-complaints-to="usenet@ciao.gmane.io" Cc: cpardo@imayhem.com, emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 01 08:03:06 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 1t6lgY-0002sv-Cy for ged-emacs-devel@m.gmane-mx.org; Fri, 01 Nov 2024 08:03:06 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t6lfU-0002F0-Jx; Fri, 01 Nov 2024 03:02:00 -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 1t6lfQ-0002Eq-P7 for emacs-devel@gnu.org; Fri, 01 Nov 2024 03:01:56 -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 1t6lfO-0008MZ-JD; Fri, 01 Nov 2024 03:01:54 -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=fi60IkB1c/t/ANcZNvFrVBtmmgC1qzKcs/CCK1Lfpbk=; b=MopYnVpFLYfI 6yy3ZvZ2/EBEyv8hDNEvzWvQ3yDMBXRk2y29SKpP+Gu25hHuMEVKCE4yMQVLo/d4+h5Vz7tahHELz 6mWJTfvSUWEd160xc7ykAYQN8dntJBaFmFiFoaJb9hc3See6Ks1/YFuWigLCzZn7NRkoRVBg7jZAy 336gJx0Twjxc56zj+6hb0p+8Idqt4gR8/Qra9w6JUceYkfEkCDytDKDFvlyvrOmm0jY/MlJtlu/E6 sAEw/sGNr1vL1x3ep7OD5tv6nuKJjXlH0+2AYcf95/uggc3kv0VMCwHPZJXXu4UTUPP5TPpJyrHPz GOszWqDUt/vSA32d8JA4+A==; In-Reply-To: <87y124awk1.fsf@localhost> (message from Ihor Radchenko on Thu, 31 Oct 2024 19:42:38 +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:324987 Archived-At: > From: Ihor Radchenko > Cc: cpardo@imayhem.com, emacs-devel@gnu.org > Date: Thu, 31 Oct 2024 19:42:38 +0000 > > Eli Zaretskii writes: > > >> > In the general case, the yanked data will be inserted into the buffer, > >> > not saved in some file. So no, it is not "almost always" the case; > >> > rather, it is almost never the case. > >> > >> May you provide examples for such uses in Emacs? > > > > Yanking HTML into a buffer. > > Fair. What about images? An image can be yanked into a buffer for the simple purpose of showing it, without any need to save it to a file. In addition, I hope that one day Emacs will be able to enhance image-save such that users could choose in which image format to save the image.