From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: dired-view-command-alist Date: Fri, 08 Oct 2004 21:48:48 +0300 Organization: JURTA Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: <87sm8pyrjg.fsf@mail.jurta.org> References: <16727.29760.450838.453550@zarniwoop.ms25.local> <874qlclupk.fsf@mail.jurta.org> <16737.60249.17785.412605@zarniwoop.ms25.local> <867jq1i4x1.fsf@ketchup.de.uu.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1097280181 912 80.91.229.6 (9 Oct 2004 00:03:01 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 9 Oct 2004 00:03:01 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 09 02:02:55 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CG4hL-0005Oo-00 for ; Sat, 09 Oct 2004 02:02:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CG4o9-0006dC-Le for ged-emacs-devel@m.gmane.org; Fri, 08 Oct 2004 20:09:57 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CG4o2-0006d4-Qz for emacs-devel@gnu.org; Fri, 08 Oct 2004 20:09:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CG4o2-0006cs-Dq for emacs-devel@gnu.org; Fri, 08 Oct 2004 20:09:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CG4o2-0006cp-BU for emacs-devel@gnu.org; Fri, 08 Oct 2004 20:09:50 -0400 Original-Received: from [199.232.41.8] (helo=mx20.gnu.org) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CG4g6-0000J7-Ug for emacs-devel@gnu.org; Fri, 08 Oct 2004 20:01:39 -0400 Original-Received: from [205.196.208.4] (helo=whisk.dreamhost.com) by mx20.gnu.org with esmtp (Exim 4.34) id 1CG016-0001ov-VC for emacs-devel@gnu.org; Fri, 08 Oct 2004 15:03:01 -0400 Original-Received: from mail.jurta.org (80-235-37-51-dsl.mus.estpak.ee [80.235.37.51]) by whisk.dreamhost.com (Postfix) with ESMTP id 41E2D17511B; Fri, 8 Oct 2004 11:58:49 -0700 (PDT) Original-To: Kai Grossjohann In-Reply-To: <867jq1i4x1.fsf@ketchup.de.uu.net> (Kai Grossjohann's message of "Fri, 08 Oct 2004 17:51:54 +0200") User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:28111 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:28111 Kai Grossjohann writes: > I think the now-standard way for providing a "default" value is to > make it accessible via M-n. Perhaps dired could make several commands > accessible via M-n? M-n once would get the default one, M-n twice > would get the next one and so on. I already provided a patch for that some time ago: http://lists.gnu.org/archive/html/emacs-devel/2004-05/msg01755.html and Richard agreed to install it if the manual and NEWS are updated accordingly. But I haven't installed it yet because I started to look for other places where multiple default values could be useful. So far I collected a few cases like C-x b providing a list of recent buffers accessible via M-n (which required some changes in .c and .h files) and so on. I think the best plan for now is to install basic changes with updates in NEWS and documentation, and consider patches for separate cases later. -- Juri Linkov http://www.jurta.org/emacs/