Re: Feature request: Allow export to convert broken links to plain text

2023-09-11 Thread Berry, Charles
Ryan, > On Sep 9, 2023, at 9:13 PM, Ryan C. Thompson wrote: > > So, this isn't an ideal solution, since it requires me to prefix any > potential offending links with "maybe:". But it's good enough for me. > It is good that you have a solution, albeit with the caveat you mention above. A coup

Re: Feature request: Allow export to convert broken links to plain text

2023-09-09 Thread Ryan C. Thompson
On 1/13/19 5:34 PM, Berry, Charles wrote: Looks like your original idea to revise `org-export-data' might be best. IIUC, you need to add the link text to the SIGNAL-DATA in each of the places where `org-export-resolve-*-link' functions call `signal', then modify `org-export-data' to ignore th

Re: Feature request: Allow export to convert broken links to plain text

2023-04-17 Thread Ihor Radchenko
Janek Fischer writes: > I am looking for exactly the feature in > https://lists.gnu.org/r/emacs-orgmode/2019-01/msg00203.html: > I have a note with many links, but would like to export that note as landing > page as text stripped of links. > > Has there been any progress in the last 4 years on

Re: Feature request: Allow export to convert broken links to plain text

2023-04-15 Thread Hanno Perrey
Hej Janek, > I have a note with many links, but would like to export that note as > landing page as text stripped of links. I have had a similar need recently where I wanted to export a document filled with inks to org-roam nodes and other org headlines via id links. I was able to strip the lin

Feature request: Allow export to convert broken links to plain text

2023-04-14 Thread Janek Fischer
I am looking for exactly the feature in https://lists.gnu.org/r/emacs-orgmode/2019-01/msg00203.html: I have a note with many links, but would like to export that note as landing page as text stripped of links. Has there been any progress in the last 4 years on this, or any hint on how to get thi

Re: [O] Feature request: Allow export to convert broken links to plain text

2019-01-13 Thread Berry, Charles
> On Jan 13, 2019, at 1:33 PM, Ryan Thompson wrote: > > Hi, > > This sounds like a good idea, but unfortunately it seems that the > `broken-links:mark' option doesn't preserve the text of the link. In fact, > looking at the source, the code that handles broken link errors doesn't even > ha

Re: [O] Feature request: Allow export to convert broken links to plain text

2019-01-13 Thread Ryan Thompson
Hi, This sounds like a good idea, but unfortunately it seems that the `broken-links:mark' option doesn't preserve the text of the link. In fact, looking at the source, the code that handles broken link errors doesn't even have access to the link's text, only the link target, so it's already too la

Re: [O] Feature request: Allow export to convert broken links to plain text

2019-01-13 Thread Berry, Charles
> On Jan 12, 2019, at 12:38 PM, Ryan Thompson wrote: > > 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

Re: [O] Feature request: Allow export to convert broken links to plain text

2019-01-12 Thread Ryan Thompson
(Apologies for the double post of this email; due to a misconfiguration of my mailer, I believed my first email hadn't gone through until I remembered to check the archives.) On Sat, Jan 12, 2019 at 12:38 PM Ryan Thompson wrote: > Hi all, > > I have a use case where I'd like for Org Mode to remo

[O] Feature request: Allow export to convert broken links to plain text

2019-01-12 Thread Ryan Thompson
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

[O] Feature request: Allow export to convert broken links to plain text

2019-01-05 Thread Ryan Thompson
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