[task #10876] completion for /unban command

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

[task #10876] completion for /unban command

Andreas Weber-2

URL:
  <http://savannah.nongnu.org/task/?10876>

                 Summary: completion for /unban command
                 Project: WeeChat
            Submitted by: None
            Submitted on: Mon 17 Jan 2011 02:44:20 PM UTC
                Category: commands
         Should Start On: Mon 17 Jan 2011 12:00:00 AM UTC
   Should be Finished on: Mon 17 Jan 2011 12:00:00 AM UTC
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
         Originator Name: Emralegna
        Originator Email: [hidden email]
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
                IRC nick: Emralegna

    _______________________________________________________

Details:

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).




    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?10876>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
Weechat-dev mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/weechat-dev
Reply | Threaded
Open this post in threaded view
|

[task #10876] completion for /unban command

Andreas Weber-2
Follow-up Comment #1, task #10876 (project weechat):

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

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?10876>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
Weechat-dev mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/weechat-dev
Reply | Threaded
Open this post in threaded view
|

[task #10876] completion for /unban command

Andreas Weber-2
Follow-up Comment #2, task #10876 (project weechat):

oh this is actually a good idea and probably better than mine

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?10876>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
Weechat-dev mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/weechat-dev
Reply | Threaded
Open this post in threaded view
|

[task #10876] completion for /unban command

Andreas Weber-2
Update of task #10876 (project weechat):

                Category:                commands => irc plugin            
                  Status:                    None => Done                  
        Percent Complete:                      0% => 100%                  
             Assigned to:                    None => flashcode              
             Open/Closed:                    Open => Closed                
         Planned Release:                    None => 2.2                    

    _______________________________________________________

Follow-up Comment #3:

Completion added for /unban and /unquiet, in version 2.2.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/task/?10876>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/


_______________________________________________
Weechat-dev mailing list
[hidden email]
https://lists.nongnu.org/mailman/listinfo/weechat-dev