-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tempo-template functions accept optional arg but fail when one is passed #26
Comments
I never got to playing with |
As I said, the issue is not a priority. There's no need to use arguments for these simple templates anyway. And I did not look at the code more than to see what was available.
I wrote some for C, C++, Erlang. In Erlang it's quite useful to create the boiler plate code while leaving control via some user-options. I provide these in the PEL project I wrote (mainly as a way to learn Emacs and to keep my environment free from corporate swallowing):
For the code:
I normally bind the templates I use often to key bindings so I can create the boiler plate code quickly. Once a template is created and there's several areas to fill, there are key bindings to navigate through the locations that must be filled. For the Erlang tempo templates, you can take a look at the PDF-based documentation for the key bidings in my ststem at: https://raw.githubusercontent.com/pierre-rouleau/pel/master/doc/pdf/pl-erlang.pdf#page=13 . It's best to look at it on a browser that renders the PDF. BTW, thanks for mentioning tempel, it does look good. |
Most interactive functions are tempo-template functions. Help on these functions report that they support the optional arg but if one uses the optional arg (by typing
C-u
, for example) the function reports:For example, I bound
<f12> b
totempo-template-adoc-strong
. The help shows:This is not really a big deal, but it'd be interesting to see a solution given that the code uses tempo templates.
The text was updated successfully, but these errors were encountered: