Add a New Comment (Rich Markup)
Completion added for /unban and /unquiet, in version 2.2.
oh this is actually a good idea and probably better than mine
Hi, I think there is also another way to improve /unban command. Here, when you want to unban the 42th ban, you will have to dash TAB 42 times. Another way to do this would be to assign numbers to bans. When you look at the list of bans (example following), you can peek the exact ban you want with its number, and so unban it. I think the features could completely coexist :) Example: /ban kushou kushou*!*@* 13:11:01 -- | Mode #channel [+b kushou!*@*] par kushou1 13:11:03 -- | Mode #channel [+b kushou*!*@*] par kushou1 /ban 13:11:30 -- | [#channel] -1- kushou*!*@* banni par kushou1 (kushou1) le dim., 06 mars 2011 13:11:00 13:11:30 -- | [#channel] -2- kushou!*@* banni par kushou1 (kushou1) le dim., 06 mars 2011 13:10:58 13:11:30 -- | [#channel] End of Channel Ban List /unban 2 13:19:32 -- | Mode #channel [-b kushou*!*@*] par kushou1
It would be great to get a completion of bans to ease the /unban process, by avoiding copy-pasting a few hosts. it should be done after doing a /ban, for Weechat to know the banlist first. I wonder if this process (doing /ban first) can be done in the background, not printing the list in the buffer, when you first try completion (tab) after typing /unban ? Like that : writing /unban in the input bar ; tab here next ; Weechat detects the unban command is written, then in background, it retrieves the ban list and prints nothing on the buffer ; it prints then the first host in the banlist in the input bar ; tabbing without space "scrolls" to the next host to unban (if the first one is not the one you want), when tabbing after adding a space adds next to the first host, the others you want to unban (to do multiple unban).
(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)
Attach Files: Comment:
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
There is 1 vote so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.
Only logged-in users can vote.
Please enter the title of George Orwell's famous dystopian book (it's a date):
Follow 7 latest changes.
Copyright © 2023 Free Software Foundation, Inc. Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved. The Levitating, Meditating, Flute-playing Gnu logo is a GNU GPL'ed image provided by the Nevrax Design Team. Source Code
Powered by Savane 3.11