[-- Attachment #1: Type: text/plain, Size: 8897 bytes --] worked at least with 9.1.x, but not anymore * test dfgfas {{{author}}} dasfas Emacs : GNU Emacs 26.3 (build 1, x86_64-w64-mingw32) of 2019-11-01 Package: Org mode version 9.3.6 (9.3.6-23-g01ee25-elpaplus @ c:/Users/mda/.emacs.d/elpa/org-plus-contrib-20200309/) current state: ============== (setq org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-link-shell-confirm-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-html-format-inlinetask-function 'org-html-format-inlinetask-default-function org-odt-format-headline-function 'org-odt-format-headline-default-function org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default org-mode-hook '(#[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-show-all append local] 5] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes org-eldoc-load) org-odt-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"] org-archive-hook '(org-attach-archive-delete-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-agenda-before-write-hook '(org-agenda-add-entry-text) org-metaup-hook '(org-babel-load-in-session-maybe) org-bibtex-headline-format-function #[257 "\300 \236A\207" [:title] 3 "\n\n(fn ENTRY)"] org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn _ CONTENTS)"] org-babel-pre-tangle-hook '(save-buffer) org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-ascii-format-drawer-function #[771 " \207" [] 4 "\n\n(fn NAME CONTENTS WIDTH)"] org-src-lang-modes '(("arduino" . arduino) ("redis" . redis) ("php" . php) ("C" . c) ("C++" . c++) ("asymptote" . asy) ("bash" . sh) ("beamer" . latex) ("calc" . fundamental) ("cpp" . c++) ("ditaa" . artist) ("dot" . fundamental) ("elisp" . emacs-lisp) ("ocaml" . tuareg) ("screen" . shell-script) ("shell" . sh) ("sqlite" . sql)) org-occur-hook '(org-first-headline-recenter) org-export-coding-system 'utf-8 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate) org-odt-format-inlinetask-function 'org-odt-format-inlinetask-default-function org-confirm-shell-link-function 'yes-or-no-p org-link-parameters '(("attachment" :follow org-attach-open-link :export org-attach-export-link :complete org-attach-complete-link) ("id" :follow org-id-open) ("eww" :follow eww :store org-eww-store-link) ("rmail" :follow org-rmail-open :store org-rmail-store-link) ("mhe" :follow org-mhe-open :store org-mhe-store-link) ("irc" :follow org-irc-visit :store org-irc-store-link :export org-irc-export) ("info" :follow org-info-open :export org-info-export :store org-info-store-link) ("gnus" :follow org-gnus-open :store org-gnus-store-link) ("docview" :follow org-docview-open :export org-docview-export :store org-docview-store-link) ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link) ("bbdb" :follow org-bbdb-open :export org-bbdb-export :complete org-bbdb-complete-link :store org-bbdb-store-link) ("w3m" :store org-w3m-store-link) ("file+sys") ("file+emacs") ("shell" :follow org-link--open-shell) ("news" :follow #[257 "\301\300\302 Q!\207" ["news" browse-url ":"] 5 "\n\n(fn URL)"]) ("mailto" :follow #[257 "\301\300\302 Q!\207" ["mailto" browse-url ":"] 5 "\n\n(fn URL)"]) ("https" :follow #[257 "\301\300\302 Q!\207" ["https" browse-url ":"] 5 "\n\n(fn URL)"]) ("http" :follow #[257 "\301\300\302 Q!\207" ["http" browse-url ":"] 5 "\n\n(fn URL)"]) ("ftp" :follow #[257 "\301\300\302 Q!\207" ["ftp" browse-url ":"] 5 "\n\n(fn URL)"]) ("help" :follow org-link--open-help) ("file" :complete org-link-complete-file) ("elisp" :follow org-link--open-elisp) ("doi" :follow org-link--open-doi)) org-latex-format-headline-function 'org-latex-format-headline-default-function org-link-elisp-confirm-function 'yes-or-no-p org-latex-format-inlinetask-function 'org-latex-format-inlinetask-default-function org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"] org-html-format-headline-function 'org-html-format-headline-default-function ) Emacs : GNU Emacs 26.3 (build 1, x86_64-w64-mingw32) of 2019-11-01 Package: Org mode version 9.3.6 (9.3.6-23-g01ee25-elpaplus @ c:/Users/mda/.emacs.d/elpa/org-plus-contrib-20200309/) current state: ============== (setq org-src-mode-hook '(org-src-babel-configure-edit-buffer org-src-mode-configure-edit-buffer) org-link-shell-confirm-function 'yes-or-no-p org-metadown-hook '(org-babel-pop-to-session-maybe) org-clock-out-hook '(org-clock-remove-empty-clock-drawer) org-html-format-inlinetask-function 'org-html-format-inlinetask-default-function org-odt-format-headline-function 'org-odt-format-headline-default-function org-ascii-format-inlinetask-function 'org-ascii-format-inlinetask-default org-mode-hook '(#[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-show-all append local] 5] #[0 "\300\301\302\303\304$\207" [add-hook change-major-mode-hook org-babel-show-result-all append local] 5] org-babel-result-hide-spec org-babel-hide-all-hashes org-eldoc-load) org-odt-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"] org-archive-hook '(org-attach-archive-delete-maybe) org-confirm-elisp-link-function 'yes-or-no-p org-agenda-before-write-hook '(org-agenda-add-entry-text) org-metaup-hook '(org-babel-load-in-session-maybe) org-bibtex-headline-format-function #[257 "\300 \236A\207" [:title] 3 "\n\n(fn ENTRY)"] org-latex-format-drawer-function #[514 "\207" [] 3 "\n\n(fn _ CONTENTS)"] org-babel-pre-tangle-hook '(save-buffer) org-tab-first-hook '(org-babel-hide-result-toggle-maybe org-babel-header-arg-expand) org-ascii-format-drawer-function #[771 " \207" [] 4 "\n\n(fn NAME CONTENTS WIDTH)"] org-src-lang-modes '(("arduino" . arduino) ("redis" . redis) ("php" . php) ("C" . c) ("C++" . c++) ("asymptote" . asy) ("bash" . sh) ("beamer" . latex) ("calc" . fundamental) ("cpp" . c++) ("ditaa" . artist) ("dot" . fundamental) ("elisp" . emacs-lisp) ("ocaml" . tuareg) ("screen" . shell-script) ("shell" . sh) ("sqlite" . sql)) org-occur-hook '(org-first-headline-recenter) org-export-coding-system 'utf-8 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-show-empty-lines org-optimize-window-after-visibility-change) org-speed-command-hook '(org-speed-command-activate org-babel-speed-command-activate) org-odt-format-inlinetask-function 'org-odt-format-inlinetask-default-function org-confirm-shell-link-function 'yes-or-no-p org-link-parameters '(("attachment" :follow org-attach-open-link :export org-attach-export-link :complete org-attach-complete-link) ("id" :follow org-id-open) ("eww" :follow eww :store org-eww-store-link) ("rmail" :follow org-rmail-open :store org-rmail-store-link) ("mhe" :follow org-mhe-open :store org-mhe-store-link) ("irc" :follow org-irc-visit :store org-irc-store-link :export org-irc-export) ("info" :follow org-info-open :export org-info-export :store org-info-store-link) ("gnus" :follow org-gnus-open :store org-gnus-store-link) ("docview" :follow org-docview-open :export org-docview-export :store org-docview-store-link) ("bibtex" :follow org-bibtex-open :store org-bibtex-store-link) ("bbdb" :follow org-bbdb-open :export org-bbdb-export :complete org-bbdb-complete-link :store org-bbdb-store-link) ("w3m" :store org-w3m-store-link) ("file+sys") ("file+emacs") ("shell" :follow org-link--open-shell) ("news" :follow #[257 "\301\300\302 Q!\207" ["news" browse-url ":"] 5 "\n\n(fn URL)"]) ("mailto" :follow #[257 "\301\300\302 Q!\207" ["mailto" browse-url ":"] 5 "\n\n(fn URL)"]) ("https" :follow #[257 "\301\300\302 Q!\207" ["https" browse-url ":"] 5 "\n\n(fn URL)"]) ("http" :follow #[257 "\301\300\302 Q!\207" ["http" browse-url ":"] 5 "\n\n(fn URL)"]) ("ftp" :follow #[257 "\301\300\302 Q!\207" ["ftp" browse-url ":"] 5 "\n\n(fn URL)"]) ("help" :follow org-link--open-help) ("file" :complete org-link-complete-file) ("elisp" :follow org-link--open-elisp) ("doi" :follow org-link--open-doi)) org-latex-format-headline-function 'org-latex-format-headline-default-function org-link-elisp-confirm-function 'yes-or-no-p org-latex-format-inlinetask-function 'org-latex-format-inlinetask-default-function org-html-format-drawer-function #[514 "\207" [] 3 "\n\n(fn NAME CONTENTS)"] org-html-format-headline-function 'org-html-format-headline-default-function ) [-- Attachment #2: Type: text/html, Size: 11457 bytes --]
On Wednesday, 11 Mar 2020 at 10:57, Dauer, Michael wrote:
> worked at least with 9.1.x, but not anymore
Confirmed with org up to date as of a few minutes ago. Error message:
org-macro-replace-all: Undefined Org macro: author; aborting
--
: Eric S Fraga via Emacs 28.0.50, Org release_9.3.6-412-ge18415
Hello,
"Dauer, Michael" <michael.dauer@smartpm.com> writes:
> worked at least with 9.1.x, but not anymore
>
> * test
> dfgfas
> {{{author}}}
> dasfas
Fixed. Thank you.
Regards,
--
Nicolas Goaziou
[-- Attachment #1: Type: text/plain, Size: 723 bytes --] According to my tests this is not fixed. Same use case as originally reported still fails: Undefined Org macro: author; aborting I also use #OPTIONS: author:nil, which is necessary to prevent that the export is concluded by an author line. Would you please verify the fix. Maybe I did something wrong by checking out commit 965cdbfd4b3316cc9044854b0e5eb5cf69927ce6 thx Am Mi., 11. März 2020 um 16:23 Uhr schrieb Nicolas Goaziou < mail@nicolasgoaziou.fr>: > Hello, > > "Dauer, Michael" <michael.dauer@smartpm.com> writes: > > > worked at least with 9.1.x, but not anymore > > > > * test > > dfgfas > > {{{author}}} > > dasfas > > Fixed. Thank you. > > Regards, > > -- > Nicolas Goaziou > [-- Attachment #2: Type: text/html, Size: 1241 bytes --]
Hello,
"Dauer, Michael" <michael.dauer@smartpm.com> writes:
> According to my tests this is not fixed. Same use case as originally
> reported still fails: Undefined Org macro: author; aborting
>
> I also use #OPTIONS: author:nil, which is necessary to prevent that the
> export is concluded by an author line.
>
> Would you please verify the fix. Maybe I did something wrong by checking
> out commit 965cdbfd4b3316cc9044854b0e5eb5cf69927ce6
I cannot reproduce the problem using master branch.
Regards,
--
Nicolas Goaziou
[-- Attachment #1: Type: text/plain, Size: 937 bytes --] Yes, the behavior changed. Now the author macro expands to blank despite the variable user-full-name is set. Note I use #OPTIONS: author:nil, which is necessary to prevent that the export is concluded by an author line. The expected behavior is to expand to the value of user-full-name. Am Mo., 18. Mai 2020 um 18:01 Uhr schrieb Nicolas Goaziou < mail@nicolasgoaziou.fr>: > Hello, > > "Dauer, Michael" <michael.dauer@smartpm.com> writes: > > > According to my tests this is not fixed. Same use case as originally > > reported still fails: Undefined Org macro: author; aborting > > > > I also use #OPTIONS: author:nil, which is necessary to prevent that the > > export is concluded by an author line. > > > > Would you please verify the fix. Maybe I did something wrong by checking > > out commit 965cdbfd4b3316cc9044854b0e5eb5cf69927ce6 > > I cannot reproduce the problem using master branch. > > Regards, > > -- > Nicolas Goaziou > [-- Attachment #2: Type: text/html, Size: 1633 bytes --]
Hello,
"Dauer, Michael" <michael.dauer@smartpm.com> writes:
> Yes, the behavior changed. Now the author macro expands to blank despite
> the variable user-full-name is set.
> Note I use #OPTIONS: author:nil, which is necessary to prevent that the export
> is concluded by an author line.
>
> The expected behavior is to expand to the value of user-full-name.
You lost me. Would you mind writing an ECM demonstrating the currently
observed defect in {{{author}}} macro from master branch?
Regards,
--
Nicolas Goaziou
[-- Attachment #1: Type: text/plain, Size: 904 bytes --] mist.org>>> * test foo {{{author}}} bar {{{keyword(AUTHOR)}}} {{{title}}} {{{date}}} {{{time}}} {{{input-file}}} {{{n}}} <<< ascii output buffer>>> Michael Dauer Table of Contents _________________ 1. test 1 test ====== foo bar mist.org 1 <<< Am Di., 19. Mai 2020 um 16:11 Uhr schrieb Nicolas Goaziou < mail@nicolasgoaziou.fr>: > Hello, > > "Dauer, Michael" <michael.dauer@smartpm.com> writes: > > > Yes, the behavior changed. Now the author macro expands to blank despite > > the variable user-full-name is set. > > Note I use #OPTIONS: author:nil, which is necessary to prevent that the > export > > is concluded by an author line. > > > > The expected behavior is to expand to the value of user-full-name. > > You lost me. Would you mind writing an ECM demonstrating the currently > observed defect in {{{author}}} macro from master branch? > > Regards, > > -- > Nicolas Goaziou > [-- Attachment #2: Type: text/html, Size: 1582 bytes --]
Hello,
"Dauer, Michael" <michael.dauer@smartpm.com> writes:
> mist.org>>>
>
> * test
> foo {{{author}}} bar {{{keyword(AUTHOR)}}}
> {{{title}}}
> {{{date}}}
> {{{time}}}
> {{{input-file}}}
> {{{n}}}
> <<<
>
> ascii output buffer>>>
> Michael Dauer
>
>
> Table of Contents
> _________________
>
> 1. test
>
>
> 1 test
> ======
>
> foo bar
>
>
>
> mist.org
> 1
> <<<
This looks correct. AFACT, {{{author}}} never returned user-full-name.
{{{author}}} is just a shortcut for {{{keyword(AUTHOR)}}}.
See (info "(org) Macro Replacement") for more information.
Regards,
--
Nicolas Goaziou
[-- Attachment #1: Type: text/plain, Size: 894 bytes --] This was different in earlier versions. And what about date and time. Are these macros also expected to be defined manually before? Nicolas Goaziou <mail@nicolasgoaziou.fr> schrieb am Mi., 20. Mai 2020, 00:53: > Hello, > > "Dauer, Michael" <michael.dauer@smartpm.com> writes: > > > mist.org>>> > > > > * test > > foo {{{author}}} bar {{{keyword(AUTHOR)}}} > > {{{title}}} > > {{{date}}} > > {{{time}}} > > {{{input-file}}} > > {{{n}}} > > <<< > > > > ascii output buffer>>> > > Michael Dauer > > > > > > Table of Contents > > _________________ > > > > 1. test > > > > > > 1 test > > ====== > > > > foo bar > > > > > > > > mist.org > > 1 > > <<< > > This looks correct. AFACT, {{{author}}} never returned user-full-name. > {{{author}}} is just a shortcut for {{{keyword(AUTHOR)}}}. > > See (info "(org) Macro Replacement") for more information. > > Regards, > > -- > Nicolas Goaziou > [-- Attachment #2: Type: text/html, Size: 1758 bytes --]
Hello, "Dauer, Michael" <michael.dauer@smartpm.com> writes: > This was different in earlier versions. I couldn't find an earlier version where that was the case. This doesn't mean there is none, of course. > And what about date and time. Are these macros also expected to be defined > manually before? I cannot remember. But the behaviour currently matches the documentation; and it looks very reasonable to me. Likewise, {{{date}}} refers to the DATE keyword. {{{time}}} case is different. This macro requires a mandatory FORMAT argument that you didn't provide. Regards, -- Nicolas Goaziou