emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Samuel Wales <samologist@gmail.com>
To: Ihor Radchenko <yantar92@posteo.net>
Cc: Luca Ferrari <fluca1978@gmail.com>,
	emacs-org list <emacs-orgmode@gnu.org>
Subject: Re: copying text from links makes it with a starting [[
Date: Fri, 13 Jan 2023 17:06:33 -0700	[thread overview]
Message-ID: <CAJcAo8vX8ye0gn+_1V_9f1jyXG6mreHN0kJ7oWb=EKc5iw5w4Q@mail.gmail.com> (raw)
In-Reply-To: <87h6wu7rpl.fsf@localhost>

what i do is the dumb solution.  c-c c-l, kill the url, c-g.

On 1/13/23, Ihor Radchenko <yantar92@posteo.net> wrote:
> Luca Ferrari <fluca1978@gmail.com> 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: <https:test.asd/]]s>)
>
> 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 <https://orgmode.org/>.
> Support Org development at <https://liberapay.com/org-mode>,
> or support my work at <https://liberapay.com/yantar92>
>
>


-- 
The Kafka Pandemic

A blog about science, health, human rights, and misopathy:
https://thekafkapandemic.blogspot.com


  reply	other threads:[~2023-01-14  0:07 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-27 13:06 copying text from links makes it with a starting [[ Luca Ferrari
2022-12-27 13:26 ` Ihor Radchenko
2023-01-12  7:42   ` Luca Ferrari
2023-01-12  8:32     ` tomas
2023-01-12  9:15     ` Ruijie Yu via General discussions about Org-mode.
2023-01-13  8:40     ` Ihor Radchenko
2023-01-14  0:06       ` Samuel Wales [this message]
2022-12-27 14:34 ` Esteban Ordóñez
2022-12-27 14:42   ` Esteban Ordóñez
2022-12-27 15:20 ` Max Nikulin

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

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJcAo8vX8ye0gn+_1V_9f1jyXG6mreHN0kJ7oWb=EKc5iw5w4Q@mail.gmail.com' \
    --to=samologist@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=fluca1978@gmail.com \
    --cc=yantar92@posteo.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).