Hello,
Vinicius Vinicius <vinicius.vin@yandex.com> writes:
> While {{{title}}} concatenates multiple #+TITLE lines, {{{author}}} retrieves only the first one.
>
> MWE:
> #+TITLE: Foo
> #+TITLE: Foo2
>
> #+AUTHOR: First Author
> #+AUTHOR: Second Author
>
> {{{title}}} vs {{{author}}}
Fixed.
Thank you.
Regards,
--
Nicolas Goaziou
[-- Attachment #1: Type: text/html, Size: 1250 bytes --] [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: 0001-fix.patch --] [-- Type: text/x-diff; name="0001-fix.patch", Size: 913 bytes --] From 5deedcb12948ed37197a0c0d883dda4a7bb42bf3 Mon Sep 17 00:00:00 2001 From: Vinicius <vinicius.vin@yandex.com> Date: Mon, 25 Oct 2021 14:47:48 +0000 Subject: [PATCH 1/1] fix keyword macro --- lisp/org-macro.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org-macro.el b/lisp/org-macro.el index 5f253ad8a..749df4ea8 100644 --- a/lisp/org-macro.el +++ b/lisp/org-macro.el @@ -175,7 +175,7 @@ a file, \"input-file\" and \"modification-time\"." modtime)))))))) ;; Install generic macros. '(("keyword" . (lambda (arg1 &rest _) - (org-macro--find-keyword-value arg1))) + (org-macro--find-keyword-value arg1 t))) ("n" . (lambda (&optional arg1 arg2 &rest _) (org-macro--counter-increment arg1 arg2))) ("property" . (lambda (arg1 &optional arg2 &rest _) -- 2.25.1
Hello,
Vinicius Vinicius <vinicius.vin@yandex.com> writes:
> It seems the same should apply for keyword command (from doc: "The ‘keyword’ macro collects all values from NAME keywords throughout the buffer, separated with white space."). Hope the attached
> patch can fix it.
Applied. Thank you.
Regards,
--
Nicolas Goaziou