* Need some clever macro help
@ 2013-02-21 1:29 Thomas S. Dye
2013-02-21 1:47 ` Thomas S. Dye
0 siblings, 1 reply; 4+ messages in thread
From: Thomas S. Dye @ 2013-02-21 1:29 UTC (permalink / raw)
To: Org-mode
Aloha all,
I can't get the following macro to work:
- {{{kbd(/)}}} ~org-agenda-filter-by-tag~ ::
Here is its definition:
#+MACRO: markup @@info:@$1{@@$2@@info:}@@
#+MACRO: kbd {{{markup(kbd,$1)}}}
Any ideas?
All the best,
Tom
--
T.S. Dye & Colleagues, Archaeologists
735 Bishop St, Suite 315, Honolulu, HI 96813
Tel: 808-529-0866, Fax: 808-529-0884
http://www.tsdye.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Need some clever macro help
2013-02-21 1:29 Need some clever macro help Thomas S. Dye
@ 2013-02-21 1:47 ` Thomas S. Dye
2013-02-21 21:02 ` Nicolas Goaziou
0 siblings, 1 reply; 4+ messages in thread
From: Thomas S. Dye @ 2013-02-21 1:47 UTC (permalink / raw)
To: Org-mode
tsd@tsdye.com (Thomas S. Dye) writes:
> Aloha all,
>
> I can't get the following macro to work:
>
> - {{{kbd(/)}}} ~org-agenda-filter-by-tag~ ::
>
> Here is its definition:
>
> #+MACRO: markup @@info:@$1{@@$2@@info:}@@
> #+MACRO: kbd {{{markup(kbd,$1)}}}
>
Sorry, I mean to say I can't get it to work when the argument is '/'.
The macro works otherwise.
All the best,
Tom
--
Thomas S. Dye
http://www.tsdye.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Need some clever macro help
2013-02-21 1:47 ` Thomas S. Dye
@ 2013-02-21 21:02 ` Nicolas Goaziou
2013-02-21 23:10 ` Thomas S. Dye
0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2013-02-21 21:02 UTC (permalink / raw)
To: Thomas S. Dye; +Cc: Org-mode
Hello,
tsd@tsdye.com (Thomas S. Dye) writes:
> tsd@tsdye.com (Thomas S. Dye) writes:
>
>> I can't get the following macro to work:
>>
>> - {{{kbd(/)}}} ~org-agenda-filter-by-tag~ ::
>>
>> Here is its definition:
>>
>> #+MACRO: markup @@info:@$1{@@$2@@info:}@@
>> #+MACRO: kbd {{{markup(kbd,$1)}}}
>>
>
> Sorry, I mean to say I can't get it to work when the argument is '/'.
> The macro works otherwise.
I don't understand what you mean with "can't get it to work". What
doesn't work?
When I expand this macro, I obtain the following:
@@info:@kbd{@@/@@info:}@@
What would be expected instead?
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2013-02-21 23:11 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-21 1:29 Need some clever macro help Thomas S. Dye
2013-02-21 1:47 ` Thomas S. Dye
2013-02-21 21:02 ` Nicolas Goaziou
2013-02-21 23:10 ` Thomas S. Dye
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).