- Subject: Multiple history lists for jed minibuffer
- From: Marko Mahnic <marko.mahnic@xxxxxxxx>
- Date: Wed, 14 Feb 2007 12:48:48 +0100
Hello.
I added new versions of mini.sl and history.sl to jedmodes.
The new mini.sl enables separate histories for differnt types
of prompts:
% history of filenames
mini_use_history("filename");
file = read_file_from_mini("Open:");
mini_use_history(NULL); % restore "default" history
% history of search/replace strings
mini_use_history("search");
srch = read_mini("Find:", "", "");
mini_use_history(NULL);
Histories are stored in an assoiciative array so any number
of named histories can be used.
The file history.sl saves and loads multiple histories to/from
a history file.
The file hist-cls.sl contains a structure/class that holds a list
of recent entries.
You can download the files from:
http://jedmodes.cvs.sourceforge.net/jedmodes/mode/m_history/
Marko
--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.
[2007 date index]
[2007 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]