vile
[Top][All Lists]
Advanced

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

Re: [vile] toggle boolean settings


From: Thomas Dickey
Subject: Re: [vile] toggle boolean settings
Date: Mon, 20 Aug 2012 07:02:48 -0400
User-agent: Mutt/1.5.18 (2008-05-17)

On Sat, Aug 18, 2012 at 02:08:40PM -0400, Wayne Cuddy wrote:
> 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.

attached (I'll probably add more changes for 9.8i, but this is done)

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

Attachment: vile-9.8h2.patch.gz
Description: Binary data

Attachment: signature.asc
Description: Digital signature


reply via email to

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