Hi,

Nicolas Goaziou <m...@nicolasgoaziou.fr> writes:

>> Unfortunately, BEAMER_OPTs are wrapped in square brackets thanks to
>> org-beamer--normalize-argument, so the above won't actually work (see
>> org-beamer--format-block).  From the looks of it I'd be willing to call it
>> a bug, but Nicolas may have had something in mind.
>
> IIRC it was a pre-8.0 feature already. In any case, it allows sloppy
> writing for options, i.e., with or without square brackets.

The third argument is hard-coded to 'option in org-beamer--format-block
ATM.

>> Perhaps these days it would be nice to allow the third element of
>> org-beamer-environments-extra to be a λ taking either the object or so.
>> Then again, perhaps this is an overkill and too low-level.
>
> More simply, we can also add placeholders in templates, e.g.,
>
>   %R raw action specification
>   %O raw options argument
>
> WDYT?

Indeed.  That's the incremental fix.

Rasmus

-- 
9000!

Reply via email to