- Subject: Re: Re: about the "Recent Files" feature
- From: Guenter Milde <milde@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 11 Apr 2003 09:23:36 +0200 (CEST)
On Thu, 10 Apr 2003 11:37:38 -0400 wrote "John E. Davis" <davis@xxxxxxxxxxxxx>:
> Guido Gonzato <ggonza@xxxxxx> wrote:
> >I'd like to know if you plan to enable the "Recent Files" menu entry by
> >default in future Jed releases. IMHO, it's stable and useful, and it should
> >be enabled. If you'd rather leave it out, I'd like to add it as default in
> >ide.sl.
> 
As you might now, I wrote a new version of recent.sl that is available at
the JMR witch does:
 *  Use a circular array -> no hidden recent buffer
 *  Save to file only at exit -> less writing
 *  Save last cursor position when saving a file
 *  Support "restore last session"
 *  Save/Restore cursor position
 *  allows regexp-match for files not to include: 
    custom variable RECENT_FILES_EXCLUDE (by GM, based on PB)
 *  if the line we jump to is in a fold, open it
 *  local recent-files enabled (patch by Andree Borrmann)
 *  add path info to the popup menu (idea by Marko Mahnic)
 
Drawback: recent depends on the auxiliary modes circle.sl and sl_utils.sl
(also at JMR).
> I will look into enabling it in the next release.  However, there are
> two issues that need to be addressed before I can do so:
> 
>   * At the moment, compiling jed requires slang version 1.3.11 or
>     greater. However, recent.sl uses functions not available before
>     1.4.4.
Could you tell which one these are?
>   * VMS support will need to be added to it.
This is something I cannot do (as I do not have VMS and also no clue how
this works. Still it should be possible to have recent as a default menu entry
#ifndef VMS.
   
> Finally, I would like to change the names of the public variables
> defined by recent.sl, e.g.,
> 
>     WANT_RECENT_FILES_LIST  --> recent_files_cache_enable ( 0/1 )
This one is deprecated in my version: If you do not like it, just don't load 
recent.sl. If you would like to exclude a class of files (e.g. temporary
ones) use the more finegraded RECENT_FILES_EXCLUDE variable. (Which I would
propose to rename to --> Recent_Files_Exclude_Pattern.
>     RECENT_FILES_LIST       --> Recent_Files_Cache_File
>     MAX_RECENT_FILES        --> Recent_Max_Cached_Files
This change will go to my next version.
Günter
--
Milde at ife.et.tu-dresden.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>.
  [2003 date index]
  [2003 thread index]
  
  [Thread Prev] [Thread Next]
      
  [Date Prev] [Date Next]