[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #44095] readline configuration - tab autocompl
From: |
Libor Morkovsky |
Subject: |
[Octave-bug-tracker] [bug #44095] readline configuration - tab autocompletion of paths |
Date: |
Fri, 17 Jul 2015 08:14:02 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/43.0.2357.132 Safari/537.36 |
Follow-up Comment #6, bug #44095 (project octave):
Looks like the rich markup broke the commit message. One more try, wrapped at
80 chars per line.
directory commands can autocomplete across slash (bug #44095)
* libinterp/corefcn/input.cc (dir_word_breaker) Add a context sensitive
function returning word delimiters for GNU readline, limiting the
character set to only space, tab and newline for directory commands
- currently 'ls' and 'cd'.
(generate_completion) Register the dir_word_breaker function with
current command_editor.
* liboctave/util/cmd-edit.cc (gnu_readline::*, command_editor::*) Add
word break callback setter mimicking the structure of other callbacks.
* liboctave/util/cmd-edit.h (command_editor::*) Add word break callback
setter mimicking the structure of other callbacks.
* liboctave/util/oct-rl-edit.c (octave_rl_set_word_break_function) Add a
function that sets GNU readline variable rl_completion_word_break_hook.
* liboctave/util/oct-rl-edit.h Add a type definition and setter function
for GNU readline variable rl_completion_word_break_hook.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?44095>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/