From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id 2PSnDUnywWPtvwAAbAwnHQ (envelope-from ) for ; Sat, 14 Jan 2023 01:07:37 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id 2BOUDEnywWMANAEAG6o9tA (envelope-from ) for ; Sat, 14 Jan 2023 01:07:37 +0100 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 CE1353F550 for ; Sat, 14 Jan 2023 01:07:36 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pGU4F-00082m-KN; Fri, 13 Jan 2023 19:06:39 -0500 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 1pGU4E-00082J-Ns for emacs-orgmode@gnu.org; Fri, 13 Jan 2023 19:06:38 -0500 Received: from mail-lj1-x22f.google.com ([2a00:1450:4864:20::22f]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pGU4C-0007oq-J0 for emacs-orgmode@gnu.org; Fri, 13 Jan 2023 19:06:38 -0500 Received: by mail-lj1-x22f.google.com with SMTP id q2so24079662ljp.6 for ; Fri, 13 Jan 2023 16:06:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=8BEHpc7VkSLswyah2bJtOvOEnmjEpuvHA5sMkitCoWs=; b=ck8PpwnzQbUpNjn0fgI2JsmPQzqjOUekKB89KU1Y2rpzDzvfVkvj5KcOqTnMDD8pTA DeE7WjUja/INYKNAEXm1uqqnPD6NTpeXvVHtg7zpedt97wINjb7S/sFit10K4yhIDxYa fYn1t72T7iIxeZWa/cQMqD049uLSx7hLqS6o6qMKIFaeV1HsgM8KOwxLw2HukVl5fz+R ysRfhvo+rW7THRPQCeQgwaOB5cd4XLDxiuZR81yQt5iyJecijOQENgHqLFKGz4xb3ix/ cVwPuDpaiHcRhT22wwJCAx9qzdguY6E+90FsqIl2BvANTu5QT4USm0d9J1AhrHkkj0Ao A1BA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:references:in-reply-to :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8BEHpc7VkSLswyah2bJtOvOEnmjEpuvHA5sMkitCoWs=; b=KTubIaNRupNaPX+8hBivYN5E1hiBdG1Vo5R1yCIqpM/dQ75mYHM1tWuno2Mk98RPs/ /GuTluEkBOqFFG5SsvcHbH1OxBFmDKj22kIT09WdqMs0tB6vOnu4JxpV1X8XCLC5AxB2 WmerBz3Kov1Yy63lHf8/jSBomuiiDKqP0jGKZtyWedcuaT6Al35lPJMAEVflWo/NYDxW bBNjK69600VCQH0rDL0RNWmaMQuCitv1zp3UYISmsQ7IltQJeftwvay9pl2aIvbulYW2 oapeLEnCpuuRciJcGdNVL5Tzm0yTBN8N07bnIkKXBCWa7PBcq4Op0F+KAMFtP0CuJQpv /BGQ== X-Gm-Message-State: AFqh2kr8ypWIp5oPRjFiRgVI0kbz6CyDIhxhAVJUnGjR1fS2dDfZuM/e JmAfatk71rjbr3qKNwdqgrITH2ulNsQfhwgqj+I= X-Google-Smtp-Source: AMrXdXuCs5UeqH2SvAGjJKVsbzMwFgJyDLHkRtYJk1AowuDEygEdEulRgmTLjT8cKQ0SG1+n4QH2IBdPpc6Ua+1xTa8= X-Received: by 2002:a2e:a26a:0:b0:285:3383:6635 with SMTP id k10-20020a2ea26a000000b0028533836635mr1439133ljm.323.1673654794402; Fri, 13 Jan 2023 16:06:34 -0800 (PST) MIME-Version: 1.0 Received: by 2002:aa6:c266:0:b0:23b:5e81:46ba with HTTP; Fri, 13 Jan 2023 16:06:33 -0800 (PST) In-Reply-To: <87h6wu7rpl.fsf@localhost> References: <877cyd2d12.fsf@localhost> <87h6wu7rpl.fsf@localhost> From: Samuel Wales Date: Fri, 13 Jan 2023 17:06:33 -0700 Message-ID: Subject: Re: copying text from links makes it with a starting [[ To: Ihor Radchenko Cc: Luca Ferrari , emacs-org list Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::22f; envelope-from=samologist@gmail.com; helo=mail-lj1-x22f.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=ck8Ppwnz; 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=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1673654856; a=rsa-sha256; cv=none; b=UF0OM6ESaJtWwC0/yGcWKZMtL5bCd2ff0/K0/UGskwb3OytCpr3ULTSo+CIUj7ii8wEjoX CYrcOVL0IVPTSpeuJnPL/jo7CwNX/aCffwr14m9vSpfAYzMgsulDF1kgzey4bTz8mCHLKG sjIo3288B9g+ovdB/tzpkfSrrHxEhVf37fZoHSwCY8XhB04/HInSIgwSGT3MNqWcq/oDwD JGKix3RZxVV/vZQVqbT7LKguhZBtZOrN5o8BnSUIQ6PDGcaBuCYK/c2Hnsp2QI3F0kLc95 xGJ3EjhufJ1SfKsQlaMaaFdiNczcNGDDpW+W/vFO3UbtK+l6QBkBLYAflKr5NA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1673654856; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=8BEHpc7VkSLswyah2bJtOvOEnmjEpuvHA5sMkitCoWs=; b=dICooY423DLbjkC+kXyEFuBEM06+8Iwr0RAoJIrzYRuv8Km82JkW6N8Bcv0x/LtWEKU0ip ecFt6kD774iT4NG+faLqgyZ5Dcae4zS0iiq+3fbdhj8bMpF8l1Vxh7erpuwj3kbnkjDK6G UsP0RPgUWH/hrGw+EUc0+yt6QEQGCRF1aaA7IVnlVUscSF56Oi1JPHWRQQwO095qqu4m9C eH6J/wh0CQUBuuTQiXH44m6x+DNucAnU0TGHPvsmZs2+MRPs8sbYv7Qyd4ok30Q7xzXaAn vtYXdWN0nRHk/OEud9AwvDqT7e42EVK6pVhcKa6A21xfeqgJx53Npc2j4V6mIA== X-Migadu-Queue-Id: CE1353F550 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=ck8Ppwnz; 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=none) header.from=gmail.com X-Migadu-Spam-Score: -4.75 X-Spam-Score: -4.75 X-TUID: lTlSQTMVcToD what i do is the dumb solution. c-c c-l, kill the url, c-g. On 1/13/23, Ihor Radchenko wrote: > Luca Ferrari writes: > >>> What exactly do you do to copy the link? >>> See https://orgmode.org/manual/Feedback.html#Feedback >>> >> >> Imagine I've this org fragment: >> >> Link: [[https://foo.com]] >> >> where the link is displayed without brackets, in org mode. >> I place the point at the beginning of the first visibile character, >> hence the 'h', and the C-space M-e M-w and then go to another >> application and paste the content of the clipboard. > > Then, brackets being included is expected behaviour. Org cannot really > know whether you want to copy link as actual link or as Org markup. > > If your link also contains escaped symbols, copying becomes even more > tricky: [[https:test.asd/\]\]s]] (original link: ) > > I am not sure what would be the best interface in your situation other > than creating a dedicated function to copy the link address. > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at > > -- The Kafka Pandemic A blog about science, health, human rights, and misopathy: https://thekafkapandemic.blogspot.com