[task #12491] Tab completion of inline commands

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

[task #12491] Tab completion of inline commands

Andreas Weber-2
URL:
  <http://savannah.nongnu.org/task/?12491>

                 Summary: Tab completion of inline commands
                 Project: WeeChat
            Submitted by: pbos
            Submitted on: Thu 21 Feb 2013 04:02:29 AM GMT
                Category: None
         Should Start On: Thu 21 Feb 2013 12:00:00 AM GMT
   Should be Finished on: Thu 21 Feb 2013 12:00:00 AM GMT
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
        Percent Complete: 0%
             Assigned to: None
         Originator Name:
        Originator Email:
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
                IRC nick:

    _______________________________________________________

Details:

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:


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





    _______________________________________________________

Reply to this item at:

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

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


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

[task #12491] Tab completion of inline commands

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

                Category:                    None => commands              
             Assigned to:                    None => pbos                  

    _______________________________________________________

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/


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

[task #12491] Tab completion of inline commands

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

                  Status:                    None => In Progress            
        Percent Complete:                      0% => 60%                    
         Planned Release:                    None => 1.1                    


    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/


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

[task #12491] Tab completion of inline commands

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

                  Status:             In Progress => Done                  
        Percent Complete:                     60% => 100%                  

    _______________________________________________________

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

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message posté via/par Savannah
  http://savannah.nongnu.org/


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