emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [BUG] yank-media doesn't work
@ 2024-12-02 21:50 the_wurfkreuz via General discussions about Org-mode.
  2024-12-13  6:34 ` Visuwesh
  0 siblings, 1 reply; 2+ messages in thread
From: the_wurfkreuz via General discussions about Org-mode. @ 2024-12-02 21:50 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 929 bytes --]

When using the yank-media command to paste images, the results are inconsistent. This issue persists even when running Emacs with emacs -Q.

In some instances, the command successfully pastes the image.
At other times, it fails with the message: "yank-media: No handler in the current buffer for anything on the clipboard."
Alternatively, it may display: "Timed out waiting for property-notify event."

Occasionally, attempting the command twice in quick succession results in success on the second attempt, though this is rare.
Copying images directly from a web browser using the "Copy Image" option generally works without issue.However, copying images using the command grim -g "$(slurp)" - | wl-copy or from Telegram often results in the aforementioned errors.
Emacs : GNU Emacs 30.0.91 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.0)
Package: Org mode version 9.8-pre (release_9.7.16-169-ge87ecf)

[-- Attachment #2: Type: text/html, Size: 1337 bytes --]

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

* Re: [BUG] yank-media doesn't work
  2024-12-02 21:50 [BUG] yank-media doesn't work the_wurfkreuz via General discussions about Org-mode.
@ 2024-12-13  6:34 ` Visuwesh
  0 siblings, 0 replies; 2+ messages in thread
From: Visuwesh @ 2024-12-13  6:34 UTC (permalink / raw)
  To: the_wurfkreuz via General discussions about Org-mode.; +Cc: the_wurfkreuz

[திங்கள் டிசம்பர் 02, 2024] the_wurfkreuz via "General discussions about Org-mode." wrote:

> When using the yank-media command to paste images, the results are
> inconsistent. This issue persists even when running Emacs with emacs
> -Q.
>
> In some instances, the command successfully pastes the image.
> At other times, it fails with the message: "yank-media: No handler in
> the current buffer for anything on the clipboard."
> Alternatively, it may display: "Timed out waiting for property-notify event."
>
> Occasionally, attempting the command twice in quick succession results
> in success on the second attempt, though this is rare.
> Copying images directly from a web browser using the "Copy Image"
> option generally works without issue.However, copying images using the
> command grim -g "$(slurp)" - | wl-copy or from Telegram often results
> in the aforementioned errors.
> Emacs : GNU Emacs 30.0.91 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.43, cairo version 1.18.0)
> Package: Org mode version 9.8-pre (release_9.7.16-169-ge87ecf)

I am assuming that you're running the PGTK build.  I am quite sure this
is the same bug as bug#72254.  How recent is the build of your Emacs 30?
Does it include the fix for bug#72254: https://git.savannah.gnu.org/cgit/emacs.git/commit/?h=emacs-30&id=11e7ae3964e192b0e4bcc437a04278ee727e720b


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

end of thread, other threads:[~2024-12-13  6:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-02 21:50 [BUG] yank-media doesn't work the_wurfkreuz via General discussions about Org-mode.
2024-12-13  6:34 ` Visuwesh

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

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).