- Subject: read_with_completion
- From: "G. Milde" <g.milde@xxxxxx>
- Date: Wed, 9 Nov 2005 16:04:23 +0100
Dear John, dear Jed Users,
since the update to Jed Version: B0.99.17-135, I get a different behaviour
of the read_with_completion() function if used with the 'f' argument.
Up to now, I could use
% find a file in a specified directory
static define find_file_with_completion(dir)
{
variable file;
% append directory separator if not present
dir = path_concat((dir), "");
file = read_with_completion("Find file:", "", dir, 'f');
() = find_file(file);
}
for a shortcut to opening a file in some often usede dir (e.g.
/usr/share/doc/). Now, in
read_with_completion (prt, dflt, s, 'f');
it seems like dflt and s are ignored :-(
Is this a bug or a feature.
Guenter
BTW: there is a documentation bug, as the usage says the function doesnot
return a value:
Void read_with_completion (String prt, String dflt, String s, Integer type);
--
G.Milde web.de
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2005 date index]
[2005 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]