nano-devel
[Top][All Lists]
Advanced

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

Re: [Nano-devel] [PATCH] possible new feature: allow binding a key to a


From: Mike Scalora
Subject: Re: [Nano-devel] [PATCH] possible new feature: allow binding a key to a string
Date: Mon, 05 Feb 2018 04:03:48 +0000


On Sun, Feb 4, 2018 at 5:28 PM Brand Huntsman <address@hidden> wrote:
On Sun, 4 Feb 2018 16:22:09 -0600
David Ramsey <address@hidden> wrote:

> they'll also lessen the
> ability of such macros to insert text (at least in a simple manner).
> If the sigils are like what Brand came up with, such as "${replace}",
> how would the user insert a literal $, {, or } in a macro without
> making parsing the string much more complex?

Only the $ would need escaping, and only when followed by a {[a-z_]+}. The interpolate_string function from my syntax variable patch could be adapted to do this. ...


${$}  for a dollar sign maybe

reply via email to

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