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


task #12491: Tab completion of inline commands

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

Add a New Comment Rich Markup

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


Being able to complete the /script part when typing:

Nick: Run /script install foobar.baz, you won't regret it!

Peter Boström <pbos>
Group Member


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

Attach Files:

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by flashcode (Posted a comment)
  • -email is unavailable- added by pbos (Submitted the item)

    There are 0 votes 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.


    Follow 8 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-01-11 flashcode Open/ClosedOpen Closed
    2014-11-09 flashcode StatusIn Progress Done
        Percent Complete60% 100%
    2014-11-09 flashcode Percent Complete0% 60%
        Planned ReleaseNone 1.1
    2014-11-09 flashcode StatusNone In Progress
    2013-02-21 flashcode CategoryNone commands
        Assigned toNone pbos

    Back to the top

    Powered by Savane 3.13.
    Corresponding source code