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: Default via M-n for M-x occur Date: Fri, 09 Jul 2004 23:57:22 +0300 Organization: JURTA Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87smc0lwzx.fsf@mail.jurta.org> References: <3769.217.194.34.123.1089300821.squirrel@wwws.franken.de> <87acyas80r.fsf@mail.jurta.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1089406804 12186 80.91.224.253 (9 Jul 2004 21:00:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 9 Jul 2004 21:00:04 +0000 (UTC) Cc: stahl@eos.franken.de, rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Fri Jul 09 22:59:53 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Bj2TI-0006eS-00 for ; Fri, 09 Jul 2004 22:59:52 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Bj2TI-0000za-00 for ; Fri, 09 Jul 2004 22:59:52 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bj2VT-0007O3-Uj for emacs-devel@quimby.gnus.org; Fri, 09 Jul 2004 17:02:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Bj2VL-0007NS-VF for emacs-devel@gnu.org; Fri, 09 Jul 2004 17:02:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Bj2VL-0007N9-Co for emacs-devel@gnu.org; Fri, 09 Jul 2004 17:01:59 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bj2VL-0007N6-AC for emacs-devel@gnu.org; Fri, 09 Jul 2004 17:01:59 -0400 Original-Received: from [66.33.219.6] (helo=knife.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bj2Sw-0006FK-Hm; Fri, 09 Jul 2004 16:59:30 -0400 Original-Received: from mail.jurta.org (80-235-39-197-dsl.mus.estpak.ee [80.235.39.197]) by knife.dreamhost.com (Postfix) with ESMTP id 91E1DE5588; Fri, 9 Jul 2004 13:59:27 -0700 (PDT) Original-To: David Kastrup In-Reply-To: (David Kastrup's message of "09 Jul 2004 18:09:52 +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+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:25563 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:25563 David Kastrup writes: > Richard Stallman writes: >> Currently `occur-read-primary-args' sets the default value to the >> last element of the regexp history. But the whole history list is >> available by M-p. It makes no sense to duplicate the last history >> element as a default value available by M-n. >> >> Since it does have a default, that default should (for consistency) >> be available through M-n. > > It is not a good idea to mention the default in the prompt then: this > will lead people to think that just typing RET would provide them > with the default. And if RET will not use the default value and the prompt will not display the default then it makes no sense to make the last history element available through M-n because exactly the same value (as well as all other history value) is available through M-n. -- Juri Linkov http://www.jurta.org/emacs/