From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stephan Stahl" Newsgroups: gmane.emacs.devel Subject: (no subject) Date: Thu, 27 May 2004 13:34:15 +0200 (CEST) Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <44068.217.194.34.123.1085657655.squirrel@wwws.franken.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 X-Trace: sea.gmane.org 1085674512 16734 80.91.224.253 (27 May 2004 16:15:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 27 May 2004 16:15:12 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Thu May 27 18:14:57 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 1BTNWz-0003Zd-00 for ; Thu, 27 May 2004 18:14:57 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BTNWz-00057j-00 for ; Thu, 27 May 2004 18:14:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BTNTg-00056V-GE for emacs-devel@quimby.gnus.org; Thu, 27 May 2004 12:11:32 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.34) id 1BTNTZ-00055m-46 for emacs-devel@gnu.org; Thu, 27 May 2004 12:11:25 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.34) id 1BTKgs-0003hs-2Q for emacs-devel@gnu.org; Thu, 27 May 2004 09:13:30 -0400 Original-Received: from [193.175.24.27] (helo=ilsa.franken.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1BTJAc-0002MO-Nm for emacs-devel@gnu.org; Thu, 27 May 2004 07:35:36 -0400 Original-Received: from wwws.franken.de (mail-n.franken.de [193.175.24.27]) by ilsa.franken.de (Postfix) with SMTP id AC87F245CB for ; Thu, 27 May 2004 13:34:15 +0200 (CEST) Original-Received: from 217.194.34.123 (SquirrelMail authenticated user eos) by wwws.franken.de with HTTP; Thu, 27 May 2004 13:34:15 +0200 (CEST) Original-To: emacs-devel@gnu.org User-Agent: SquirrelMail/1.4.0 X-Priority: 3 Importance: Normal X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 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:24025 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:24025 Hi. Since i learned that M-n while doing completing-read and friends brings up the default value and lets you edit it i used that feature very often. However it does not work in previous-matching-history-element (M-r while the minibuffer is active). The following very simple patch will do the trick.. Its much better that way. Maybe someone wants to include that in emacs. *** simple.el.1.644 Thu May 27 13:03:44 2004 --- simple.el.new Thu May 27 13:03:44 2004 *************** *** 933,939 **** nil minibuffer-local-map nil ! 'minibuffer-history-search-history))) ;; Use the last regexp specified, by default, if input is empty. (list (if (string= regexp "") (if minibuffer-history-search-history --- 933,940 ---- nil minibuffer-local-map nil ! 'minibuffer-history-search-history ! (car minibuffer-history-search-history)))) ;; Use the last regexp specified, by default, if input is empty. (list (if (string= regexp "") (if minibuffer-history-search-history -- Stephan Stahl