[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: export regions of a org files to other formats (most likely only to
From: |
Samuel Wales |
Subject: |
Re: export regions of a org files to other formats (most likely only to a buffer). |
Date: |
Thu, 26 May 2022 16:08:23 -0700 |
i would say that respecting narrowing is expected in emacs, as a kind
of pseudo-buffer bob/eob, so it would be surprising to find that it
might not be so in a part of org. lack of it should be mentioned, but
might be a bug.
On 5/25/22, Ihor Radchenko <yantar92@gmail.com> wrote:
> Uwe Brauer <oub@mat.ucm.es> writes:
>
>>> Could you please clarify which part of the function docstring was not
>>> clear?
>>
>> Well
>> | org-export-dispatch is an interactive compiled Lisp function in
>> | ‘ox.el’.
>> |
>> | (org-export-dispatch &optional ARG)
>> ...
>>
>> Does not mention, that a selected region gets exported.
>
> Fair enough.
> Ironically, it is not even wrong. Looking at the source code, respecting
> region is merely a convention coming from most of backends calling
> `org-export-as'.
>
> As one possibility, we can add something like the following to the
> docstring:
>
> "Usually, exporting respects current narrowing and active region, though
> individual export backends might not follow the convention. See
> `org-export-as' for more details."
>
> Alternatively, we can modify `org-export-define-backend' to change the
> docstring with links to individual backend exporters.
>
> Or we may modify the dispatcher menu to indicate active region. Though
> it is not guaranteed to be obeyed by the backends.
>
> Best,
> Ihor
>
>
--
The Kafka Pandemic
A blog about science, health, human rights, and misopathy:
https://thekafkapandemic.blogspot.com
- export regions of a org files to other formats (most likely only to a buffer)., Uwe Brauer, 2022/05/25
- Re: export regions of a org files to other formats (most likely only to a buffer)., William Denton, 2022/05/25
- Re: export regions of a org files to other formats (most likely only to a buffer)., Uwe Brauer, 2022/05/25
- Re: export regions of a org files to other formats (most likely only to a buffer)., Ihor Radchenko, 2022/05/25
- Re: export regions of a org files to other formats (most likely only to a buffer)., Uwe Brauer, 2022/05/26
- Re: export regions of a org files to other formats (most likely only to a buffer)., Ihor Radchenko, 2022/05/26
- Re: export regions of a org files to other formats (most likely only to a buffer)., Uwe Brauer, 2022/05/26
- Re: export regions of a org files to other formats (most likely only to a buffer).,
Samuel Wales <=
- Re: export regions of a org files to other formats (most likely only to a buffer)., Samuel Wales, 2022/05/26
- Re: export regions of a org files to other formats (most likely only to a buffer)., Ihor Radchenko, 2022/05/27
Re: export regions of a org files to other formats (most likely only to a buffer)., Kaushal Modi, 2022/05/25
Re: export regions of a org files to other formats (most likely only to a buffer)., Eric S Fraga, 2022/05/25