From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eason Huang Newsgroups: gmane.emacs.bugs Subject: bug#71909: 30.0.60; Can not use yank-media for pasting image from clipboad in org-mode on Windows platform Date: Wed, 03 Jul 2024 12:45:17 +0800 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34452"; mail-complaints-to="usenet@ciao.gmane.io" To: 71909@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jul 03 06:47:42 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1sOru9-0008j3-1L for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 03 Jul 2024 06:47:41 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sOrtX-0002W7-3X; Wed, 03 Jul 2024 00:47:03 -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 1sOrtV-0002VP-47 for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2024 00:47:01 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sOrtU-00057m-Ro for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2024 00:47:00 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sOrtW-00066y-69 for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2024 00:47:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eason Huang Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Jul 2024 04:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71909 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.171998200823466 (code B ref -1); Wed, 03 Jul 2024 04:47:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 3 Jul 2024 04:46:48 +0000 Original-Received: from localhost ([127.0.0.1]:38359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOrtH-00066P-QY for submit@debbugs.gnu.org; Wed, 03 Jul 2024 00:46:48 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:37594) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sOrtE-00066G-1w for submit@debbugs.gnu.org; Wed, 03 Jul 2024 00:46:46 -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 1sOrtC-0002T8-58 for bug-gnu-emacs@gnu.org; Wed, 03 Jul 2024 00:46:42 -0400 Original-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 ) id 1sOrt7-00054j-Te for bug-gnu-emacs@gnu.org; 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= Original-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 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+khZxsM3ut X-QQ-XMRINFO: M/715EihBoGSf6IYSX1iLFg= Original-Message-ID: <865xtnhyn6.fsf@foxmail.com> Received-SPF: pass client-ip=43.163.128.50; envelope-from=aqua0210@foxmail.com; 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:288305 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