I've attached a working patch for ODT export that now only exports styles for the defined priority range. I tested locally with both alphabetic and numeric priorities. Since this patch changes how the styles are generated, should I also add an entry in ORG-NEWS?
Cheers, Derek On Sun, Jan 25, 2026 at 7:48 AM Derek Chen-Becker <[email protected]> wrote: > On Sun, Jan 25, 2026 at 4:33 AM Ihor Radchenko <[email protected]> > wrote: > >> Squashing will make sense. They are quite repetitive. >> > > Squashed commit (for all but ox-odt) attached. I also attached a commit to > add a better error message when an invalid action or value is passed to > `org-priority', as Jacob pointed out. > > >> As Jacob pointed, ox-odt fix does not look complete. >> I am not sure if introducing several dozens of styles for each priority >> value will be useful though (imagine editing that style file). >> Maybe we need to generate the style names dynamically in >> `org-odt-template'. > > > Agreed, I started looking at that last night. I see where I can generate > the styles, I just need to figure out the best way to do it. > > Cheers, > > Derek > > -- > +---------------------------------------------------------------+ > | Derek Chen-Becker | > | GPG Key available at https://keybase.io/dchenbecker and | > | https://pgp.mit.edu/pks/lookup?search=derek%40chen-becker.org | > | Fngrprnt: EB8A 6480 F0A3 C8EB C1E7 7F42 AFC5 AFEE 96E4 6ACC | > +---------------------------------------------------------------+ > > -- +---------------------------------------------------------------+ | Derek Chen-Becker | | GPG Key available at https://keybase.io/dchenbecker and | | https://pgp.mit.edu/pks/lookup?search=derek%40chen-becker.org | | Fngrprnt: EB8A 6480 F0A3 C8EB C1E7 7F42 AFC5 AFEE 96E4 6ACC | +---------------------------------------------------------------+
0001-ox-odt.el-Fix-formatting-of-numeric-priorities.patch
Description: Binary data
