jed-users mailing list

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

Re: Re: about the "Recent Files" feature


I think the recent-files-feature is very useful - it saves
a lot of keystrokes. I once tested recent.sl -- not sure which
version(s) -- and then wrote my own ;). More for reasons of fun
and training SLang, less for reasons to make some details better.

Here my ideas/experiences with that.

- To shorten startup-time and avoid loading-messages I wrote
the files-array as a Slang-array into the save-file. This
avoids loading a buffer, and evalfile can be used instead.

- The files-array is identically with the files-array used to
recall file names at the file-prompt (find_file, write_file, ...).

Actually I wrote no menu-entry, but use the recent-feature
only with recall (arrow up) at the file-prompt. With some tweaking my
files-recall-buffer and my Slang-recall-buffer are not mixed up anymore.

Before I was not aware of the multiple-instances issue mentioned by John.
Idea: just before saving the files-array load the current one from file,
merge, remove duplicates, then save to file.

Just my 2 cents.

-- Klaus


--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2003 date index] [2003 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]