emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Copy and paste from Emacs 29 to Thunderbird doesn’t work


From: Po Lu
Subject: Re: Copy and paste from Emacs 29 to Thunderbird doesn’t work
Date: Wed, 03 May 2023 13:20:35 +0800
User-agent: Gnus/5.13 (Gnus v5.13)

Tobias Bading <tbading@web.de> writes:

> 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.

OK, would you please run:

  M-x trace-function RET x-dnd-convert-to-text-uri-list RET

copy something to Firefox, and show what trace output is printed?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]