bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Patch for tempo.el


From: Barney Dalton
Subject: Re: Patch for tempo.el
Date: Wed, 28 Dec 2005 15:31:56 +0000 (GMT)

Frist patch was sent in haste and didn't work too
well. Hopefully  this version is better. Is there any
chance that this (or some variant of it) will make it
into the official version?

Barney


--- Barney Dalton <address@hidden> wrote:

> 
> When you expand a tempo template with ON-REGION
> (C-u)
> then if the template uses 'r functionality i.e.
> something like:
> 
> (tempo-define-template "example"
>                      '("repeated value first=" 
>                          (r "value " value) 
>                          "second=" (s value) "]\n"))
> 
> r doesn't save anything in value so the second
> expansion is empty. 
> 
> This patch saves the active region as value so it
> can
> be used later in the template. I haven't written
> much
> lisp before so it may need some tidying up.
> 
> Barney

Attachment: tempo.patch
Description: 689395294-tempo.patch


reply via email to

[Prev in Thread] Current Thread [Next in Thread]