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

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

[Octave-patch-tracker] [patch #7584] Make filename completion more sensi


From: Philipp Kutin
Subject: [Octave-patch-tracker] [patch #7584] Make filename completion more sensible by removing three characters from the word break list
Date: Tue, 13 Aug 2013 13:47:08 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:23.0) Gecko/20100101 Firefox/23.0

Follow-up Comment #6, patch #7584 (project octave):

Attached is a patch implementing working file name completion (well, tested
only with sane file names). The basic issue is that Readline gives us the line
broken with the chars in the command-word-break set, but they are too much for
file name completion (e.g. they contain "~", "-"...). Thus, we have to get our
hands on the original line AND the bounds of what Readline considers the
broken word in it. Then we hook into that break according to a reduced char
set.

The actual patch is make-file-name-completion-work-1.patch. The other file,
completion-working-1-DEBUG.diff, is just a bare diff where the code in
input.cc has some debugging lines added (writing diagnostics to
"/home/pk/octave/compl").

(file #28831, file #28832)
    _______________________________________________________

Additional Item Attachment:

File name: make-file-name-completion-work-1.patch Size:10 KB
File name: completion-working-1-DEBUG.diff Size:9 KB


    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/patch/?7584>

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




reply via email to

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