From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id aHHoGpmMYGZYEAAAe85BDQ:P1 (envelope-from ) for ; Wed, 05 Jun 2024 18:04:41 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id aHHoGpmMYGZYEAAAe85BDQ (envelope-from ) for ; Wed, 05 Jun 2024 18:04:41 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmx.net header.s=s31663417 header.b=oBxUEi+Q; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=quarantine) header.from=gmx.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1717603481; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=opcoOVCULUcyE3e0wL9JeKYbXFVB3wCibHadQtM4H94=; b=MKO5yIgbHmD12ESnt771WZ9AGJZhgqX7vzZz0CxjgNNtn+H4HUmBDRXWVoKQO/XkMb7lJp sVydhKrny8Qwyym5SfP3ZUrpxFxGgPsn573fK1sO0ifijqipuN6HvX77mpmgFkL+v6AiJT gPAGifHkFrlmGV9PRIS9xm8K7aXfcygxU7rpYDtnk01BolkH5enatuAq1OxnxYGWDoJCaM z2qUkJgKoJMxUSI6iQswAmP4zJEE9aTQTABSF1qXEFiegGnenUuAsJ0PaBLcCMH8zYC56F IZ2pFmi0jAE0LIIB2yimL3NqDP0IUZuGPOVk/dh+f6jEEkDk5wph98mc46kOSQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmx.net header.s=s31663417 header.b=oBxUEi+Q; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=quarantine) header.from=gmx.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1717603481; a=rsa-sha256; cv=none; b=SZyqmPuZLNEvdvaZ9ECd1XB8UEIlHnPRn516I5utJcQTZEGNpIeTDc0GXasj+RyzLrYoGu +LUsqw7KeRhs9zokioElgGQ5688IFRTkPErez2WA6j4xXAPAp4zH/bOFSq1QgpWQVm8z5D 4Lu1vgCY8wdcP8FxGlBSPje0ry/d7dOwFMPkIuC+IgMgZ6V7vIJwlXJbjsOl2K4sI7wJ+j TXDEDVLEwEc+mHFSHmPQCVvRtpMOTsnPU7P/y/RxS4RT/Il0l5gMQX0TsZSZH+pV1R1dRI 2An4EYtJ5ZFvQED/aJYKYu44ZUdfX8x3BkeZ0W9BZFvh9+UuLez94WHf4YsPEg== Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 10E0266DA8 for ; Wed, 5 Jun 2024 18:04:41 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sEt7D-00043K-Gq; Wed, 05 Jun 2024 12:03:55 -0400 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 1sEt78-0003vi-MC for emacs-orgmode@gnu.org; Wed, 05 Jun 2024 12:03:50 -0400 Received: from mout.gmx.net ([212.227.17.20]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sEt76-0008Aj-HS for emacs-orgmode@gnu.org; Wed, 05 Jun 2024 12:03:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.net; s=s31663417; t=1717603418; x=1718208218; i=jfenn@gmx.net; bh=opcoOVCULUcyE3e0wL9JeKYbXFVB3wCibHadQtM4H94=; h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To:Cc: References:From:In-Reply-To:Content-Type: Content-Transfer-Encoding:cc:content-transfer-encoding: content-type:date:from:message-id:mime-version:reply-to:subject: to; b=oBxUEi+QpLi7nr7psapu46OtZzrWZSdUXbC0xGuZEVrkiqI5BKoiiGS0raBj45u/ s7sSVYs/GPQTllhzvUXotBy5Iz7J+81w26NLXRqD5enS4P2oBpkemG0ZNpKuwoRqQ gVOnjJP23/Na0NZ4AafyFryDpFQPmTuDHBYT8uy+DmDCfFizGKjYMhJTkoOh5gwAf wYIyb24AOWFBTx+MOXd42IddTQ6HF2YQp2D9mvzujGUcjcl+xbmbDGumOf6qmGzGv VP1Ciytc8mH1rUqid3qvDDccqSyGXCkr/lobMddbwJTCmt/JNDbFdldpko0k7J/M8 HMoHj0EuT93J2SRAag== X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a Received: from [192.168.178.22] ([91.17.162.95]) by mail.gmx.net (mrgmx104 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MG9g4-1sDpJe1gAm-00DUgc; Wed, 05 Jun 2024 18:03:38 +0200 Message-ID: Date: Wed, 5 Jun 2024 18:03:17 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [ANN] Org mode 9.7 is out To: Visuwesh Cc: Ihor Radchenko , emacs-orgmode@gnu.org References: <87jzj7adfd.fsf@localhost> <87wmn7mv3h.fsf@web.de> <87h6eba6pm.fsf@localhost> <574bab16-4183-49f9-9691-c9e1665ffc4f@gmx.net> <878qzn1j1r.fsf@localhost> <0d0df2a7-0bd9-4985-8442-a205571fca66@gmx.net> <875xur1aql.fsf@localhost> <484850d7-6d2a-4178-9e30-f13b718ffc92@gmx.net> <8734pv14w6.fsf@localhost> <797a3e0a-b641-4a03-a024-ae055adb5380@gmx.net> <87plsy8vjb.fsf@gmail.com> <57b56164-65ec-4675-bb71-a1f4d4a3cd6d@gmx.net> <877cf47wso.fsf@gmail.com> From: Juergen Fenn Content-Language: en-GB, de-DE In-Reply-To: <877cf47wso.fsf@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:coLVlnxBC7BWhDYNtYiwibKQQjqYV3mf4kF2w+OiQnsg8JHrnPg tZXGu+OokavQJOjEEWMiafGRkqEX0osNnKIJLif19oTzFJ0DAAq60jIDrPH9AWyut4B2ozS gUg60z6ASMg/ugPJTXT9OuLE+Kps68mjCietg7xofYf9mZ4Xj5taiRiQs7pJLlgX/Y7bFW0 tVEeNx0xD+cfmH5QrJlCw== UI-OutboundReport: notjunk:1;M01:P0:TiCaizn4BGc=;xJWXvubeqtDF5BbkI2jyOaobten UdeWcq5TjPVQrhb4OtktV7f8EW4XtTay1g7SveAlU1xXPTWyAiplD8EZ11EaFvlXUF/XzDBk1 nnGv+pXTIZpeIjvhnWSJHh8M7vL4mZNwn/5MBeO+sx7NXgYGlBaBY770CtblAfPRPj8RAKVzS dM1/LiD2wtTHgnrbWDbnocEdaBbJuM2dm+Dfc3b08hR7ohfUcNrdOeGDsDfcViUTpdBQvvK5g VNBjy14W3RiIYOn5nyZgwMmxCCfmDJA0NHoCRNL/PMSq8QFcMzU/0EaMW6dHP3wDF8oGGlwAi o2+pO+mavQl/ViliU8jZ+StifiIIZnABU0s2RNYs4CZLX7NlOu9niGiXcd+uEG0GZmkXRrcU8 jppHTvznfZ8aO2mwsTnl7Wt+dmjxt7/PowmWfkfDp1j0GUsap6hnZUGlol2Od2JtGlsPM7PwB yyvnVpEF27WqsPGK7HjkjFZMlXXwhTYHHr3YafRrszLmRdPQnc6mMET1y2KNhCh0/zLETfFMj N2Fp1ZiefhYG9WVncDyi+G/GC8OQguCVDXnwL2X+Nxb0FipG8ot+a9vrUmNbVKBiYI6NPf38M G/tgtfL+7VPW6sh+FbXGxHldRUFUGCfWmQcc7Ufz4ZfvV6OyQNHwcpDi01VSO8owctR5xJzfw 4o+BukpwyzslgIvUNaytgly3wTDEqsVCt0MuVBnnsQj6AHlZkfTAliBuHHYaWmsD9zTFTkbjV pOEvid/NkFOZ22uJuzcqIAtoB95y46zszZYi7YP7Mxw63v7xhb9Hs5MIVc9mV9EVXSS6EU81C WqdwJgBaicnCyplAN27yupHTGFaXFZhHBAekoGi78a3cc= Received-SPF: pass client-ip=212.227.17.20; envelope-from=jfenn@gmx.net; helo=mout.gmx.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-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-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -9.51 X-Spam-Score: -9.51 X-Migadu-Queue-Id: 10E0266DA8 X-Migadu-Scanner: mx13.migadu.com X-TUID: vrMzD/HZbcDA Am 05.06.24 um 08:01 Uhr schrieb Visuwesh: >> M-x yank-media-types RET yields: >> >> Yank type: >> clipboard:image/tiff >> clipboard:STRING >> clipboard:text/plain > I'm afraid there's nothing much we can do. IIUC, you copy the file from > a file manager, so Org expects clipboard to be something like > > Possible completions are: > clipboard:x-special/gnome-copied-files > primary:... > > where clipboard:x-special/gnome-copied-files gives > > copy > file:///home/viz/tmp/2-gnus_stipple.png > > but given there's neither image/jpeg nor a special type like the above, > Org's yank-media copies the image/tiff data (the regexp used by Org > looks for mime-types that match the regexp "image/.*"). > I am guessing clipboard:text/plain contains the link to the file, am I > right? But this feels fragile to rely on. > > What happens when you copy multiple images to the clipboard from the > file manager? Is there a difference in yank-media-types' output? What > if you copy a non-image file to the clipboard? Say a PDF file. If I copy Command-c two different jpg files in Finder, Org seems not to be able to process any file. There is only clipboard:STRING clipboard:text/plain in the completions buffer, no image MIME type. When I try M-x yank-media RET I get the message: user-error: No handler in the current buffer for anything on the clipboard But it is getting even more weird when I try a different MIME type, say PDF, as you suggested. I've just tried the latest LaTeX News 39 which happens to be on my desktop. It has not been published yet, but you can easily compile it yourself from . Copy with Command-c from Finder, then M-x yank-media RET also yields: clipboard:image/tiff clipboard:STRING clipboard:text/plain While M-x yank-media RET yields: =2D--- * Test :ATTACH: :PROPERTIES: :ID: 105A314B-BCA8-41CC-8ED8-FA97F70AAE85 :END: [[attachment:clipboard-20240605T174306.tiff]] =2D---- and now I am indeed prompted for the =3DYank type=3D from the three option= s above. I can select with Cursor-up or Cursor-down. - If I select image/tiff the PDF is added in plain text, it seems. - Selecting STRING simply pastes the filename =3Dltnews39.pdf=3D to buffer= . - Selecting text/plain pastes the path to the file to buffer. > I don't have access to a Mac but if you can find documentation on how > Finder puts the relevant data in the clipboard, that would be useful. > [ In Linux, you expect the x-special/gnome-copied-files or somesuch > TARGET. ] I'm afraid I cannot provide this information because I am not a developer, so I don't know which documents to consult for this. I just would like to add that such internals in macOS may change over time. I'm on Ventura, which is not the latest version of macOS, that's Sonoma. Its successor macOS 15 will probably be released in a few months. Even the way self-compiled Emacs is run are said to vary from one version to another. I cannot tell because I did not compile Emacs before I switched to Ventura, but I trust such reports are true. Regards, J=C3=BCrgen.