From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tobias Bading Newsgroups: gmane.emacs.devel Subject: =?UTF-8?Q?Re=3a_Copy_and_paste_from_Emacs_29_to_Thunderbird_doesn?= =?UTF-8?B?4oCZdCB3b3Jr?= Date: Wed, 3 May 2023 07:11:13 +0200 Message-ID: <69c64ad0-3ceb-1ead-1b4f-50725fa0e621@web.de> References: <496CE33D-C23F-4AB9-B545-608DB9B33C97@gmail.com> <87v8hbcfx1.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30177"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Cc: Po Lu , Pedro Andres Aranda Gutierrez , Gregor Zattler To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed May 03 07:12:12 2023 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pu4mh-0007bW-3P for ged-emacs-devel@m.gmane-mx.org; Wed, 03 May 2023 07:12:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pu4lv-0003c4-5f; Wed, 03 May 2023 01:11:23 -0400 Original-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 ) id 1pu4lt-0003bw-Pp for emacs-devel@gnu.org; Wed, 03 May 2023 01:11:21 -0400 Original-Received: from mout.web.de ([212.227.15.3]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pu4lr-0003L0-SY for emacs-devel@gnu.org; Wed, 03 May 2023 01:11:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=s29768273; t=1683090674; i=tbading@web.de; bh=fZu2oQDIuYuO0Dfl+3sOlvxMkGp3OX9KgEluZnsxDLU=; h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:In-Reply-To; b=JVlUn3ABqlCDxUka+1KZM01Hyv6R/9HPYjnynL3rJsET8EByPNlhhzKsKDK4+DOfR XTWFqVgo2axLGlfsyp/cOOAyw+5p/RzWYpOPwfb75uqihz4R/+sk7lcDMFRieo1sRJ zVyE6Eswy9+gJ4HNBLpEiGxMYYBuozS/trXPEKl1PcUYlT65069nDaMqPVe5wbivHP duHz8znJPHcB3gsjY73wlff+XzjWhPsKhLLicifrrpynRJIsCix51Baji7lM8ytuQy tQlAKIg4onNA9JWpJ/T8iizxkfTBpbpI6sjWAqDFA5MHZF747hkTM7ukZsdkKV9zO3 0yPqtvnyh2dhw== X-UI-Sender-Class: 814a7b36-bfc1-4dae-8640-3722d8ec6cd6 Original-Received: from [192.168.2.103] ([84.143.156.171]) by smtp.web.de (mrweb006 [213.165.67.108]) with ESMTPSA (Nemesis) id 1MeDMR-1qUVeP0J0x-00b2lF; Wed, 03 May 2023 07:11:14 +0200 Content-Language: en-US In-Reply-To: <87v8hbcfx1.fsf@yahoo.com> X-Provags-ID: V03:K1:fiazDm4KAJDAeMGjgKx4P1/eOZClsH1UHKXHms9MJiq1kr6ZVKX 20ejcmJ34YgrwPN62BprlLYx0mLMCvVq0ll8DbfUVO3v2sd37KSIM00wkafZaPoo//OkGZ0 9Uuoqq+TFmKn4376dpq85uY5Yv8E2ukpLITjDjqDsFURivb9EPfTzMkZJlno2tXWoUSEmUQ dIYdHqgdjkuBmr9ql0QPA== UI-OutboundReport: notjunk:1;M01:P0:zdd/UExl1wo=;4Qjgh9/N+JBhsVyS1bWZXVoPwzC yt/F+j6knsN+d/M9dTYODK6P6Bc2eoiVmGS7sPd2cu+Px5icAPZ1inVZp73SpCbBx0VJcsNPR BLDRIWZKGu13rhtm8YEitbjlbLIFVaqDuW+I/7uPIH4TRYBCL1uoW5Jwqa/c3payjniXKkPR5 RhIUppmtPaTwnWeECok7rNEMRQcpNfwmltw1oeQaT2NWWIp+tIqhhc9fz8tevByblYBB6eLx7 RFRT3v7uLvwY0qH7PE1B8JCPBer77EPffPscWiorpg/qEjaj6523WTvSCmYijmg7Y75NJtucK JvFpWuDcldX/5/WLtNsHI5tsk7skkqlgfgBxiQXtDofooWOo4yV6SzBAgYEJxEta4HikFAREv gRV2FeUTXVzpTXfJbS117COsk3jN4FzW2FwE6Esb/e8Ls68dzxZC6kuXbWhCX3rIMsPs9Nv+E EkTQV/auoSR4c/PBSBZKkTgBit8u4/gSCHoTBOFsop14HbY2wnp5cbC9HbC8IUmqKtfxkuEUs xyQp2bbRkLi5YWonNrFyq2GFZNr2zZX85b3npSRdbedcBL8B0MT20kXlYJ/nfOHq84xOBy3ZT MQNvoktLuPZ/y9J5vEXCS1WO9I/afhsOY6GwqxHftxzA4Zp80kB0ieMY5zioGNvV7fzEa7ZWW GQuouBLl0E7qXgMUSSGLTPcf48469xa90lPjCl+zFV+otWUxyI12ftS/uUUGuDNjicbXapORE OT3oKtFB/sTl8SCt2mLtoaa8x5A2cqFeHyBvtuy7wnCROWmy6cb8vxfYAow+1/eJKVTMlfT6 Received-SPF: pass client-ip=212.227.15.3; envelope-from=tbading@web.de; helo=mout.web.de X-Spam_score_int: -41 X-Spam_score: -4.2 X-Spam_bar: ---- X-Spam_report: (-4.2 / 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, NICE_REPLY_A=-1.422, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:305759 Archived-At: 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?=C2=A0 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=E2=80=99ve f= ound 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 =2D-- a/lisp/select.el +++ b/lisp/select.el @@ -896,8 +896,6 @@ xselect-convert-to-dt-netfile =C2=A0=C2=A0=C2=A0=C2=A0 (UTF8_STRING . xselect-convert-to-string) =C2=A0=C2=A0=C2=A0=C2=A0 (text/plain . xselect-convert-to-string) =C2=A0=C2=A0=C2=A0=C2=A0 (text/plain\;charset=3Dutf-8 . xselect-convert-to= -string) -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (text/uri-list . (xselect-uri-= list-available-p -=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0 . xselect-convert-to-text-uri-list)) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (text/x-xdnd-username . (= xselect-dnd-target-available-p =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 . xselect-convert-t= o-username)) =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (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=E2=80=99s suggestion to use Ctrl+Shift+V (=E2=80=98Paste Without For= matting=E2=80=99) instead of Ctrl+V in Thunderbird works as well, without this patch. I can=E2=80=99t 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=E2=80=99d, thanks