thank you. it does work, if you get rid of your entire alist first. that is, it doesn't just seem to look up the car and expand it, but rather seems to require the whole list to be what it wants.
so you cannot fix one at a time. i tried to fix one at a time because i wasn't sure which mechanism i would use and what syntax each mechanism required. the < mechanism being the same syntax in org but a different syntax in the alist threw me off ever so slightly. seems to be backward compatible for the expansion, but not for the alist. i didn't think to null the alist until much later when i found out from you that the syntax i had tried was supposed to work after all. i also got a capture bug. the offending item was this one: (push '("n" "#+name: ?" "") org-structure-template-alist). therefore the old syntax. so no need to fix the bug i guess, but for curiosity here is the bt. the strange thing is the capture template doesn't expand anything so idk why it errors just because the expansion mechanism used the old syntax. this one might throw others off, dunno. Debugger entered--Lisp error: (error "Capture abort: Wrong type argument: stringp, (\"#+name: ?\" \"\")") signal(error ("Capture abort: Wrong type argument: stringp, (\"#+name: ?\" \"\")")) error("Capture abort: %s" "Wrong type argument: stringp, (\"#+name: ?\" \"\")") org-capture(nil "n") #[0 "\300\301\302\"\207" [org-capture nil "n"] 3 nil nil]() funcall-interactively(#[0 "\300\301\302\"\207" [org-capture nil "n"] 3 nil nil]) call-interactively(#[0 "\300\301\302\"\207" [org-capture nil "n"] 3 nil nil] nil nil) command-execute(#[0 "\300\301\302\"\207" [org-capture nil "n"] 3 nil nil]) so, user error, plus some anomaly. however, if any ignorami like me exist out there, it might be worth documenting int he warning screen that you should null the alist. On 6/29/20, Kyle Meyer <k...@kyleam.com> wrote: > Samuel Wales writes: > >> On 6/29/20, Kyle Meyer <k...@kyleam.com> wrote: >>> would map to this (untested): >>> >>> ("b" . "src sh :results verbatim output") >> >> thanks. i tried that too. it gave an error so i assumed it was >> invalid syntax. should i report it as a bug? > > Yes, please provide a minimal configuration, the steps to trigger, and > the error you see. With maint (currently 3ed035ce3) checked out, I just > tried > > (require 'org-tempo) > (add-to-list 'org-structure-template-alist > '("b" . "src sh :results verbatim output")) > > with no other configuration. Both <b followed by tab and "C-c C-, b" > inserted the block without an error. > -- The Kafka Pandemic What is misopathy? https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html