emacs-orgmode
[Top][All Lists]
Advanced

[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: Uwe Brauer
Subject: Re: export regions of a org files to other formats (most likely only to a buffer).
Date: Thu, 26 May 2022 22:00:05 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

>>> "IR" == Ihor Radchenko <yantar92@gmail.com> writes:

> 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."

I think this is fine, at least for me. Not sure what others think.




-- 
I strongly condemn Putin's war of aggression against the Ukraine.
I support to deliver weapons to Ukraine's military. 
I support the ban of Russia from SWIFT.
I support the EU membership of the Ukraine. 

Attachment: smime.p7s
Description: S/MIME cryptographic signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]