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: Thu, 08 Jul 2004 19:55:29 +0300 Organization: JURTA Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <87acyas80r.fsf@mail.jurta.org> References: <3769.217.194.34.123.1089300821.squirrel@wwws.franken.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1089309428 16575 80.91.224.253 (8 Jul 2004 17:57:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 8 Jul 2004 17:57:08 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu Jul 08 19:56:58 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 1Bid8k-00058j-00 for ; Thu, 08 Jul 2004 19:56:58 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Bid8k-00066w-00 for ; Thu, 08 Jul 2004 19:56:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BidAs-0000kD-0w for emacs-devel@quimby.gnus.org; Thu, 08 Jul 2004 13:59:10 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1Bid9P-0008WO-Bm for emacs-devel@gnu.org; Thu, 08 Jul 2004 13:57:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1Bid9L-0008UD-6S for emacs-devel@gnu.org; Thu, 08 Jul 2004 13:57:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1Bid9K-0008U1-RE for emacs-devel@gnu.org; Thu, 08 Jul 2004 13:57:34 -0400 Original-Received: from [66.33.219.6] (helo=knife.dreamhost.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Bid77-0003Od-Rg for emacs-devel@gnu.org; Thu, 08 Jul 2004 13:55:18 -0400 Original-Received: from mail.jurta.org (80-235-35-6-dsl.mus.estpak.ee [80.235.35.6]) by knife.dreamhost.com (Postfix) with ESMTP id A0D97E49A3; Thu, 8 Jul 2004 10:55:15 -0700 (PDT) Original-To: "Stephan Stahl" In-Reply-To: <3769.217.194.34.123.1089300821.squirrel@wwws.franken.de> (Stephan Stahl's message of "Thu, 8 Jul 2004 17:33:41 +0200 (CEST)") 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:25544 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:25544 "Stephan Stahl" writes: > I'm a big fan of M-n in read-from-minibuffer and co. I like M-n too, but only when it provides a reasonable default. > I think this change to occur-read-primary-args in replace.el would > be useful: 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. It would be more useful to provide a better default value, for example, the last isearch regexp. -- Juri Linkov http://www.jurta.org/emacs/