Re: [PATCH] lisp/ox-html.el: Move the space after exported section number

2021-05-03 Thread Bastien
Hi Mingkai, thanks a lot for the analysis and the diff, it helps a lot. I pushed this change: https://code.orgmode.org/bzg/org-mode/commit/dfdd5cd0 Keeping the headline numbering consistent with the TOC numbering seems the right thing to do here. Thanks! -- Bastien

Re: [PATCH] lisp/ox-html.el: Move the space after exported section number

2021-05-03 Thread Mingkai Dong
Hi Bastien, At the end of the mail is the output of `diff old.html new.html`, most differences are caused by time and randomly generated ids. The only exception is the Table-of-Content entries, which now has two spaces before each section title. I find that the org-html--format-toc-headline funct

Re: [PATCH] lisp/ox-html.el: Move the space after exported section number

2021-05-03 Thread Bastien
Hi Mingkai, Mingkai Dong writes: > * ox-html.el (org-html-headline, org-html-format-headline-default-function): > delete the space after the section number span format and add it back in > org-html-format-headline-default-function. It looks good, thanks. Can you show the exact difference by co

[PATCH] lisp/ox-html.el: Move the space after exported section number

2021-05-03 Thread Mingkai Dong
* ox-html.el (org-html-headline, org-html-format-headline-default-function): delete the space after the section number span format and add it back in org-html-format-headline-default-function. The requirement is well described in the reddit post https://www.reddit.com/r/emacs/comments/bv8rli/org_m