Replies: 1 comment
-
Most likely this feature doesn't exist.
Are you sure? I don't see this issue. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When I started using regions in my templates, I came up with some questions.
Tempo's documentation in
tempo-define-template
says aboutr
:The symbol r: If tempo-insert is called with ON-REGION non-nil the current region is placed here. Otherwise it works like p.
Whereas Tempel's
r
statesIf no region is active, quits the containing template when jumped to.
I guess the different behavior is intentional thus, what would be the correct way to have a field in the template which is optionally a region and otherwise a normal placeholder?
When I use the template above, I get the default value when no region is active:


However, in case there is a region
I expected that the region replaces the default value. Is this intentional?
Beta Was this translation helpful? Give feedback.
All reactions