From: Manuel Giraud via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Manuel Giraud via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org>, Po Lu <luangruo@yahoo.com>
Subject: Re: multiple kill and paste from X clipboard
Date: Fri, 02 Feb 2024 17:54:59 +0100 [thread overview]
Message-ID: <877cjmkdr0.fsf@ledu-giraud.fr> (raw)
In-Reply-To: <87fryakgcl.fsf@ledu-giraud.fr> (Manuel Giraud's message of "Fri, 02 Feb 2024 16:58:50 +0100")
Manuel Giraud <manuel@ledu-giraud.fr> writes:
[...]
>> I'm definitely not an expert in the way selection works in GUIs, nor how
>> this works in Emacs. So I can't judge what your patch does, sorry.
>> This said, maybe a "safer" change is to propagate the information that
>> a particular request is a "TARGETS" request to the
>> `x-sent-selection-functions` so that *your* function can decide whether
>> that should count as consuming or not.
>
> Hi Stefan,
>
> This is what is not clear to me because this information is already
> propagated (and handled) via 'type' in my function 'next-primary'.
> FWIW, it may also be a bug in firefox because this works in chromium for
> example.
Ok, so just a "heads up" on this. My test with Firefox was not exactly
useful: I only test it in the address bar. But this works as expected
with web forms. So I think there might be some bug in primary selection
handling in the Firefox address bar… but I could live with that.
--
Manuel Giraud
next prev parent reply other threads:[~2024-02-02 16:54 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-01-12 15:35 multiple kill and paste from X clipboard Manuel Giraud via Users list for the GNU Emacs text editor
2024-01-12 15:49 ` Eli Zaretskii
2024-01-12 16:58 ` Manuel Giraud via Users list for the GNU Emacs text editor
2024-01-12 19:49 ` Manuel Giraud via Users list for the GNU Emacs text editor
2024-01-13 0:42 ` Po Lu
2024-01-13 10:08 ` Manuel Giraud via Users list for the GNU Emacs text editor
2024-01-14 15:58 ` Manuel Giraud via Users list for the GNU Emacs text editor
2024-01-14 22:45 ` Stefan Monnier via Users list for the GNU Emacs text editor
2024-01-15 14:09 ` Manuel Giraud via Users list for the GNU Emacs text editor
2024-01-17 14:52 ` Manuel Giraud via Users list for the GNU Emacs text editor
2024-01-31 19:27 ` Stefan Monnier
2024-02-02 15:58 ` Manuel Giraud via Users list for the GNU Emacs text editor
2024-02-02 16:54 ` Manuel Giraud via Users list for the GNU Emacs text editor [this message]
2024-01-12 20:12 ` orzodk
2024-01-12 21:32 ` Manuel Giraud via Users list for the GNU Emacs text editor
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877cjmkdr0.fsf@ledu-giraud.fr \
--to=help-gnu-emacs@gnu.org \
--cc=luangruo@yahoo.com \
--cc=manuel@ledu-giraud.fr \
--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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).