Re: [O] unlinking links

2014-12-11 Thread Nicolas Goaziou
Adam Spiers writes: >> FWIW, I don't think it is useful enough for inclusion in core. > > Why not? Because we cannot possibly stuff everything related to Org in core. The function saves a few keystrokes, but considering how often I expect it to be used, the benefit from using it seems rather ne

Re: [O] unlinking links

2014-12-10 Thread Adam Spiers
On Thu, Dec 04, 2014 at 06:07:53PM +0100, Nicolas Goaziou wrote: > Adam Spiers writes: > > On Thu, Nov 06, 2014 at 08:30:08PM -0500, John Kitchin wrote: > >> Adam Spiers writes: > >> > Is it just me or is there no quick way to remove the link from some > >> > hyperlinked text? If so, please consi

Re: [O] unlinking links

2014-12-04 Thread Nicolas Goaziou
Hello, Adam Spiers writes: > On Thu, Nov 06, 2014 at 08:30:08PM -0500, John Kitchin wrote: >> Adam Spiers writes: >> > Is it just me or is there no quick way to remove the link from some >> > hyperlinked text? If so, please consider this a feature request ;-) >> >> Try this: >> >> (defun unli

Re: [O] unlinking links

2014-12-04 Thread Adam Spiers
On Thu, Nov 06, 2014 at 08:30:08PM -0500, John Kitchin wrote: > Adam Spiers writes: > > Is it just me or is there no quick way to remove the link from some > > hyperlinked text? If so, please consider this a feature request ;-) > > Try this: > > (defun unlinkify () > "replace an org-link with

Re: [O] unlinking links

2014-11-06 Thread John Kitchin
Adam Spiers writes: Try this: (defun unlinkify () "replace an org-link with the path, or description." (interactive) (let ((eop (org-element-context))) (when (eq 'link (car eop)) (message "%s" eop) (let* ((start (org-element-property :begin eop)) (end (org-element-pr

[O] unlinking links

2014-11-06 Thread Adam Spiers
Hi all, Is it just me or is there no quick way to remove the link from some hyperlinked text? If so, please consider this a feature request ;-) Regards, Adam