GNU bug report logs - #65892
30.0.50; yank-media fails for clipboard selection that are wiped after being accessed

Previous Next

Package: emacs;

Reported by: Visuwesh <visuweshm <at> gmail.com>

Date: Tue, 12 Sep 2023 16:55:02 UTC

Severity: normal

Tags: patch

Found in version 30.0.50

Done: Visuwesh <visuweshm <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Visuwesh <visuweshm <at> gmail.com>
Cc: luangruo <at> yahoo.com, 65892 <at> debbugs.gnu.org
Subject: bug#65892: 30.0.50; yank-media fails for clipboard selection that are wiped after being accessed
Date: Tue, 25 Jun 2024 15:59:31 +0300
> From: Visuwesh <visuweshm <at> gmail.com>
> Cc: Eli Zaretskii <eliz <at> gnu.org>,  65892 <at> debbugs.gnu.org
> Date: Tue, 25 Jun 2024 10:06:35 +0530
> 
> BTW, I would be happy if I can do the above copying/cutting files from
> _dired_ without resorting to xclip(1) to set non-STRING targets.  I
> tried to do it with the facilities offered by Emacs but failed to set
> _only_ the required target without other things like STRING.  The same
> happened when I tried to copy an image to the clipboard.  I would be
> happy to open a bug report or some such if you're interested.

Isn't this the expected behavior?  The application that sets the
clipboard data has no idea what the consumer might need or would want
to do with the data.  It could past the image, or it could take the
image's meta-data (STRING) and do something with it.  Or it could take
the image's file name and copy the file somewhere.  Or something else.
This is why it is customary to put all the relevant data types in the
clipboard, so that the consumers could take whatever they need.




This bug report was last modified 62 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.