From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.help Subject: Re: Making recentf-menu-filter a list Date: Tue, 02 Aug 2005 20:14:37 +0200 Organization: Dept. of Theoretical Physics, University of Ulm Message-ID: References: Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1123006993 21049 80.91.229.2 (2 Aug 2005 18:23:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 2 Aug 2005 18:23:13 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Aug 02 20:23:04 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E01PI-0002y4-9i for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Aug 2005 20:22:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E01S0-0001ak-Hi for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Aug 2005 14:25:16 -0400 Original-Newsgroups: gnu.emacs.help X-Face: P05mdcZT&lL[-s2=mw~RsllZ0zZAb?vdE}.s List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:28359 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:28359 On Mon, Aug 01 2005, Jochen Küpper wrote: > Reiner Steib 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/