François Pinard <pin...@iro.umontreal.ca> wrote: > Hi, Org mode people. > > I sometimes want to turn [[POINTER][COMMENT]] into COMMENT. That is, I > want to remove the clickability, but retain the text. > > To do so, I try `C-c C-l', empty the pointer, type RET, leave the > comment as it is, and type RET. Org mode reacts by writing "Empty link" > in the minibuffer, and removing the COMMENT from the text. >
This is done by org-make-link-string: it considers an empty link to be an error. If you toggle-debug-on-error, you will get a backtrace. > Could it keep COMMENT in the text, instead of deleting it? > IMO, that'd be bad programming practice: you should write a separate function that unlinks the link. Nick