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: `M-x yank-media' Date: Sun, 07 Nov 2021 12:02:31 +0200 Message-ID: <837ddk9tc8.fsf@gnu.org> References: <877ddlt2pp.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15308"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 07 11:04:31 2021 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 1mjf2M-0003m9-Ir for ged-emacs-devel@m.gmane-mx.org; Sun, 07 Nov 2021 11:04:30 +0100 Original-Received: from localhost ([::1]:55840 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mjf2L-0007yv-Fz for ged-emacs-devel@m.gmane-mx.org; Sun, 07 Nov 2021 05:04:29 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42534) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjf0r-0007Ah-Pp for emacs-devel@gnu.org; Sun, 07 Nov 2021 05:02:58 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40602) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjf0r-0005q1-DN; Sun, 07 Nov 2021 05:02:57 -0500 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=+xAfPOLcriWfXWuo86Wv4DsgjvsX27rqOf5uhgpGBxQ=; b=PTOx+VBKrOdF IDiKO+V7z6zjQXjQLnPepbj3glHC5G5b3Fm/8U0MaYRXgm2KeiYYpqSfwu66mvNBW4ul9S3EGBmUi pMgeaACDTwiRqhfaFaC/vmPASx7Ir7GrCEnl/XoDaxZVDiv9HyKFPqaCT4DuGuJyRCAJ0b7+9HlWG ylv4JAmJ8kGSMBax89qDb3YhdiaAY8GpscTY+2cwRoEis3mt4D/Wyhwo/2qZBmTsi9MNuu4mn6kJb 9CI8k4yBBLV+6AmPeupaNSq/iFfrar89wmOk9Jap+WmToq20+kAoB5LF18My/swsGjNp6ffyCJApO wFZWX6TZW06upbRhKIzOfw==; Original-Received: from [87.69.77.57] (port=3207 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mjf0h-0002Ag-Jm; Sun, 07 Nov 2021 05:02:50 -0500 In-Reply-To: <877ddlt2pp.fsf@gnus.org> (message from Lars Ingebrigtsen on Sat, 06 Nov 2021 22:05:06 +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" Xref: news.gmane.io gmane.emacs.devel:278929 Archived-At: > From: Lars Ingebrigtsen > Date: Sat, 06 Nov 2021 22:05:06 +0100 > > I've now finally added a framework for meaningfully yanking > non-plain-text selections into Emacs. The only mode that supports it > yet is message-mode, but look: > > Other obvious modes is html-mode (for text/html and images) and > ... image-mode? I guess? The latter could perhaps just prompt for a > file name and save it (and then display it). Thanks. This new command doesn't seem to work for me on MS-Windows: I get this message: user-error: No handler in the current buffer for anything on the clipboard The documentation doesn't seem to hint that something non-trivial is needed for this to work. Also, should this be bound to a key? Perhaps even C-y?