unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#71909: 30.0.60; Can not use yank-media for pasting image from clipboad in org-mode on Windows platform
@ 2024-07-03  4:45 Eason Huang
  2024-07-03 11:19 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Eason Huang @ 2024-07-03  4:45 UTC (permalink / raw)
  To: 71909

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






^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#71909: 30.0.60; Can not use yank-media for pasting image from clipboad in org-mode on Windows platform
  2024-07-03  4:45 bug#71909: 30.0.60; Can not use yank-media for pasting image from clipboad in org-mode on Windows platform Eason Huang
@ 2024-07-03 11:19 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2024-07-03 11:19 UTC (permalink / raw)
  To: Eason Huang; +Cc: 71909

severity 71909 wishlist
thanks

> From: Eason Huang <aqua0210@foxmail.com>
> 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.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-07-03 11:19 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-03  4:45 bug#71909: 30.0.60; Can not use yank-media for pasting image from clipboad in org-mode on Windows platform Eason Huang
2024-07-03 11:19 ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).