about summary refs log tree commit diff
path: root/weechat/.weechat/python
diff options
context:
space:
mode:
authorBen Harris <ben@tilde.team>2020-11-17 20:25:16 -0500
committerBen Harris <ben@tilde.team>2020-11-17 20:25:16 -0500
commit141b1952a2063d554212ab9f0830eff6c8cebf97 (patch)
tree87e8294fab3297005a6eb6fb2a3732020356972a /weechat/.weechat/python
parent63a9a3d726a1b5ff6f1bf64c2c08c3889ccf7232 (diff)
weechat 3.0 changes, updated autojoins
Diffstat (limited to 'weechat/.weechat/python')
-rw-r--r--weechat/.weechat/python/autosort.py9
-rw-r--r--weechat/.weechat/python/grep.py7
2 files changed, 8 insertions, 8 deletions
diff --git a/weechat/.weechat/python/autosort.py b/weechat/.weechat/python/autosort.py
index 0d76d42..4312cda 100644
--- a/weechat/.weechat/python/autosort.py
+++ b/weechat/.weechat/python/autosort.py
@@ -25,6 +25,8 @@
 
 #
 # Changelog:
+# 3.9:
+#   * Remove `buffers.pl` from recommended settings.
 # 3,8:
 #   * Fix relative sorting on script name in default rules.
 #   * Document a useful property of stable sort algorithms.
@@ -85,7 +87,7 @@ import weechat
 
 SCRIPT_NAME     = 'autosort'
 SCRIPT_AUTHOR   = 'Maarten de Vries <maarten@de-vri.es>'
-SCRIPT_VERSION  = '3.8'
+SCRIPT_VERSION  = '3.9'
 SCRIPT_LICENSE  = 'GPL3'
 SCRIPT_DESC     = 'Flexible automatic (or manual) buffer sorting based on eval expressions.'
 
@@ -1000,12 +1002,9 @@ If you remove all signals you can still sort your buffers manually with the
 {*white}# Recommended settings
 For the best visual effect, consider setting the following options:
   {*white}/set {cyan}irc.look.server_buffer{reset} {brown}independent{reset}
-  {*white}/set {cyan}buffers.look.indenting{reset} {brown}on{reset}
 
-The first setting allows server buffers to be sorted independently, which is
+This setting allows server buffers to be sorted independently, which is
 needed to create a hierarchical tree view of the server and channel buffers.
-The second one indents channel and private buffers in the buffer list of the
-`{*default}buffers.pl{reset}` script.
 
 If you are using the {*default}buflist{reset} plugin you can (ab)use Unicode to draw a tree
 structure with the following setting (modify to suit your need):
diff --git a/weechat/.weechat/python/grep.py b/weechat/.weechat/python/grep.py
index c176ffe..7fd1bc8 100644
--- a/weechat/.weechat/python/grep.py
+++ b/weechat/.weechat/python/grep.py
@@ -68,6 +68,8 @@
 #
 #
 #   History:
+#   2020-10-11, Thom Wiggers <thom@thomwiggers.nl>
+#   version 0.8.4: Python3 compatibility fix
 #
 #   2020-05-06, Dominique Martinet <asmadeus@codewreck.org> and hexa-
 #   version 0.8.3: more python3 compatibility fixes...
@@ -233,7 +235,7 @@ except ImportError:
 
 SCRIPT_NAME    = "grep"
 SCRIPT_AUTHOR  = "Elián Hanisch <lambdae2@gmail.com>"
-SCRIPT_VERSION = "0.8.3"
+SCRIPT_VERSION = "0.8.4"
 SCRIPT_LICENSE = "GPL3"
 SCRIPT_DESC    = "Search in buffers and logs"
 SCRIPT_COMMAND = "grep"
@@ -891,8 +893,7 @@ def grep_buffer(buffer, head, tail, after_context, before_context, count, regexp
         check = lambda s: check_string(s, regexp, hilight, exact)
 
     if before_context:
-        before_context_range = range(1, before_context + 1)
-        before_context_range.reverse()
+        before_context_range = reversed(range(1, before_context + 1))
 
     while infolist_next(infolist):
         line = get_line(infolist)