[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Possibility of using alternative separators in macros
From: |
Eric S Fraga |
Subject: |
Re: [PATCH] Possibility of using alternative separators in macros |
Date: |
Tue, 11 May 2021 12:01:08 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Hello Juan,
On Friday, 30 Apr 2021 at 13:26, Juan Manuel Macías wrote:
> Hi all,
>
> I would like to propose (patch attached) the possibility of using an
> alternate character for separate arguments in replacement macros,
> following a suggestion from Nicolas Goaziou in this (closed) thread:
> https://orgmode.org/list/87o8ead42u.fsf@nicolasgoaziou.fr/
I finally got around to trying this out, applying the patch just now to
the latest org from the git repository. I get the following when I try
to export:
Debugger entered--Lisp error: (void-variable sep)
org-element-macro-parser()
org-element--object-lex((bold code entity export-snippet footnote-reference
inline-babel-call inline-src-block italic line-break latex-fragment link macro
radio-target statistics-cookie strike-through subscript superscript target
timestamp underline verbatim))
org-element-context()
org-macro-replace-all((("date" . "") ("title" . "The title") ("email" . "")
("author" . "Professor Eric S Fraga") ("lastchange" . "2021.03.31 15:03")
("calc" . "@@latex:{\\color{green!50!black}\\texttt{ $1 }}@@") ("cite" .
"[[$2][@@latex:\\vfill\\Citation{$1}@@]]") ("overlay" .
"@@latex:\\begin{textblock}{$4}($2,$3)@@[[file:$1]]@...") ("parameter" .
"src_elisp[:results value raw :var $1=(esf/get-para...") ("constant" closure
(t) (&optional $1 &rest _) (progn (message "Getting constant %s" $1)
(org-table-get-constant $1))) ("input-file" . "m.org") ("modification-time" .
#f(compiled-function (arg1 &optional arg2 &rest _) #<bytecode
0x1a91bc3b547f3a1c>)) ("keyword" lambda (arg1 &rest _)
(org-macro--find-keyword-value arg1)) ("n" lambda (&optional arg1 arg2 &rest _)
(org-macro--counter-increment arg1 arg2)) ("property" lambda (arg1 &optional
arg2 &rest _) (org-macro--get-property arg1 arg2)) ("time" lambda (arg1 &rest
_) (format-time-string arg1))) ("DESCRIPTION" "KEYWORDS" "SUBTITLE" "DATE"
"TITLE" "DATE" "AUTHOR"))
org-export-as(latex nil nil nil nil)
org-export-to-buffer(latex "*Org LATEX Export*" nil nil nil nil nil
#f(compiled-function () #<bytecode 0xbb0539acd91d>))
org-latex-export-as-latex(nil nil nil nil)
org-export-dispatch(nil)
funcall-interactively(org-export-dispatch nil)
command-execute(org-export-dispatch)
--
: Eric S Fraga via Emacs 28.0.50, Org release_9.4.5-534-g8f03cd.dirty
- Re: [PATCH] Possibility of using alternative separators in macros, (continued)
- Re: [PATCH] Possibility of using alternative separators in macros, Nicolas Goaziou, 2021/05/01
- Re: [PATCH] Possibility of using alternative separators in macros, Bastien, 2021/05/01
- Re: [PATCH] Possibility of using alternative separators in macros, Bastien, 2021/05/01
- Re: [PATCH] Possibility of using alternative separators in macros, Juan Manuel Macías, 2021/05/01
- Re: [PATCH] Possibility of using alternative separators in macros, Christian Moe, 2021/05/02
- Re: [PATCH] Possibility of using alternative separators in macros, Maxim Nikulin, 2021/05/12
- Re: [PATCH] Possibility of using alternative separators in macros, Christian Moe, 2021/05/16
- Re: [PATCH] Possibility of using alternative separators in macros, Maxim Nikulin, 2021/05/17
- Re: [PATCH] Possibility of using alternative separators in macros, Christian Moe, 2021/05/17
Re: [PATCH] Possibility of using alternative separators in macros, Eric S Fraga, 2021/05/02
Re: [PATCH] Possibility of using alternative separators in macros,
Eric S Fraga <=
- Re: [PATCH] Possibility of using alternative separators in macros, Juan Manuel Macías, 2021/05/11
- Message not available
- Re: [PATCH] Possibility of using alternative separators in macros, Juan Manuel Macías, 2021/05/11
- Re: [PATCH] Possibility of using alternative separators in macros, Bastien, 2021/05/15
- Re: [PATCH] Possibility of using alternative separators in macros, Juan Manuel Macías, 2021/05/15
- Re: [PATCH] Possibility of using alternative separators in macros, Bastien, 2021/05/15
- Re: [PATCH] Possibility of using alternative separators in macros, Juan Manuel Macías, 2021/05/15
- Re: [PATCH] Possibility of using alternative separators in macros, Bastien, 2021/05/16
- Re: [PATCH] Possibility of using alternative separators in macros, Maxim Nikulin, 2021/05/16