X-Loop: help-debbugs@HIDDEN Subject: bug#71909: 30.0.60; Can not use yank-media for pasting image from clipboad in org-mode on Windows platform Resent-From: Eason Huang <aqua0210@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 03 Jul 2024 04:47:01 +0000 Resent-Message-ID: <handler.71909.B.171998200823466 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 71909 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 71909 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.171998200823466 (code B ref -1); Wed, 03 Jul 2024 04:47:01 +0000 Received: (at submit) by debbugs.gnu.org; 3 Jul 2024 04:46:48 +0000 Received: from localhost ([127.0.0.1]:38359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sOrtH-00066P-QY for submit <at> debbugs.gnu.org; Wed, 03 Jul 2024 00:46:48 -0400 Received: from lists.gnu.org ([209.51.188.17]:37594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <aqua0210@HIDDEN>) id 1sOrtE-00066G-1w for submit <at> debbugs.gnu.org; Wed, 03 Jul 2024 00:46:46 -0400 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 <aqua0210@HIDDEN>) id 1sOrtC-0002T8-58 for bug-gnu-emacs@HIDDEN; Wed, 03 Jul 2024 00:46:42 -0400 Received: from xmbghk7.mail.qq.com ([43.163.128.50]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <aqua0210@HIDDEN>) id 1sOrt7-00054j-Te for bug-gnu-emacs@HIDDEN; Wed, 03 Jul 2024 00:46:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1719981986; bh=BsCr87a+AURZPzbkKT6T2NOVWbskCgs0VkiYoWk4sto=; h=From:To:Subject:Date; b=mARiEFQAbi9Bjj0gTV/fEJn19UlypJN9kFd8ZHUYK/J3YhlHRLdsfysQoYrtN8k9P nVm49PM+mc03jA1roNNf2p9LXHKQMpolEMkGXNV1wv4knsDfdSwZBM690ItMkELj8T Gkwo/ldI75WiU1le3fH25i/bgJsKHRvLqDP/DrYI= Received: from DESKTOP-VIHFE84 ([202.96.203.174]) by newxmesmtplogicsvrszc5-2.qq.com (NewEsmtp) with SMTP id B54A74C7; Wed, 03 Jul 2024 12:45:20 +0800 X-QQ-mid: xmsmtpt1719981920t79wjhq43 Message-ID: <tencent_7FA4E415A96083033C6BED7C7354AEE02505@HIDDEN> X-QQ-XMAILINFO: ORuEwgb9eurkNxa3h0HDooVoatITNUZcJdso1d40cwKdB2e1RbKP7i1R0Df0iE QBNT1PJx1KQZsD5x56l2myEAJ+0VMbO2APM26LqdHlg4Kzb07Ls1nSh109IEc1gfCv5t/JaIuLBZ +IQwqYmzbl47hOKeNowz854sPQ/eEvHp9ExoD/zWjhUR5BTL8hC+TpdQtGQVKjkfLrsfvF8TlNdx MislqHuwceXt1l9BfbU4Z38fd9dK88GA/gb8uMuFL36H6zaBBiUZounpFJ+MtxlI5gAQLoSrSCz5 wotP8NO13NREjvUnFJKENPS3V/2LMItaIJlV7g3Pl8Uncgq1a1y5qyLR4RmQhxjwRw+xRLrIZIfi wpSNM0UelfJX1BeSlvRbGChj4l6lQyeLlkn7X/Zg3QBCtPbQyP6RffxXWFzdSPfniEhyiKmSgshe cAfpWkAPkxhDOIkvkVfVu5jiyS51Y9kXdc/gUpONliFoJGWZR9HbtTCF5bBDF37wd0mIBSlLThrM a6j4EQF7/1ykuYWaqIYq498wrhc2RMqLENybcIz20YeGS6e3k1sObKW1CxTzRS6RrHPF2+MrDBcp 3bXGfYDtoPIGCSHnUOw8jKZddhQP33uiyQoerFmVt+ZNsKG8hdsNXhyOqrKCTBm9GSv1AoOdv00j m/0POpgsKN087nLXTovchOY40yk0zB/UL23PKpUit6DVQamZK4NVsQMTnGV66+F7bxr550IUrZ5h nRe7rV5b1GNr91SIg+hgUUaag3DTNXS5wYDGIdXuKFOyhGHEAmtbFP/Rgdkew7td1i3BCiy0kYsz Ot0w8MSWAYD/CxXhbJxUFH1gsLQ6EE+khZxsM3utuNj6FXitKkW09V+eSX5XZyMxlZOrd41siapc mecfWN574IMz6xN5pJ8DZPO8STCBpVVsIfW80hSMhoFw/cWB/W34iYmWxTzWCOEev6xPmRXXPQs3 FMKxX/HS/LAloKi0ow3/U+TuS6GzmYtlvtblOwtOg= X-QQ-XMRINFO: M/715EihBoGSf6IYSX1iLFg= From: Eason Huang <aqua0210@HIDDEN> Date: Wed, 03 Jul 2024 12:45:17 +0800 Message-ID: <865xtnhyn6.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=43.163.128.50; envelope-from=aqua0210@HIDDEN; helo=xmbghk7.mail.qq.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.1 (--) Hi Emacs, Rencently I tried to use yank-media for pasting image from clipboad in org-mode, It works as expected on Linux system, but it doesn't works on Windows 10 and Windows 11. Does it mean that it doesn't support Windows platform? Steps to reproduce: 1. Start Emacs with `emacs -Q` 2. C-x C-f ~/test.org to open a file in org-mode 3. Copy any image in clipboard 4. M-x yank-media on the test.org file, will get following message: ``` user-error: No handler in the current buffer for anything on the clipboard ``` 5. try M-x yank-media-types, only get the `primary:STRING` In GNU Emacs 30.0.60 (build 1, x86_64-w64-mingw32, git sha1 b2d99c0d0aa) of 2024-07-01 built on DESKTOP-VIHFE84 Windowing system distributor 'Microsoft Corp.', version 10.0.19045 System Description: Microsoft Windows 10 Pro (v10.0.2009.19045.4529) Configured using: 'configure --without-native-compilation --without-dbus' Configured features: ACL GIF GMP GNUTLS HARFBUZZ JPEG LCMS2 LIBXML2 MODULES NOTIFY W32NOTIFY PDUMPER PNG RSVG SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER WEBP XPM ZLIB Important settings: value of $LANG: CHS locale-coding-system: cp936 Major mode: Org Minor modes in effect: tooltip-mode: t global-eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t minibuffer-regexp-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug vc-git diff-mode track-changes easy-mmode vc-dispatcher oc-basic cl-extra help-mode org-element org-persist org-id org-refile org-element-ast inline avl-tree generator ol-eww eww xdg url-queue mm-url ol-rmail ol-mhe ol-irc ol-info ol-gnus nnselect gnus-art mm-uu mml2015 mm-view mml-smime smime gnutls dig gnus-sum shr pixel-fill kinsoku url-file svg dom gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util url-parse auth-source cl-seq eieio eieio-core cl-macs json map byte-opt gv bytecomp byte-compile url-vars mail-source utf7 nnoo parse-time gnus-spec gnus-int gnus-range message sendmail mailcap yank-media puny rfc822 mml mml-sec password-cache epa derived epg rfc6068 epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util text-property-search mail-utils range mm-util mail-prsvr wid-edit ol-docview doc-view filenotify jka-compr image-mode exif dired dired-loaddefs ol-bibtex bibtex iso8601 ol-bbdb ol-w3m ol-doi org-link-doi org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src sh-script smie treesit executable ob-comint org-pcomplete pcomplete comint ansi-osc ansi-color ring org-list org-footnote org-faces org-entities time-date subr-x noutline outline icons org-version ob-emacs-lisp ob-core ob-eval org-cycle org-table ol rx org-fold org-fold-core org-keys oc org-loaddefs thingatpt find-func cal-menu calendar cal-loaddefs org-compat org-macs format-spec cl-loaddefs cl-lib china-util rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel touch-screen dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads w32notify w32 lcms2 multi-tty move-toolbar make-network-process emacs) Memory information: ((conses 16 203309 45833) (symbols 48 21586 3) (strings 32 69962 3229) (string-bytes 1 1824468) (vectors 16 38531) (vector-slots 8 453695 13842) (floats 8 275 135) (intervals 56 587 0) (buffers 992 13)) -- Eason Huang
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Eason Huang <aqua0210@HIDDEN> Subject: bug#71909: Acknowledgement (30.0.60; Can not use yank-media for pasting image from clipboad in org-mode on Windows platform) Message-ID: <handler.71909.B.171998200823466.ack <at> debbugs.gnu.org> References: <865xtnhyn6.fsf@HIDDEN> X-Gnu-PR-Message: ack 71909 X-Gnu-PR-Package: emacs Reply-To: 71909 <at> debbugs.gnu.org Date: Wed, 03 Jul 2024 04:47:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 71909 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 71909: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D71909 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#71909: 30.0.60; Can not use yank-media for pasting image from clipboad in org-mode on Windows platform Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 03 Jul 2024 11:20:01 +0000 Resent-Message-ID: <handler.71909.B71909.172000559111900 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 71909 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eason Huang <aqua0210@HIDDEN> Cc: 71909 <at> debbugs.gnu.org Received: via spool by 71909-submit <at> debbugs.gnu.org id=B71909.172000559111900 (code B ref 71909); Wed, 03 Jul 2024 11:20:01 +0000 Received: (at 71909) by debbugs.gnu.org; 3 Jul 2024 11:19:51 +0000 Received: from localhost ([127.0.0.1]:38993 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sOy1f-00035q-CP for submit <at> debbugs.gnu.org; Wed, 03 Jul 2024 07:19:51 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1sOy1c-00035R-1t; Wed, 03 Jul 2024 07:19:49 -0400 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 <eliz@HIDDEN>) id 1sOy1U-0007oS-Hz; Wed, 03 Jul 2024 07:19:40 -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=wbqeAZfRwYB3nCjNf5n6fgA+wTbyUEsM2zFP6lDnLMc=; b=CjbdzMoTKKJE y4iyOkXsVbUE+a4Xx729uXH4D0DNJr045sAABz4Z3V9ra9NgZMppfggFkPfAoBfJ4ihB72+ZGCMO9 wkh3C8GG5uMNPjaSKGMZVqcee3gYv9h4Y24nWvZ30JKhRM4XM5xxF1rB6nkTmCto4JHfpwiFDyw1S NB3+XmJfKDSx1rDy5S/YCllyUPUFjyyrfHO5i7A9ZPjYSc96GMh+pPcouyOK2A8ghSpfboNhFgnpA c9w+Qii7nG7OKaKRUzbH5R3gcb69p2J7Md11YIMzDr3gr4KFABlFq5f2WTqLRtQePyAYtVGY6wY7O zKDO9mcj/YEHeY57gi2maw==; Date: Wed, 03 Jul 2024 14:19:38 +0300 Message-Id: <86frsqbu45.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-Reply-To: <tencent_7FA4E415A96083033C6BED7C7354AEE02505@HIDDEN> (message from Eason Huang on Wed, 03 Jul 2024 12:45:17 +0800) References: <tencent_7FA4E415A96083033C6BED7C7354AEE02505@HIDDEN> X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) severity 71909 wishlist thanks > From: Eason Huang <aqua0210@HIDDEN> > Date: Wed, 03 Jul 2024 12:45:17 +0800 > > Rencently I tried to use yank-media for pasting image from clipboad in > org-mode, It works as expected on Linux system, but it doesn't works on > Windows 10 and Windows 11. > > Does it mean that it doesn't support Windows platform? Yes, Emacs doesn't (yet) support this on MS-Windows. Patches welcome to add such a support. > Steps to reproduce: > > 1. Start Emacs with `emacs -Q` > 2. C-x C-f ~/test.org to open a file in org-mode > 3. Copy any image in clipboard > 4. M-x yank-media on the test.org file, will get following message: > ``` > user-error: No handler in the current buffer for anything on the > clipboard > ``` > > 5. try M-x yank-media-types, only get the `primary:STRING` That's the expected result with the current codebase, yes.
Received: (at control) by debbugs.gnu.org; 3 Jul 2024 11:20:00 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Wed Jul 03 07:20:00 2024 Received: from localhost ([127.0.0.1]:38995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1sOy1f-00035t-Mi for submit <at> debbugs.gnu.org; Wed, 03 Jul 2024 07:20:00 -0400 Received: from eggs.gnu.org ([209.51.188.92]:39768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1sOy1c-00035R-1t; Wed, 03 Jul 2024 07:19:49 -0400 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 <eliz@HIDDEN>) id 1sOy1U-0007oS-Hz; Wed, 03 Jul 2024 07:19:40 -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=wbqeAZfRwYB3nCjNf5n6fgA+wTbyUEsM2zFP6lDnLMc=; b=CjbdzMoTKKJE y4iyOkXsVbUE+a4Xx729uXH4D0DNJr045sAABz4Z3V9ra9NgZMppfggFkPfAoBfJ4ihB72+ZGCMO9 wkh3C8GG5uMNPjaSKGMZVqcee3gYv9h4Y24nWvZ30JKhRM4XM5xxF1rB6nkTmCto4JHfpwiFDyw1S NB3+XmJfKDSx1rDy5S/YCllyUPUFjyyrfHO5i7A9ZPjYSc96GMh+pPcouyOK2A8ghSpfboNhFgnpA c9w+Qii7nG7OKaKRUzbH5R3gcb69p2J7Md11YIMzDr3gr4KFABlFq5f2WTqLRtQePyAYtVGY6wY7O zKDO9mcj/YEHeY57gi2maw==; Date: Wed, 03 Jul 2024 14:19:38 +0300 Message-Id: <86frsqbu45.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> To: Eason Huang <aqua0210@HIDDEN> In-Reply-To: <tencent_7FA4E415A96083033C6BED7C7354AEE02505@HIDDEN> (message from Eason Huang on Wed, 03 Jul 2024 12:45:17 +0800) Subject: Re: bug#71909: 30.0.60; Can not use yank-media for pasting image from clipboad in org-mode on Windows platform References: <tencent_7FA4E415A96083033C6BED7C7354AEE02505@HIDDEN> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control Cc: 71909 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) severity 71909 wishlist thanks > From: Eason Huang <aqua0210@HIDDEN> > Date: Wed, 03 Jul 2024 12:45:17 +0800 > > Rencently I tried to use yank-media for pasting image from clipboad in > org-mode, It works as expected on Linux system, but it doesn't works on > Windows 10 and Windows 11. > > Does it mean that it doesn't support Windows platform? Yes, Emacs doesn't (yet) support this on MS-Windows. Patches welcome to add such a support. > Steps to reproduce: > > 1. Start Emacs with `emacs -Q` > 2. C-x C-f ~/test.org to open a file in org-mode > 3. Copy any image in clipboard > 4. M-x yank-media on the test.org file, will get following message: > ``` > user-error: No handler in the current buffer for anything on the > clipboard > ``` > > 5. try M-x yank-media-types, only get the `primary:STRING` That's the expected result with the current codebase, yes.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.