org-mode/doc
Alexander Adolf 5a98b4c563
lisp/org-colview.el: Add formatter parameter to colview dynamic block
* lisp/org-colview.el (org-dblock-write:column view): Factor out the
existing formatting code to new function
`org-columns-dblock-write-default', and honour new dblock parameter
:formatter for specifying a different formatting function.
(org-columns-dblock-write-default): New function with current
formatting code.
(org-columns--capture-view): Amend docstring to better explain the
format of the data being passed to the formatting function.
(org-clock-clocktable-formatter): New option to define a global
default formatting function, defaulting to the current behaviour.
* testing/lisp/test-org-colview.el (test-org-colview/dblock): New test
for formatting function.
(test-org-colview/dblock-formatter): New function used in formatting
test.
* doc/org-manual.org (Capturing column view): Describe new :formatter
parameter.
* etc/ORG-NEWS (New option ~org-columns-dblock-formatter~): Announce
new option.
(=colview= dynamic block supports custom formatting function):
Describe new custom formatting function feature.
2024-04-26 15:44:44 +03:00
..
.aspell.org.conf Fix typos 2019-11-16 17:17:36 -05:00
.nosearch Add .nosearch file to the doc/ subdirectory. 2008-12-17 17:25:31 +01:00
Documentation_Standards.org org-manual: Inline single-sentence footnotes 2022-10-04 10:18:26 +08:00
Makefile doc/Makefile: Limit memory consumption when generating docs 2022-06-17 13:18:39 +08:00
dir Add org-guide.org to the build process 2019-03-19 02:25:18 +01:00
doc-setup.org Backport commit 8e1c56ae4 from Emacs 2024-01-06 15:48:23 -05:00
fdl.org Prefer HTTPS to HTTP in most links 2021-03-21 15:21:22 -04:00
htmlxref.cnf Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
org-guide.org Merge branch 'bugfix' 2024-01-06 16:02:02 -05:00
org-manual.org lisp/org-colview.el: Add formatter parameter to colview dynamic block 2024-04-26 15:44:44 +03:00
orgcard.tex orgcard.tex: Allow correct rendering in PDF format and US letter page size 2024-01-17 12:42:37 +01:00
pdflayout.sty Prefer HTTPS to HTTP for links to gnu.org 2021-03-21 14:29:13 -04:00
texinfo.tex Prefer HTTPS to HTTP in most links 2021-03-21 15:21:22 -04:00