From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#9185: 24.0.50; "C-s M-p" does not bring the tip of the search ring Date: Mon, 22 Aug 2011 14:06:18 +0300 Organization: JURTA Message-ID: <8739gtg0wp.fsf@mail.jurta.org> References: <87livig3cr.fsf@mail.jurta.org> <87r55aenuc.fsf@mail.jurta.org> <87oc0c176d.fsf@mail.jurta.org> <87fwkuppz3.fsf@mail.jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1314011450 30004 80.91.229.12 (22 Aug 2011 11:10:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 22 Aug 2011 11:10:50 +0000 (UTC) Cc: 9185@debbugs.gnu.org To: Dani Moncayo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 22 13:10:46 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QvSOz-0004vu-Rm for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Aug 2011 13:10:46 +0200 Original-Received: from localhost ([::1]:60476 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvSOz-0005xR-2D for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Aug 2011 07:10:45 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:45685) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvSOw-0005xA-It for bug-gnu-emacs@gnu.org; Mon, 22 Aug 2011 07:10:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QvSOv-0001Sw-Lo for bug-gnu-emacs@gnu.org; Mon, 22 Aug 2011 07:10:42 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37978) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QvSOv-0001Sk-HP for bug-gnu-emacs@gnu.org; Mon, 22 Aug 2011 07:10:41 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1QvSRC-0008PJ-Ge; Mon, 22 Aug 2011 07:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 22 Aug 2011 11:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 9185 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 9185-submit@debbugs.gnu.org id=B9185.131401152632255 (code B ref 9185); Mon, 22 Aug 2011 11:13:02 +0000 Original-Received: (at 9185) by debbugs.gnu.org; 22 Aug 2011 11:12:06 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QvSQH-0008OC-Hg for submit@debbugs.gnu.org; Mon, 22 Aug 2011 07:12:05 -0400 Original-Received: from smarty.dreamhost.com ([208.113.175.8]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1QvSQE-0008O4-3k for 9185@debbugs.gnu.org; Mon, 22 Aug 2011 07:12:02 -0400 Original-Received: from ps18281.dreamhostps.com (ps18281.dreamhost.com [69.163.218.105]) by smarty.dreamhost.com (Postfix) with ESMTP id 39E5E6E809D; Mon, 22 Aug 2011 04:09:40 -0700 (PDT) Original-Received: from localhost (ps18281.dreamhostps.com [69.163.218.105]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 2E48A451C3D8; Mon, 22 Aug 2011 04:09:39 -0700 (PDT) In-Reply-To: (Dani Moncayo's message of "Sun, 21 Aug 2011 21:24:41 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 22 Aug 2011 07:13:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:50215 Archived-At: > If that is the resulting behavior, it is indeed a problem, but a small > one IMO. Since `C-s C-s' retrieves the first entry from the search > ring, `M-p' should retrieve the _previous_ one, i.e., the second. This complicates the behavior of `M-p'. Do you propose the following logic? 1. When the user starts Isearch with `C-s', then `M-p' should retrieve the _first_ entry from the search ring. 2. But when the user starts Isearch with `C-s C-s', then `M-p' should retrieve the _second_ entry from the search ring. But what to do when the user starts Isearch with `C-s C-s', but changes his mind and deletes it from the current search string, i.e. types `C-s C-s DEL'. What should `M-p' bring in this case? The first or the second entry?