[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] ox.el: Customize org-export-dispatch options
From: |
Ihor Radchenko |
Subject: |
Re: [PATCH] ox.el: Customize org-export-dispatch options |
Date: |
Sat, 15 Apr 2023 09:49:33 +0000 |
Jim Wisniewski <wisnij@gmail.com> writes:
> Here's a small enhancement I wrote to add customizable variables for the
> `org-export-dispatch' UI options that don't already have one. I almost always
> export with "Body only" switched on, and I got tired of manually toggling it
> each time; while I was at it I also added variables for "Visible only" and
> "Force publishing", because why not. Hopefully others will find this helpful
> as
> well.
Thanks! Looks like reasonable addition. See some minor comments below.
> I sent in the copyright assignment form but haven't gotten the contract back
> to
> sign yet.
FSF should reply within 5 working days. If not, follow up with them once.
> * doc/org-manual.org: Document the new export variables.
In addition to the manual, please announce the new customization options
in etc/ORG-NEWS.
> +(defcustom org-export-body-only nil
> + "The initial \"Body only\" setting when exporting with
> `org-export-dispatch'.
> +Non-nil means only export body code, without the surrounding
> +template."
> + :group 'org-export-general
> + :version "30.0"
Here, and in other new options, :version is not needed.
> + :package-version '(Org . "9.7")
> + :type 'boolean)
You can also add :safe keyword as these options are safe to set as
buffer-locals.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
- [PATCH] ox.el: Customize org-export-dispatch options, Jim Wisniewski, 2023/04/15
- Re: [PATCH] ox.el: Customize org-export-dispatch options,
Ihor Radchenko <=
- Re: [PATCH] ox.el: Customize org-export-dispatch options, Jim Wisniewski, 2023/04/15
- Re: [PATCH] ox.el: Customize org-export-dispatch options, Ihor Radchenko, 2023/04/16
- Re: [PATCH] ox.el: Customize org-export-dispatch options, Jim Wisniewski, 2023/04/19
- Re: [PATCH] ox.el: Customize org-export-dispatch options, Ihor Radchenko, 2023/04/20
- Re: [PATCH] ox.el: Customize org-export-dispatch options, Jim Wisniewski, 2023/04/21
- Re: [PATCH] ox.el: Customize org-export-dispatch options, Ihor Radchenko, 2023/04/22
Re: [PATCH] ox.el: Customize org-export-dispatch options, Max Nikulin, 2023/04/15