scripts icon indicating copy to clipboard operation
scripts copied to clipboard

buffer_autoset del do not remove localvar

Open pascalpoitras opened this issue 5 years ago • 0 comments

Script / WeeChat

  • Name of script: buffer_autoset.py
  • Script version: 1.1
  • WeeChat version: 2.8-dev

This bug has been reported to the script author? No Response or reason: 

Bug summary

When we delete a localvar with buffer_autoset (that we have added with buffer_autoset before) the localvar is still there until we close and reopen the buffer

Steps to reproduce

1. /buffer_autoset add core.weechat localvar_set_testing 1 2. /buffer localvar (on core.weechat) 3. /buffer_autoset del core.weechat.localvar_set_testing 4. /buffer localvar (on core.weechat)

Current behavior

The localvar is still there until we close and reopen the buffer

Expected behavior

The localvar should be gone

pascalpoitras avatar Feb 12 '20 03:02 pascalpoitras