help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Making recentf-menu-filter a list


From: Reiner Steib
Subject: Re: Making recentf-menu-filter a list
Date: Tue, 02 Aug 2005 20:14:37 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

On Mon, Aug 01 2005, Jochen Küpper wrote:

> Reiner Steib <address@hidden> writes:
>
>> (setq recentf-menu-filter 'recentf-show-basenames) or
>> `M-x customize-variable RET recentf-menu-filter RET'
>
> Could recentf-menu-filter be change into list of filter functions, so
> that one could write the following, for example?
> ,----
> | (setq recentf-menu-filter '(recentf-show-basenames recentf-arrange-by-mode))
> `----

Probably, just a small matter of programming I'd guess. :-)
Maybe the sorting an displaying should be decoupled.

IMHO `recentf-arrange-rules' should have more entries e.g. like
`msb-mode' (see `msb--few-menus' or `msb--very-many-menus').  Maybe
these lists or `auto-mode-alist' could be used in `recentf.el'.  (The
problem is that msb checks the mode of buffers whereas recentf has to
rely on the filename.)

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]