emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-clip-link should be included in core
@ 2020-05-16 15:02 Tory S. Anderson
  2020-05-23 15:14 ` Bastien
  0 siblings, 1 reply; 3+ messages in thread
From: Tory S. Anderson @ 2020-05-16 15:02 UTC (permalink / raw)
  To: orgmode list

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/


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: org-clip-link should be included in core
  2020-05-16 15:02 org-clip-link should be included in core Tory S. Anderson
@ 2020-05-23 15:14 ` Bastien
  2020-05-24  8:19   ` Adam Porter
  0 siblings, 1 reply; 3+ messages in thread
From: Bastien @ 2020-05-23 15:14 UTC (permalink / raw)
  To: Tory S. Anderson; +Cc: Adam Porter, orgmode list

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: org-clip-link should be included in core
  2020-05-23 15:14 ` Bastien
@ 2020-05-24  8:19   ` Adam Porter
  0 siblings, 0 replies; 3+ messages in thread
From: Adam Porter @ 2020-05-24  8:19 UTC (permalink / raw)
  To: Bastien; +Cc: orgmode list, Tory S. Anderson

On Sat, May 23, 2020 at 10:14 AM Bastien <bzg@gnu.org> wrote:

> 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.

That seems like an elegant solution.  Thanks, Bastien.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-05-24  8:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-16 15:02 org-clip-link should be included in core Tory S. Anderson
2020-05-23 15:14 ` Bastien
2020-05-24  8:19   ` Adam Porter

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).