[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] [PATCH] new feature: option -e, for specifying commands
Re: [Nano-devel] [PATCH] new feature: option -e, for specifying commands to execute at startup
Tue, 21 Aug 2018 22:20:49 -0600
On Tue, 21 Aug 2018 22:20:52 -0300
Marco Diego Aurélio Mesquita <address@hidden> wrote:
> On Sun, Aug 19, 2018 at 12:39:47PM +0200, Benno Schulenberg wrote:
> > The commands should be given in a string, just like when binding a
> > key to a string.
> > This fulfills https://savannah.gnu.org/bugs/?54535.
> This will be very useful once function interpolation is ready.
I agree. Its one thing to have a string bind in nanorc that might break when
redoing your bindings or a new version of nano changes an existing binding. But
I wouldn't want scripts floating around my system that used fragile
non-interpolated string commands.
I don't know if I'd use the feature once interpolation was added, but I do like
to script stuff and it would be nice to have if I ever found a use. Anyone who
wants this feature should provide examples of how they'd use it, other than