GNU logs - #65892, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#65892: 30.0.50; yank-media fails for clipboard selection that are wiped after being accessed
Resent-From: Visuwesh <visuweshm@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 12 Sep 2023 16:55:02 +0000
Resent-Message-ID: <handler.65892.B.169453769921895 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 65892
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 65892 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.169453769921895
          (code B ref -1); Tue, 12 Sep 2023 16:55:02 +0000
Received: (at submit) by debbugs.gnu.org; 12 Sep 2023 16:54:59 +0000
Received: from localhost ([127.0.0.1]:59880 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qg6fA-0005h0-Ud
	for submit <at> debbugs.gnu.org; Tue, 12 Sep 2023 12:54:59 -0400
Received: from lists.gnu.org ([2001:470:142::17]:34614)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <visuweshm@HIDDEN>) id 1qg6f7-0005gi-4F
 for submit <at> debbugs.gnu.org; Tue, 12 Sep 2023 12:54:55 -0400
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 <visuweshm@HIDDEN>)
 id 1qg6es-0005qP-V4
 for bug-gnu-emacs@HIDDEN; Tue, 12 Sep 2023 12:54:39 -0400
Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <visuweshm@HIDDEN>)
 id 1qg6em-0000vk-LX
 for bug-gnu-emacs@HIDDEN; Tue, 12 Sep 2023 12:54:37 -0400
Received: by mail-pl1-x642.google.com with SMTP id
 d9443c01a7336-1c0d5b16aacso48526625ad.1
 for <bug-gnu-emacs@HIDDEN>; Tue, 12 Sep 2023 09:54:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1694537670; x=1695142470; darn=gnu.org;
 h=mime-version:user-agent:message-id:date:subject:to:from:from:to:cc
 :subject:date:message-id:reply-to;
 bh=huNu2IZMWUw3GNET0D0VqSp1/GyCwW5VJouR7IykskM=;
 b=lfNj/K2N72LKywUjaqeufeFfpOBpR8WfIqQx/jGWZqSljls/8/pYmkW6ond4L61KFw
 W3A3sVrC5gmSP2u8edP7c7W9dfN+YAl7lD2kthZMsPvpQIHxh7bk9vQAD5NOoqmLi9nO
 5t9xFiVIbNjKQSLly/TsrPwtGn8aUMadx9JMT6MIvopvzpEOyW2AFkkU8CpjJRBLJU7d
 RYS+hl8MVHgyyO4+8c9AH7Yl+rKl0evTGc0xo1bm3RNmb7HB1PLzAHq3QLFYRjAh5KFO
 WIUthq5KmyENPRGjXAu3ES2oX3BAg7h5Yd9li75N9/vcx5WDCylb3c4c9WHEEyFw0WNO
 ih8g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1694537670; x=1695142470;
 h=mime-version:user-agent:message-id:date:subject:to:from
 :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=huNu2IZMWUw3GNET0D0VqSp1/GyCwW5VJouR7IykskM=;
 b=iPWjr3qQtLx4+icol2KzdGPVCJ6E2znIrR9Zubjqi3Q0dI2UcnlhX+YPZuIrbJ8b2h
 RU6eAsvO1DwPrXq7A2pO+bSkvU5Y5WdlipBXQxf7vuMC56XwB0scsI614zv905+zBIS0
 DX6dFancwo3rgxxQ8G1HwV+gYc9E9uRpay/PwMMfWTb1lhRJRWqogOkHTgrPr1owkH+/
 RUUHh1gHlAlwXZzRFw4KXXu7F5QMcYOWfcRSwjtBsatMXVq8qYDSOtrLa9/b4HM6jYN9
 6STZvjD6K8aSVaeJ+fLd+fetcepBht6ndM/Lx4CnFMOqVIU5wORSim6+Yrkhv0UvjPUn
 MnRw==
X-Gm-Message-State: AOJu0Yy4fHLtg9S5R40umTSX6JN0chuIUH7yQDss0iFoSxJ+9DIFQ/JZ
 O1ynGPEU8JFBPArLU+RmQK3HenDW5vPm1w==
X-Google-Smtp-Source: AGHT+IEyGPrKs3GkE8cx/kyzlkOa5hMtrBjApz9W95T9v8adCUSg20OVuubdbLAT2F2sfI0kn6BK2Q==
X-Received: by 2002:a17:90b:1803:b0:268:36a2:bd0 with SMTP id
 lw3-20020a17090b180300b0026836a20bd0mr10641128pjb.8.1694537670208; 
 Tue, 12 Sep 2023 09:54:30 -0700 (PDT)
Received: from localhost ([115.240.90.130]) by smtp.gmail.com with ESMTPSA id
 12-20020a17090a194c00b0026f90d7947csm8288334pjh.34.2023.09.12.09.54.28
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 12 Sep 2023 09:54:29 -0700 (PDT)
From: Visuwesh <visuweshm@HIDDEN>
Date: Tue, 12 Sep 2023 22:24:26 +0530
Message-ID: <87a5trjprx.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
Received-SPF: pass client-ip=2607:f8b0:4864:20::642;
 envelope-from=visuweshm@HIDDEN; helo=mail-pl1-x642.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 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_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

To reproduce the bug,

    1. Install pcmanfm
    2. emacs -Q
    3. Eval the following lines=20

    (defun vz/message-yank-media-copied-files-handler (_ data)
      "Attach files copied/cut from the file manager.
    DATA is a string where the first line is the operation to
    perform: copy or cut.  Rest are file: links.  The operation is
    always ignored, and the files are only attached."
      (let* ((files (cdr (split-string data "[\0\n\r]" t "^file://"))))
        (dolist (f files)
          (mml-attach-file f (or (mm-default-file-type f) "application/octe=
t-stream")))))

     (add-hook 'message-mode-hook
               (defun vz/message-register-yank-media-handler ()
                 (yank-media-handler "x-special/gnome-copied-files"
                                     #'vz/message-yank-media-copied-files-h=
andler)))
    4. C-x m
    5. Cut a file from pcmanfm using C-x
    6. In Emacs, choose the message-mode buffer and say M-x yank-media
    7. Witness the wrong-type-argument error

This happens because pcmanfm "wipes" the clipboard data it is accessed
once.  This is a problem because yank-media uses
yank-media--get-selection to access the clipboard data twice

    =C2=B7 Once in yank-media--find-matching-media to find out if the
      buffer's registered handlers can work with the data (see
      pcase-dolist form in yank-media function).  At this point,
      vz/message-register-yank-media-handler is chosen since it can
      handle x-special/gnome-copied-files (which is the type used for
      the cut file).

    =C2=B7 Second when yank-media calls the handler to do its thing, which
      can be seen in the funcall forms in yank-media function again.

The problem here is that once yank-media--find-matching-media calls
yank-media--get-selection to get the clipboard selection, pcmanfm wipes
the clipboard so when yank-media calls that function again and passes
the return value to the handler, the handler receives nil.

The attached patch fixes this issue by making
yank-media--find-matching-media return the selection value, and passing
the returned value to the handler avoiding calling
yank-media--get-selection again.

P.S. I don't know if it is a problem with other file managers.
P.P.S. I plan on submitting a patch to add the yank-media-handler here
       once this bug is fixed.


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0001-Fix-yank-media-when-clipboard-selection-is-wiped-aft.patch

From f059e0ad33bad47ab14259c9ca4391152349548b Mon Sep 17 00:00:00 2001
From: Visuwesh <visuweshm@HIDDEN>
Date: Tue, 12 Sep 2023 22:21:58 +0530
Subject: [PATCH] Fix yank-media when clipboard selection is wiped after access

Certain applications wipes the clipboard selection after is accessed
once e.g., pcmanfm with cut files which makes yank-media pass nil to
the chosen yank-media handler eventually breaking it.

* lisp/yank-media.el (yank-media--find-matching-media): Make it return
the selection.
(yank-media): Pass the returned selection to the handler instead.
---
 lisp/yank-media.el | 26 ++++++++++++++------------
 1 file changed, 14 insertions(+), 12 deletions(-)

diff --git a/lisp/yank-media.el b/lisp/yank-media.el
index abc137d9c38..bb9880047dc 100644
--- a/lisp/yank-media.el
+++ b/lisp/yank-media.el
@@ -44,26 +44,26 @@ yank-media
   (let ((all-types nil))
     (pcase-dolist (`(,handled-type . ,handler)
                    yank-media--registered-handlers)
-      (dolist (type (yank-media--find-matching-media handled-type))
-        (push (cons type handler) all-types)))
+      (pcase-dolist (`(,type . ,selection) (yank-media--find-matching-media handled-type))
+        (push (list type handler selection) all-types)))
     (unless all-types
       (user-error
        "No handler in the current buffer for anything on the clipboard"))
     ;; We have a handler in the current buffer; if there's just
     ;; matching type, just call the handler.
     (if (length= all-types 1)
-        (funcall (cdar all-types) (caar all-types)
-                 (yank-media--get-selection (caar all-types)))
+        (funcall (cadar all-types) (caar all-types)
+                 (caddar all-types))
       ;; More than one type the user for what type to insert.
       (let ((type
              (intern
               (completing-read "Several types available, choose one: "
                                (mapcar #'car all-types) nil t))))
-        (funcall (alist-get type all-types)
-                 type (yank-media--get-selection type))))))
+        (funcall (car (alist-get type all-types))
+                 type (cadr (alist-get type all-types)))))))
 
 (defun yank-media--find-matching-media (handled-type)
-  (seq-filter
+  (seq-keep
    (lambda (type)
      (pcase-let ((`(,major ,minor) (split-string (symbol-name type) "/")))
        (if (and (equal major "image")
@@ -73,11 +73,13 @@ yank-media--find-matching-media
            ;; `image/x-win-bitmap'.
            nil
          ;; Check that the handler wants this type.
-         (and (if (symbolp handled-type)
-                  (eq handled-type type)
-                (string-match-p handled-type (symbol-name type)))
-              ;; An element may be in TARGETS but be empty.
-              (yank-media--get-selection type)))))
+         (let ((selection (and (if (symbolp handled-type)
+                                   (eq handled-type type)
+                                 (string-match-p handled-type (symbol-name type)))
+                               ;; An element may be in TARGETS but be empty.
+                               (yank-media--get-selection type))))
+           (and selection
+                (cons type selection))))))
    (gui-get-selection 'CLIPBOARD 'TARGETS)))
 
 (defun yank-media--get-selection (data-type)
-- 
2.40.1


--=-=-=
Content-Type: text/plain



In GNU Emacs 30.0.50 (build 7, x86_64-pc-linux-gnu, X toolkit, Xaw
 scroll bars) of 2023-09-10 built on astatine
Repository revision: af1e860570191014d94484d6944348b1766ba59f
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101008
System Description: Debian GNU/Linux trixie/sid

Configured using:
 'configure --with-sound=alsa --with-x-toolkit=lucid --with-json
 --without-xaw3d --without-gconf --without-libsystemd --without-cairo'
Configured features:
ACL DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON
LIBOTF LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG
SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XFT
XIM XINPUT2 XPM LUCID ZLIB
Important settings:
  value of $LC_MONETARY: ta_IN.UTF-8
  value of $LC_NUMERIC: ta_IN.UTF-8
  value of $LANG: en_GB.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Diff

Minor modes in effect:
  whitespace-mode: t
  TeX-PDF-mode: t
  recentf-mode: t
  server-mode: t
  eros-mode: t
  pdf-occur-global-minor-mode: t
  minibuffer-depth-indicate-mode: t
  repeat-mode: t
  display-time-mode: t
  display-battery-mode: t
  delete-selection-mode: t
  xterm-mouse-mode: t
  straight-use-package-mode: t
  straight-package-neutering-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  use-hard-newlines: t
  tab-bar-history-mode: t
  tab-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  undelete-frame-mode: t
  minibuffer-regexp-mode: t
  buffer-read-only: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
/home/viz/lib/emacs/straight/build/org/ob-awk hides /home/viz/lib/emacs/straight/build/org-mode/ob-awk
/home/viz/lib/emacs/straight/build/org/org-capture hides /home/viz/lib/emacs/straight/build/org-mode/org-capture
/home/viz/lib/emacs/straight/build/org/ob-sql hides /home/viz/lib/emacs/straight/build/org-mode/ob-sql
/home/viz/lib/emacs/straight/build/org/ol-doi hides /home/viz/lib/emacs/straight/build/org-mode/ol-doi
/home/viz/lib/emacs/straight/build/org/org-latex-preview hides /home/viz/lib/emacs/straight/build/org-mode/org-latex-preview
/home/viz/lib/emacs/straight/build/org/org-plot hides /home/viz/lib/emacs/straight/build/org-mode/org-plot
/home/viz/lib/emacs/straight/build/org/ob-dot hides /home/viz/lib/emacs/straight/build/org-mode/ob-dot
/home/viz/lib/emacs/straight/build/org/ol-eshell hides /home/viz/lib/emacs/straight/build/org-mode/ol-eshell
/home/viz/lib/emacs/straight/build/org/ob-C hides /home/viz/lib/emacs/straight/build/org-mode/ob-C
/home/viz/lib/emacs/straight/build/org/ob-ref hides /home/viz/lib/emacs/straight/build/org-mode/ob-ref
/home/viz/lib/emacs/straight/build/org/ox-mathml hides /home/viz/lib/emacs/straight/build/org-mode/ox-mathml
/home/viz/lib/emacs/straight/build/org/org-list hides /home/viz/lib/emacs/straight/build/org-mode/org-list
/home/viz/lib/emacs/straight/build/org/org-mouse hides /home/viz/lib/emacs/straight/build/org-mode/org-mouse
/home/viz/lib/emacs/straight/build/org/ob-haskell hides /home/viz/lib/emacs/straight/build/org-mode/ob-haskell
/home/viz/lib/emacs/straight/build/org/ob-plantuml hides /home/viz/lib/emacs/straight/build/org-mode/ob-plantuml
/home/viz/lib/emacs/straight/build/org/org-keys hides /home/viz/lib/emacs/straight/build/org-mode/org-keys
/home/viz/lib/emacs/straight/build/org/org-clock hides /home/viz/lib/emacs/straight/build/org-mode/org-clock
/home/viz/lib/emacs/straight/build/org/ox-html hides /home/viz/lib/emacs/straight/build/org-mode/ox-html
/home/viz/lib/emacs/straight/build/org/oc-biblatex hides /home/viz/lib/emacs/straight/build/org-mode/oc-biblatex
/home/viz/lib/emacs/straight/build/org/ob-table hides /home/viz/lib/emacs/straight/build/org-mode/ob-table
/home/viz/lib/emacs/straight/build/org/ob hides /home/viz/lib/emacs/straight/build/org-mode/ob
/home/viz/lib/emacs/straight/build/org/ol-w3m hides /home/viz/lib/emacs/straight/build/org-mode/ol-w3m
/home/viz/lib/emacs/straight/build/org/ob-groovy hides /home/viz/lib/emacs/straight/build/org-mode/ob-groovy
/home/viz/lib/emacs/straight/build/org/org-footnote hides /home/viz/lib/emacs/straight/build/org-mode/org-footnote
/home/viz/lib/emacs/straight/build/org/org-entities hides /home/viz/lib/emacs/straight/build/org-mode/org-entities
/home/viz/lib/emacs/straight/build/org/ob-org hides /home/viz/lib/emacs/straight/build/org-mode/ob-org
/home/viz/lib/emacs/straight/build/org/org-macs hides /home/viz/lib/emacs/straight/build/org-mode/org-macs
/home/viz/lib/emacs/straight/build/org/ob-shell hides /home/viz/lib/emacs/straight/build/org-mode/ob-shell
/home/viz/lib/emacs/straight/build/org/ob-R hides /home/viz/lib/emacs/straight/build/org-mode/ob-R
/home/viz/lib/emacs/straight/build/org/ob-lisp hides /home/viz/lib/emacs/straight/build/org-mode/ob-lisp
/home/viz/lib/emacs/straight/build/org/ob-js hides /home/viz/lib/emacs/straight/build/org-mode/ob-js
/home/viz/lib/emacs/straight/build/org/ob-maxima hides /home/viz/lib/emacs/straight/build/org-mode/ob-maxima
/home/viz/lib/emacs/straight/build/org/org-element-ast hides /home/viz/lib/emacs/straight/build/org-mode/org-element-ast
/home/viz/lib/emacs/straight/build/org/ox-ascii hides /home/viz/lib/emacs/straight/build/org-mode/ox-ascii
/home/viz/lib/emacs/straight/build/org/org-persist hides /home/viz/lib/emacs/straight/build/org-mode/org-persist
/home/viz/lib/emacs/straight/build/org/ox-md hides /home/viz/lib/emacs/straight/build/org-mode/ox-md
/home/viz/lib/emacs/straight/build/org/org-duration hides /home/viz/lib/emacs/straight/build/org-mode/org-duration
/home/viz/lib/emacs/straight/build/org/ob-lilypond hides /home/viz/lib/emacs/straight/build/org-mode/ob-lilypond
/home/viz/lib/emacs/straight/build/org/ob-ruby hides /home/viz/lib/emacs/straight/build/org-mode/ob-ruby
/home/viz/lib/emacs/straight/build/org/ob-core hides /home/viz/lib/emacs/straight/build/org-mode/ob-core
/home/viz/lib/emacs/straight/build/org/ol-mhe hides /home/viz/lib/emacs/straight/build/org-mode/ol-mhe
/home/viz/lib/emacs/straight/build/org/ob-ditaa hides /home/viz/lib/emacs/straight/build/org-mode/ob-ditaa
/home/viz/lib/emacs/straight/build/org/ol-irc hides /home/viz/lib/emacs/straight/build/org-mode/ol-irc
/home/viz/lib/emacs/straight/build/org/ob-fortran hides /home/viz/lib/emacs/straight/build/org-mode/ob-fortran
/home/viz/lib/emacs/straight/build/org/org-feed hides /home/viz/lib/emacs/straight/build/org-mode/org-feed
/home/viz/lib/emacs/straight/build/org/ob-java hides /home/viz/lib/emacs/straight/build/org-mode/ob-java
/home/viz/lib/emacs/straight/build/org/ox hides /home/viz/lib/emacs/straight/build/org-mode/ox
/home/viz/lib/emacs/straight/build/org/oc-csl hides /home/viz/lib/emacs/straight/build/org-mode/oc-csl
/home/viz/lib/emacs/straight/build/org/ob-exp hides /home/viz/lib/emacs/straight/build/org-mode/ob-exp
/home/viz/lib/emacs/straight/build/org/ob-scheme hides /home/viz/lib/emacs/straight/build/org-mode/ob-scheme
/home/viz/lib/emacs/straight/build/org/ob-tangle hides /home/viz/lib/emacs/straight/build/org-mode/ob-tangle
/home/viz/lib/emacs/straight/build/org/ox-koma-letter hides /home/viz/lib/emacs/straight/build/org-mode/ox-koma-letter
/home/viz/lib/emacs/straight/build/org/ob-gnuplot hides /home/viz/lib/emacs/straight/build/org-mode/ob-gnuplot
/home/viz/lib/emacs/straight/build/org/org-crypt hides /home/viz/lib/emacs/straight/build/org-mode/org-crypt
/home/viz/lib/emacs/straight/build/org/org-datetree hides /home/viz/lib/emacs/straight/build/org-mode/org-datetree
/home/viz/lib/emacs/straight/build/org/org-attach hides /home/viz/lib/emacs/straight/build/org-mode/org-attach
/home/viz/lib/emacs/straight/build/org/ob-julia hides /home/viz/lib/emacs/straight/build/org-mode/ob-julia
/home/viz/lib/emacs/straight/build/org/ob-sqlite hides /home/viz/lib/emacs/straight/build/org-mode/ob-sqlite
/home/viz/lib/emacs/straight/build/org/org-cycle hides /home/viz/lib/emacs/straight/build/org-mode/org-cycle
/home/viz/lib/emacs/straight/build/org/org-faces hides /home/viz/lib/emacs/straight/build/org-mode/org-faces
/home/viz/lib/emacs/straight/build/org/org-mobile hides /home/viz/lib/emacs/straight/build/org-mode/org-mobile
/home/viz/lib/emacs/straight/build/org/org-ctags hides /home/viz/lib/emacs/straight/build/org-mode/org-ctags
/home/viz/lib/emacs/straight/build/org/ob-latex hides /home/viz/lib/emacs/straight/build/org-mode/ob-latex
/home/viz/lib/emacs/straight/build/org/ob-matlab hides /home/viz/lib/emacs/straight/build/org-mode/ob-matlab
/home/viz/lib/emacs/straight/build/org/ob-sed hides /home/viz/lib/emacs/straight/build/org-mode/ob-sed
/home/viz/lib/emacs/straight/build/org/org-attach-git hides /home/viz/lib/emacs/straight/build/org-mode/org-attach-git
/home/viz/lib/emacs/straight/build/org/ob-python hides /home/viz/lib/emacs/straight/build/org-mode/ob-python
/home/viz/lib/emacs/straight/build/org/ox-icalendar hides /home/viz/lib/emacs/straight/build/org-mode/ox-icalendar
/home/viz/lib/emacs/straight/build/org/org-tempo hides /home/viz/lib/emacs/straight/build/org-mode/org-tempo
/home/viz/lib/emacs/straight/build/org/ob-screen hides /home/viz/lib/emacs/straight/build/org-mode/ob-screen
/home/viz/lib/emacs/straight/build/org/org-num hides /home/viz/lib/emacs/straight/build/org-mode/org-num
/home/viz/lib/emacs/straight/build/org/ob-forth hides /home/viz/lib/emacs/straight/build/org-mode/ob-forth
/home/viz/lib/emacs/straight/build/org/ox-odt hides /home/viz/lib/emacs/straight/build/org-mode/ox-odt
/home/viz/lib/emacs/straight/build/org/ol-bbdb hides /home/viz/lib/emacs/straight/build/org-mode/ol-bbdb
/home/viz/lib/emacs/straight/build/org/org-table hides /home/viz/lib/emacs/straight/build/org-mode/org-table
/home/viz/lib/emacs/straight/build/org/ox-man hides /home/viz/lib/emacs/straight/build/org-mode/ox-man
/home/viz/lib/emacs/straight/build/org/ox-org hides /home/viz/lib/emacs/straight/build/org-mode/ox-org
/home/viz/lib/emacs/straight/build/org/ob-comint hides /home/viz/lib/emacs/straight/build/org-mode/ob-comint
/home/viz/lib/emacs/straight/build/org/ob-clojure hides /home/viz/lib/emacs/straight/build/org-mode/ob-clojure
/home/viz/lib/emacs/straight/build/org/org-id hides /home/viz/lib/emacs/straight/build/org-mode/org-id
/home/viz/lib/emacs/straight/build/org/oc-natbib hides /home/viz/lib/emacs/straight/build/org-mode/oc-natbib
/home/viz/lib/emacs/straight/build/org/ox-texinfo hides /home/viz/lib/emacs/straight/build/org-mode/ox-texinfo
/home/viz/lib/emacs/straight/build/org/org-agenda hides /home/viz/lib/emacs/straight/build/org-mode/org-agenda
/home/viz/lib/emacs/straight/build/org/org-src hides /home/viz/lib/emacs/straight/build/org-mode/org-src
/home/viz/lib/emacs/straight/build/org/ob-emacs-lisp hides /home/viz/lib/emacs/straight/build/org-mode/ob-emacs-lisp
/home/viz/lib/emacs/straight/build/org/ob-css hides /home/viz/lib/emacs/straight/build/org-mode/ob-css
/home/viz/lib/emacs/straight/build/org/ox-latex hides /home/viz/lib/emacs/straight/build/org-mode/ox-latex
/home/viz/lib/emacs/straight/build/org/oc hides /home/viz/lib/emacs/straight/build/org-mode/oc
/home/viz/lib/emacs/straight/build/org/ol hides /home/viz/lib/emacs/straight/build/org-mode/ol
/home/viz/lib/emacs/straight/build/org/org-element hides /home/viz/lib/emacs/straight/build/org-mode/org-element
/home/viz/lib/emacs/straight/build/org/org hides /home/viz/lib/emacs/straight/build/org-mode/org
/home/viz/lib/emacs/straight/build/org/org-goto hides /home/viz/lib/emacs/straight/build/org-mode/org-goto
/home/viz/lib/emacs/straight/build/org/ob-eval hides /home/viz/lib/emacs/straight/build/org-mode/ob-eval
/home/viz/lib/emacs/straight/build/org/org-habit hides /home/viz/lib/emacs/straight/build/org-mode/org-habit
/home/viz/lib/emacs/straight/build/org/org-pcomplete hides /home/viz/lib/emacs/straight/build/org-mode/org-pcomplete
/home/viz/lib/emacs/straight/build/org/ol-eww hides /home/viz/lib/emacs/straight/build/org-mode/ol-eww
/home/viz/lib/emacs/straight/build/org/ob-processing hides /home/viz/lib/emacs/straight/build/org-mode/ob-processing
/home/viz/lib/emacs/straight/build/org/org-timer hides /home/viz/lib/emacs/straight/build/org-mode/org-timer
/home/viz/lib/emacs/straight/build/org/org-inlinetask hides /home/viz/lib/emacs/straight/build/org-mode/org-inlinetask
/home/viz/lib/emacs/straight/build/org/ol-bibtex hides /home/viz/lib/emacs/straight/build/org-mode/ol-bibtex
/home/viz/lib/emacs/straight/build/org/org-fold-core hides /home/viz/lib/emacs/straight/build/org-mode/org-fold-core
/home/viz/lib/emacs/straight/build/org/oc-basic hides /home/viz/lib/emacs/straight/build/org-mode/oc-basic
/home/viz/lib/emacs/straight/build/org/ox-publish hides /home/viz/lib/emacs/straight/build/org-mode/ox-publish
/home/viz/lib/emacs/straight/build/org/oc-bibtex hides /home/viz/lib/emacs/straight/build/org-mode/oc-bibtex
/home/viz/lib/emacs/straight/build/org/org-macro hides /home/viz/lib/emacs/straight/build/org-mode/org-macro
/home/viz/lib/emacs/straight/build/org/ol-docview hides /home/viz/lib/emacs/straight/build/org-mode/ol-docview
/home/viz/lib/emacs/straight/build/org/org-fold hides /home/viz/lib/emacs/straight/build/org-mode/org-fold
/home/viz/lib/emacs/straight/build/org/org-lint hides /home/viz/lib/emacs/straight/build/org-mode/org-lint
/home/viz/lib/emacs/straight/build/org/org-version hides /home/viz/lib/emacs/straight/build/org-mode/org-version
/home/viz/lib/emacs/straight/build/org/ob-ocaml hides /home/viz/lib/emacs/straight/build/org-mode/ob-ocaml
/home/viz/lib/emacs/straight/build/org/ob-sass hides /home/viz/lib/emacs/straight/build/org-mode/ob-sass
/home/viz/lib/emacs/straight/build/org/ob-perl hides /home/viz/lib/emacs/straight/build/org-mode/ob-perl
/home/viz/lib/emacs/straight/build/org/ol-rmail hides /home/viz/lib/emacs/straight/build/org-mode/ol-rmail
/home/viz/lib/emacs/straight/build/org/org-protocol hides /home/viz/lib/emacs/straight/build/org-mode/org-protocol
/home/viz/lib/emacs/straight/build/org/ol-info hides /home/viz/lib/emacs/straight/build/org-mode/ol-info
/home/viz/lib/emacs/straight/build/org/ob-eshell hides /home/viz/lib/emacs/straight/build/org-mode/ob-eshell
/home/viz/lib/emacs/straight/build/org/org-refile hides /home/viz/lib/emacs/straight/build/org-mode/org-refile
/home/viz/lib/emacs/straight/build/org/ob-octave hides /home/viz/lib/emacs/straight/build/org-mode/ob-octave
/home/viz/lib/emacs/straight/build/org/ob-lua hides /home/viz/lib/emacs/straight/build/org-mode/ob-lua
/home/viz/lib/emacs/straight/build/org/ol-gnus hides /home/viz/lib/emacs/straight/build/org-mode/ol-gnus
/home/viz/lib/emacs/straight/build/org/ob-makefile hides /home/viz/lib/emacs/straight/build/org-mode/ob-makefile
/home/viz/lib/emacs/straight/build/org/org-archive hides /home/viz/lib/emacs/straight/build/org-mode/org-archive
/home/viz/lib/emacs/straight/build/org/ob-lob hides /home/viz/lib/emacs/straight/build/org-mode/ob-lob
/home/viz/lib/emacs/straight/build/org/ol-man hides /home/viz/lib/emacs/straight/build/org-mode/ol-man
/home/viz/lib/emacs/straight/build/org/org-compat hides /home/viz/lib/emacs/straight/build/org-mode/org-compat
/home/viz/lib/emacs/straight/build/org/org-colview hides /home/viz/lib/emacs/straight/build/org-mode/org-colview
/home/viz/lib/emacs/straight/build/org/org-indent hides /home/viz/lib/emacs/straight/build/org-mode/org-indent
/home/viz/lib/emacs/straight/build/org/ox-beamer hides /home/viz/lib/emacs/straight/build/org-mode/ox-beamer
/home/viz/lib/emacs/straight/build/org/org-loaddefs hides /home/viz/lib/emacs/straight/build/org-mode/org-loaddefs
/home/viz/lib/emacs/straight/build/org/ob-calc hides /home/viz/lib/emacs/straight/build/org-mode/ob-calc
/home/viz/lib/emacs/straight/build/transient/transient hides /home/viz/lib/ports/emacs/lisp/transient
/home/viz/lib/emacs/straight/build/org/ob-awk hides /home/viz/lib/ports/emacs/lisp/org/ob-awk
/home/viz/lib/emacs/straight/build/org/org-capture hides /home/viz/lib/ports/emacs/lisp/org/org-capture
/home/viz/lib/emacs/straight/build/org/ob-sql hides /home/viz/lib/ports/emacs/lisp/org/ob-sql
/home/viz/lib/emacs/straight/build/org/ol-doi hides /home/viz/lib/ports/emacs/lisp/org/ol-doi
/home/viz/lib/emacs/straight/build/org/org-plot hides /home/viz/lib/ports/emacs/lisp/org/org-plot
/home/viz/lib/emacs/straight/build/org/ob-dot hides /home/viz/lib/ports/emacs/lisp/org/ob-dot
/home/viz/lib/emacs/straight/build/org/ol-eshell hides /home/viz/lib/ports/emacs/lisp/org/ol-eshell
/home/viz/lib/emacs/straight/build/org/ob-C hides /home/viz/lib/ports/emacs/lisp/org/ob-C
/home/viz/lib/emacs/straight/build/org/ob-ref hides /home/viz/lib/ports/emacs/lisp/org/ob-ref
/home/viz/lib/emacs/straight/build/org/org-list hides /home/viz/lib/ports/emacs/lisp/org/org-list
/home/viz/lib/emacs/straight/build/org/org-mouse hides /home/viz/lib/ports/emacs/lisp/org/org-mouse
/home/viz/lib/emacs/straight/build/org/ob-haskell hides /home/viz/lib/ports/emacs/lisp/org/ob-haskell
/home/viz/lib/emacs/straight/build/org/ob-plantuml hides /home/viz/lib/ports/emacs/lisp/org/ob-plantuml
/home/viz/lib/emacs/straight/build/org/org-keys hides /home/viz/lib/ports/emacs/lisp/org/org-keys
/home/viz/lib/emacs/straight/build/org/org-clock hides /home/viz/lib/ports/emacs/lisp/org/org-clock
/home/viz/lib/emacs/straight/build/org/ox-html hides /home/viz/lib/ports/emacs/lisp/org/ox-html
/home/viz/lib/emacs/straight/build/org/oc-biblatex hides /home/viz/lib/ports/emacs/lisp/org/oc-biblatex
/home/viz/lib/emacs/straight/build/org/ob-table hides /home/viz/lib/ports/emacs/lisp/org/ob-table
/home/viz/lib/emacs/straight/build/org/ob hides /home/viz/lib/ports/emacs/lisp/org/ob
/home/viz/lib/emacs/straight/build/org/ol-w3m hides /home/viz/lib/ports/emacs/lisp/org/ol-w3m
/home/viz/lib/emacs/straight/build/org/ob-groovy hides /home/viz/lib/ports/emacs/lisp/org/ob-groovy
/home/viz/lib/emacs/straight/build/org/org-footnote hides /home/viz/lib/ports/emacs/lisp/org/org-footnote
/home/viz/lib/emacs/straight/build/org/org-entities hides /home/viz/lib/ports/emacs/lisp/org/org-entities
/home/viz/lib/emacs/straight/build/org/ob-org hides /home/viz/lib/ports/emacs/lisp/org/ob-org
/home/viz/lib/emacs/straight/build/org/org-macs hides /home/viz/lib/ports/emacs/lisp/org/org-macs
/home/viz/lib/emacs/straight/build/org/ob-shell hides /home/viz/lib/ports/emacs/lisp/org/ob-shell
/home/viz/lib/emacs/straight/build/org/ob-R hides /home/viz/lib/ports/emacs/lisp/org/ob-R
/home/viz/lib/emacs/straight/build/org/ob-lisp hides /home/viz/lib/ports/emacs/lisp/org/ob-lisp
/home/viz/lib/emacs/straight/build/org/ob-js hides /home/viz/lib/ports/emacs/lisp/org/ob-js
/home/viz/lib/emacs/straight/build/org/ob-maxima hides /home/viz/lib/ports/emacs/lisp/org/ob-maxima
/home/viz/lib/emacs/straight/build/org/ox-ascii hides /home/viz/lib/ports/emacs/lisp/org/ox-ascii
/home/viz/lib/emacs/straight/build/org/org-persist hides /home/viz/lib/ports/emacs/lisp/org/org-persist
/home/viz/lib/emacs/straight/build/org/ox-md hides /home/viz/lib/ports/emacs/lisp/org/ox-md
/home/viz/lib/emacs/straight/build/org/org-duration hides /home/viz/lib/ports/emacs/lisp/org/org-duration
/home/viz/lib/emacs/straight/build/org/ob-lilypond hides /home/viz/lib/ports/emacs/lisp/org/ob-lilypond
/home/viz/lib/emacs/straight/build/org/ob-ruby hides /home/viz/lib/ports/emacs/lisp/org/ob-ruby
/home/viz/lib/emacs/straight/build/org/ob-core hides /home/viz/lib/ports/emacs/lisp/org/ob-core
/home/viz/lib/emacs/straight/build/org/ol-mhe hides /home/viz/lib/ports/emacs/lisp/org/ol-mhe
/home/viz/lib/emacs/straight/build/org/ob-ditaa hides /home/viz/lib/ports/emacs/lisp/org/ob-ditaa
/home/viz/lib/emacs/straight/build/org/ol-irc hides /home/viz/lib/ports/emacs/lisp/org/ol-irc
/home/viz/lib/emacs/straight/build/org/ob-fortran hides /home/viz/lib/ports/emacs/lisp/org/ob-fortran
/home/viz/lib/emacs/straight/build/org/org-feed hides /home/viz/lib/ports/emacs/lisp/org/org-feed
/home/viz/lib/emacs/straight/build/org/ob-java hides /home/viz/lib/ports/emacs/lisp/org/ob-java
/home/viz/lib/emacs/straight/build/org/ox hides /home/viz/lib/ports/emacs/lisp/org/ox
/home/viz/lib/emacs/straight/build/org/oc-csl hides /home/viz/lib/ports/emacs/lisp/org/oc-csl
/home/viz/lib/emacs/straight/build/org/ob-exp hides /home/viz/lib/ports/emacs/lisp/org/ob-exp
/home/viz/lib/emacs/straight/build/org/org-loaddefs hides /home/viz/lib/ports/emacs/lisp/org/org-loaddefs
/home/viz/lib/emacs/straight/build/org/ob-scheme hides /home/viz/lib/ports/emacs/lisp/org/ob-scheme
/home/viz/lib/emacs/straight/build/org/ob-tangle hides /home/viz/lib/ports/emacs/lisp/org/ob-tangle
/home/viz/lib/emacs/straight/build/org/ox-koma-letter hides /home/viz/lib/ports/emacs/lisp/org/ox-koma-letter
/home/viz/lib/emacs/straight/build/org/ob-gnuplot hides /home/viz/lib/ports/emacs/lisp/org/ob-gnuplot
/home/viz/lib/emacs/straight/build/org/org-crypt hides /home/viz/lib/ports/emacs/lisp/org/org-crypt
/home/viz/lib/emacs/straight/build/org/org-datetree hides /home/viz/lib/ports/emacs/lisp/org/org-datetree
/home/viz/lib/emacs/straight/build/org/org-attach hides /home/viz/lib/ports/emacs/lisp/org/org-attach
/home/viz/lib/emacs/straight/build/org/ob-julia hides /home/viz/lib/ports/emacs/lisp/org/ob-julia
/home/viz/lib/emacs/straight/build/org/ob-sqlite hides /home/viz/lib/ports/emacs/lisp/org/ob-sqlite
/home/viz/lib/emacs/straight/build/org/org-cycle hides /home/viz/lib/ports/emacs/lisp/org/org-cycle
/home/viz/lib/emacs/straight/build/org/org-faces hides /home/viz/lib/ports/emacs/lisp/org/org-faces
/home/viz/lib/emacs/straight/build/org/org-mobile hides /home/viz/lib/ports/emacs/lisp/org/org-mobile
/home/viz/lib/emacs/straight/build/org/org-ctags hides /home/viz/lib/ports/emacs/lisp/org/org-ctags
/home/viz/lib/emacs/straight/build/org/ob-latex hides /home/viz/lib/ports/emacs/lisp/org/ob-latex
/home/viz/lib/emacs/straight/build/org/ob-matlab hides /home/viz/lib/ports/emacs/lisp/org/ob-matlab
/home/viz/lib/emacs/straight/build/org/ob-sed hides /home/viz/lib/ports/emacs/lisp/org/ob-sed
/home/viz/lib/emacs/straight/build/org/org-attach-git hides /home/viz/lib/ports/emacs/lisp/org/org-attach-git
/home/viz/lib/emacs/straight/build/org/ob-python hides /home/viz/lib/ports/emacs/lisp/org/ob-python
/home/viz/lib/emacs/straight/build/org/ox-icalendar hides /home/viz/lib/ports/emacs/lisp/org/ox-icalendar
/home/viz/lib/emacs/straight/build/org/org-tempo hides /home/viz/lib/ports/emacs/lisp/org/org-tempo
/home/viz/lib/emacs/straight/build/org/ob-screen hides /home/viz/lib/ports/emacs/lisp/org/ob-screen
/home/viz/lib/emacs/straight/build/org/org-num hides /home/viz/lib/ports/emacs/lisp/org/org-num
/home/viz/lib/emacs/straight/build/org/ob-forth hides /home/viz/lib/ports/emacs/lisp/org/ob-forth
/home/viz/lib/emacs/straight/build/org/ox-odt hides /home/viz/lib/ports/emacs/lisp/org/ox-odt
/home/viz/lib/emacs/straight/build/org/ol-bbdb hides /home/viz/lib/ports/emacs/lisp/org/ol-bbdb
/home/viz/lib/emacs/straight/build/org/org-table hides /home/viz/lib/ports/emacs/lisp/org/org-table
/home/viz/lib/emacs/straight/build/org/ox-man hides /home/viz/lib/ports/emacs/lisp/org/ox-man
/home/viz/lib/emacs/straight/build/org/ox-org hides /home/viz/lib/ports/emacs/lisp/org/ox-org
/home/viz/lib/emacs/straight/build/org/ob-comint hides /home/viz/lib/ports/emacs/lisp/org/ob-comint
/home/viz/lib/emacs/straight/build/org/ob-clojure hides /home/viz/lib/ports/emacs/lisp/org/ob-clojure
/home/viz/lib/emacs/straight/build/org/org-id hides /home/viz/lib/ports/emacs/lisp/org/org-id
/home/viz/lib/emacs/straight/build/org/oc-natbib hides /home/viz/lib/ports/emacs/lisp/org/oc-natbib
/home/viz/lib/emacs/straight/build/org/ox-texinfo hides /home/viz/lib/ports/emacs/lisp/org/ox-texinfo
/home/viz/lib/emacs/straight/build/org/org-agenda hides /home/viz/lib/ports/emacs/lisp/org/org-agenda
/home/viz/lib/emacs/straight/build/org/org-src hides /home/viz/lib/ports/emacs/lisp/org/org-src
/home/viz/lib/emacs/straight/build/org/ob-emacs-lisp hides /home/viz/lib/ports/emacs/lisp/org/ob-emacs-lisp
/home/viz/lib/emacs/straight/build/org/ob-css hides /home/viz/lib/ports/emacs/lisp/org/ob-css
/home/viz/lib/emacs/straight/build/org/ox-latex hides /home/viz/lib/ports/emacs/lisp/org/ox-latex
/home/viz/lib/emacs/straight/build/org/oc hides /home/viz/lib/ports/emacs/lisp/org/oc
/home/viz/lib/emacs/straight/build/org/ol hides /home/viz/lib/ports/emacs/lisp/org/ol
/home/viz/lib/emacs/straight/build/org/org-element hides /home/viz/lib/ports/emacs/lisp/org/org-element
/home/viz/lib/emacs/straight/build/org/org hides /home/viz/lib/ports/emacs/lisp/org/org
/home/viz/lib/emacs/straight/build/org/org-goto hides /home/viz/lib/ports/emacs/lisp/org/org-goto
/home/viz/lib/emacs/straight/build/org/ob-eval hides /home/viz/lib/ports/emacs/lisp/org/ob-eval
/home/viz/lib/emacs/straight/build/org/org-habit hides /home/viz/lib/ports/emacs/lisp/org/org-habit
/home/viz/lib/emacs/straight/build/org/org-pcomplete hides /home/viz/lib/ports/emacs/lisp/org/org-pcomplete
/home/viz/lib/emacs/straight/build/org/ol-eww hides /home/viz/lib/ports/emacs/lisp/org/ol-eww
/home/viz/lib/emacs/straight/build/org/ob-processing hides /home/viz/lib/ports/emacs/lisp/org/ob-processing
/home/viz/lib/emacs/straight/build/org/org-timer hides /home/viz/lib/ports/emacs/lisp/org/org-timer
/home/viz/lib/emacs/straight/build/org/org-inlinetask hides /home/viz/lib/ports/emacs/lisp/org/org-inlinetask
/home/viz/lib/emacs/straight/build/org/ol-bibtex hides /home/viz/lib/ports/emacs/lisp/org/ol-bibtex
/home/viz/lib/emacs/straight/build/org/org-fold-core hides /home/viz/lib/ports/emacs/lisp/org/org-fold-core
/home/viz/lib/emacs/straight/build/org/oc-basic hides /home/viz/lib/ports/emacs/lisp/org/oc-basic
/home/viz/lib/emacs/straight/build/org/ox-publish hides /home/viz/lib/ports/emacs/lisp/org/ox-publish
/home/viz/lib/emacs/straight/build/org/oc-bibtex hides /home/viz/lib/ports/emacs/lisp/org/oc-bibtex
/home/viz/lib/emacs/straight/build/org/org-macro hides /home/viz/lib/ports/emacs/lisp/org/org-macro
/home/viz/lib/emacs/straight/build/org/ol-docview hides /home/viz/lib/ports/emacs/lisp/org/ol-docview
/home/viz/lib/emacs/straight/build/org/org-fold hides /home/viz/lib/ports/emacs/lisp/org/org-fold
/home/viz/lib/emacs/straight/build/org/org-lint hides /home/viz/lib/ports/emacs/lisp/org/org-lint
/home/viz/lib/emacs/straight/build/org/org-version hides /home/viz/lib/ports/emacs/lisp/org/org-version
/home/viz/lib/emacs/straight/build/org/ob-ocaml hides /home/viz/lib/ports/emacs/lisp/org/ob-ocaml
/home/viz/lib/emacs/straight/build/org/ob-sass hides /home/viz/lib/ports/emacs/lisp/org/ob-sass
/home/viz/lib/emacs/straight/build/org/ob-perl hides /home/viz/lib/ports/emacs/lisp/org/ob-perl
/home/viz/lib/emacs/straight/build/org/ol-rmail hides /home/viz/lib/ports/emacs/lisp/org/ol-rmail
/home/viz/lib/emacs/straight/build/org/org-protocol hides /home/viz/lib/ports/emacs/lisp/org/org-protocol
/home/viz/lib/emacs/straight/build/org/ol-info hides /home/viz/lib/ports/emacs/lisp/org/ol-info
/home/viz/lib/emacs/straight/build/org/ob-eshell hides /home/viz/lib/ports/emacs/lisp/org/ob-eshell
/home/viz/lib/emacs/straight/build/org/org-refile hides /home/viz/lib/ports/emacs/lisp/org/org-refile
/home/viz/lib/emacs/straight/build/org/ob-octave hides /home/viz/lib/ports/emacs/lisp/org/ob-octave
/home/viz/lib/emacs/straight/build/org/ob-lua hides /home/viz/lib/ports/emacs/lisp/org/ob-lua
/home/viz/lib/emacs/straight/build/org/ol-gnus hides /home/viz/lib/ports/emacs/lisp/org/ol-gnus
/home/viz/lib/emacs/straight/build/org/ob-makefile hides /home/viz/lib/ports/emacs/lisp/org/ob-makefile
/home/viz/lib/emacs/straight/build/org/org-archive hides /home/viz/lib/ports/emacs/lisp/org/org-archive
/home/viz/lib/emacs/straight/build/org/ob-lob hides /home/viz/lib/ports/emacs/lisp/org/ob-lob
/home/viz/lib/emacs/straight/build/org/ol-man hides /home/viz/lib/ports/emacs/lisp/org/ol-man
/home/viz/lib/emacs/straight/build/org/org-compat hides /home/viz/lib/ports/emacs/lisp/org/org-compat
/home/viz/lib/emacs/straight/build/org/org-colview hides /home/viz/lib/ports/emacs/lisp/org/org-colview
/home/viz/lib/emacs/straight/build/org/org-indent hides /home/viz/lib/ports/emacs/lisp/org/org-indent
/home/viz/lib/emacs/straight/build/org/ox-beamer hides /home/viz/lib/ports/emacs/lisp/org/ox-beamer
/home/viz/lib/emacs/straight/build/org/ob-calc hides /home/viz/lib/ports/emacs/lisp/org/ob-calc

Features:
(shadow timezone pcmpl-git emacsbug help-at-pt whitespace gnus-cus
gnus-demon gnus-diary nndiary gnus-dup gnus-fun gnus-html gnus-kill
gnus-logic gnus-mh mh-comp mh-scan mh-gnus mh-e mh-buffers mh-loaddefs
gnus-registry registry rmailsum rmail gnus-salt gnus-topic gnus-vm
printing ps-print ps-print-loaddefs lpr find-dired gnus-uu yenc lacarte
gnus-draft conf-mode emacs-news-mode gnuplot-context gnuplot molar-mass
calc-mode calc-undo calc-stuff calc-aent calc-math calc-map calc-yank
calc-vec calc-arith calc-misc calc-alg calccomp calc-incom calc-menu
calc-ext calc calc-loaddefs calc-macs rect wdired shr-color ind-util
pdf-sync pdf-outline pdf-links pdf-history pdf-roll
latex-mode-expansions latex latex-flymake tex-ispell tex-style tex
icomplete rfc2104 tramp-cache time-stamp semantic/bovine/c
semantic/db-mode semantic/decorate/include hideif semantic/bovine/c-by
semantic/lex-spp semantic/complete semantic/bovine/debug semantic/debug
semantic/edit semantic/bovine/el semantic/db-el eieio-opt semantic/sb
speedbar dframe semantic/bovine/gcc semantic/grammar semantic/grammar-wy
semantic/html html-mode-expansions sgml-mode semantic/idle
semantic/imenu semantic/db-file data-debug cedet-files
semantic/wisent/java-tags semantic/wisent/javat-wy
semantic/wisent/javascript-jv semantic/wisent/js-wy semantic/java
semantic/doc semantic/bovine/make semantic/bovine/make-by make-mode
semantic/decorate/mode semantic/decorate semantic/mru-bookmark
semantic/wisent/python semantic/wisent/python-wy semantic/analyze/refs
semantic/bovine/scm semantic/dep semantic/bovine/scm-by semantic/bovine
srecode/srt-mode semantic/analyze semantic/sort semantic/scope
semantic/analyze/fcn srecode/template srecode/srt-wy srecode/ctxt
srecode/compile srecode/dictionary srecode/fields srecode/table srecode
semantic/texi texinfo texinfo-loaddefs semantic/ctxt semantic/format
ezimage semantic/tag-ls semantic/find semantic/db-find semantic/db-ref
semantic/db eieio-base completion prescient char-fold tramp-cmds
prescient-autoloads inspector edebug grep vc-dir disass msb url-http
url-gw url-cache url-auth dired-aux gnus-dired display-line-numbers
ecomplete pcmpl-gnu etags fileloop imenu-xref view tabify man
tramp-archive tramp-gvfs flow-fill sort gnus-cite mail-extr textsec
uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check
gnus-async gnus-bcklg qp gnus-ml pcmpl-unix network-stream nsm nndraft
nnmh nndoc nnmaildir nnagent nnml nnnil gnus-agent gnus-srvr gnus-score
score-mode nnvirtual gnus-msg nntp gnus-cache mm-archive
ement-tabulated-room-list ement ement-notifications ement-notify
notifications ement-room dns ement-room-list ement-lib ement-api
ement-structs plz ement-macros taxy-magit-section magit-section
benchmark taxy svg-lib persist ediff-ptch ediff ediff-merg ediff-mult
ediff-wind ediff-diff ediff-help ediff-init ediff-util autoload
loaddefs-gen expand-region text-mode-expansions cc-mode-expansions
the-org-mode-expansions python-el-fgallina-expansions
er-basic-expansions expand-region-core expand-region-custom misc
cus-start shell-command+ bug-reference info-look typo
modus-operandi-theme modus-vivendi-theme modus-themes cal-islam holidays
holiday-loaddefs cal-move reveal log-edit add-log smerge-mode mule-util
org-capture doct ob-ditaa ob-plantuml org-clock org-colview org-crypt
org-ctags org-mouse org-plot org-protocol ox-md ox-texinfo comp
comp-cstr descr-text cl-print avy pulse color help-fns radix-tree xref
misearch multi-isearch dabbrev latexenc image-file image-converter
org-ql-find org-ql-completing-read org-ql-search org-ql-view transient
ov crm org-super-agenda ht f f-shortdoc shortdoc s org-ql peg ts dash
org-habit org-duration face-remap flyspell ispell org-pdftools pdf-annot
facemenu org-noter org-num oc-basic ob-gnuplot ox-odt rng-loc rng-uri
rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns
nxml-enc xmltok nxml-util ox-icalendar org-agenda ox-html ox-mathml
org-latex-preview ox-latex table ox-ascii ox-publish ox org-element
org-persist avl-tree generator ob-fortran ob-python python compat
compat-macs ob-C cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles
cc-align cc-engine cc-vars cc-defs ob-shell ob-racket async ob-async
cdlatex texmathp org-attach org-id org-refile org-element-ast inline
ol-eww eww 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 gnus-group gnus-undo
gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 nnoo
gnus-spec gnus-int gnus-range message sendmail yank-media puny rfc822
mml mml-sec epa 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 mail-utils range mm-util
mail-prsvr ol-docview doc-view ol-bibtex ol-bbdb ol-w3m ol-doi
org-link-doi org-tempo ol-man 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 org-list org-footnote org-faces org-entities noutline
outline ob-emacs-lisp ob-core ob-eval org-cycle org-table ol org-fold
org-fold-core org-keys oc org-loaddefs org-version org-compat org-macs
cursor-sensor recentf tree-widget vc-backup log-view pcvs-util vc diff
vc-git diff-mode vc-dispatcher server paredit edmacro kmacro eros
checkdoc lisp-mnt flymake-proc flymake project warnings thingatpt
wordel-autoloads mines-autoloads sokoban-autoloads ement-autoloads
svg-lib-autoloads taxy-magit-section-autoloads magit-section-autoloads
taxy-autoloads persist-autoloads plz-autoloads nov-autoloads
esxml-autoloads kv-autoloads transmission-autoloads csv-mode-autoloads
lua-mode-autoloads nix-mode-autoloads gnuplot-autoloads
go-mode-autoloads racket-mode-autoloads eros-autoloads
writegood-mode-autoloads siege-mode-autoloads paredit-autoloads
puni-autoloads expand-region-autoloads filladapt-autoloads compose
org-ql-autoloads transient-autoloads peg-autoloads ov-autoloads
org-super-agenda-autoloads ts-autoloads ht-autoloads f-autoloads
s-autoloads dash-autoloads scroll-other-window org-pdftools-autoloads
org-noter-autoloads change-env-autoloads math-delimiters-autoloads
doct-autoloads ob-async-autoloads async-autoloads
emacs-ob-racket-autoloads valign-autoloads cdlatex-autoloads
auctex-autoloads tex-site tempo bibtex pdf-occur ibuf-ext ibuffer
ibuffer-loaddefs tablist advice tablist-filter semantic/wisent/comp
semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util
semantic semantic/tag semantic/lex semantic/fw mode-local cedet
pdf-isearch let-alist pdf-misc imenu pdf-tools package browse-url url
url-proxy url-privacy url-expand url-methods url-history url-cookie
generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse
url-vars compile cus-edit wid-edit pdf-view jka-compr pdf-cache pdf-info
tq pdf-util pdf-macs image-mode dired-x dired dired-loaddefs exif
pdf-tools-autoloads tablist-autoloads typo-autoloads mb-depth repeat
visual-fill-autoloads olivetti-autoloads time battery filenotify dom
tamil99 quail disp-table lacarte-autoloads shell-command-plus-autoloads
icons delsel easy-mmode xt-mouse cus-load avy-autoloads icalendar
diary-lib diary-loaddefs cal-menu calendar cal-loaddefs
dired-du-autoloads finder-inf filecache imenu-xref-autoloads ert ewoc
debug backtrace find-func derived chemtable-autoloads
molar-mass-autoloads vc-backup-autoloads compat-autoloads skeleton
saveplace-pdf-view saveplace tramp-sh tramp trampver tramp-integration
files-x tramp-message tramp-compat xdg shell pcomplete comint ansi-osc
ring parse-time iso8601 time-date format-spec auth-source eieio
eieio-core password-cache json map byte-opt ansi-color tramp-loaddefs
bookmark text-property-search pp saveplace-pdf-view-autoloads dbus xml
rx inspector-autoloads xr-autoloads org-mode-autoloads pcase
straight-autoloads cl-seq info cl-extra help-mode straight subr-x
cl-macs gv cl-loaddefs cl-lib bytecomp byte-compile vz-nh-theme
vz-options-theme rmc iso-transl tooltip cconv eldoc paren electric
uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
term/x-win x-win term/common-win x-dnd touch-screen 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 dbusbind inotify
dynamic-setting system-font-setting font-render-setting x-toolkit
xinput2 x multi-tty move-toolbar make-network-process emacs)

Memory information:
((conses 16 3801574 1338651) (symbols 48 99389 163)
 (strings 32 567165 74349) (string-bytes 1 134738441)
 (vectors 16 272537) (vector-slots 8 5093955 629437)
 (floats 8 81139 13819) (intervals 56 314712 11696) (buffers 984 250))

--=-=-=--




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Visuwesh <visuweshm@HIDDEN>
Subject: bug#65892: Acknowledgement (30.0.50; yank-media fails for
 clipboard selection that are wiped after being accessed)
Message-ID: <handler.65892.B.169453769921895.ack <at> debbugs.gnu.org>
References: <87a5trjprx.fsf@HIDDEN>
X-Gnu-PR-Message: ack 65892
X-Gnu-PR-Package: emacs
Reply-To: 65892 <at> debbugs.gnu.org
Date: Tue, 12 Sep 2023 16:55:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 65892 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
65892: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D65892
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 12 Sep 2023 21:07:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Sep 12 17:07:17 2023
Received: from localhost ([127.0.0.1]:60170 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qgAbN-0003Ja-HI
	for submit <at> debbugs.gnu.org; Tue, 12 Sep 2023 17:07:17 -0400
Received: from mail-lj1-x229.google.com ([2a00:1450:4864:20::229]:46139)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1qgAbJ-0003JE-CM
 for control <at> debbugs.gnu.org; Tue, 12 Sep 2023 17:07:15 -0400
Received: by mail-lj1-x229.google.com with SMTP id
 38308e7fff4ca-2bf8b9c5ca0so46265231fa.0
 for <control <at> debbugs.gnu.org>; Tue, 12 Sep 2023 14:07:08 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1694552822; x=1695157622; darn=debbugs.gnu.org;
 h=to:subject:message-id:date:mime-version:from:from:to:cc:subject
 :date:message-id:reply-to;
 bh=/8sFY75+5uYWYpNYECSFY0bgBF2+0n1movFHtOz6CSw=;
 b=PzqvwId24jz5ndXemQx6Mzc5vXjWDRfa9Pn+hcf2Y/pmgXrR501xoua3+FfxFxOTvA
 +dl3rn8f+T+JTjDDwKFwc5H3yGLPLU0f3VBJ160rVNhURjdvvyYfEian+h/PG1yuatRd
 zcG0VTn4UsTLx9uYlV7u7rnP95iBUO1L+z0Um9wm03ylpQ6FL3moc17F1Jko/twW7e0g
 C9p2UDLmOcSjh9S8+mWYrlFdxyFHBPT0jqfeUvB6Cs9b8ntPe4AylM1FnzkPA+WV9UgU
 +DK2ovieQPvUzdvGm87CEccl5q2XK0Cnwhfl3FHIn4R5hawVC4NkiDxgGOGqCqsU70VC
 qUcg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1694552822; x=1695157622;
 h=to:subject:message-id:date:mime-version:from:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=/8sFY75+5uYWYpNYECSFY0bgBF2+0n1movFHtOz6CSw=;
 b=jcFgV6iXAolJUhMkpoeOlk+ZXIjoIUsYbQlDKLL7o15a0VlL9urPPyMYwH84hvIdoB
 BqzSmJQ4uld7Erhz15lPQijC/vSEeeJp2h/C8NZ3JRMnXjvsCI6vsr7H71akRW71vO5+
 U3OtTGOctAnrqcBfK4rWA1WTLpo+w7j0mqAg6MrlTPGKxmreiyqLLDX8ZN3eN7LNMCCs
 eGL17RvpdM8VGlEljRj72BL0ebdQWy0a6hbejRBhQGM9GZzqlMGYwSjkBj4uj6w3z+4b
 KRfS2Ux9ni77PP9t9tVS+qOigDeHhYncERvuout6zvZF/jZX0vTVJlsCBRK5ql8PYONt
 Ipqw==
X-Gm-Message-State: AOJu0YxTe+ajyMG3pES12+7VxHDslFeSksDIz9/d1H4RzwBMEca52Jop
 BsGBV0k3IHMmoWxoslIOiTJK7/DK4x+uTcrM8VJ9mzdZ9hg=
X-Google-Smtp-Source: AGHT+IFD0tDDr5SJ26v4GXEluDXhsTq5Cn/PL+ZAn9fpkJOzrkbC5wu0xfzeAW6bIDWPqaDIxITLUTb3k2KqCLgs8mk=
X-Received: by 2002:a2e:950a:0:b0:2bc:baa0:57b8 with SMTP id
 f10-20020a2e950a000000b002bcbaa057b8mr685950ljh.15.1694552821593; Tue, 12 Sep
 2023 14:07:01 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Tue, 12 Sep 2023 14:07:01 -0700
From: Stefan Kangas <stefankangas@HIDDEN>
MIME-Version: 1.0
Date: Tue, 12 Sep 2023 14:07:01 -0700
Message-ID: <CADwFkm=3jR=c_uPEYg98V+WHmBu9pBb6rpVnGMEgM0wiH+Woiw@HIDDEN>
Subject: 
To: control <at> debbugs.gnu.org
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 2.0 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  tags 65892 + patch thanks 
 Content analysis details:   (2.0 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [2a00:1450:4864:20:0:0:0:229 listed in]
 [list.dnswl.org]
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (stefankangas[at]gmail.com)
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 0.0 UNPARSEABLE_RELAY      Informational: message has unparseable relay
 lines 2.0 BLANK_SUBJECT          Subject is present but empty
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.0 (+)

tags 65892 + patch
thanks




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#65892: 30.0.50; yank-media fails for clipboard selection that are wiped after being accessed
Resent-From: Visuwesh <visuweshm@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 24 Jun 2024 03:55:02 +0000
Resent-Message-ID: <handler.65892.B65892.17192012777944 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 65892
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: 65892 <at> debbugs.gnu.org
Received: via spool by 65892-submit <at> debbugs.gnu.org id=B65892.17192012777944
          (code B ref 65892); Mon, 24 Jun 2024 03:55:02 +0000
Received: (at 65892) by debbugs.gnu.org; 24 Jun 2024 03:54:37 +0000
Received: from localhost ([127.0.0.1]:37018 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sLamp-00023z-1A
	for submit <at> debbugs.gnu.org; Sun, 23 Jun 2024 23:54:37 -0400
Received: from mail-pj1-f67.google.com ([209.85.216.67]:61518)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <visuweshm@HIDDEN>) id 1sLaml-00023f-Gw
 for 65892 <at> debbugs.gnu.org; Sun, 23 Jun 2024 23:54:33 -0400
Received: by mail-pj1-f67.google.com with SMTP id
 98e67ed59e1d1-2bfdae7997aso2910236a91.2
 for <65892 <at> debbugs.gnu.org>; Sun, 23 Jun 2024 20:54:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1719201204; x=1719806004; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=LxLfxEynjLrdsSY27/EWjmuf2Iwn1Bu4f1dmLLbzwZY=;
 b=PU1uddhe/PkC2q3e1sWcMXiUVQ5j8CwJYuBYo3h6rCvjt0dq8lGjcUr4/XBr+JMFbg
 Acoi/1RnFl2FlqtHsAghqqWMxX3x0e/JqKvgnrUn/jRbtFyeyZn1ZZfKkzw13gevnuwu
 JXj5bBgurr28vtF7NPeYL2YccT5WEmTfCAV0j7ZHCKuVj0cdU0mnsxc+Y/S4MTehnscb
 P8VoDyO6LubKeUjpwNYI5OjwXAFJb4PthsqQOZhN1qEJ8rXK2wPav0fI9nm3Na60vgFZ
 1TAd2cCGUO1TOv45fknk7w6ACRIMAUfSBDpsIHus1Co7gAZQhEY8Uykz2TpVVrrqk0p+
 dk+g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1719201204; x=1719806004;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:to:from:x-gm-message-state:from:to
 :cc:subject:date:message-id:reply-to;
 bh=LxLfxEynjLrdsSY27/EWjmuf2Iwn1Bu4f1dmLLbzwZY=;
 b=F299do03iprRhVO1k8FKiFn2itSNdfoYnVE/LVJHTn9lg5bNt4IzZ083ugF5jjsyEb
 4X+8yosBtlm64VC/73N/4C90+1xWZcdxXQQ7viwrtSZjnVRjbd+L5Tgxh2bsFyWStfpk
 erORwyWy9OavYhLN/uPNzuUMPVa1g8SwQkhFY13SMsiAiVKfvMJ7CXur5XTVrw4dIMvp
 s0YhSbN0mFeXdK+u17tpqVrNuPmUh3OPYYV4kTSwLaQn+P4a84tqkGlTyfr2s5tVPKLd
 pGiMJ3Mp/nUqEIqHUaOkXuglhRY/isK5u9LTrapugB5/7Pn/v1mnXlJ/0BQ99frLQ9Jm
 fTjg==
X-Gm-Message-State: AOJu0Yw2HLAXn54jTNYrwXbCOii7A83SAm9glH28GkTt8/kzxBnPWtqH
 8cxr4bJF4V50kxOzRUAz3rofoSh8XPS0T/6mOolZKtWkps9p9gJ7rTRZYpyf
X-Google-Smtp-Source: AGHT+IFdR9AMrh7T2BDVLclzhTQWpV+c4/kzqZ0ZUd2uEUDxs8EmdmSvghAS0/uPjmFYp1e7Eq0pJw==
X-Received: by 2002:a17:90a:9c6:b0:2c5:3a5:5e47 with SMTP id
 98e67ed59e1d1-2c86124c980mr1947978a91.13.1719201203748; 
 Sun, 23 Jun 2024 20:53:23 -0700 (PDT)
Received: from localhost ([103.232.241.147]) by smtp.gmail.com with ESMTPSA id
 98e67ed59e1d1-2c819a8df1asm5601247a91.31.2024.06.23.20.53.22
 for <65892 <at> debbugs.gnu.org>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 23 Jun 2024 20:53:23 -0700 (PDT)
From: Visuwesh <visuweshm@HIDDEN>
In-Reply-To: <87a5trjprx.fsf@HIDDEN> (Visuwesh's message of "Tue, 12 Sep
 2023 22:24:26 +0530")
References: <87a5trjprx.fsf@HIDDEN>
Date: Mon, 24 Jun 2024 09:23:20 +0530
Message-ID: <875xtzro7j.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

I apologise for neglecting to speak out loud before the emacs-30 branch
cut.  Is there a chance to get this patch in emacs-30?  I am using this
patch ever since I sent it to debbugs and I do not face any issue wrt
the pcmanfm issue shown here and other applications which do not wipe
the clipboard.  It would be nice to have it in emacs-30 especially with
org-mode gaining yank-media support for files copied/cut from a file
manager.

[=E0=AE=9A=E0=AF=86=E0=AE=B5=E0=AF=8D=E0=AE=B5=E0=AE=BE=E0=AE=AF=E0=AF=8D =
=E0=AE=9A=E0=AF=86=E0=AE=AA=E0=AF=8D=E0=AE=9F=E0=AE=AE=E0=AF=8D=E0=AE=AA=E0=
=AE=B0=E0=AF=8D 12, 2023] Visuwesh wrote:

> To reproduce the bug,
>
>     1. Install pcmanfm
>     2. emacs -Q
>     3. Eval the following lines=20
>
>     (defun vz/message-yank-media-copied-files-handler (_ data)
>       "Attach files copied/cut from the file manager.
>     DATA is a string where the first line is the operation to
>     perform: copy or cut.  Rest are file: links.  The operation is
>     always ignored, and the files are only attached."
>       (let* ((files (cdr (split-string data "[\0\n\r]" t "^file://"))))
>         (dolist (f files)
>           (mml-attach-file f (or (mm-default-file-type f) "application/oc=
tet-stream")))))
>
>      (add-hook 'message-mode-hook
>                (defun vz/message-register-yank-media-handler ()
>                  (yank-media-handler "x-special/gnome-copied-files"
>                                      #'vz/message-yank-media-copied-files=
-handler)))
>     4. C-x m
>     5. Cut a file from pcmanfm using C-x
>     6. In Emacs, choose the message-mode buffer and say M-x yank-media
>     7. Witness the wrong-type-argument error
>
> This happens because pcmanfm "wipes" the clipboard data it is accessed
> once.  This is a problem because yank-media uses
> yank-media--get-selection to access the clipboard data twice
>
>     =C2=B7 Once in yank-media--find-matching-media to find out if the
>       buffer's registered handlers can work with the data (see
>       pcase-dolist form in yank-media function).  At this point,
>       vz/message-register-yank-media-handler is chosen since it can
>       handle x-special/gnome-copied-files (which is the type used for
>       the cut file).
>
>     =C2=B7 Second when yank-media calls the handler to do its thing, which
>       can be seen in the funcall forms in yank-media function again.
>
> The problem here is that once yank-media--find-matching-media calls
> yank-media--get-selection to get the clipboard selection, pcmanfm wipes
> the clipboard so when yank-media calls that function again and passes
> the return value to the handler, the handler receives nil.
>
> The attached patch fixes this issue by making
> yank-media--find-matching-media return the selection value, and passing
> the returned value to the handler avoiding calling
> yank-media--get-selection again.
>
> P.S. I don't know if it is a problem with other file managers.
> P.P.S. I plan on submitting a patch to add the yank-media-handler here
>        once this bug is fixed.
>
>
>
>
> In GNU Emacs 30.0.50 (build 7, x86_64-pc-linux-gnu, X toolkit, Xaw
>  scroll bars) of 2023-09-10 built on astatine
> Repository revision: af1e860570191014d94484d6944348b1766ba59f
> Repository branch: master
> Windowing system distributor 'The X.Org Foundation', version 11.0.12101008
> System Description: Debian GNU/Linux trixie/sid
>
> Configured using:
>  'configure --with-sound=3Dalsa --with-x-toolkit=3Dlucid --with-json
>  --without-xaw3d --without-gconf --without-libsystemd --without-cairo'
> Configured features:
> ACL DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG JSON
> LIBOTF LIBSELINUX LIBXML2 MODULES NOTIFY INOTIFY PDUMPER PNG RSVG
> SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS WEBP X11 XDBE XFT
> XIM XINPUT2 XPM LUCID ZLIB
> Important settings:
>   value of $LC_MONETARY: ta_IN.UTF-8
>   value of $LC_NUMERIC: ta_IN.UTF-8
>   value of $LANG: en_GB.UTF-8
>   locale-coding-system: utf-8-unix
>
> Major mode: Diff
>
> Minor modes in effect:
>   whitespace-mode: t
>   TeX-PDF-mode: t
>   recentf-mode: t
>   server-mode: t
>   eros-mode: t
>   pdf-occur-global-minor-mode: t
>   minibuffer-depth-indicate-mode: t
>   repeat-mode: t
>   display-time-mode: t
>   display-battery-mode: t
>   delete-selection-mode: t
>   xterm-mouse-mode: t
>   straight-use-package-mode: t
>   straight-package-neutering-mode: t
>   tooltip-mode: t
>   global-eldoc-mode: t
>   show-paren-mode: t
>   electric-indent-mode: t
>   mouse-wheel-mode: t
>   use-hard-newlines: t
>   tab-bar-history-mode: t
>   tab-bar-mode: t
>   file-name-shadow-mode: t
>   global-font-lock-mode: t
>   font-lock-mode: t
>   undelete-frame-mode: t
>   minibuffer-regexp-mode: t
>   buffer-read-only: t
>   indent-tabs-mode: t
>   transient-mark-mode: t
>   auto-composition-mode: t
>   auto-encryption-mode: t
>   auto-compression-mode: t
>
> Load-path shadows:
> /home/viz/lib/emacs/straight/build/org/ob-awk hides /home/viz/lib/emacs/s=
traight/build/org-mode/ob-awk
> /home/viz/lib/emacs/straight/build/org/org-capture hides /home/viz/lib/em=
acs/straight/build/org-mode/org-capture
> /home/viz/lib/emacs/straight/build/org/ob-sql hides /home/viz/lib/emacs/s=
traight/build/org-mode/ob-sql
> /home/viz/lib/emacs/straight/build/org/ol-doi hides /home/viz/lib/emacs/s=
traight/build/org-mode/ol-doi
> /home/viz/lib/emacs/straight/build/org/org-latex-preview hides /home/viz/=
lib/emacs/straight/build/org-mode/org-latex-preview
> /home/viz/lib/emacs/straight/build/org/org-plot hides /home/viz/lib/emacs=
/straight/build/org-mode/org-plot
> /home/viz/lib/emacs/straight/build/org/ob-dot hides /home/viz/lib/emacs/s=
traight/build/org-mode/ob-dot
> /home/viz/lib/emacs/straight/build/org/ol-eshell hides /home/viz/lib/emac=
s/straight/build/org-mode/ol-eshell
> /home/viz/lib/emacs/straight/build/org/ob-C hides /home/viz/lib/emacs/str=
aight/build/org-mode/ob-C
> /home/viz/lib/emacs/straight/build/org/ob-ref hides /home/viz/lib/emacs/s=
traight/build/org-mode/ob-ref
> /home/viz/lib/emacs/straight/build/org/ox-mathml hides /home/viz/lib/emac=
s/straight/build/org-mode/ox-mathml
> /home/viz/lib/emacs/straight/build/org/org-list hides /home/viz/lib/emacs=
/straight/build/org-mode/org-list
> /home/viz/lib/emacs/straight/build/org/org-mouse hides /home/viz/lib/emac=
s/straight/build/org-mode/org-mouse
> /home/viz/lib/emacs/straight/build/org/ob-haskell hides /home/viz/lib/ema=
cs/straight/build/org-mode/ob-haskell
> /home/viz/lib/emacs/straight/build/org/ob-plantuml hides /home/viz/lib/em=
acs/straight/build/org-mode/ob-plantuml
> /home/viz/lib/emacs/straight/build/org/org-keys hides /home/viz/lib/emacs=
/straight/build/org-mode/org-keys
> /home/viz/lib/emacs/straight/build/org/org-clock hides /home/viz/lib/emac=
s/straight/build/org-mode/org-clock
> /home/viz/lib/emacs/straight/build/org/ox-html hides /home/viz/lib/emacs/=
straight/build/org-mode/ox-html
> /home/viz/lib/emacs/straight/build/org/oc-biblatex hides /home/viz/lib/em=
acs/straight/build/org-mode/oc-biblatex
> /home/viz/lib/emacs/straight/build/org/ob-table hides /home/viz/lib/emacs=
/straight/build/org-mode/ob-table
> /home/viz/lib/emacs/straight/build/org/ob hides /home/viz/lib/emacs/strai=
ght/build/org-mode/ob
> /home/viz/lib/emacs/straight/build/org/ol-w3m hides /home/viz/lib/emacs/s=
traight/build/org-mode/ol-w3m
> /home/viz/lib/emacs/straight/build/org/ob-groovy hides /home/viz/lib/emac=
s/straight/build/org-mode/ob-groovy
> /home/viz/lib/emacs/straight/build/org/org-footnote hides /home/viz/lib/e=
macs/straight/build/org-mode/org-footnote
> /home/viz/lib/emacs/straight/build/org/org-entities hides /home/viz/lib/e=
macs/straight/build/org-mode/org-entities
> /home/viz/lib/emacs/straight/build/org/ob-org hides /home/viz/lib/emacs/s=
traight/build/org-mode/ob-org
> /home/viz/lib/emacs/straight/build/org/org-macs hides /home/viz/lib/emacs=
/straight/build/org-mode/org-macs
> /home/viz/lib/emacs/straight/build/org/ob-shell hides /home/viz/lib/emacs=
/straight/build/org-mode/ob-shell
> /home/viz/lib/emacs/straight/build/org/ob-R hides /home/viz/lib/emacs/str=
aight/build/org-mode/ob-R
> /home/viz/lib/emacs/straight/build/org/ob-lisp hides /home/viz/lib/emacs/=
straight/build/org-mode/ob-lisp
> /home/viz/lib/emacs/straight/build/org/ob-js hides /home/viz/lib/emacs/st=
raight/build/org-mode/ob-js
> /home/viz/lib/emacs/straight/build/org/ob-maxima hides /home/viz/lib/emac=
s/straight/build/org-mode/ob-maxima
> /home/viz/lib/emacs/straight/build/org/org-element-ast hides /home/viz/li=
b/emacs/straight/build/org-mode/org-element-ast
> /home/viz/lib/emacs/straight/build/org/ox-ascii hides /home/viz/lib/emacs=
/straight/build/org-mode/ox-ascii
> /home/viz/lib/emacs/straight/build/org/org-persist hides /home/viz/lib/em=
acs/straight/build/org-mode/org-persist
> /home/viz/lib/emacs/straight/build/org/ox-md hides /home/viz/lib/emacs/st=
raight/build/org-mode/ox-md
> /home/viz/lib/emacs/straight/build/org/org-duration hides /home/viz/lib/e=
macs/straight/build/org-mode/org-duration
> /home/viz/lib/emacs/straight/build/org/ob-lilypond hides /home/viz/lib/em=
acs/straight/build/org-mode/ob-lilypond
> /home/viz/lib/emacs/straight/build/org/ob-ruby hides /home/viz/lib/emacs/=
straight/build/org-mode/ob-ruby
> /home/viz/lib/emacs/straight/build/org/ob-core hides /home/viz/lib/emacs/=
straight/build/org-mode/ob-core
> /home/viz/lib/emacs/straight/build/org/ol-mhe hides /home/viz/lib/emacs/s=
traight/build/org-mode/ol-mhe
> /home/viz/lib/emacs/straight/build/org/ob-ditaa hides /home/viz/lib/emacs=
/straight/build/org-mode/ob-ditaa
> /home/viz/lib/emacs/straight/build/org/ol-irc hides /home/viz/lib/emacs/s=
traight/build/org-mode/ol-irc
> /home/viz/lib/emacs/straight/build/org/ob-fortran hides /home/viz/lib/ema=
cs/straight/build/org-mode/ob-fortran
> /home/viz/lib/emacs/straight/build/org/org-feed hides /home/viz/lib/emacs=
/straight/build/org-mode/org-feed
> /home/viz/lib/emacs/straight/build/org/ob-java hides /home/viz/lib/emacs/=
straight/build/org-mode/ob-java
> /home/viz/lib/emacs/straight/build/org/ox hides /home/viz/lib/emacs/strai=
ght/build/org-mode/ox
> /home/viz/lib/emacs/straight/build/org/oc-csl hides /home/viz/lib/emacs/s=
traight/build/org-mode/oc-csl
> /home/viz/lib/emacs/straight/build/org/ob-exp hides /home/viz/lib/emacs/s=
traight/build/org-mode/ob-exp
> /home/viz/lib/emacs/straight/build/org/ob-scheme hides /home/viz/lib/emac=
s/straight/build/org-mode/ob-scheme
> /home/viz/lib/emacs/straight/build/org/ob-tangle hides /home/viz/lib/emac=
s/straight/build/org-mode/ob-tangle
> /home/viz/lib/emacs/straight/build/org/ox-koma-letter hides /home/viz/lib=
/emacs/straight/build/org-mode/ox-koma-letter
> /home/viz/lib/emacs/straight/build/org/ob-gnuplot hides /home/viz/lib/ema=
cs/straight/build/org-mode/ob-gnuplot
> /home/viz/lib/emacs/straight/build/org/org-crypt hides /home/viz/lib/emac=
s/straight/build/org-mode/org-crypt
> /home/viz/lib/emacs/straight/build/org/org-datetree hides /home/viz/lib/e=
macs/straight/build/org-mode/org-datetree
> /home/viz/lib/emacs/straight/build/org/org-attach hides /home/viz/lib/ema=
cs/straight/build/org-mode/org-attach
> /home/viz/lib/emacs/straight/build/org/ob-julia hides /home/viz/lib/emacs=
/straight/build/org-mode/ob-julia
> /home/viz/lib/emacs/straight/build/org/ob-sqlite hides /home/viz/lib/emac=
s/straight/build/org-mode/ob-sqlite
> /home/viz/lib/emacs/straight/build/org/org-cycle hides /home/viz/lib/emac=
s/straight/build/org-mode/org-cycle
> /home/viz/lib/emacs/straight/build/org/org-faces hides /home/viz/lib/emac=
s/straight/build/org-mode/org-faces
> /home/viz/lib/emacs/straight/build/org/org-mobile hides /home/viz/lib/ema=
cs/straight/build/org-mode/org-mobile
> /home/viz/lib/emacs/straight/build/org/org-ctags hides /home/viz/lib/emac=
s/straight/build/org-mode/org-ctags
> /home/viz/lib/emacs/straight/build/org/ob-latex hides /home/viz/lib/emacs=
/straight/build/org-mode/ob-latex
> /home/viz/lib/emacs/straight/build/org/ob-matlab hides /home/viz/lib/emac=
s/straight/build/org-mode/ob-matlab
> /home/viz/lib/emacs/straight/build/org/ob-sed hides /home/viz/lib/emacs/s=
traight/build/org-mode/ob-sed
> /home/viz/lib/emacs/straight/build/org/org-attach-git hides /home/viz/lib=
/emacs/straight/build/org-mode/org-attach-git
> /home/viz/lib/emacs/straight/build/org/ob-python hides /home/viz/lib/emac=
s/straight/build/org-mode/ob-python
> /home/viz/lib/emacs/straight/build/org/ox-icalendar hides /home/viz/lib/e=
macs/straight/build/org-mode/ox-icalendar
> /home/viz/lib/emacs/straight/build/org/org-tempo hides /home/viz/lib/emac=
s/straight/build/org-mode/org-tempo
> /home/viz/lib/emacs/straight/build/org/ob-screen hides /home/viz/lib/emac=
s/straight/build/org-mode/ob-screen
> /home/viz/lib/emacs/straight/build/org/org-num hides /home/viz/lib/emacs/=
straight/build/org-mode/org-num
> /home/viz/lib/emacs/straight/build/org/ob-forth hides /home/viz/lib/emacs=
/straight/build/org-mode/ob-forth
> /home/viz/lib/emacs/straight/build/org/ox-odt hides /home/viz/lib/emacs/s=
traight/build/org-mode/ox-odt
> /home/viz/lib/emacs/straight/build/org/ol-bbdb hides /home/viz/lib/emacs/=
straight/build/org-mode/ol-bbdb
> /home/viz/lib/emacs/straight/build/org/org-table hides /home/viz/lib/emac=
s/straight/build/org-mode/org-table
> /home/viz/lib/emacs/straight/build/org/ox-man hides /home/viz/lib/emacs/s=
traight/build/org-mode/ox-man
> /home/viz/lib/emacs/straight/build/org/ox-org hides /home/viz/lib/emacs/s=
traight/build/org-mode/ox-org
> /home/viz/lib/emacs/straight/build/org/ob-comint hides /home/viz/lib/emac=
s/straight/build/org-mode/ob-comint
> /home/viz/lib/emacs/straight/build/org/ob-clojure hides /home/viz/lib/ema=
cs/straight/build/org-mode/ob-clojure
> /home/viz/lib/emacs/straight/build/org/org-id hides /home/viz/lib/emacs/s=
traight/build/org-mode/org-id
> /home/viz/lib/emacs/straight/build/org/oc-natbib hides /home/viz/lib/emac=
s/straight/build/org-mode/oc-natbib
> /home/viz/lib/emacs/straight/build/org/ox-texinfo hides /home/viz/lib/ema=
cs/straight/build/org-mode/ox-texinfo
> /home/viz/lib/emacs/straight/build/org/org-agenda hides /home/viz/lib/ema=
cs/straight/build/org-mode/org-agenda
> /home/viz/lib/emacs/straight/build/org/org-src hides /home/viz/lib/emacs/=
straight/build/org-mode/org-src
> /home/viz/lib/emacs/straight/build/org/ob-emacs-lisp hides /home/viz/lib/=
emacs/straight/build/org-mode/ob-emacs-lisp
> /home/viz/lib/emacs/straight/build/org/ob-css hides /home/viz/lib/emacs/s=
traight/build/org-mode/ob-css
> /home/viz/lib/emacs/straight/build/org/ox-latex hides /home/viz/lib/emacs=
/straight/build/org-mode/ox-latex
> /home/viz/lib/emacs/straight/build/org/oc hides /home/viz/lib/emacs/strai=
ght/build/org-mode/oc
> /home/viz/lib/emacs/straight/build/org/ol hides /home/viz/lib/emacs/strai=
ght/build/org-mode/ol
> /home/viz/lib/emacs/straight/build/org/org-element hides /home/viz/lib/em=
acs/straight/build/org-mode/org-element
> /home/viz/lib/emacs/straight/build/org/org hides /home/viz/lib/emacs/stra=
ight/build/org-mode/org
> /home/viz/lib/emacs/straight/build/org/org-goto hides /home/viz/lib/emacs=
/straight/build/org-mode/org-goto
> /home/viz/lib/emacs/straight/build/org/ob-eval hides /home/viz/lib/emacs/=
straight/build/org-mode/ob-eval
> /home/viz/lib/emacs/straight/build/org/org-habit hides /home/viz/lib/emac=
s/straight/build/org-mode/org-habit
> /home/viz/lib/emacs/straight/build/org/org-pcomplete hides /home/viz/lib/=
emacs/straight/build/org-mode/org-pcomplete
> /home/viz/lib/emacs/straight/build/org/ol-eww hides /home/viz/lib/emacs/s=
traight/build/org-mode/ol-eww
> /home/viz/lib/emacs/straight/build/org/ob-processing hides /home/viz/lib/=
emacs/straight/build/org-mode/ob-processing
> /home/viz/lib/emacs/straight/build/org/org-timer hides /home/viz/lib/emac=
s/straight/build/org-mode/org-timer
> /home/viz/lib/emacs/straight/build/org/org-inlinetask hides /home/viz/lib=
/emacs/straight/build/org-mode/org-inlinetask
> /home/viz/lib/emacs/straight/build/org/ol-bibtex hides /home/viz/lib/emac=
s/straight/build/org-mode/ol-bibtex
> /home/viz/lib/emacs/straight/build/org/org-fold-core hides /home/viz/lib/=
emacs/straight/build/org-mode/org-fold-core
> /home/viz/lib/emacs/straight/build/org/oc-basic hides /home/viz/lib/emacs=
/straight/build/org-mode/oc-basic
> /home/viz/lib/emacs/straight/build/org/ox-publish hides /home/viz/lib/ema=
cs/straight/build/org-mode/ox-publish
> /home/viz/lib/emacs/straight/build/org/oc-bibtex hides /home/viz/lib/emac=
s/straight/build/org-mode/oc-bibtex
> /home/viz/lib/emacs/straight/build/org/org-macro hides /home/viz/lib/emac=
s/straight/build/org-mode/org-macro
> /home/viz/lib/emacs/straight/build/org/ol-docview hides /home/viz/lib/ema=
cs/straight/build/org-mode/ol-docview
> /home/viz/lib/emacs/straight/build/org/org-fold hides /home/viz/lib/emacs=
/straight/build/org-mode/org-fold
> /home/viz/lib/emacs/straight/build/org/org-lint hides /home/viz/lib/emacs=
/straight/build/org-mode/org-lint
> /home/viz/lib/emacs/straight/build/org/org-version hides /home/viz/lib/em=
acs/straight/build/org-mode/org-version
> /home/viz/lib/emacs/straight/build/org/ob-ocaml hides /home/viz/lib/emacs=
/straight/build/org-mode/ob-ocaml
> /home/viz/lib/emacs/straight/build/org/ob-sass hides /home/viz/lib/emacs/=
straight/build/org-mode/ob-sass
> /home/viz/lib/emacs/straight/build/org/ob-perl hides /home/viz/lib/emacs/=
straight/build/org-mode/ob-perl
> /home/viz/lib/emacs/straight/build/org/ol-rmail hides /home/viz/lib/emacs=
/straight/build/org-mode/ol-rmail
> /home/viz/lib/emacs/straight/build/org/org-protocol hides /home/viz/lib/e=
macs/straight/build/org-mode/org-protocol
> /home/viz/lib/emacs/straight/build/org/ol-info hides /home/viz/lib/emacs/=
straight/build/org-mode/ol-info
> /home/viz/lib/emacs/straight/build/org/ob-eshell hides /home/viz/lib/emac=
s/straight/build/org-mode/ob-eshell
> /home/viz/lib/emacs/straight/build/org/org-refile hides /home/viz/lib/ema=
cs/straight/build/org-mode/org-refile
> /home/viz/lib/emacs/straight/build/org/ob-octave hides /home/viz/lib/emac=
s/straight/build/org-mode/ob-octave
> /home/viz/lib/emacs/straight/build/org/ob-lua hides /home/viz/lib/emacs/s=
traight/build/org-mode/ob-lua
> /home/viz/lib/emacs/straight/build/org/ol-gnus hides /home/viz/lib/emacs/=
straight/build/org-mode/ol-gnus
> /home/viz/lib/emacs/straight/build/org/ob-makefile hides /home/viz/lib/em=
acs/straight/build/org-mode/ob-makefile
> /home/viz/lib/emacs/straight/build/org/org-archive hides /home/viz/lib/em=
acs/straight/build/org-mode/org-archive
> /home/viz/lib/emacs/straight/build/org/ob-lob hides /home/viz/lib/emacs/s=
traight/build/org-mode/ob-lob
> /home/viz/lib/emacs/straight/build/org/ol-man hides /home/viz/lib/emacs/s=
traight/build/org-mode/ol-man
> /home/viz/lib/emacs/straight/build/org/org-compat hides /home/viz/lib/ema=
cs/straight/build/org-mode/org-compat
> /home/viz/lib/emacs/straight/build/org/org-colview hides /home/viz/lib/em=
acs/straight/build/org-mode/org-colview
> /home/viz/lib/emacs/straight/build/org/org-indent hides /home/viz/lib/ema=
cs/straight/build/org-mode/org-indent
> /home/viz/lib/emacs/straight/build/org/ox-beamer hides /home/viz/lib/emac=
s/straight/build/org-mode/ox-beamer
> /home/viz/lib/emacs/straight/build/org/org-loaddefs hides /home/viz/lib/e=
macs/straight/build/org-mode/org-loaddefs
> /home/viz/lib/emacs/straight/build/org/ob-calc hides /home/viz/lib/emacs/=
straight/build/org-mode/ob-calc
> /home/viz/lib/emacs/straight/build/transient/transient hides /home/viz/li=
b/ports/emacs/lisp/transient
> /home/viz/lib/emacs/straight/build/org/ob-awk hides /home/viz/lib/ports/e=
macs/lisp/org/ob-awk
> /home/viz/lib/emacs/straight/build/org/org-capture hides /home/viz/lib/po=
rts/emacs/lisp/org/org-capture
> /home/viz/lib/emacs/straight/build/org/ob-sql hides /home/viz/lib/ports/e=
macs/lisp/org/ob-sql
> /home/viz/lib/emacs/straight/build/org/ol-doi hides /home/viz/lib/ports/e=
macs/lisp/org/ol-doi
> /home/viz/lib/emacs/straight/build/org/org-plot hides /home/viz/lib/ports=
/emacs/lisp/org/org-plot
> /home/viz/lib/emacs/straight/build/org/ob-dot hides /home/viz/lib/ports/e=
macs/lisp/org/ob-dot
> /home/viz/lib/emacs/straight/build/org/ol-eshell hides /home/viz/lib/port=
s/emacs/lisp/org/ol-eshell
> /home/viz/lib/emacs/straight/build/org/ob-C hides /home/viz/lib/ports/ema=
cs/lisp/org/ob-C
> /home/viz/lib/emacs/straight/build/org/ob-ref hides /home/viz/lib/ports/e=
macs/lisp/org/ob-ref
> /home/viz/lib/emacs/straight/build/org/org-list hides /home/viz/lib/ports=
/emacs/lisp/org/org-list
> /home/viz/lib/emacs/straight/build/org/org-mouse hides /home/viz/lib/port=
s/emacs/lisp/org/org-mouse
> /home/viz/lib/emacs/straight/build/org/ob-haskell hides /home/viz/lib/por=
ts/emacs/lisp/org/ob-haskell
> /home/viz/lib/emacs/straight/build/org/ob-plantuml hides /home/viz/lib/po=
rts/emacs/lisp/org/ob-plantuml
> /home/viz/lib/emacs/straight/build/org/org-keys hides /home/viz/lib/ports=
/emacs/lisp/org/org-keys
> /home/viz/lib/emacs/straight/build/org/org-clock hides /home/viz/lib/port=
s/emacs/lisp/org/org-clock
> /home/viz/lib/emacs/straight/build/org/ox-html hides /home/viz/lib/ports/=
emacs/lisp/org/ox-html
> /home/viz/lib/emacs/straight/build/org/oc-biblatex hides /home/viz/lib/po=
rts/emacs/lisp/org/oc-biblatex
> /home/viz/lib/emacs/straight/build/org/ob-table hides /home/viz/lib/ports=
/emacs/lisp/org/ob-table
> /home/viz/lib/emacs/straight/build/org/ob hides /home/viz/lib/ports/emacs=
/lisp/org/ob
> /home/viz/lib/emacs/straight/build/org/ol-w3m hides /home/viz/lib/ports/e=
macs/lisp/org/ol-w3m
> /home/viz/lib/emacs/straight/build/org/ob-groovy hides /home/viz/lib/port=
s/emacs/lisp/org/ob-groovy
> /home/viz/lib/emacs/straight/build/org/org-footnote hides /home/viz/lib/p=
orts/emacs/lisp/org/org-footnote
> /home/viz/lib/emacs/straight/build/org/org-entities hides /home/viz/lib/p=
orts/emacs/lisp/org/org-entities
> /home/viz/lib/emacs/straight/build/org/ob-org hides /home/viz/lib/ports/e=
macs/lisp/org/ob-org
> /home/viz/lib/emacs/straight/build/org/org-macs hides /home/viz/lib/ports=
/emacs/lisp/org/org-macs
> /home/viz/lib/emacs/straight/build/org/ob-shell hides /home/viz/lib/ports=
/emacs/lisp/org/ob-shell
> /home/viz/lib/emacs/straight/build/org/ob-R hides /home/viz/lib/ports/ema=
cs/lisp/org/ob-R
> /home/viz/lib/emacs/straight/build/org/ob-lisp hides /home/viz/lib/ports/=
emacs/lisp/org/ob-lisp
> /home/viz/lib/emacs/straight/build/org/ob-js hides /home/viz/lib/ports/em=
acs/lisp/org/ob-js
> /home/viz/lib/emacs/straight/build/org/ob-maxima hides /home/viz/lib/port=
s/emacs/lisp/org/ob-maxima
> /home/viz/lib/emacs/straight/build/org/ox-ascii hides /home/viz/lib/ports=
/emacs/lisp/org/ox-ascii
> /home/viz/lib/emacs/straight/build/org/org-persist hides /home/viz/lib/po=
rts/emacs/lisp/org/org-persist
> /home/viz/lib/emacs/straight/build/org/ox-md hides /home/viz/lib/ports/em=
acs/lisp/org/ox-md
> /home/viz/lib/emacs/straight/build/org/org-duration hides /home/viz/lib/p=
orts/emacs/lisp/org/org-duration
> /home/viz/lib/emacs/straight/build/org/ob-lilypond hides /home/viz/lib/po=
rts/emacs/lisp/org/ob-lilypond
> /home/viz/lib/emacs/straight/build/org/ob-ruby hides /home/viz/lib/ports/=
emacs/lisp/org/ob-ruby
> /home/viz/lib/emacs/straight/build/org/ob-core hides /home/viz/lib/ports/=
emacs/lisp/org/ob-core
> /home/viz/lib/emacs/straight/build/org/ol-mhe hides /home/viz/lib/ports/e=
macs/lisp/org/ol-mhe
> /home/viz/lib/emacs/straight/build/org/ob-ditaa hides /home/viz/lib/ports=
/emacs/lisp/org/ob-ditaa
> /home/viz/lib/emacs/straight/build/org/ol-irc hides /home/viz/lib/ports/e=
macs/lisp/org/ol-irc
> /home/viz/lib/emacs/straight/build/org/ob-fortran hides /home/viz/lib/por=
ts/emacs/lisp/org/ob-fortran
> /home/viz/lib/emacs/straight/build/org/org-feed hides /home/viz/lib/ports=
/emacs/lisp/org/org-feed
> /home/viz/lib/emacs/straight/build/org/ob-java hides /home/viz/lib/ports/=
emacs/lisp/org/ob-java
> /home/viz/lib/emacs/straight/build/org/ox hides /home/viz/lib/ports/emacs=
/lisp/org/ox
> /home/viz/lib/emacs/straight/build/org/oc-csl hides /home/viz/lib/ports/e=
macs/lisp/org/oc-csl
> /home/viz/lib/emacs/straight/build/org/ob-exp hides /home/viz/lib/ports/e=
macs/lisp/org/ob-exp
> /home/viz/lib/emacs/straight/build/org/org-loaddefs hides /home/viz/lib/p=
orts/emacs/lisp/org/org-loaddefs
> /home/viz/lib/emacs/straight/build/org/ob-scheme hides /home/viz/lib/port=
s/emacs/lisp/org/ob-scheme
> /home/viz/lib/emacs/straight/build/org/ob-tangle hides /home/viz/lib/port=
s/emacs/lisp/org/ob-tangle
> /home/viz/lib/emacs/straight/build/org/ox-koma-letter hides /home/viz/lib=
/ports/emacs/lisp/org/ox-koma-letter
> /home/viz/lib/emacs/straight/build/org/ob-gnuplot hides /home/viz/lib/por=
ts/emacs/lisp/org/ob-gnuplot
> /home/viz/lib/emacs/straight/build/org/org-crypt hides /home/viz/lib/port=
s/emacs/lisp/org/org-crypt
> /home/viz/lib/emacs/straight/build/org/org-datetree hides /home/viz/lib/p=
orts/emacs/lisp/org/org-datetree
> /home/viz/lib/emacs/straight/build/org/org-attach hides /home/viz/lib/por=
ts/emacs/lisp/org/org-attach
> /home/viz/lib/emacs/straight/build/org/ob-julia hides /home/viz/lib/ports=
/emacs/lisp/org/ob-julia
> /home/viz/lib/emacs/straight/build/org/ob-sqlite hides /home/viz/lib/port=
s/emacs/lisp/org/ob-sqlite
> /home/viz/lib/emacs/straight/build/org/org-cycle hides /home/viz/lib/port=
s/emacs/lisp/org/org-cycle
> /home/viz/lib/emacs/straight/build/org/org-faces hides /home/viz/lib/port=
s/emacs/lisp/org/org-faces
> /home/viz/lib/emacs/straight/build/org/org-mobile hides /home/viz/lib/por=
ts/emacs/lisp/org/org-mobile
> /home/viz/lib/emacs/straight/build/org/org-ctags hides /home/viz/lib/port=
s/emacs/lisp/org/org-ctags
> /home/viz/lib/emacs/straight/build/org/ob-latex hides /home/viz/lib/ports=
/emacs/lisp/org/ob-latex
> /home/viz/lib/emacs/straight/build/org/ob-matlab hides /home/viz/lib/port=
s/emacs/lisp/org/ob-matlab
> /home/viz/lib/emacs/straight/build/org/ob-sed hides /home/viz/lib/ports/e=
macs/lisp/org/ob-sed
> /home/viz/lib/emacs/straight/build/org/org-attach-git hides /home/viz/lib=
/ports/emacs/lisp/org/org-attach-git
> /home/viz/lib/emacs/straight/build/org/ob-python hides /home/viz/lib/port=
s/emacs/lisp/org/ob-python
> /home/viz/lib/emacs/straight/build/org/ox-icalendar hides /home/viz/lib/p=
orts/emacs/lisp/org/ox-icalendar
> /home/viz/lib/emacs/straight/build/org/org-tempo hides /home/viz/lib/port=
s/emacs/lisp/org/org-tempo
> /home/viz/lib/emacs/straight/build/org/ob-screen hides /home/viz/lib/port=
s/emacs/lisp/org/ob-screen
> /home/viz/lib/emacs/straight/build/org/org-num hides /home/viz/lib/ports/=
emacs/lisp/org/org-num
> /home/viz/lib/emacs/straight/build/org/ob-forth hides /home/viz/lib/ports=
/emacs/lisp/org/ob-forth
> /home/viz/lib/emacs/straight/build/org/ox-odt hides /home/viz/lib/ports/e=
macs/lisp/org/ox-odt
> /home/viz/lib/emacs/straight/build/org/ol-bbdb hides /home/viz/lib/ports/=
emacs/lisp/org/ol-bbdb
> /home/viz/lib/emacs/straight/build/org/org-table hides /home/viz/lib/port=
s/emacs/lisp/org/org-table
> /home/viz/lib/emacs/straight/build/org/ox-man hides /home/viz/lib/ports/e=
macs/lisp/org/ox-man
> /home/viz/lib/emacs/straight/build/org/ox-org hides /home/viz/lib/ports/e=
macs/lisp/org/ox-org
> /home/viz/lib/emacs/straight/build/org/ob-comint hides /home/viz/lib/port=
s/emacs/lisp/org/ob-comint
> /home/viz/lib/emacs/straight/build/org/ob-clojure hides /home/viz/lib/por=
ts/emacs/lisp/org/ob-clojure
> /home/viz/lib/emacs/straight/build/org/org-id hides /home/viz/lib/ports/e=
macs/lisp/org/org-id
> /home/viz/lib/emacs/straight/build/org/oc-natbib hides /home/viz/lib/port=
s/emacs/lisp/org/oc-natbib
> /home/viz/lib/emacs/straight/build/org/ox-texinfo hides /home/viz/lib/por=
ts/emacs/lisp/org/ox-texinfo
> /home/viz/lib/emacs/straight/build/org/org-agenda hides /home/viz/lib/por=
ts/emacs/lisp/org/org-agenda
> /home/viz/lib/emacs/straight/build/org/org-src hides /home/viz/lib/ports/=
emacs/lisp/org/org-src
> /home/viz/lib/emacs/straight/build/org/ob-emacs-lisp hides /home/viz/lib/=
ports/emacs/lisp/org/ob-emacs-lisp
> /home/viz/lib/emacs/straight/build/org/ob-css hides /home/viz/lib/ports/e=
macs/lisp/org/ob-css
> /home/viz/lib/emacs/straight/build/org/ox-latex hides /home/viz/lib/ports=
/emacs/lisp/org/ox-latex
> /home/viz/lib/emacs/straight/build/org/oc hides /home/viz/lib/ports/emacs=
/lisp/org/oc
> /home/viz/lib/emacs/straight/build/org/ol hides /home/viz/lib/ports/emacs=
/lisp/org/ol
> /home/viz/lib/emacs/straight/build/org/org-element hides /home/viz/lib/po=
rts/emacs/lisp/org/org-element
> /home/viz/lib/emacs/straight/build/org/org hides /home/viz/lib/ports/emac=
s/lisp/org/org
> /home/viz/lib/emacs/straight/build/org/org-goto hides /home/viz/lib/ports=
/emacs/lisp/org/org-goto
> /home/viz/lib/emacs/straight/build/org/ob-eval hides /home/viz/lib/ports/=
emacs/lisp/org/ob-eval
> /home/viz/lib/emacs/straight/build/org/org-habit hides /home/viz/lib/port=
s/emacs/lisp/org/org-habit
> /home/viz/lib/emacs/straight/build/org/org-pcomplete hides /home/viz/lib/=
ports/emacs/lisp/org/org-pcomplete
> /home/viz/lib/emacs/straight/build/org/ol-eww hides /home/viz/lib/ports/e=
macs/lisp/org/ol-eww
> /home/viz/lib/emacs/straight/build/org/ob-processing hides /home/viz/lib/=
ports/emacs/lisp/org/ob-processing
> /home/viz/lib/emacs/straight/build/org/org-timer hides /home/viz/lib/port=
s/emacs/lisp/org/org-timer
> /home/viz/lib/emacs/straight/build/org/org-inlinetask hides /home/viz/lib=
/ports/emacs/lisp/org/org-inlinetask
> /home/viz/lib/emacs/straight/build/org/ol-bibtex hides /home/viz/lib/port=
s/emacs/lisp/org/ol-bibtex
> /home/viz/lib/emacs/straight/build/org/org-fold-core hides /home/viz/lib/=
ports/emacs/lisp/org/org-fold-core
> /home/viz/lib/emacs/straight/build/org/oc-basic hides /home/viz/lib/ports=
/emacs/lisp/org/oc-basic
> /home/viz/lib/emacs/straight/build/org/ox-publish hides /home/viz/lib/por=
ts/emacs/lisp/org/ox-publish
> /home/viz/lib/emacs/straight/build/org/oc-bibtex hides /home/viz/lib/port=
s/emacs/lisp/org/oc-bibtex
> /home/viz/lib/emacs/straight/build/org/org-macro hides /home/viz/lib/port=
s/emacs/lisp/org/org-macro
> /home/viz/lib/emacs/straight/build/org/ol-docview hides /home/viz/lib/por=
ts/emacs/lisp/org/ol-docview
> /home/viz/lib/emacs/straight/build/org/org-fold hides /home/viz/lib/ports=
/emacs/lisp/org/org-fold
> /home/viz/lib/emacs/straight/build/org/org-lint hides /home/viz/lib/ports=
/emacs/lisp/org/org-lint
> /home/viz/lib/emacs/straight/build/org/org-version hides /home/viz/lib/po=
rts/emacs/lisp/org/org-version
> /home/viz/lib/emacs/straight/build/org/ob-ocaml hides /home/viz/lib/ports=
/emacs/lisp/org/ob-ocaml
> /home/viz/lib/emacs/straight/build/org/ob-sass hides /home/viz/lib/ports/=
emacs/lisp/org/ob-sass
> /home/viz/lib/emacs/straight/build/org/ob-perl hides /home/viz/lib/ports/=
emacs/lisp/org/ob-perl
> /home/viz/lib/emacs/straight/build/org/ol-rmail hides /home/viz/lib/ports=
/emacs/lisp/org/ol-rmail
> /home/viz/lib/emacs/straight/build/org/org-protocol hides /home/viz/lib/p=
orts/emacs/lisp/org/org-protocol
> /home/viz/lib/emacs/straight/build/org/ol-info hides /home/viz/lib/ports/=
emacs/lisp/org/ol-info
> /home/viz/lib/emacs/straight/build/org/ob-eshell hides /home/viz/lib/port=
s/emacs/lisp/org/ob-eshell
> /home/viz/lib/emacs/straight/build/org/org-refile hides /home/viz/lib/por=
ts/emacs/lisp/org/org-refile
> /home/viz/lib/emacs/straight/build/org/ob-octave hides /home/viz/lib/port=
s/emacs/lisp/org/ob-octave
> /home/viz/lib/emacs/straight/build/org/ob-lua hides /home/viz/lib/ports/e=
macs/lisp/org/ob-lua
> /home/viz/lib/emacs/straight/build/org/ol-gnus hides /home/viz/lib/ports/=
emacs/lisp/org/ol-gnus
> /home/viz/lib/emacs/straight/build/org/ob-makefile hides /home/viz/lib/po=
rts/emacs/lisp/org/ob-makefile
> /home/viz/lib/emacs/straight/build/org/org-archive hides /home/viz/lib/po=
rts/emacs/lisp/org/org-archive
> /home/viz/lib/emacs/straight/build/org/ob-lob hides /home/viz/lib/ports/e=
macs/lisp/org/ob-lob
> /home/viz/lib/emacs/straight/build/org/ol-man hides /home/viz/lib/ports/e=
macs/lisp/org/ol-man
> /home/viz/lib/emacs/straight/build/org/org-compat hides /home/viz/lib/por=
ts/emacs/lisp/org/org-compat
> /home/viz/lib/emacs/straight/build/org/org-colview hides /home/viz/lib/po=
rts/emacs/lisp/org/org-colview
> /home/viz/lib/emacs/straight/build/org/org-indent hides /home/viz/lib/por=
ts/emacs/lisp/org/org-indent
> /home/viz/lib/emacs/straight/build/org/ox-beamer hides /home/viz/lib/port=
s/emacs/lisp/org/ox-beamer
> /home/viz/lib/emacs/straight/build/org/ob-calc hides /home/viz/lib/ports/=
emacs/lisp/org/ob-calc
>
> Features:
> (shadow timezone pcmpl-git emacsbug help-at-pt whitespace gnus-cus
> gnus-demon gnus-diary nndiary gnus-dup gnus-fun gnus-html gnus-kill
> gnus-logic gnus-mh mh-comp mh-scan mh-gnus mh-e mh-buffers mh-loaddefs
> gnus-registry registry rmailsum rmail gnus-salt gnus-topic gnus-vm
> printing ps-print ps-print-loaddefs lpr find-dired gnus-uu yenc lacarte
> gnus-draft conf-mode emacs-news-mode gnuplot-context gnuplot molar-mass
> calc-mode calc-undo calc-stuff calc-aent calc-math calc-map calc-yank
> calc-vec calc-arith calc-misc calc-alg calccomp calc-incom calc-menu
> calc-ext calc calc-loaddefs calc-macs rect wdired shr-color ind-util
> pdf-sync pdf-outline pdf-links pdf-history pdf-roll
> latex-mode-expansions latex latex-flymake tex-ispell tex-style tex
> icomplete rfc2104 tramp-cache time-stamp semantic/bovine/c
> semantic/db-mode semantic/decorate/include hideif semantic/bovine/c-by
> semantic/lex-spp semantic/complete semantic/bovine/debug semantic/debug
> semantic/edit semantic/bovine/el semantic/db-el eieio-opt semantic/sb
> speedbar dframe semantic/bovine/gcc semantic/grammar semantic/grammar-wy
> semantic/html html-mode-expansions sgml-mode semantic/idle
> semantic/imenu semantic/db-file data-debug cedet-files
> semantic/wisent/java-tags semantic/wisent/javat-wy
> semantic/wisent/javascript-jv semantic/wisent/js-wy semantic/java
> semantic/doc semantic/bovine/make semantic/bovine/make-by make-mode
> semantic/decorate/mode semantic/decorate semantic/mru-bookmark
> semantic/wisent/python semantic/wisent/python-wy semantic/analyze/refs
> semantic/bovine/scm semantic/dep semantic/bovine/scm-by semantic/bovine
> srecode/srt-mode semantic/analyze semantic/sort semantic/scope
> semantic/analyze/fcn srecode/template srecode/srt-wy srecode/ctxt
> srecode/compile srecode/dictionary srecode/fields srecode/table srecode
> semantic/texi texinfo texinfo-loaddefs semantic/ctxt semantic/format
> ezimage semantic/tag-ls semantic/find semantic/db-find semantic/db-ref
> semantic/db eieio-base completion prescient char-fold tramp-cmds
> prescient-autoloads inspector edebug grep vc-dir disass msb url-http
> url-gw url-cache url-auth dired-aux gnus-dired display-line-numbers
> ecomplete pcmpl-gnu etags fileloop imenu-xref view tabify man
> tramp-archive tramp-gvfs flow-fill sort gnus-cite mail-extr textsec
> uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check
> gnus-async gnus-bcklg qp gnus-ml pcmpl-unix network-stream nsm nndraft
> nnmh nndoc nnmaildir nnagent nnml nnnil gnus-agent gnus-srvr gnus-score
> score-mode nnvirtual gnus-msg nntp gnus-cache mm-archive
> ement-tabulated-room-list ement ement-notifications ement-notify
> notifications ement-room dns ement-room-list ement-lib ement-api
> ement-structs plz ement-macros taxy-magit-section magit-section
> benchmark taxy svg-lib persist ediff-ptch ediff ediff-merg ediff-mult
> ediff-wind ediff-diff ediff-help ediff-init ediff-util autoload
> loaddefs-gen expand-region text-mode-expansions cc-mode-expansions
> the-org-mode-expansions python-el-fgallina-expansions
> er-basic-expansions expand-region-core expand-region-custom misc
> cus-start shell-command+ bug-reference info-look typo
> modus-operandi-theme modus-vivendi-theme modus-themes cal-islam holidays
> holiday-loaddefs cal-move reveal log-edit add-log smerge-mode mule-util
> org-capture doct ob-ditaa ob-plantuml org-clock org-colview org-crypt
> org-ctags org-mouse org-plot org-protocol ox-md ox-texinfo comp
> comp-cstr descr-text cl-print avy pulse color help-fns radix-tree xref
> misearch multi-isearch dabbrev latexenc image-file image-converter
> org-ql-find org-ql-completing-read org-ql-search org-ql-view transient
> ov crm org-super-agenda ht f f-shortdoc shortdoc s org-ql peg ts dash
> org-habit org-duration face-remap flyspell ispell org-pdftools pdf-annot
> facemenu org-noter org-num oc-basic ob-gnuplot ox-odt rng-loc rng-uri
> rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns
> nxml-enc xmltok nxml-util ox-icalendar org-agenda ox-html ox-mathml
> org-latex-preview ox-latex table ox-ascii ox-publish ox org-element
> org-persist avl-tree generator ob-fortran ob-python python compat
> compat-macs ob-C cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles
> cc-align cc-engine cc-vars cc-defs ob-shell ob-racket async ob-async
> cdlatex texmathp org-attach org-id org-refile org-element-ast inline
> ol-eww eww 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 gnus-group gnus-undo
> gnus-start gnus-dbus gnus-cloud nnimap nnmail mail-source utf7 nnoo
> gnus-spec gnus-int gnus-range message sendmail yank-media puny rfc822
> mml mml-sec epa 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 mail-utils range mm-util
> mail-prsvr ol-docview doc-view ol-bibtex ol-bbdb ol-w3m ol-doi
> org-link-doi org-tempo ol-man 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 org-list org-footnote org-faces org-entities noutline
> outline ob-emacs-lisp ob-core ob-eval org-cycle org-table ol org-fold
> org-fold-core org-keys oc org-loaddefs org-version org-compat org-macs
> cursor-sensor recentf tree-widget vc-backup log-view pcvs-util vc diff
> vc-git diff-mode vc-dispatcher server paredit edmacro kmacro eros
> checkdoc lisp-mnt flymake-proc flymake project warnings thingatpt
> wordel-autoloads mines-autoloads sokoban-autoloads ement-autoloads
> svg-lib-autoloads taxy-magit-section-autoloads magit-section-autoloads
> taxy-autoloads persist-autoloads plz-autoloads nov-autoloads
> esxml-autoloads kv-autoloads transmission-autoloads csv-mode-autoloads
> lua-mode-autoloads nix-mode-autoloads gnuplot-autoloads
> go-mode-autoloads racket-mode-autoloads eros-autoloads
> writegood-mode-autoloads siege-mode-autoloads paredit-autoloads
> puni-autoloads expand-region-autoloads filladapt-autoloads compose
> org-ql-autoloads transient-autoloads peg-autoloads ov-autoloads
> org-super-agenda-autoloads ts-autoloads ht-autoloads f-autoloads
> s-autoloads dash-autoloads scroll-other-window org-pdftools-autoloads
> org-noter-autoloads change-env-autoloads math-delimiters-autoloads
> doct-autoloads ob-async-autoloads async-autoloads
> emacs-ob-racket-autoloads valign-autoloads cdlatex-autoloads
> auctex-autoloads tex-site tempo bibtex pdf-occur ibuf-ext ibuffer
> ibuffer-loaddefs tablist advice tablist-filter semantic/wisent/comp
> semantic/wisent semantic/wisent/wisent semantic/util-modes semantic/util
> semantic semantic/tag semantic/lex semantic/fw mode-local cedet
> pdf-isearch let-alist pdf-misc imenu pdf-tools package browse-url url
> url-proxy url-privacy url-expand url-methods url-history url-cookie
> generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse
> url-vars compile cus-edit wid-edit pdf-view jka-compr pdf-cache pdf-info
> tq pdf-util pdf-macs image-mode dired-x dired dired-loaddefs exif
> pdf-tools-autoloads tablist-autoloads typo-autoloads mb-depth repeat
> visual-fill-autoloads olivetti-autoloads time battery filenotify dom
> tamil99 quail disp-table lacarte-autoloads shell-command-plus-autoloads
> icons delsel easy-mmode xt-mouse cus-load avy-autoloads icalendar
> diary-lib diary-loaddefs cal-menu calendar cal-loaddefs
> dired-du-autoloads finder-inf filecache imenu-xref-autoloads ert ewoc
> debug backtrace find-func derived chemtable-autoloads
> molar-mass-autoloads vc-backup-autoloads compat-autoloads skeleton
> saveplace-pdf-view saveplace tramp-sh tramp trampver tramp-integration
> files-x tramp-message tramp-compat xdg shell pcomplete comint ansi-osc
> ring parse-time iso8601 time-date format-spec auth-source eieio
> eieio-core password-cache json map byte-opt ansi-color tramp-loaddefs
> bookmark text-property-search pp saveplace-pdf-view-autoloads dbus xml
> rx inspector-autoloads xr-autoloads org-mode-autoloads pcase
> straight-autoloads cl-seq info cl-extra help-mode straight subr-x
> cl-macs gv cl-loaddefs cl-lib bytecomp byte-compile vz-nh-theme
> vz-options-theme rmc iso-transl tooltip cconv eldoc paren electric
> uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
> term/x-win x-win term/common-win x-dnd touch-screen 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 dbusbind inotify
> dynamic-setting system-font-setting font-render-setting x-toolkit
> xinput2 x multi-tty move-toolbar make-network-process emacs)
>
> Memory information:
> ((conses 16 3801574 1338651) (symbols 48 99389 163)
>  (strings 32 567165 74349) (string-bytes 1 134738441)
>  (vectors 16 272537) (vector-slots 8 5093955 629437)
>  (floats 8 81139 13819) (intervals 56 314712 11696) (buffers 984 250))




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#65892: 30.0.50; yank-media fails for clipboard selection that are wiped after being accessed
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 24 Jun 2024 12:15:02 +0000
Resent-Message-ID: <handler.65892.B65892.17192312472675 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 65892
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Visuwesh <visuweshm@HIDDEN>
Cc: 65892 <at> debbugs.gnu.org
Received: via spool by 65892-submit <at> debbugs.gnu.org id=B65892.17192312472675
          (code B ref 65892); Mon, 24 Jun 2024 12:15:02 +0000
Received: (at 65892) by debbugs.gnu.org; 24 Jun 2024 12:14:07 +0000
Received: from localhost ([127.0.0.1]:54871 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sLiaE-0000h5-PW
	for submit <at> debbugs.gnu.org; Mon, 24 Jun 2024 08:14:07 -0400
Received: from eggs.gnu.org ([209.51.188.92]:60912)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1sLiaC-0000gR-UK
 for 65892 <at> debbugs.gnu.org; Mon, 24 Jun 2024 08:14:05 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1sLia6-0000Bd-GC; Mon, 24 Jun 2024 08:13:58 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=J+EHodwGqyMXobl/V2Oj4ajGJXh46OZVLW8bvEeKdMo=; b=RI1lz8Cgwdrw
 AYT0dEua63jHVl1cRdJXVD9RPzZdqZbt+LYzpViwKK1vi/SuRRPkw/pXk4VC0RJr3yZVzU2Ljl2LC
 LNzhqstS5cfH6TGfzjiR+CqOhRxBB0+btT3tkJ5oUoYjBGJGpQ0DCEWoa5m0b3nMcOi2CtMs9M1je
 Zu35YG0o0xFoQqcRkKMlhTSU+dPH8tI8ctD5O6WLpBlqaLAIKuUVvdvFmg0ctYB7siayXQhEa3Z94
 DWGyR+L5eTn+FO9GAFkgkQLU54ID9XpQ83WhdiThB2p8ksdPA/du5gfZoqHrcAHNI4R0OoZu4iCZY
 EJFgRX6nwNpDmzVmJLbCkw==;
Date: Mon, 24 Jun 2024 15:13:55 +0300
Message-Id: <86v81ybksc.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <875xtzro7j.fsf@HIDDEN> (message from Visuwesh on Mon, 24 Jun
 2024 09:23:20 +0530)
References: <87a5trjprx.fsf@HIDDEN> <875xtzro7j.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Visuwesh <visuweshm@HIDDEN>
> Date: Mon, 24 Jun 2024 09:23:20 +0530
> 
> I apologise for neglecting to speak out loud before the emacs-30 branch
> cut.  Is there a chance to get this patch in emacs-30?  I am using this
> patch ever since I sent it to debbugs and I do not face any issue wrt
> the pcmanfm issue shown here and other applications which do not wipe
> the clipboard.  It would be nice to have it in emacs-30 especially with
> org-mode gaining yank-media support for files copied/cut from a file
> manager.

I can be convinced to make such changes on the release branch only if
all they do is make a function whose return value was not interesting
to return a useful value.  But the patch does more than that: it
introduces pcase-dolist and replaces some FOO with (car FOO) in at
least 3 occasions.  Such changes make me uncomfortable, especially
given that this is a case where Emacs needs to jump through hoops to
work around misfeatures of some 3rd-party utility.

Can you rewrite the patch so that it will be clear at a glance that it
cannot possibly cause any harm because it just causes the same code
return a value?  If you can, we have a chance of installing this on
the emacs-30 branch.

And, btw, I wonder whether enough people use pcmanfm for us to bother
about this issue.

Thanks.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#65892: 30.0.50; yank-media fails for clipboard selection that are wiped after being accessed
Resent-From: Visuwesh <visuweshm@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 24 Jun 2024 13:48:01 +0000
Resent-Message-ID: <handler.65892.B65892.171923684117368 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 65892
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Eli Zaretskii <eliz@HIDDEN>
Cc: 65892 <at> debbugs.gnu.org
Received: via spool by 65892-submit <at> debbugs.gnu.org id=B65892.171923684117368
          (code B ref 65892); Mon, 24 Jun 2024 13:48:01 +0000
Received: (at 65892) by debbugs.gnu.org; 24 Jun 2024 13:47:21 +0000
Received: from localhost ([127.0.0.1]:58726 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sLk2T-0004W3-1s
	for submit <at> debbugs.gnu.org; Mon, 24 Jun 2024 09:47:21 -0400
Received: from mail-pf1-f196.google.com ([209.85.210.196]:42179)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <visuweshm@HIDDEN>) id 1sLk2R-0004Vm-KK
 for 65892 <at> debbugs.gnu.org; Mon, 24 Jun 2024 09:47:20 -0400
Received: by mail-pf1-f196.google.com with SMTP id
 d2e1a72fcca58-7067435d376so900541b3a.0
 for <65892 <at> debbugs.gnu.org>; Mon, 24 Jun 2024 06:47:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1719236772; x=1719841572; darn=debbugs.gnu.org;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=l4ixoOtT7sOoDUXZAwH+ulg/k4Mu1QoK3ylzoR+XWRU=;
 b=eyw+ZP5D9MCiDjoerRkcJRbTXOcqwS6+835//4XIvQ3nq6twst1BI+6dJD59rlfTnj
 xNqocltIVs+4X7ZobjgZLFxcwtNjXdTajclz95oUelaETUukAvUjDRZ68EwEWnK/L4Ci
 IhtwB5hrKgN1L33nqgtKIEAm9+HYTfewVKWSS36bGwV9Olx6mR64xiBGOZzecgv0uj2J
 dOMe0nqLlICYxBoBGcB6tueXQKk36bEv3PjmYM/rElsCPBUa7vsVJL3cgg8BhVb5sBfJ
 EOLlM0gMTYBc16EAP4EduVwf9wbPLuG8peS3N5muSDEkfk612h6HN7lHEBIYnaYxt2sc
 eh3Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1719236772; x=1719841572;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=l4ixoOtT7sOoDUXZAwH+ulg/k4Mu1QoK3ylzoR+XWRU=;
 b=erKq8JlF324qClfi78O+zUjDNdvrldv8R6XMEmuiGscFsctp3AIbdCCKkNvSMwJFRq
 3+keIGsVcHiIT2KKqxSpkxJI578aUXM4NDMkuk1WW/gVKsZAAnnz2BjvqUTSGBKllqZs
 ui6jYIpk8s0dOtWHGwxDJG1oBaj69DR4Nj0V2vicZ4HT1ka6U0Lk6YUEB817Gv4JDULC
 lzqWDUxVWP98Xjo6yaPJYB7WHSnpe40XbBXf9Kkpk8gec1o/OVTGfY8TacZTNNc8XzmR
 GqXArVBaZUl5+A1tt4+SX1MSYJAcmH650cz8VY4Jn/vd75SD5AVtQL2dKywrVyllaHz0
 Cq6g==
X-Gm-Message-State: AOJu0YzAejLUPiz7Iyo0fjIsvb+RlwSjiRICJ7+MMm4IgLHBr7snz6AY
 LF9/WsMI0CYUydeboIZCXJVpbXCZxO9/2vJ3MMtuDB+7/DXdXlWo
X-Google-Smtp-Source: AGHT+IFMnKPbEvdMS2HkmixXb67HUuBXLs2NdTu2W6+m2GZWInTKOKoUZqrVLlskRL7NpMZhPCuTHg==
X-Received: by 2002:a05:6a21:8186:b0:1b6:a692:8488 with SMTP id
 adf61e73a8af0-1bcec974010mr6054408637.14.1719236772398; 
 Mon, 24 Jun 2024 06:46:12 -0700 (PDT)
Received: from localhost ([103.232.241.147]) by smtp.gmail.com with ESMTPSA id
 41be03b00d2f7-716b4d54ea2sm5525007a12.54.2024.06.24.06.46.11
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 24 Jun 2024 06:46:11 -0700 (PDT)
From: Visuwesh <visuweshm@HIDDEN>
In-Reply-To: <86v81ybksc.fsf@HIDDEN> (Eli Zaretskii's message of "Mon, 24 Jun
 2024 15:13:55 +0300")
References: <87a5trjprx.fsf@HIDDEN> <875xtzro7j.fsf@HIDDEN>
 <86v81ybksc.fsf@HIDDEN>
Date: Mon, 24 Jun 2024 19:16:09 +0530
Message-ID: <87frt2qwri.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

[=E0=AE=A4=E0=AE=BF=E0=AE=99=E0=AF=8D=E0=AE=95=E0=AE=B3=E0=AF=8D =E0=AE=9C=
=E0=AF=82=E0=AE=A9=E0=AF=8D 24, 2024] Eli Zaretskii wrote:

>> From: Visuwesh <visuweshm@HIDDEN>
>> Date: Mon, 24 Jun 2024 09:23:20 +0530
>>=20
>> I apologise for neglecting to speak out loud before the emacs-30 branch
>> cut.  Is there a chance to get this patch in emacs-30?  I am using this
>> patch ever since I sent it to debbugs and I do not face any issue wrt
>> the pcmanfm issue shown here and other applications which do not wipe
>> the clipboard.  It would be nice to have it in emacs-30 especially with
>> org-mode gaining yank-media support for files copied/cut from a file
>> manager.
>
> I can be convinced to make such changes on the release branch only if
> all they do is make a function whose return value was not interesting
> to return a useful value.  But the patch does more than that: it
> introduces pcase-dolist and replaces some FOO with (car FOO) in at
> least 3 occasions.=20=20

Thanks for the review and consideration, Eli.  The patch only touched
the return value of a helper function.

> Such changes make me uncomfortable, especially given that this is a
> case where Emacs needs to jump through hoops to work around
> misfeatures of some 3rd-party utility.

I suspect similar behaviour will be shown by other file managers.

> Can you rewrite the patch so that it will be clear at a glance that it
> cannot possibly cause any harm because it just causes the same code
> return a value?  If you can, we have a chance of installing this on
> the emacs-30 branch.

I hope the attached patch makes the intent clear.  I added a doc-string
to the internal function too, and removed pcase-dolist and extra car to
make the code simpler.

> And, btw, I wonder whether enough people use pcmanfm for us to bother
> about this issue.

AFAIK, pcmanfm is fairly popular among the window manager users crowd
due to its light-weight.


--=-=-=
Content-Type: text/x-diff
Content-Disposition: attachment;
 filename=0001-Fix-yank-media-when-clipboard-selection-is-wiped-aft.patch

From 0aa3efd2e05dcc228e042b43fce6f997fd8afc1c Mon Sep 17 00:00:00 2001
From: Visuwesh <visuweshm@HIDDEN>
Date: Tue, 12 Sep 2023 22:21:58 +0530
Subject: [PATCH] Fix yank-media when clipboard selection is wiped after access

Certain applications wipes the clipboard selection after is accessed
once e.g., pcmanfm with cut files which makes yank-media pass nil to
the chosen yank-media handler eventually breaking it.  (bug#65892)

* lisp/yank-media.el (yank-media--find-matching-media): Make it return
the selection.  Also document the return type.
(yank-media): Pass the returned selection from above to the handler
instead of refetching the selection from the clipboard.
---
 lisp/yank-media.el | 39 +++++++++++++++++++++++----------------
 1 file changed, 23 insertions(+), 16 deletions(-)

diff --git a/lisp/yank-media.el b/lisp/yank-media.el
index abc137d9c38..830ff40c667 100644
--- a/lisp/yank-media.el
+++ b/lisp/yank-media.el
@@ -44,26 +44,31 @@ yank-media
   (let ((all-types nil))
     (pcase-dolist (`(,handled-type . ,handler)
                    yank-media--registered-handlers)
-      (dolist (type (yank-media--find-matching-media handled-type))
-        (push (cons type handler) all-types)))
+      (dolist (sel (yank-media--find-matching-media handled-type))
+        (push (list (car sel) handler (cdr sel)) all-types)))
     (unless all-types
       (user-error
        "No handler in the current buffer for anything on the clipboard"))
     ;; We have a handler in the current buffer; if there's just
     ;; matching type, just call the handler.
     (if (length= all-types 1)
-        (funcall (cdar all-types) (caar all-types)
-                 (yank-media--get-selection (caar all-types)))
+        (funcall (nth 1 (car all-types)) (nth 0 (car all-types))
+                 (nth 2 (car all-types)))
       ;; More than one type the user for what type to insert.
-      (let ((type
-             (intern
-              (completing-read "Several types available, choose one: "
-                               (mapcar #'car all-types) nil t))))
-        (funcall (alist-get type all-types)
-                 type (yank-media--get-selection type))))))
+      (let* ((type
+              (intern
+               (completing-read "Several types available, choose one: "
+                                (mapcar #'car all-types) nil t)))
+             (chosen-sel (assq type all-types)))
+        (funcall (nth 1 chosen-sel) (nth 0 chosen-sel)
+                 (nth 2 chosen-sel))))))
 
 (defun yank-media--find-matching-media (handled-type)
-  (seq-filter
+  "Return list of clipboard data with mime-type matched by HANDLED-TYPE.
+Each element in the list is a cons pair (TYPE . SELECTION) where TYPE is
+the mime-type of the clipboard selection, and SELECTION is the clipboard
+selection data as a string."
+  (seq-keep
    (lambda (type)
      (pcase-let ((`(,major ,minor) (split-string (symbol-name type) "/")))
        (if (and (equal major "image")
@@ -73,11 +78,13 @@ yank-media--find-matching-media
            ;; `image/x-win-bitmap'.
            nil
          ;; Check that the handler wants this type.
-         (and (if (symbolp handled-type)
-                  (eq handled-type type)
-                (string-match-p handled-type (symbol-name type)))
-              ;; An element may be in TARGETS but be empty.
-              (yank-media--get-selection type)))))
+         (let ((selection (and (if (symbolp handled-type)
+                                   (eq handled-type type)
+                                 (string-match-p handled-type (symbol-name type)))
+                               ;; An element may be in TARGETS but be empty.
+                               (yank-media--get-selection type))))
+           (and selection
+                (cons type selection))))))
    (gui-get-selection 'CLIPBOARD 'TARGETS)))
 
 (defun yank-media--get-selection (data-type)
-- 
2.43.0


--=-=-=--




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#65892: 30.0.50; yank-media fails for clipboard selection that are wiped after being accessed
Resent-From: Po Lu <luangruo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 25 Jun 2024 03:47:01 +0000
Resent-Message-ID: <handler.65892.B65892.171928717331920 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 65892
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Visuwesh <visuweshm@HIDDEN>
Cc: Eli Zaretskii <eliz@HIDDEN>, 65892 <at> debbugs.gnu.org
Received: via spool by 65892-submit <at> debbugs.gnu.org id=B65892.171928717331920
          (code B ref 65892); Tue, 25 Jun 2024 03:47:01 +0000
Received: (at 65892) by debbugs.gnu.org; 25 Jun 2024 03:46:13 +0000
Received: from localhost ([127.0.0.1]:35943 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sLx8G-0008Im-Vi
	for submit <at> debbugs.gnu.org; Mon, 24 Jun 2024 23:46:13 -0400
Received: from sonic307-10.consmr.mail.ne1.yahoo.com ([66.163.190.33]:40705)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1sLx8A-0008I2-Ke
 for 65892 <at> debbugs.gnu.org; Mon, 24 Jun 2024 23:46:11 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1719287158; bh=3iJLvGYo+vOk0227lsuJ6M1uHNes0fJOcf9FDkwu9Ug=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
 b=k7vPljkIrQQv1DxQZE3M6ikHKbVWwpPSWfPSEpPUgYaBx7nIXNJboBd52+FhQV+Zioifa1aK+yTPd4HVkS3nJrLI00zZHNv/Lnb7OrzDVObwWjgYX/F1IkuBq1scjb2h8ofTwAm1MgQHuhwbb6ffz1mDwkZBCDDuQSRQHwdTduZEyAw54q2Scn/9jKGYbMyD4pAjVVc07a5eW58Bdm8Ub1ajWeeVDPmVyLPK5viUHCQ8iEZrJ+1HCDo0152YuigtUVET2p84TKI5FG/i9EFLSPJ56Fvtpoarxer1mu6XDCjivYXx2zLD3b1xNyQaMabOT1SKuhrF9aF/fTPE8cTVcQ==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1719287158; bh=eTRb4Hn/I70xkvuROA80hgzMb9EHzQjY7LcmWPKFy2r=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=bXuX15p1CaVMgC6VWRQ6F2IUtISqn8YYPWB+s452nV7Dctc06SL8lCYzGSDyoPZncJLYbxpzfKOrMIJ3VyP0/0UanX7jgg8idsi+4jpt0Uh2Pqn/s09QW0Vuc3v40LQAs5aMMQq4leKyxVtsEUdxfOO6H2HffYvpr094sOBZ2fYRcleoIkS7ehaFho7oPA+6sYBw5EFWdAQT6P1/5QQvS3jryKdiCo3hEMozQXNPtXUI3dS1vGUoTz0JfwMoGfeiD5KaUDSpZQF1gkjhTlbcZPJtl+Bbj4tVxinN8F4/e4WPUkPxl2WjrcctJltd1uVuI1BF0X0/cTmXsWVL/Q/2ew==
X-YMail-OSG: mPdClnoVM1lVv10rUNLuTYd.SL4F8tvF1vhBh26RYpKVnapaEBz6LtsLmsIklmr
 P2CeGPT7yfYLl4OlkHDejdhX_GtL85_KUuf0JM8Q0WmK0sfsiXMu8bZ_bnHr9ddrMW5IvUTmSaax
 EsxtWOIPtrylE0WYDW1Oeu2TuJJdn9KXKD9a9pcQD52DW3_jNkf0YjMCncLsSLbVy_XA9ICYRK0R
 Eaoqfb_lW_bLaWY.ZmR74jZSgJYbPFhP_LBCBGstA.H.QXI1uyGq2UL9wGiGwMYzzQU1xjeekXdd
 WTrOg7LqcsF0sGlqkFKOYZeeX.CYGmZiBkYjG5IapWhrJYmcdYRDSf2SQVi1yuc12JqtaV3zysZM
 6qtI2X5do8yhzdZNKSmMGM8mf6rUgDISvtSBj4hYVWUqOcvVIP2iFLCiyH.ncXlvQDgZUZNYGM7p
 mNOAuay6.cBgLF1EKqX17Tuk7iybkYuS5YFLlj0SCpVth7_rTs9DN7eVyWh1LXJsD1N28XK_R1WG
 tKLr2H_HaEAgU9fNomzU2HJoNfWGFjGR13IrehFdXhQYnfPqHXruyt6ilyEU7vvRJiTPbcAXWSUf
 QNQD4qHRq4mLUNrHxxlezzvUKi2cNKkbkdnQHr4AwA4zX4BhO67wcnNVD2f9hE5J8AkaxYFBWINc
 hg.iJUuvky98XpFOa7nEHW3Zeo.OnqW_4R8AOOSW2tQ6ca64SYYgTbXMjprr6R06.7t2wB4jEug_
 ZRoTjx.SoJtDsoVZ2Bvh_RXhPwzxOJWE68u599KTmY8m3ipf3j9.FkqRURvj3.ZZW6ZnJ_KcTDp9
 qaST2FIDYnzWgwWwKdmLSD4NkOfHVO26XmwkwbNVWyB9kSBd6m4iybYnTbNeHNkkUu5F2SVmr.4L
 Uznr9mT.By0EgXf994UNGN0EvLE1xFXb5oIK93u35hcLJx8JWrYPXzJ_SAuscWH_uP3bDtLY6DB.
 H99wrRqC3slvKtFTpwEFD620UycOt9N3wrdyTzN8je9MbI3pspw3NuRuy4JvAt6X5I9VSZ4LJSXx
 ZEuemHErMWNuqS6V9cHxoiPzBy3_mOSAJZfVVjDm1Yoq3IxFC.y3zwSHiDqUdcUsrHntmH4z3_MF
 tM9qF6N3sI4v8rb1OWJcSQARvEz4QmiU28AnZRpUZ92tLL2Xih9XEPYas9clKtzZAYqqO_kh5zg3
 ezgN1tv495ajKYN.lJui.p1OwOWn2FFtEjqhQn8sNE0Kma3cuyiWjl3WuSB4qu4IRcSIKIwBAF2K
 EGcV_PNGcxoMIeNkFS4QgIQ4T80XoViOZaZtnpgP0sttPFmbNEHDqo9twlAfcYhpCwo6Fma3qCpy
 5C4HeFss1c4UtBFUuyKQndBOF3sRUVKyG5adRMUpVOi3ETeXWnG9chcpv9M8CyZpr7litbiNJXhi
 qoQ9XbDoQP.ok_Imi4wO4unYxpH7r3PQUaiqufzamXslO8POQkw1qbNsYZ4IhUYFpcvM_gtZ_10S
 CTLKvWVIlt6VEG8DdZTQy9V9zS9vvhg1xJCk_EeiDmJDm0QBBa5OEkgEyid8.qiGZqvE6XUPmH6L
 eDfbzcL1qDmI6UzGxARqPLWfcki0EFsVWXQFRK62Pb0gDKCpzGeopUbLWvkULlFK26P9Qjyb52pa
 mDTCBjMwX2pCUj3OvRZo4LPFuaAUAlvFN7u7.aujWZUlBGHQd5FM_Z.W5lXGiChelLKQ8pHV4hYu
 7ODjhPPEJb.Fit55G8gXWCEp8EkP32YWN4y.drVJRO2kwpFdYBZx9nQbRsvJgrGiAIwh8mxZq8xy
 Y2QM_SnuSX.NFHFf3KnxjoPtgvNcGq9x7yx2GIu4PiSZTMz.6ovh1j92T.jnHrYTdJhIE2iNo2HK
 TeWFHAQwFrJwZ7rLMQ2R.sNKGT_3dVI7hrukH8MuCuZFu0AJ6e8IyzkvUkeS9yggm1ji.Dv6.KXM
 .IXNseAMsR_27.4zK4MI1Q9xBn88SiRie_ydyQVAhvwCRRn78t2RL1fobaxgov8ssVTbk_VWw9EY
 HPUyf9YSC0Asdz7uSaMczRaglvaQoS5xS0d5dHgX8w_EP0l836KHbwkNVULMxWmHS4mjTl_qgBLp
 9jF8PWtsiXQymWnSqPzap3BeEubSzb1R6_HG3QWqLAHUfy94GQVM4MldHCrclccEQ_VIdJpnvyWP
 sCyt8J1kEA3QKExVJim3.doGkl.iC_ryWNFbodenrc.hlTy6yv8AHDo_K4apy9wkXZoWIHua32N3
 Fm_jQwXqnF7qjit5K4_AyomO3T0Z4VZ5CB_NTxEWdFBwuxOZevB8Fn3eb
X-Sonic-MF: <luangruo@HIDDEN>
X-Sonic-ID: 8bb9052a-c7dd-4690-b2ed-0ef26b9acc41
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic307.consmr.mail.ne1.yahoo.com with HTTP; Tue, 25 Jun 2024 03:45:58 +0000
Received: by hermes--production-sg3-7b469d9f6-2fcg5 (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID 29080730593ebaffb3f73c6646433075; 
 Tue, 25 Jun 2024 03:45:54 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
In-Reply-To: <87frt2qwri.fsf@HIDDEN> (Visuwesh's message of "Mon, 24 Jun
 2024 19:16:09 +0530")
References: <87a5trjprx.fsf@HIDDEN> <875xtzro7j.fsf@HIDDEN>
 <86v81ybksc.fsf@HIDDEN> <87frt2qwri.fsf@HIDDEN>
Date: Tue, 25 Jun 2024 11:45:34 +0800
Message-ID: <87le2ty9b5.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Mailer: WebService/1.1.22407
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 2357
X-Spam-Score: -0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Visuwesh <visuweshm@HIDDEN> writes:

> [=E0=AE=A4=E0=AE=BF=E0=AE=99=E0=AF=8D=E0=AE=95=E0=AE=B3=E0=AF=8D =E0=AE=
=9C=E0=AF=82=E0=AE=A9=E0=AF=8D 24, 2024] Eli Zaretskii wrote:
>
>>> From: Visuwesh <visuweshm@HIDDEN>
>>> Date: Mon, 24 Jun 2024 09:23:20 +0530
>>>=20
>>> I apologise for neglecting to speak out loud before the emacs-30 branch
>>> cut.  Is there a chance to get this patch in emacs-30?  I am using this
>>> patch ever since I sent it to debbugs and I do not face any issue wrt
>>> the pcmanfm issue shown here and other applications which do not wipe
>>> the clipboard.  It would be nice to have it in emacs-30 especially with
>>> org-mode gaining yank-media support for files copied/cut from a file
>>> manager.
>>
>> I can be convinced to make such changes on the release branch only if
>> all they do is make a function whose return value was not interesting
>> to return a useful value.  But the patch does more than that: it
>> introduces pcase-dolist and replaces some FOO with (car FOO) in at
>> least 3 occasions.=20=20
>
> Thanks for the review and consideration, Eli.  The patch only touched
> the return value of a helper function.
>
>> Such changes make me uncomfortable, especially given that this is a
>> case where Emacs needs to jump through hoops to work around
>> misfeatures of some 3rd-party utility.
>
> I suspect similar behaviour will be shown by other file managers.
>
>> Can you rewrite the patch so that it will be clear at a glance that it
>> cannot possibly cause any harm because it just causes the same code
>> return a value?  If you can, we have a chance of installing this on
>> the emacs-30 branch.
>
> I hope the attached patch makes the intent clear.  I added a doc-string
> to the internal function too, and removed pcase-dolist and extra car to
> make the code simpler.
>
>> And, btw, I wonder whether enough people use pcmanfm for us to bother
>> about this issue.
>
> AFAIK, pcmanfm is fairly popular among the window manager users crowd
> due to its light-weight.

I suspect another implication of this is that pcmanfm is actively
developed, so is there any chance of your filing a request with their
developers that they not disclaim ownership of selections after
responding to a request?  It is a very peculiar action for any X client,
and surely it's not only Emacs that is or will be affected.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#65892: 30.0.50; yank-media fails for clipboard selection that are wiped after being accessed
Resent-From: Visuwesh <visuweshm@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 25 Jun 2024 04:38:02 +0000
Resent-Message-ID: <handler.65892.B65892.17192902694229 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 65892
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Po Lu <luangruo@HIDDEN>
Cc: Eli Zaretskii <eliz@HIDDEN>, 65892 <at> debbugs.gnu.org
Received: via spool by 65892-submit <at> debbugs.gnu.org id=B65892.17192902694229
          (code B ref 65892); Tue, 25 Jun 2024 04:38:02 +0000
Received: (at 65892) by debbugs.gnu.org; 25 Jun 2024 04:37:49 +0000
Received: from localhost ([127.0.0.1]:35991 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sLxwD-000168-Cj
	for submit <at> debbugs.gnu.org; Tue, 25 Jun 2024 00:37:49 -0400
Received: from mail-pl1-f194.google.com ([209.85.214.194]:55394)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <visuweshm@HIDDEN>) id 1sLxwA-00015u-Em
 for 65892 <at> debbugs.gnu.org; Tue, 25 Jun 2024 00:37:48 -0400
Received: by mail-pl1-f194.google.com with SMTP id
 d9443c01a7336-1fa07e4f44eso23346245ad.2
 for <65892 <at> debbugs.gnu.org>; Mon, 24 Jun 2024 21:37:44 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1719290199; x=1719894999; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=G1bThbCUFSR8+I39+lL1Byc+RssVg4J1gFMxJ71Feso=;
 b=WSmpWkOpwsQQCCkz9i4Mkkm0miuIOVKkVGtZHTpS5OZD5ByXwDCzQTN8wfc4kOTbXP
 ULkeS4YB1ltSebBEikHAyUyyyk5uLkv0GpP9iwsx4rc6Ifw86s8CpXNr1e7KGM0rR5mZ
 qb9yanW/XsUSqq8OtQG1tdR3LGKiF0w+pm76OwkEGJbzbuD7d4uYVvKUR4NmXWC4a+fw
 y61WoBbQXA1OejFV6kpNsviXo3L+K3X/pFClhc6nOcQec7FbrUgN9J/ZeRtmTJ/dRp7y
 XQY5ytgeTtuhsZqOW+j/aMObA6KLI6pyygFHuUXtSRtE8Eq6nJp7RHOt7w7zk8VA0BMF
 11qg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1719290199; x=1719894999;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from
 :to:cc:subject:date:message-id:reply-to;
 bh=G1bThbCUFSR8+I39+lL1Byc+RssVg4J1gFMxJ71Feso=;
 b=MWQm4wbJMa5PiytTe0fh3Oui/rcLqXfSPxEnn8W+QwpQSxeNazvNJwDZDwVfx8pJxX
 C8LF24gd4uPH4j5yW1R3/TTISDVB+xjOJNOTaH3JtONtgX3iAEngppDnyXi+xrPM3eyQ
 lnKJF7Iy6NgDYjYM8wVL+Ys3t6AelO8uPit6Qc2IX/bT249TaXekN3KVehE4NsvGGdjX
 dlZk1Xmdy9LcMHXr4nPe6kDmU9CRzlYojuC07WHJzOWth26I5A0Cc8pnahFrORCY+ns5
 RgWiq6OLAn/xpwC0hFm36xx1kBMFbM9zieYhzqB2eH/7DKC4YCIwJ1Mzwss8h44BMJBN
 NOhQ==
X-Forwarded-Encrypted: i=1;
 AJvYcCVDNS0PgpExMo4N1Gay1vbymxvM+ieipZuA4ZzkAr6JhofgOQyRf9+2bDZuebCE18tsZuTXBWzeEksk56nOfJzLUz5n6zs=
X-Gm-Message-State: AOJu0YwHCJo7IE+KSs1rHZJqV1CJAThyqdHM6buFX4o7nBMNlXwUPcwp
 mqNylSp8uiJIpLA7lGxNzkco0FWPQyiZLmZqZoXjDpgSjMwbwdAF
X-Google-Smtp-Source: AGHT+IEMP3hHSVh6V7rvc+GoqJ7NpGp5g9NENRRj75X8qGfNeduPb4p6cOVoxCVhOMIX4uLnbYd4QA==
X-Received: by 2002:a17:902:e5d2:b0:1f9:c8cc:9df4 with SMTP id
 d9443c01a7336-1fa23ef7f7emr73597945ad.45.1719290198932; 
 Mon, 24 Jun 2024 21:36:38 -0700 (PDT)
Received: from localhost ([103.232.241.147]) by smtp.gmail.com with ESMTPSA id
 d9443c01a7336-1f9eb3d49f4sm70895155ad.197.2024.06.24.21.36.38
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 24 Jun 2024 21:36:38 -0700 (PDT)
From: Visuwesh <visuweshm@HIDDEN>
In-Reply-To: <87le2ty9b5.fsf@HIDDEN> (Po Lu's message of "Tue, 25 Jun 2024
 11:45:34 +0800")
References: <87a5trjprx.fsf@HIDDEN> <875xtzro7j.fsf@HIDDEN>
 <86v81ybksc.fsf@HIDDEN> <87frt2qwri.fsf@HIDDEN>
 <87le2ty9b5.fsf@HIDDEN>
Date: Tue, 25 Jun 2024 10:06:35 +0530
Message-ID: <87bk3pr63w.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 3.6 (+++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  =?UTF-8?Q?[=E0=AE=9A=E0=AF=86=E0=AE=B5=E0=AF=8D=E0=AE=B5=E0=AE=BE=E0=AE=AF=E0=AF=8D_?= =?UTF-8?Q?=E0=AE=9C=E0=AF=82=E0=AE=A9=E0=AF=8D?= 25, 2024] Po Lu wrote:
    >> [...] >>> And, btw, I wonder whether enough people use pcmanfm for us
   to bother >>> about this issue. >> >> AFAIK, pcmanfm is fairly popular among
    the window manager users crowd >> due to its light [...] 
 
 Content analysis details:   (3.6 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
                             [103.232.241.147 listed in zen.spamhaus.org]
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (visuweshm[at]gmail.com)
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [209.85.214.194 listed in list.dnswl.org]
  0.0 RCVD_IN_MSPIKE_H3      RBL: Good reputation (+3)
                             [209.85.214.194 listed in wl.mailspike.net]
  0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
 -0.0 T_SCC_BODY_TEXT_LINE   No description available.
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 2.6 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  =?UTF-8?Q?[=E0=AE=9A=E0=AF=86=E0=AE=B5=E0=AF=8D=E0=AE=B5=E0=AE=BE=E0=AE=AF=E0=AF=8D_?= =?UTF-8?Q?=E0=AE=9C=E0=AF=82=E0=AE=A9=E0=AF=8D?= 25, 2024] Po Lu wrote:
    >> [...] >>> And, btw, I wonder whether enough people use pcmanfm for us
   to bother >>> about this issue. >> >> AFAIK, pcmanfm is fairly popular among
    the window manager users crowd >> due to its light [...] 
 
 Content analysis details:   (2.6 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
                             [103.232.241.147 listed in zen.spamhaus.org]
  0.0 RCVD_IN_MSPIKE_H3      RBL: Good reputation (+3)
                             [209.85.214.194 listed in wl.mailspike.net]
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [209.85.214.194 listed in list.dnswl.org]
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (visuweshm[at]gmail.com)
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
  0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
 -0.0 T_SCC_BODY_TEXT_LINE   No description available.
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

[=E0=AE=9A=E0=AF=86=E0=AE=B5=E0=AF=8D=E0=AE=B5=E0=AE=BE=E0=AE=AF=E0=AF=8D =
=E0=AE=9C=E0=AF=82=E0=AE=A9=E0=AF=8D 25, 2024] Po Lu wrote:

>> [...]
>>> And, btw, I wonder whether enough people use pcmanfm for us to bother
>>> about this issue.
>>
>> AFAIK, pcmanfm is fairly popular among the window manager users crowd
>> due to its light-weight.
>
> I suspect another implication of this is that pcmanfm is actively
> developed, so is there any chance of your filing a request with their
> developers that they not disclaim ownership of selections after
> responding to a request?  It is a very peculiar action for any X client,
> and surely it's not only Emacs that is or will be affected.

I do not actually use pcmanfm.  It was simply the first file-manager
that came to my mind as I developed the feature for org-mode.  But if no
takes the cake, I will report a bug report once I have the time.

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.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#65892: 30.0.50; yank-media fails for clipboard selection that are wiped after being accessed
Resent-From: Eli Zaretskii <eliz@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 25 Jun 2024 13:00:02 +0000
Resent-Message-ID: <handler.65892.B65892.171932038421894 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 65892
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Visuwesh <visuweshm@HIDDEN>
Cc: luangruo@HIDDEN, 65892 <at> debbugs.gnu.org
Received: via spool by 65892-submit <at> debbugs.gnu.org id=B65892.171932038421894
          (code B ref 65892); Tue, 25 Jun 2024 13:00:02 +0000
Received: (at 65892) by debbugs.gnu.org; 25 Jun 2024 12:59:44 +0000
Received: from localhost ([127.0.0.1]:36458 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sM5lw-0005h4-1d
	for submit <at> debbugs.gnu.org; Tue, 25 Jun 2024 08:59:44 -0400
Received: from eggs.gnu.org ([209.51.188.92]:49848)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1sM5lt-0005gr-IS
 for 65892 <at> debbugs.gnu.org; Tue, 25 Jun 2024 08:59:42 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1sM5lm-0005L1-JQ; Tue, 25 Jun 2024 08:59:34 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=F1hA4xul57P4QlgI97OMxwWJUzMQeTIxRBjEzFIyT2c=; b=O0t2PjJxzMaO
 0pTp/KaWz4/Ps5biNMT3a8z3ASB6xxmgxsrLC1lAmVDUww/dTwxj82oGmANEw9TL+1yIa6vOKQFhA
 wR/ST19ftS26aqZ7fkmwMQIbdAndRKTPLqjIQeVzWFGTYL6f4yXWLrtf56xJg4/8KmZhJkFYNoBVr
 jM9OHEBinSTHg0FFa6HM2gJ5gNQALTlnwPIqDHrQM9b6MqlKsCzm29D7JkgQwMyfX61j5iglgcR44
 2BBhHY6oJB4Gpcf2lV2LNNYhlay4l3l6EMXy81Dq1fuI/lEKcyy8rgRBos64WZWAKNHaGuKwlhZK+
 PqYVJvgrZq3ysj/Bf87YrA==;
Date: Tue, 25 Jun 2024 15:59:31 +0300
Message-Id: <86sex19o0c.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
In-Reply-To: <87bk3pr63w.fsf@HIDDEN> (message from Visuwesh on Tue, 25 Jun
 2024 10:06:35 +0530)
References: <87a5trjprx.fsf@HIDDEN> <875xtzro7j.fsf@HIDDEN>
 <86v81ybksc.fsf@HIDDEN> <87frt2qwri.fsf@HIDDEN>
 <87le2ty9b5.fsf@HIDDEN> <87bk3pr63w.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Visuwesh <visuweshm@HIDDEN>
> Cc: Eli Zaretskii <eliz@HIDDEN>,  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.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#65892: 30.0.50; yank-media fails for clipboard selection that are wiped after being accessed
Resent-From: Visuwesh <visuweshm@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 28 Jun 2024 06:04:01 +0000
Resent-Message-ID: <handler.65892.B65892.17195546202932 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 65892
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Eli Zaretskii <eliz@HIDDEN>
Cc: luangruo@HIDDEN, 65892 <at> debbugs.gnu.org
Received: via spool by 65892-submit <at> debbugs.gnu.org id=B65892.17195546202932
          (code B ref 65892); Fri, 28 Jun 2024 06:04:01 +0000
Received: (at 65892) by debbugs.gnu.org; 28 Jun 2024 06:03:40 +0000
Received: from localhost ([127.0.0.1]:51413 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sN4hw-0000lE-1V
	for submit <at> debbugs.gnu.org; Fri, 28 Jun 2024 02:03:40 -0400
Received: from mail-pl1-f194.google.com ([209.85.214.194]:47191)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <visuweshm@HIDDEN>) id 1sN4hu-0000ky-N5
 for 65892 <at> debbugs.gnu.org; Fri, 28 Jun 2024 02:03:39 -0400
Received: by mail-pl1-f194.google.com with SMTP id
 d9443c01a7336-1f9aa039327so1411535ad.2
 for <65892 <at> debbugs.gnu.org>; Thu, 27 Jun 2024 23:03:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1719554554; x=1720159354; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:user-agent:references
 :message-id:date:in-reply-to:subject:cc:to:from:from:to:cc:subject
 :date:message-id:reply-to;
 bh=sIYuKSaDsqTUq/OysbZxJovDDbHypRt8z9uG8AKgv0Y=;
 b=lzjKPgLF88FdqQOuyvumQme5x6JFJvyQY/wDxChhJ9ZmWHhETFGmG146OPzW0HQCuk
 I1vuN0oPZTMsYEtV/xHBOJIR1YjuCncrhjpc0U9ma1qM4MukATRe5Bnw5Fv8vG4Gd6Oq
 3JYi3W12NBa6XMPkUvqLKwyp8NA9O9jQUwdvT9m4ELo9ZMzkjmXfezqZIZkfwDBcwlkn
 slP/n183d4A7i0yHxsfW+5VnLx7++KobPssaPmbEqpRsiAu7i8CC+OcgDjXlJP0zAoJp
 w/y+vZ9RfkSm95v6JNXRBtVI578TW4EeN14mpF1EZOfda3QGzE2UTE4EZrTxeafPU6WQ
 y+5A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1719554554; x=1720159354;
 h=content-transfer-encoding:mime-version:user-agent:references
 :message-id:date:in-reply-to:subject:cc:to:from:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=sIYuKSaDsqTUq/OysbZxJovDDbHypRt8z9uG8AKgv0Y=;
 b=EwznmkeMP+kaAoHNkeS4ffuxs/fZHgXVnaPbMYPJq6ClSyCvEZnQ6A4fE9N85JwPWs
 xl0adk5DE7a8Vdb0zR1RJemUi01D6Lye92erevZbrfQi/QGQ7ebCAoAbp92oDirb5EqC
 J/dkVucTevdfHhPbl+beN911WgIdAF9a/hITMQfucC1j5YFCyZHQjTxVJscUbcy7Aj/w
 /NH3cCcX0d7lzhukfuvZfMooYlLNN5TBuLGimsR/PvJVqd50hwssAQfNCqDM9mPAmLdo
 5IC1dS+Y92TJ/SXdJ15qlUfjQjadp0HjbxLXxXL48nEd13XiKGyFPS/WjaPZi51sTw7d
 pAAw==
X-Forwarded-Encrypted: i=1;
 AJvYcCUKFbLlKqoWPJnt2KmAFI9RiIFY7gbRtvcDUNHInu6UlhaomaCQTLm2DooOsaAzFqB/XSViF2F8mZCZ2rkCWCfBp0HsltQ=
X-Gm-Message-State: AOJu0YzR4FEMdSSIDN6c3CMW6B3S0N4+h3HvWrjw8GXM0V+He9zs/tJy
 vHOYXLKHBhjtoWNtOhDAexP8g7gy/EOIWQAYeQlkxdotHeKWxUONAVVMnDCp
X-Google-Smtp-Source: AGHT+IFTFLLFw6itEz9TM1X2H5/wllhGn1Cj7QCYm6MFy/QxWX2xhBwc9BZJEHCj7pRNsTjzfvf3jA==
X-Received: by 2002:a05:6a20:8c8a:b0:1bd:2d53:35d5 with SMTP id
 adf61e73a8af0-1bd2d539600mr7550910637.9.1719548441685; 
 Thu, 27 Jun 2024 21:20:41 -0700 (PDT)
Received: from localhost ([103.232.241.147]) by smtp.gmail.com with ESMTPSA id
 d9443c01a7336-1fac1535e62sm5589645ad.154.2024.06.27.21.20.40
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 27 Jun 2024 21:20:41 -0700 (PDT)
From: Visuwesh <visuweshm@HIDDEN>
In-Reply-To: <86sex19o0c.fsf@HIDDEN> (Eli Zaretskii's message of "Tue, 25 Jun
 2024 15:59:31 +0300")
Date: Fri, 28 Jun 2024 09:50:33 +0530
Message-ID: <87r0ch4s1a.fsf@HIDDEN>
References: <87a5trjprx.fsf@HIDDEN> <875xtzro7j.fsf@HIDDEN>
 <86v81ybksc.fsf@HIDDEN> <87frt2qwri.fsf@HIDDEN>
 <87le2ty9b5.fsf@HIDDEN> <87bk3pr63w.fsf@HIDDEN>
 <86sex19o0c.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 3.6 (+++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  =?UTF-8?Q?[=E0=AE=9A=E0=AF=86=E0=AE=B5=E0=AF=8D=E0=AE=B5=E0=AE=BE=E0=AE=AF=E0=AF=8D_?= =?UTF-8?Q?=E0=AE=9C=E0=AF=82=E0=AE=A9=E0=AF=8D?= 25, 2024] Eli Zaretskii
    wrote: >> From: Visuwesh >> Cc: Eli Zaretskii , 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_ witho [...] 
 
 Content analysis details:   (3.6 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
                             [103.232.241.147 listed in zen.spamhaus.org]
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [209.85.214.194 listed in list.dnswl.org]
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (visuweshm[at]gmail.com)
  0.0 RCVD_IN_MSPIKE_H3      RBL: Good reputation (+3)
                             [209.85.214.194 listed in wl.mailspike.net]
  0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 2.6 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  =?UTF-8?Q?[=E0=AE=9A=E0=AF=86=E0=AE=B5=E0=AF=8D=E0=AE=B5=E0=AE=BE=E0=AE=AF=E0=AF=8D_?= =?UTF-8?Q?=E0=AE=9C=E0=AF=82=E0=AE=A9=E0=AF=8D?= 25, 2024] Eli Zaretskii
    wrote: >> From: Visuwesh >> Cc: Eli Zaretskii , 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_ witho [...] 
 
 Content analysis details:   (2.6 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [209.85.214.194 listed in list.dnswl.org]
  0.0 RCVD_IN_MSPIKE_H3      RBL: Good reputation (+3)
                             [209.85.214.194 listed in wl.mailspike.net]
  3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
                             [103.232.241.147 listed in zen.spamhaus.org]
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (visuweshm[at]gmail.com)
  0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

[=E0=AE=9A=E0=AF=86=E0=AE=B5=E0=AF=8D=E0=AE=B5=E0=AE=BE=E0=AE=AF=E0=AF=8D =
=E0=AE=9C=E0=AF=82=E0=AE=A9=E0=AF=8D 25, 2024] Eli Zaretskii wrote:

>> From: Visuwesh <visuweshm@HIDDEN>
>> Cc: Eli Zaretskii <eliz@HIDDEN>,  65892 <at> debbugs.gnu.org
>> Date: Tue, 25 Jun 2024 10:06:35 +0530
>>=20
>> 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.

While what you say makes perfect sense, I seldom find this to be the
case.  But I think I worded my message too poorly.  As per the manual [1], I
can set use text-property to set an alternate TARGET as

    (gui-set-selection
     'CLIPBOARD
     (propertize "asd" 'x-special/gnome-copied-files
                 "copy\nfile:///home/viz/.mkshrc\nfile:///home/viz/.profile=
\0"))

If I do

    (x-get-clipboard)

I get

    #("asd" 0 3 (x-special/gnome-copied-files "copy
    file:///home/viz/.mkshrc
    file:///home/viz/.profile\0"))

(where I changed the actual NULL character to \0).  But=20

    (gui-get-selection 'CLIPBOARD 'x-special/gnome-copied-files) ;; =3D> nil

In fact, if I do

    (gui-get-selection 'CLIPBOARD 'TARGETS)

I get

    [TIMESTAMP MULTIPLE TEXT COMPOUND_TEXT STRING UTF8_STRING text/plain te=
xt/plain\;charset=3Dutf-8 TARGETS LENGTH DELETE FILE_NAME CHARACTER_POSITIO=
N LINE_NUMBER COLUMN_NUMBER OWNER_OS HOST_NAME USER CLASS NAME ATOM INTEGER=
 SAVE_TARGETS]

with the x-special/gnome-copied-files nowhere in sight.  If I evaluate
x-get-clipboard in a fresh emacs -Q, I obviously don't see the
text-property too.  I thought the inability of gui-get-selection to
return the expected was because there isn't a proper function for the
TARGET in selection-converter-alist but that should not matter since
yank-media does handle this type fine with just a gui-get-selection
call.  So the problem is with the inability to specify the TARGETS I
think.  If I do

    % printf '%s\0' "copy\nfile:///home/viz/.mkshrc\nfile:///home/viz/.prof=
ile" |xclip -t x-special/gnome-copied-files -selection clipboard

I get

    (gui-get-selection 'CLIPBOARD 'TARGETS) ;; =3D> [TARGETS x-special/gnom=
e-copied-files]

If you replace x-special/gnome-copied-files with an image, the same
argument holds.

Perhaps I simply do not understand the manual but I cannot find how to
set the TARGET properly.  It would be nice if the relevant info node
could have examples of gui-set-selection that does sets the clipboard to
have an image as the DATA, or something else.

I hope this is clear.  Sorry for my late reply.

1. (info "(elisp) Window System Selections")




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#65892: 30.0.50; yank-media fails for clipboard selection that are wiped after being accessed
Resent-From: Po Lu <luangruo@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 28 Jun 2024 09:51:02 +0000
Resent-Message-ID: <handler.65892.B65892.17195682411784 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 65892
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Visuwesh <visuweshm@HIDDEN>
Cc: Eli Zaretskii <eliz@HIDDEN>, 65892 <at> debbugs.gnu.org
Received: via spool by 65892-submit <at> debbugs.gnu.org id=B65892.17195682411784
          (code B ref 65892); Fri, 28 Jun 2024 09:51:02 +0000
Received: (at 65892) by debbugs.gnu.org; 28 Jun 2024 09:50:41 +0000
Received: from localhost ([127.0.0.1]:44653 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sN8Fc-0000Sc-FS
	for submit <at> debbugs.gnu.org; Fri, 28 Jun 2024 05:50:40 -0400
Received: from sonic310-23.consmr.mail.ne1.yahoo.com ([66.163.186.204]:39110)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <luangruo@HIDDEN>) id 1sN8FY-0000RT-RC
 for 65892 <at> debbugs.gnu.org; Fri, 28 Jun 2024 05:50:38 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1719568229; bh=bKwXVWx02VDBlcO1/4dHNJgcTajnkR9jQ8ZdeXFBLK8=;
 h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To;
 b=THa41HmhotxP5WwMuBflvxS5XVeA79CsCTAIi5IRf/v/CHOOD1IBQpFwJML2XwTUYdctd4Q7Uv/3h6ixez/Yr1BM1pGLTqiKzX7gbzWE8nZq4AAeeGN/Hae494kVU/kJhdKe8X4u402dk7uSZ4IdDtfIDn2yG1jrOXvdXd93Z5sQOZj67cDPQD4NC+r4JGu7AQ/J3BgDMEuFPYEPweWOP4tdiMEtaejDheWXJemG40uswlA/nvFSFABssj+CAlQRCCvbkbhgBZsmhQddJ7DAZA3mNWHalgI8MaaksKMYQeAPmCw2uanbeIkN3kGwfxbitopiERosmL7O64trFCYVcw==
X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048;
 t=1719568229; bh=Moloxy1M/K7sOQDrkHosr/yc9HNLpNIA/Kbd1TLdomm=;
 h=X-Sonic-MF:From:To:Subject:Date:From:Subject;
 b=fKqoTj8smwQiq35zaicIBvNvNGc1egA+sd9W4LTAiFvWREUNk3D7PTKgCAQwsvwIQ/iVQUPiYbq9E/W2qkl9G04LS/JiRVNkJ0LutxyBvKU/jlMyMBjj4oAbUPN3TPB6YggmuX1EJL3/I6HScAkaolVymZyC42joew+fbMEH4hIq00Qk0S41o1fvF+yiczhXXv+77EQzzh841mzmNMRh7DL22h19ckoaj4thyDU4TwGvNzWuuXV47ikO/tGzvjHfBO9sBC5GUY56NQAeMGXHFbU4PMXr2s/Zab2y2Y7M+dIsb2lxq/i/kU5eF90X0mgo9emzolS15cPUuFdaoh0acA==
X-YMail-OSG: jHqe6YsVM1lx0UUASeX6yvNNmngYe9nfr9kWXJV_9LDx_cJ1.YcoTE.Ea0mL1EB
 tfuWwgva0cwaD3E6En.qhxX7iO74JwHNU4I4uiGMepUPd2r_8HBE0vcEJWkQ.FnsfHjjw8vuhoc.
 vfOGPlMRhFg0OC5MIIbrTU05msFmanMf8cXlYo4JMpM8hA1HjQ5mhI.Z.h1OsNjKed09LCYyOkDj
 GPp7uiQVbGezXMpr810VhKxpGw_Pj34UWtKYktJ75wtgtLIqS75w3ARGvRs.TL2h4urODhu3YlWG
 CDnxxj8jDTJ6qGSFV82PGoVh9DczG3hLq9mf1Kp8qujiymn7XaiBzwG0iPg9XVcrxfP3sVH0b2X2
 wEj.hFdYJ_nA5Sv177ExcLf69cppd6QuJsn..N6_48jjSWSIKMrOdT1.2VgBpQgeVa8dZpbNTlNi
 qDdx3fu2keUxdRlXPTO7nLDI7q429wrVHcwV2RZkwMQUloFF0AkWb77KsiP35gps3EbebZCmBzr1
 mlqdXOZi3b3TwAoqeMjaD_rldJjyN1nCBlv470n7YSq5Ke.xttV..nbBbEa1tJs7e8Qoupcrnys2
 VAt3gvAQysHZmZx0hBzCYIJ39lQzaBJe5YxULdIMm6gj6Imqrj7YQ4l2Lm0kgh7Ste6Wtui_Ifyv
 b4kHTHGzCbPxoCPSXStCbbSQDYgf2sdlavk6tMwGjl1ghhJSSnXPFRDY9utoXuRLMxOTzTbroCyS
 wshWVFjVzTcsy2qRusKxTCcgrRuaLG4vHLMLhXTJtbY0O.UagBHxEMj0v21zewIheZSaRTxHTfTd
 QjFNV8PgjXMB7ZMSajWYq2ZbSMvFcJl2G_LyZELSYq5bGv6MiGgEBbrFi2gABCrAFHQ1ZhvujxBI
 SOmxUoB2OJUOF2sxkAS5IsAGCqTq8CQQfUBlRSSXsRYCSgcnIL5otepD1q0q8decoF2y40WSZ6tg
 1qi0rCTxlptDYYCAzzZLRBquNlbvZMGXPhm5tWLMjEvvLNVSyvJSv83dWuPyQiR.OmjF.O8c9TTo
 2PRv6QIIzPG3.6gJdqHRdK5V4Cg72d21Us3A.9ok5ekmzKsIodxi5Y1NJKBDjHhZG37SpOfSjVrg
 yqXp6OJ0qBtaBGCJwFcfxxOS8zdLINhcR8Zxmj4f2c3yDdzjGeVb9eYtdy8sSiXZzLdcgXwPbKw_
 pkU68ktdE.HtLUQxQfWwGvtFLsLRU5vqXHudlNRodH4wgZiNEzuzQQZSTbA.ZlBQXsPDg33nU5kg
 Y6daf3453Yp7ujZSxFzK5kzbdX9ZaxNiUXx0EV3liy46fuIuMOU83lIMoAeiNnrpP8E2tiKbu.eI
 h77m.Mop8FbMMgii9wIFcjpKwRdcTleoDSorOJODooo6_uCgxZUDBcZsuWnEKdEWEncetIDgsptS
 6MmuBcvctZPXiLiwEARpE4htKsx25Pq16eLyIIEAl8.30IoeJY5KiE0WLhEkXxAjXOmdvN2qVe6i
 FgJWdw3N0rPKwzeVgadi.GkWRF2IPC_P_ZUiaVKHd3mNb2FE_WKwsMGG.Qy1OXaKOm.rH1NU_zMD
 wxhpCyP7pd8e1qrezm9syK3KhWTPZgbaWD6IebHywRlB9VYRtKrv_LsoHGRWqWNziFWb0ySb9Knl
 zkEGClXfS1xu5lMvcWw0z9eCg9jRK9_FGTLZl8Y7PwD8uBFsxq.oMjHA6bCJlC3_ocUkHf9m3pfp
 n4MR8bg54bwDn0i9T5jtAuIXGhXwgJAUehIvd9qG37MSbnuuCbbgESqVJcpRrmAE.J2xVi_ZkJcB
 fwDiR2XVmc8AqGqC1ERWqp9gMznktPEa8c9GnmjyxD0Km5piyiD4Ae47afTk_feB7Jm2AlocMlqX
 k1qTlYZm0vnvYgO0v.m0I4awBgJvuUInYk658EQf0cCfcGEzz6OMkIuAxJUhZCUsA5sWT4ui0EOz
 0Ud4ot5kOR02xIJr7_ZhF6pqOGQBZcXDzRb0CIdoSnKvhmbcvjZr0.nHnUXjtcE_wY_kCGa52e__
 EJeViX1mB0Iq83m9L7AIbAqr9047aYhS8956EpHWm4f_dfWVXRI3R0EEzJ8Cu4E.A8N2HLSQi9Kb
 6XSSjei.egVLHzhemlByKi0W_.UxMCbH_1us0YUAkkmgpLq5QnhT0R_3x6n_C7r.x110zGJhv4MW
 fGekagzBd0M_1ZSSlZefD1pLq2xv6Yr5_LpYoCk_e1lNjjHQRs0YK4DlTN6Ncnzyf8zRV9rhNYb8
 0Y66MQ.jQiZK2B3ClekuKfbegs78ebSEdEBbKuHnVPLBsZTyjf7ANHdcFXblS2Q8-
X-Sonic-MF: <luangruo@HIDDEN>
X-Sonic-ID: 54f3d627-16d2-42d3-b68f-fc17c51bb2e0
Received: from sonic.gate.mail.ne1.yahoo.com by
 sonic310.consmr.mail.ne1.yahoo.com with HTTP; Fri, 28 Jun 2024 09:50:29 +0000
Received: by hermes--production-sg3-7b469d9f6-2cjcg (Yahoo Inc. Hermes SMTP
 Server) with ESMTPA ID 4f00419a4da54895973790cae6434301; 
 Fri, 28 Jun 2024 09:00:08 +0000 (UTC)
From: Po Lu <luangruo@HIDDEN>
In-Reply-To: <87r0ch4s1a.fsf@HIDDEN> (Visuwesh's message of "Fri, 28 Jun
 2024 09:50:33 +0530")
References: <87a5trjprx.fsf@HIDDEN> <875xtzro7j.fsf@HIDDEN>
 <86v81ybksc.fsf@HIDDEN> <87frt2qwri.fsf@HIDDEN>
 <87le2ty9b5.fsf@HIDDEN> <87bk3pr63w.fsf@HIDDEN>
 <86sex19o0c.fsf@HIDDEN> <87r0ch4s1a.fsf@HIDDEN>
Date: Fri, 28 Jun 2024 16:59:50 +0800
Message-ID: <87jzi9tpbt.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Mailer: WebService/1.1.22407
 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo
Content-Length: 2723
X-Spam-Score: 0.0 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Visuwesh <visuweshm@HIDDEN> writes:

> While what you say makes perfect sense, I seldom find this to be the
> case.  But I think I worded my message too poorly.  As per the manual [1], I
> can set use text-property to set an alternate TARGET as
>
>     (gui-set-selection
>      'CLIPBOARD
>      (propertize "asd" 'x-special/gnome-copied-files
>                  "copy\nfile:///home/viz/.mkshrc\nfile:///home/viz/.profile\0"))
>
> If I do
>
>     (x-get-clipboard)
>
> I get
>
>     #("asd" 0 3 (x-special/gnome-copied-files "copy
>     file:///home/viz/.mkshrc
>     file:///home/viz/.profile\0"))
>
> (where I changed the actual NULL character to \0).  But 
>
>     (gui-get-selection 'CLIPBOARD 'x-special/gnome-copied-files) ;; => nil
>
> In fact, if I do
>
>     (gui-get-selection 'CLIPBOARD 'TARGETS)
>
> I get
>
>     [TIMESTAMP MULTIPLE TEXT COMPOUND_TEXT STRING UTF8_STRING text/plain text/plain\;charset=utf-8 TARGETS LENGTH DELETE FILE_NAME CHARACTER_POSITION LINE_NUMBER COLUMN_NUMBER OWNER_OS HOST_NAME USER CLASS NAME ATOM INTEGER SAVE_TARGETS]
>
> with the x-special/gnome-copied-files nowhere in sight.  If I evaluate
> x-get-clipboard in a fresh emacs -Q, I obviously don't see the
> text-property too.  I thought the inability of gui-get-selection to
> return the expected was because there isn't a proper function for the
> TARGET in selection-converter-alist but that should not matter since
> yank-media does handle this type fine with just a gui-get-selection
> call.  So the problem is with the inability to specify the TARGETS I
> think.  If I do
>
>     % printf '%s\0' "copy\nfile:///home/viz/.mkshrc\nfile:///home/viz/.profile" |xclip -t x-special/gnome-copied-files -selection clipboard
>
> I get
>
>     (gui-get-selection 'CLIPBOARD 'TARGETS) ;; => [TARGETS x-special/gnome-copied-files]
>
> If you replace x-special/gnome-copied-files with an image, the same
> argument holds.
>
> Perhaps I simply do not understand the manual but I cannot find how to
> set the TARGET properly.  It would be nice if the relevant info node
> could have examples of gui-set-selection that does sets the clipboard to
> have an image as the DATA, or something else.
>
> I hope this is clear.  Sorry for my late reply.
>
> 1. (info "(elisp) Window System Selections")

You misunderstand the purpose of permitting properties in selection data
strings, I think.  They are not designed to provide new data types, nor
do they in fact do so, but to enable specifying values specific to a
data type for which an existing selection converter is defined.

Undoubtedly Emacs can be extended with facilities that suit your
requirements, but the release is too close at hand for such new features
as these, I'm afraid.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#65892: 30.0.50; yank-media fails for clipboard selection that are wiped after being accessed
Resent-From: Visuwesh <visuweshm@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 28 Jun 2024 10:05:01 +0000
Resent-Message-ID: <handler.65892.B65892.17195690803278 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 65892
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: patch
To: Po Lu <luangruo@HIDDEN>
Cc: Eli Zaretskii <eliz@HIDDEN>, 65892 <at> debbugs.gnu.org
Received: via spool by 65892-submit <at> debbugs.gnu.org id=B65892.17195690803278
          (code B ref 65892); Fri, 28 Jun 2024 10:05:01 +0000
Received: (at 65892) by debbugs.gnu.org; 28 Jun 2024 10:04:40 +0000
Received: from localhost ([127.0.0.1]:44721 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sN8T9-0000qo-FC
	for submit <at> debbugs.gnu.org; Fri, 28 Jun 2024 06:04:39 -0400
Received: from mail-il1-f194.google.com ([209.85.166.194]:58657)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <visuweshm@HIDDEN>) id 1sN8T8-0000qc-2b
 for 65892 <at> debbugs.gnu.org; Fri, 28 Jun 2024 06:04:38 -0400
Received: by mail-il1-f194.google.com with SMTP id
 e9e14a558f8ab-3762eadd807so1507115ab.1
 for <65892 <at> debbugs.gnu.org>; Fri, 28 Jun 2024 03:04:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1719569012; x=1720173812; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=sAQ68+Y2V+sGEICf424nF1V3aWXWl9SE+Rm4GfLFmFc=;
 b=GvAb0QNetqRc+Vb16YLsSRlWtY0goeJik67l3tyTo7Aaduk6pwnp3MENhvIhFm/QZV
 QlBhMjzt9A6VOuIdeZJAxygYrsKrWPo1KS/bcbUZlEuLnF9Z4mmDfqmbhQ281XYFIWpP
 lrim0/B2FH7ExVhPMKxQG4FVRj5kRaqgIUSyacUKgxQbWpZ08QpFWvwue8ZDO4jIDffM
 Nm3xYVhu+oDQbSpABQIQ/jwWye2FLoLnwK2m4Cp9maDlgn+iYEYUH9L/karC0E8xMny0
 pWwq0iMArXmiKTO+wUTGsCifAEiDaR+oX7yVIwXwUGqYH9kCLXlUCuMLvzpUmIqslAnO
 tn6A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1719569012; x=1720173812;
 h=content-transfer-encoding:mime-version:user-agent:message-id:date
 :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from
 :to:cc:subject:date:message-id:reply-to;
 bh=sAQ68+Y2V+sGEICf424nF1V3aWXWl9SE+Rm4GfLFmFc=;
 b=FdHt8vusMiJYgarYt2JyW3MAXupNWr8UHvbmWDXp9DQOAPjjs5LA3VXW/plfIkRnz3
 kxJIC0qWWflURc+LFiMqCc5NRbizWJ79iUTVkQVPbZYY/9Inn5FDfsPihgs5ExcK4A6J
 qfycfnkztowrJTfpriyp5oP0TyG2TqqwxfeKnx4G6xxXFDvUgRsP6IVpOEasaorl+msR
 jVz0F8XGOE/3eognF4i5zUOGq1RekyIR19QpoXwomu0IhVYEtC+OrzWvNs3zDkaWHerc
 cfLTiPjmtuvM8CFf7lYMTvqIQ/191IrOKn/9gjYYT1AXW8wk+sm6FheGBDo9ghZGQ8yB
 gChQ==
X-Forwarded-Encrypted: i=1;
 AJvYcCW2CTcXg5ECW7ACTUAKs4GGvM1EGWX+B9smQkYBN2UusYshRoda+zaLwRmth0Qi544ZEHbxV3nAuHb6YHTasKKiaJQl9Ys=
X-Gm-Message-State: AOJu0Yx44WFpK49FbrGSrWrxarEAxCsj9ZQ8h17JPNRwpwgIw5E9lQKS
 IURTf1HPmDGjVjcKp1ZgFkcXs4nOiHi3hg/m/3TNlfGC0+tomw6y
X-Google-Smtp-Source: AGHT+IEN+9ruIRrnvZLxhokwDeSJQ7jox1/PD4oYy9e1QxyNyJMVJIpuXM8zAGcFi91NAzd7kPPThg==
X-Received: by 2002:a05:6e02:1a44:b0:374:a1e8:2086 with SMTP id
 e9e14a558f8ab-3763f5d79bemr221334245ab.19.1719569012136; 
 Fri, 28 Jun 2024 03:03:32 -0700 (PDT)
Received: from localhost ([103.232.241.147]) by smtp.gmail.com with ESMTPSA id
 41be03b00d2f7-72c69b51ff1sm868239a12.4.2024.06.28.03.03.30
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 28 Jun 2024 03:03:31 -0700 (PDT)
From: Visuwesh <visuweshm@HIDDEN>
In-Reply-To: <87jzi9tpbt.fsf@HIDDEN> (Po Lu's message of "Fri, 28 Jun 2024
 16:59:50 +0800")
References: <87a5trjprx.fsf@HIDDEN> <875xtzro7j.fsf@HIDDEN>
 <86v81ybksc.fsf@HIDDEN> <87frt2qwri.fsf@HIDDEN>
 <87le2ty9b5.fsf@HIDDEN> <87bk3pr63w.fsf@HIDDEN>
 <86sex19o0c.fsf@HIDDEN> <87r0ch4s1a.fsf@HIDDEN>
 <87jzi9tpbt.fsf@HIDDEN>
Date: Fri, 28 Jun 2024 15:33:28 +0530
Message-ID: <87ikxt4c5r.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 3.6 (+++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  =?UTF-8?Q?[=E0=AE=B5=E0=AF=86=E0=AE=B3=E0=AF=8D=E0=AE=B3=E0=AE=BF_?= =?UTF-8?Q?=E0=AE=9C=E0=AF=82=E0=AE=A9=E0=AF=8D?= 28, 2024] Po Lu wrote: >
   Visuwesh writes: > >> While what you say makes perfect sense, I seldom find
    this to be the >> case. But I think I worded my message too poorly. As per
    the manual [1], I >> can set use text-propert [...] 
 
 Content analysis details:   (3.6 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
                             [103.232.241.147 listed in zen.spamhaus.org]
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (visuweshm[at]gmail.com)
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [209.85.166.194 listed in list.dnswl.org]
 -0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
                             [209.85.166.194 listed in wl.mailspike.net]
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 2.6 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  =?UTF-8?Q?[=E0=AE=B5=E0=AF=86=E0=AE=B3=E0=AF=8D=E0=AE=B3=E0=AE=BF_?= =?UTF-8?Q?=E0=AE=9C=E0=AF=82=E0=AE=A9=E0=AF=8D?= 28, 2024] Po Lu wrote: >
   Visuwesh writes: > >> While what you say makes perfect sense, I seldom find
    this to be the >> case. But I think I worded my message too poorly. As per
    the manual [1], I >> can set use text-propert [...] 
 
 Content analysis details:   (2.6 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
                             [209.85.166.194 listed in wl.mailspike.net]
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
                              no trust
                             [209.85.166.194 listed in list.dnswl.org]
  3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
                             [103.232.241.147 listed in zen.spamhaus.org]
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (visuweshm[at]gmail.com)
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

[=E0=AE=B5=E0=AF=86=E0=AE=B3=E0=AF=8D=E0=AE=B3=E0=AE=BF =E0=AE=9C=E0=AF=82=
=E0=AE=A9=E0=AF=8D 28, 2024] Po Lu wrote:

> Visuwesh <visuweshm@HIDDEN> writes:
>
>> While what you say makes perfect sense, I seldom find this to be the
>> case.  But I think I worded my message too poorly.  As per the manual [1=
], I
>> can set use text-property to set an alternate TARGET as
>>
>>     (gui-set-selection
>>      'CLIPBOARD
>>      (propertize "asd" 'x-special/gnome-copied-files
>>                  "copy\nfile:///home/viz/.mkshrc\nfile:///home/viz/.prof=
ile\0"))
>>
>> If I do
>>
>>     (x-get-clipboard)
>>
>> I get
>>
>>     #("asd" 0 3 (x-special/gnome-copied-files "copy
>>     file:///home/viz/.mkshrc
>>     file:///home/viz/.profile\0"))
>>
>> (where I changed the actual NULL character to \0).  But=20
>>
>>     (gui-get-selection 'CLIPBOARD 'x-special/gnome-copied-files) ;; =3D>=
 nil
>>
>> In fact, if I do
>>
>>     (gui-get-selection 'CLIPBOARD 'TARGETS)
>>
>> I get
>>
>>     [TIMESTAMP MULTIPLE TEXT COMPOUND_TEXT STRING UTF8_STRING text/plain=
 text/plain\;charset=3Dutf-8 TARGETS LENGTH DELETE FILE_NAME CHARACTER_POSI=
TION LINE_NUMBER COLUMN_NUMBER OWNER_OS HOST_NAME USER CLASS NAME ATOM INTE=
GER SAVE_TARGETS]
>>
>> with the x-special/gnome-copied-files nowhere in sight.  If I evaluate
>> x-get-clipboard in a fresh emacs -Q, I obviously don't see the
>> text-property too.  I thought the inability of gui-get-selection to
>> return the expected was because there isn't a proper function for the
>> TARGET in selection-converter-alist but that should not matter since
>> yank-media does handle this type fine with just a gui-get-selection
>> call.  So the problem is with the inability to specify the TARGETS I
>> think.  If I do
>>
>>     % printf '%s\0' "copy\nfile:///home/viz/.mkshrc\nfile:///home/viz/.p=
rofile" |xclip -t x-special/gnome-copied-files -selection clipboard
>>
>> I get
>>
>>     (gui-get-selection 'CLIPBOARD 'TARGETS) ;; =3D> [TARGETS x-special/g=
nome-copied-files]
>>
>> If you replace x-special/gnome-copied-files with an image, the same
>> argument holds.
>>
>> Perhaps I simply do not understand the manual but I cannot find how to
>> set the TARGET properly.  It would be nice if the relevant info node
>> could have examples of gui-set-selection that does sets the clipboard to
>> have an image as the DATA, or something else.
>>
>> I hope this is clear.  Sorry for my late reply.
>>
>> 1. (info "(elisp) Window System Selections")
>
> You misunderstand the purpose of permitting properties in selection data
> strings, I think.

As I expected.

> They are not designed to provide new data types, nor
> do they in fact do so, but to enable specifying values specific to a
> data type for which an existing selection converter is defined.

Can the documentation please be expanded to make this point clear?
Given that it talks about text/uri-list, I misunderstood that Emacs can
set clipboard with any TARGET value.  Clearly this is not the case.
Including some more examples would also improve the documentation
significantly IMO.  As it is, it is very hard to understand the
facility.

> Undoubtedly Emacs can be extended with facilities that suit your
> requirements, but the release is too close at hand for such new features
> as these, I'm afraid.

I do not ask for this feature in this release in any case.  It was
merely a side-request/question since I have been left confused for
months now.





Last modified: Fri, 28 Jun 2024 10:15:02 UTC

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