From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ryan Thompson Subject: Feature request: Allow export to convert broken links to plain text Date: Sat, 5 Jan 2019 15:57:22 -0500 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000a344c5057ebc3ec9" Return-path: Received: from eggsout.gnu.org ([209.51.188.92]:46579 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gft0k-0008J8-B8 for emacs-orgmode@gnu.org; Sat, 05 Jan 2019 15:57:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gft0i-0003xt-NN for emacs-orgmode@gnu.org; Sat, 05 Jan 2019 15:57:38 -0500 Received: from mail-vk1-xa2b.google.com ([2607:f8b0:4864:20::a2b]:37765) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gft0i-0003xI-Aw for emacs-orgmode@gnu.org; Sat, 05 Jan 2019 15:57:36 -0500 Received: by mail-vk1-xa2b.google.com with SMTP id 197so8657200vkf.4 for ; Sat, 05 Jan 2019 12:57:35 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Org-Mode List --000000000000a344c5057ebc3ec9 Content-Type: text/plain; charset="UTF-8" Hi all, I have a use case where I'd like for Org Mode to remove broken links while preserving their text when exporting. In particular, I'm exporting the same file multiple times with different sets of headlines excluded each time, and as a result I have to be careful of linking to headlines that might not be present in every export. It would be much easier if such links could simply be converted back to plain text for that export, while remaining as a link for any exports that *do* include the target headline. None of the existing settings do quite what I want. The "mark" option comes closest. I basically want "mark" but without adding any additional text around the link's text. Would the developers be willing to merge such a feature if I wrote it? I would add another possible value to "org-export-with-broken-links", perhaps calling it something like "unlink" or "strip". Thanks, Ryan Thompson --000000000000a344c5057ebc3ec9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi all,

I have a use case where I'd= like for Org Mode to remove broken links while preserving their text when = exporting. In particular, I'm exporting the same file multiple times wi= th different sets of headlines excluded each time, and as a result I have t= o be careful of linking to headlines that might not be present in every exp= ort. It would be much easier if such links could simply be converted back t= o plain text for that export, while remaining as a link for any exports tha= t *do* include the target headline. None of the existing settings do quite = what I want. The "mark" option comes closest. I basically want &q= uot;mark" but without adding any additional text around the link's= text. Would the developers be willing to merge such a feature if I wrote i= t? I would add another possible value to "org-export-with-broken-links= ", perhaps calling it something like "unlink" or "strip= ".

Thanks,

Ryan Thom= pson
--000000000000a344c5057ebc3ec9--