[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC][PATCH v2] Allow to export to ascii custom link types as notes
From: |
Max Nikulin |
Subject: |
[RFC][PATCH v2] Allow to export to ascii custom link types as notes |
Date: |
Wed, 25 Oct 2023 22:16:41 +0700 |
User-agent: |
Mozilla Thunderbird |
On 23/10/2023 19:09, Ihor Radchenko wrote:
+ (if (string-match-p "\\`\u200b*\\[.*\\]\u200b*\\'" anchor)
+ anchor
+ (format "[%s]" anchor))
I did not mean unrelated to ox-ascii. I meant unrelated to "add new
feature allowing more flexibility for :export property of links when
exporting to ASCII".
Since "ox-ascii.el: Consistently add brackets around links" has been
committed, this regexp is not necessary to preserve inconsistencies in
link formatting. Avoiding duplication of brackets was just a bonus.
See next version of the draft. Functions are still not documented.
`cons' is made an implementation detail, however completely opaque
structure is an obstacle for derived export backend. Perhaps getter
functions should be introduced as well.
0001-test-ox-ascii.el-Test-custom-links.patch
Description: Text Data
0002-ox-ascii.el-Refactor-link-export.patch
Description: Text Data
0003-ox-ascii.el-Allow-to-export-custom-links-as-notes.patch
Description: Text Data
- Re: [RFC][PATCH] Allow to export to ascii custom link types as notes, (continued)
- Re: [RFC][PATCH] Allow to export to ascii custom link types as notes, Max Nikulin, 2023/10/22
- Re: [RFC][PATCH] Allow to export to ascii custom link types as notes, Ihor Radchenko, 2023/10/23
- Re: [RFC][PATCH] Allow to export to ascii custom link types as notes, Max Nikulin, 2023/10/23
- Re: [RFC][PATCH] Allow to export to ascii custom link types as notes, Ihor Radchenko, 2023/10/23
- Re: [RFC][PATCH] Allow to export to ascii custom link types as notes, Max Nikulin, 2023/10/24
- Re: [RFC][PATCH] Allow to export to ascii custom link types as notes, Ihor Radchenko, 2023/10/24
- [PATCH] ox-ascii.el: Consistently add brackets around links (was: Re: [RFC][PATCH] Allow to export to ascii custom link types as notes), Max Nikulin, 2023/10/24
- Re: [PATCH] ox-ascii.el: Consistently add brackets around links (was: Re: [RFC][PATCH] Allow to export to ascii custom link types as notes), Ihor Radchenko, 2023/10/25
- man pages references (Re: [PATCH] ox-ascii.el: Consistently add brackets around links), Max Nikulin, 2023/10/26
- Re: [RFC][PATCH] Allow to export to ascii custom link types as notes, Max Nikulin, 2023/10/27
- [RFC][PATCH v2] Allow to export to ascii custom link types as notes,
Max Nikulin <=