emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bastien <bzg@gnu.org>
To: torys.anderson@gmail.com (Tory S. Anderson)
Cc: Adam Porter <adam@alphapapa.net>, orgmode list <emacs-orgmode@gnu.org>
Subject: Re: org-clip-link should be included in core
Date: Sat, 23 May 2020 17:14:27 +0200	[thread overview]
Message-ID: <87h7w6bs4s.fsf@gnu.org> (raw)
In-Reply-To: <87k11bsz2s.fsf@byu.edu> (Tory S. Anderson's message of "Sat, 16 May 2020 09:02:03 -0600")

Hi Tory,

thanks for reporting this here.

torys.anderson@gmail.com (Tory S. Anderson) writes:

> Per alphapapa's suggestion to bring this up to this list, it seems
> that everyone (doom, spacemacs, and individuals) are rolling their own
> of a functionality that should be included in core: the ability to
> de-linkify text at point, leaving just the text without orgmode
> surroundings. One person claims it's already in there, but I don't see
> anything like =clip-link= in the actual code from
> https://code.orgmode.org/bzg/org-mode/src/master/lisp.
>
> Discussion happening here:
> https://www.reddit.com/r/emacs/comments/gjm8q6/delinking_orgmode_text/

So IIUC the need is to easily remove the link part of a link.

I pushed a change to make this easier.  Now you can hit `C-c C-l' on
a link, empty the link part, keep the description and RET to get only
the description inserted as non-link text.

Let me know if this seems okay for you.

I'm copying Adam as he may comment on that too.

Thanks,

PS: In general, it is easier and faster for people who process emails
in this mailing list if you rephrase the problem so that we don't need
to check an external resource.

-- 
 Bastien


  reply	other threads:[~2020-05-23 15:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-16 15:02 Tory S. Anderson
2020-05-23 15:14 ` Bastien [this message]
2020-05-24  8:19   ` Adam Porter

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=87h7w6bs4s.fsf@gnu.org \
    --to=bzg@gnu.org \
    --cc=adam@alphapapa.net \
    --cc=emacs-orgmode@gnu.org \
    --cc=torys.anderson@gmail.com \
    --subject='Re: org-clip-link should be included in core' \
    /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

Code repositories for project(s) associated with this 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).