[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] org-agenda.el: Rename org-agenda-format-item parameters
From: |
Renato Ferreira |
Subject: |
Re: [PATCH] org-agenda.el: Rename org-agenda-format-item parameters |
Date: |
Tue, 30 Mar 2021 17:21:44 -0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
On Mon, 29 Mar 2021 23:20:02 -0400, Kyle Meyer <kyle@kyleam.com> said:
> Presumably you arrived at this patch because you hit into a particular
> issue (related the lexical binding conversion in 129c33ddd).
> Could you provide a reproducer (or at least a description) for that
> problem? That'd be useful for reviewing this patch, as well as
> assessing if the conversion has other similar issues.
Sure:
```org
* TODO Header
** TODO Subheader
* Setup
#+begin_src emacs-lisp :results none
(setq org-agenda-prefix-format '((agenda . " %i %-12:c%?-12t% s")
(todo . "% l %i %-12:c")
(tags . " %i %-12:c")
(search . " %i %-12:c"))
org-agenda-files (list (buffer-file-name
(current-buffer))))
(org-todo-list "TODO")
#+end_src
```
Note the "% l" on the todo format to use level variable.
Evaluating this will result in "if: Symbol’s value as variable is void:
level" in commit 68db6fc06.
--
Att.,
Renato Ferreira