jed-users mailing list

[2007 Date Index] [2007 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: Multiple history lists for jed minibuffer


Hi Marko,

thanks for this nice add_on. I found a minor problem:
when calling the Switch to buffer function ^X B,
the prompt is

Switch to buffer: (default: somebuffer)

is shown in the minibuffer, but hitting return there has no effect.
The default cannot be selected by hitting return.
One has to select it explicitly.

Marko Mahnic schrieb:
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>.


--
Mit freundlichen Grüßen                                Joachim Schmitz
......................................................................
AixtraWare eK ..Joachim Schmitz ..www.aixtraware.de ..t: +49-2464-8851
Hüsgenstr. 33a .....d-52457 Aldenhoven .............f: +49-2464-905163



--------------------------
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]