[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] SUMMARY: [Feature Request] Make property-drawers exportable
From: |
Thorsten Jolitz |
Subject: |
Re: [O] SUMMARY: [Feature Request] Make property-drawers exportable |
Date: |
Wed, 25 Sep 2013 14:12:41 +0200 |
User-agent: |
Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.3 (gnu/linux) |
Nicolas Goaziou <address@hidden> writes:
Hello,
> There may be a slightly different option available: we can introduce
> a new defcustom, e.g., `org-export-with-node-properties' (what symbol to
> use for short item in OPTIONS?), which will trigger the following
> behaviour:
>
> - when t, export completely all property drawers as examples;
>
> - when nil, do not export property drawers (default value);
>
> - when set to a list of strings, export property drawers as examples
> but only include properties matching these strings;
with the last option as "list of strings or regexp's" this would be
exactly what I would have needed in some practical use cases, and it
seems to be just natural given the dual nature of property drawers
(storage for Org-mode-internal data and storage for use-case related
data).
With 'strings or regexp's' I mean that it should be possible to match on
key-prefixes, like FOO in the following example
* My Header
:PROPERTIES:
:CUSTOM_ID: ABC123
:FOO_BAR: 13
:FOO_FOO: bar bar
:END:
no matter if the user actually has to give a regexp or if ox.el takes care of
bulding a regexp from a given string like
,----------------------------------------------
| (let ((rgxp (concat strg "[_-[:word:]]*"))))
`----------------------------------------------
or so...
--
cheers,
Thorsten
- Re: [O] SUMMARY: [Feature Request] Make property-drawers exportable, (continued)
- Re: [O] SUMMARY: [Feature Request] Make property-drawers exportable, Carsten Dominik, 2013/09/25
- Re: [O] SUMMARY: [Feature Request] Make property-drawers exportable, Nicolas Goaziou, 2013/09/25
- Re: [O] SUMMARY: [Feature Request] Make property-drawers exportable, Carsten Dominik, 2013/09/25
- Re: [O] SUMMARY: [Feature Request] Make property-drawers exportable, Nicolas Goaziou, 2013/09/25
- Re: [O] SUMMARY: [Feature Request] Make property-drawers exportable, Carsten Dominik, 2013/09/26
- Re: [O] SUMMARY: [Feature Request] Make property-drawers exportable, Nicolas Goaziou, 2013/09/26
- Re: [O] SUMMARY: [Feature Request] Make property-drawers exportable, Carsten Dominik, 2013/09/26
- Re: [O] SUMMARY: [Feature Request] Make property-drawers exportable, Nicolas Goaziou, 2013/09/26
- Re: [O] SUMMARY: [Feature Request] Make property-drawers exportable, Carsten Dominik, 2013/09/26
- Re: [O] SUMMARY: [Feature Request] Make property-drawers exportable, Christian Moe, 2013/09/25
- Re: [O] SUMMARY: [Feature Request] Make property-drawers exportable,
Thorsten Jolitz <=