From: Tobias Bading <tbading@web.de>
To: emacs-devel@gnu.org
Cc: Po Lu <luangruo@yahoo.com>,
Pedro Andres Aranda Gutierrez <paaguti@gmail.com>,
Gregor Zattler <telegraph@gmx.net>
Subject: Re: Copy and paste from Emacs 29 to Thunderbird doesn’t work
Date: Wed, 3 May 2023 07:11:13 +0200 [thread overview]
Message-ID: <69c64ad0-3ceb-1ead-1b4f-50725fa0e621@web.de> (raw)
In-Reply-To: <87v8hbcfx1.fsf@yahoo.com>
On 02.05.23 10:10, Po Lu wrote:
> So my guess is that Thunderbird thinks one of the text/plain selection
> targets is... not text/plain? Or maybe it wants the property type
> returned to be an X string type and not the MIME type it asked for?
For me on Ubuntu (MATE) 20.04.6 LTS with Thunderbird
102.9.0+build1-0ubuntu0.20.04.1, this is the smallest patch I’ve found so
far to fix copy and paste from Emacs to a Thunderbird mail composition
window:
diff --git a/lisp/select.el b/lisp/select.el
index 7f089c62dd..f806e89720 100644
--- a/lisp/select.el
+++ b/lisp/select.el
@@ -896,8 +896,6 @@ xselect-convert-to-dt-netfile
(UTF8_STRING . xselect-convert-to-string)
(text/plain . xselect-convert-to-string)
(text/plain\;charset=utf-8 . xselect-convert-to-string)
- (text/uri-list . (xselect-uri-list-available-p
- . xselect-convert-to-text-uri-list))
(text/x-xdnd-username . (xselect-dnd-target-available-p
. xselect-convert-to-username))
(FILE . (xselect-uri-list-available-p
Without this change I can paste a word into a Thunderbird input field like
To or Subject, but no into the mail composition area.
Pedro’s suggestion to use Ctrl+Shift+V (‘Paste Without Formatting’) instead
of Ctrl+V in Thunderbird works as well, without this patch.
I can’t reproduce the problem with deepl.com that Gregor described, neither
with Firefox 88.0.1 nor 111.0.1.
Tobias
PS: please keep me CC’d, thanks
next prev parent reply other threads:[~2023-05-03 5:11 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-02 7:25 Re: Copy and paste from Emacs 29 to Thunderbird doesn’t work Pedro Andres Aranda Gutierrez
2023-05-02 8:10 ` Po Lu
2023-05-02 17:22 ` Gregor Zattler
2023-05-02 23:33 ` Po Lu
2023-05-04 18:22 ` Gregor Zattler
2023-05-05 0:16 ` Po Lu
2023-05-05 5:45 ` Gregor Zattler
2023-05-05 6:16 ` Po Lu
2023-05-03 5:11 ` Tobias Bading [this message]
2023-05-03 5:20 ` Po Lu
2023-05-03 5:41 ` Tobias Bading
2023-05-03 5:57 ` Po Lu
2023-05-03 6:05 ` Tobias Bading
2023-05-03 6:54 ` Po Lu
2023-05-03 11:19 ` Eli Zaretskii
2023-05-03 12:00 ` Po Lu
-- strict thread matches above, loose matches on Subject: below --
2023-04-30 13:01 Tobias Bading
2023-05-01 0:02 ` Po Lu
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=69c64ad0-3ceb-1ead-1b4f-50725fa0e621@web.de \
--to=tbading@web.de \
--cc=emacs-devel@gnu.org \
--cc=luangruo@yahoo.com \
--cc=paaguti@gmail.com \
--cc=telegraph@gmx.net \
/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.