octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #44095] readline configuration - tab autocompl


From: Lachlan Andrew
Subject: [Octave-bug-tracker] [bug #44095] readline configuration - tab autocompletion of paths
Date: Fri, 18 Dec 2015 09:03:12 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0

Follow-up Comment #20, bug #44095 (project octave):

The attached changeset (bug_44095.v2.cset) is cleaner than the previous on. 
It uses a hook in gnu readline to change the word delimiters if the last part
of the command line (excluding what follows a (back)slash) is a valid
directory.

Its main advantage over the previous patch is that it gets auto-quoting right.
 Its main disadvantage is that the existence of a file or directory can
inhibit completion of a variable.

It also results in a trailing '/' on Windows, like the status quo, whereas the
previous patch fixed that.  I think that using  rl_directory_completion_hook 
will be a cleaner way to fix that.

(file #35788)
    _______________________________________________________

Additional Item Attachment:

File name: bug_44095.v2.cset              Size:6 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?44095>

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]