taskWeeChat - Tasks: task #10876, completion for /unban command

 
 

task #10876: completion for /unban command

Submitted by:  None
Submitted on:  Mon 17 Jan 2011 02:44:20 PM UTC  
Votes:  1  
 
Category: commandsShould Start On: Mon 17 Jan 2011 12:00:00 AM UTC
Should be Finished on: Mon 17 Jan 2011 12:00:00 AM UTCPriority: 5 - Normal
Status: NonePrivacy: Public
Percent Complete: 0%Assigned to: None
Originator Name: EmralegnaOriginator Email: -unavailable-
Open/Closed: OpenPlanned Release: None
IRC nick: Emralegna

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 06 Mar 2011 02:44:42 PM UTC, comment #2:

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

Anonymous
Sun 06 Mar 2011 12:39:49 PM UTC, comment #1:

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

Franck Michea <kushou>
Mon 17 Jan 2011 02:44:20 PM UTC, original submission:

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

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by kushou (Posted a comment)
  • -unavailable- added by fixato (Voted in favor of this item)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 1 encouragement so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 18 Jan 2011 11:46:30 PM UTCfixatoCarbon-Copy-=>Added fixato

    Back to the top


    Powered by Savane 3.1-cleanup1