From: Lars Ingebrigtsen <larsi@gnus.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: monnier@iro.umontreal.ca, 27442@debbugs.gnu.org, Hi-Angel@yandex.ru
Subject: bug#27442: Un-obsolete x-clipboard-yank, or provide analogous functional
Date: Mon, 05 Jul 2021 22:24:15 +0200 [thread overview]
Message-ID: <87pmvwv79s.fsf@gnus.org> (raw)
In-Reply-To: <87tul8v7v9.fsf@gnus.org> (Lars Ingebrigtsen's message of "Mon, 05 Jul 2021 22:11:22 +0200")
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Because we're copying over the string to the clipboard. So when we're
> then yanking back, we're really trying to determine whether we ourselves
> was responsible for putting the data on the clipboard, and if that's the
> case, we want to ignore the data? Because:
>
> (kill-new "foo")
> (gui-selection-value)
> => nil
If this is the reason for this check, then removing the setq of
gui--last-selected-text-clipboard in gui-selection-value, and only set
it in gui-select-text, would fix this problem, too. I think.
But it's late, and I may be misreading the code. :-)
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
next prev parent reply other threads:[~2021-07-05 20:24 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-21 14:29 bug#27442: Un-obsolete x-clipboard-yank, or provide analogous functional Constantine Kharlamov
2017-06-21 19:10 ` Eli Zaretskii
2017-06-21 19:55 ` Constantine Kharlamov
2021-07-05 14:13 ` Lars Ingebrigtsen
2021-07-05 14:46 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-05 15:28 ` Lars Ingebrigtsen
2021-07-05 15:59 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-05 16:55 ` Eli Zaretskii
2021-07-05 20:11 ` Lars Ingebrigtsen
2021-07-05 20:24 ` Lars Ingebrigtsen [this message]
2021-07-06 11:21 ` Eli Zaretskii
2021-07-06 14:18 ` Lars Ingebrigtsen
2021-07-06 15:45 ` Eli Zaretskii
2021-07-06 16:20 ` Lars Ingebrigtsen
2021-07-06 17:15 ` Eli Zaretskii
2021-07-06 17:26 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pmvwv79s.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=27442@debbugs.gnu.org \
--cc=Hi-Angel@yandex.ru \
--cc=eliz@gnu.org \
--cc=monnier@iro.umontreal.ca \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.