From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Stefan Monnier" Newsgroups: gmane.emacs.devel Subject: Re: Intelligent history cycling Date: Sat, 22 Jun 2002 13:46:15 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: <200206221746.g5MHkFX16389@rum.cs.yale.edu> References: <3D1350DF.9080502@radioscape.com> <5l8z585r4d.fsf@rum.cs.yale.edu> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1024768095 30358 127.0.0.1 (22 Jun 2002 17:48:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 22 Jun 2002 17:48:15 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17Loze-0007tX-00 for ; Sat, 22 Jun 2002 19:48:14 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17Lozw-0001c9-00 for ; Sat, 22 Jun 2002 19:48:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17Lozj-0008Ip-00; Sat, 22 Jun 2002 13:48:19 -0400 Original-Received: from rum.cs.yale.edu ([128.36.229.169]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17Loxl-0008Eu-00 for ; Sat, 22 Jun 2002 13:46:17 -0400 Original-Received: (from monnier@localhost) by rum.cs.yale.edu (8.11.6/8.11.6) id g5MHkFX16389; Sat, 22 Jun 2002 13:46:15 -0400 X-Mailer: exmh version 2.4 06/23/2000 with nmh-1.0.4 Original-To: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-15?q?Gro=DFjohann?=) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:5099 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:5099 > > I also use it just like you. Actually, if you look at simple.el you'll > > see that there is code that does it as well, but it's commented out. > > I wish we could turn it on again. > Maybe it's enough to find free keys? I don't see a need for it. M-n and M-p work just fine. You can always get the old (i.e. current) behavior with C-a C-k M-p and C-a C-k M-n (although in most cases you don't need to since M-p and M-n are mostly used before doing anything else (before modifying the prompt) in which case my code is careful to not do a history search but just the good old "fetch next/prev history item"). Stefan PS: your "From:" header is giving problems because it's split on a second line just between Kai and Grossjohann. Sometimes I see a space between the two, and sometimes not, depending on what piece of code it goes through. Furthermore, it triggers a harmless bug in my mail reader :-(