[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#72254: 29.4; Cannot yank media when image come from Gnome-shell scre
From: |
Sébastien Gendre |
Subject: |
bug#72254: 29.4; Cannot yank media when image come from Gnome-shell screenshot |
Date: |
Tue, 23 Jul 2024 12:57:36 +0200 |
User-agent: |
mu4e 1.12.1; emacs 29.4 |
Hello,
I got a bug when I try to yank a screenshot made with Gnome-shell into
an org-mode buffer.
From the reply I get on the Org-mode mailing list, the bug come from
Emacs itself.
What I do:
* From the system menu of Gnome-shell, I choose the action to take a
screenshot
* I took a screenshot from a selected zone, confirm the screenshot and
got a notification message telling me "You can past the screenshot
from the clipboard"
* On an Org-mode document, I place the point where I want to past the
screenshot and call the Emacs function "yank-media"
What I get:
* In the mini-buffer, I get the error message:
"Wrong type argument: sequencep, image/png"
* If I go into the "*Messages*" buffer, the full error message is:
"seq-do: Wrong type argument: sequencep, image/png"
* If I enable debug-on-error, here is the full backtrace:
Debugger entered--Lisp error: (wrong-type-argument sequencep image/png)
mapc(#f(compiled-function (elt) #<bytecode 0x1ebc9d0d6093f55d>) image/png)
seq-do(#f(compiled-function (elt) #<bytecode 0x1ebc9d0d6093f55d>) image/png)
#f(compiled-function #'sequence #<bytecode
0x19945316743f723a>)(#f(compiled-function (elt) #<bytecode 0x94038afefa059ab>)
image/png)
apply(#f(compiled-function #'sequence #<bytecode 0x19945316743f723a>)
#f(compiled-function (elt) #<bytecode 0x94038afefa059ab>) image/png nil)
seq-map(#f(compiled-function (elt) #<bytecode 0x94038afefa059ab>) image/png)
seq-filter(#f(compiled-function (type) #<bytecode 0x17bbb7cb3b4b0c6d>)
image/png)
yank-media--find-matching-media("x/special-\\(?:gnome|KDE|mate\\)-files")
yank-media()
funcall-interactively(yank-media)
command-execute(yank-media record)
execute-extended-command(nil "yank-media" "yank")
funcall-interactively(execute-extended-command nil "yank-media" "yank")
command-execute(execute-extended-command)
What I expected:
* The image present in the clipboard is attached to the org-mode heading
and a link to this attachment is created under the point
Versions:
* Org-mode: 9.7.2
* Emacs: 29.4
* Gnome-shell: 46.3.1
Best regards
-------
Gendre Sébastien
signature.asc
Description: PGP signature
- bug#72254: 29.4; Cannot yank media when image come from Gnome-shell screenshot,
Sébastien Gendre <=
- bug#72254: 29.4; Cannot yank media when image come from Gnome-shell screenshot, Robert Pluim, 2024/07/23
- bug#72254: 29.4; Cannot yank media when image come from Gnome-shell screenshot, Eli Zaretskii, 2024/07/23
- Message not available
- bug#72254: 29.4; Cannot yank media when image come from Gnome-shell screenshot, Robert Pluim, 2024/07/23
- Message not available
- bug#72254: 29.4; Cannot yank media when image come from Gnome-shell screenshot, Robert Pluim, 2024/07/23
- Message not available
- bug#72254: 29.4; Cannot yank media when image come from Gnome-shell screenshot, Robert Pluim, 2024/07/23
- Message not available
- bug#72254: 29.4; Cannot yank media when image come from Gnome-shell screenshot, Robert Pluim, 2024/07/23
- bug#72254: 29.4; Cannot yank media when image come from Gnome-shell screenshot, Visuwesh, 2024/07/23
- Message not available
- bug#72254: 29.4; Cannot yank media when image come from Gnome-shell screenshot, Robert Pluim, 2024/07/23
- Message not available
- bug#72254: 29.4; Cannot yank media when image come from Gnome-shell screenshot, Robert Pluim, 2024/07/24
- bug#72254: 29.4; Cannot yank media when image come from Gnome-shell screenshot, Po Lu, 2024/07/24