taskWeeChat - Tasks: task #12491, Tab completion of inline commands

 
 

task #12491: Tab completion of inline commands

Submitted by:  Peter Boström <pbos>
Submitted on:  Thu 21 Feb 2013 04:02:29 AM UTC  
 
Category: commandsShould Start On: Thu 21 Feb 2013 12:00:00 AM UTC
Should be Finished on: Thu 21 Feb 2013 12:00:00 AM UTCPriority: 5 - Normal
Status: DonePrivacy: Public
Percent Complete: 100%Assigned to: Peter Boström <pbos>
Originator Name: Open/Closed: Open
Planned Release: 1.1IRC nick: 

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

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

 

Sun 09 Nov 2014 11:31:13 AM UTC, comment #2:

Done, new option: weechat.completion.command_inline

Note: it is enabled by default, and when enabled, there is no more automatic completion of absolute paths in messages (except if you complete path argument of a command, like /dcc send nick path).

Sebastien Helleu <flashcode>
Project Administrator
Thu 21 Feb 2013 06:48:20 AM UTC, comment #1:

Just take care about one thing: the completion of filename should still work (and keep in mind a path/filename can have spaces inside, but the TAB key works only for first time on a partial path without spaces).

Sebastien Helleu <flashcode>
Project Administrator
Thu 21 Feb 2013 04:02:29 AM UTC, original submission:

Expand complete_next to, unless first character of line is a slash, try completing by interpreting the last slash in the line before the cursor as start of command. If that fails, try interpreting the next right-most slash as start of command, and so forth.

Rationale:

Being able to complete the /script part when typing:

Peter Boström <pbos>
Project MemberIn charge of this item.

 

(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 flashcode (Posted a comment)
  • -unavailable- added by pbos (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 0 encouragements so far.

    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.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 09 Nov 2014 11:31:13 AM UTCflashcodeStatusIn Progress=>Done
      Percent Complete60%=>100%
    Sun 09 Nov 2014 09:37:34 AM UTCflashcodePercent Complete0%=>60%
      Planned ReleaseNone=>1.1
    Sun 09 Nov 2014 09:37:33 AM UTCflashcodeStatusNone=>In Progress
    Thu 21 Feb 2013 06:48:20 AM UTCflashcodeCategoryNone=>commands
      Assigned toNone=>pbos

    Back to the top


    Powered by Savane 3.1-cleanup