[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [vile] toggle boolean settings
From: |
Wayne Cuddy |
Subject: |
Re: [vile] toggle boolean settings |
Date: |
Sat, 18 Aug 2012 14:08:40 -0400 |
User-agent: |
Mutt/1.4.2.3i |
On Thu, Aug 16, 2012 at 08:06:14PM -0400, Thomas Dickey wrote:
> On Thu, Aug 16, 2012 at 06:44:35PM -0400, Wayne Cuddy wrote:
> > Tom,
> >
> > I've been using this macro you wrote for me quite some time ago and just
> > noticed that when 'setv' applies the setting it seems to be applied
> > globally, not locally to the buffer. (set vs setl)
> >
> > If I load 2 buffers. Call "ToggleList li" and then switch the window's
> > view to another buffer, listing is still applied (and turned off if I call
> > the macro again). This is not the behavior if I enable listing using
> > "setl".
> >
> > Is there a way to make it operate locally?
>
> It's doable - another code change... -
>
> I believe that it didn't happen to occur to me because
> the particular function that I used to implement "setv" doesn't have
> a parameter to specify the local setting.
>
> (I'm getting ready to go out of town for a few days, otherwise I'd
> make a patch right now :-( )
Sounds good, I was going to submit a new slackbuilds.org package for the
latest version but I'll hold off until there's a patch available.
Thanks again.
>
> >
> > Thanks,
> > Wayne
> >