From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: UP and DOWN with multi-line minibuffer history Date: Sun, 13 Dec 2015 01:20:49 +0200 Organization: LINKOV.NET Message-ID: <87y4czz63l.fsf@mail.linkov.net> References: <83wpsj6978.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1449964111 8082 80.91.229.3 (12 Dec 2015 23:48:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 12 Dec 2015 23:48:31 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Dec 13 00:48:23 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a7ttm-0000Nb-Bh for ged-emacs-devel@m.gmane.org; Sun, 13 Dec 2015 00:48:22 +0100 Original-Received: from localhost ([::1]:53407 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a7ttl-0000Ia-Dh for ged-emacs-devel@m.gmane.org; Sat, 12 Dec 2015 18:48:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56123) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a7ttf-0000DA-41 for emacs-devel@gnu.org; Sat, 12 Dec 2015 18:48:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a7tte-0007Dh-8G for emacs-devel@gnu.org; Sat, 12 Dec 2015 18:48:15 -0500 Original-Received: from sub3.mail.dreamhost.com ([69.163.253.7]:50456 helo=homiemail-a20.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a7ttY-0007Ch-Jh; Sat, 12 Dec 2015 18:48:08 -0500 Original-Received: from homiemail-a20.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a20.g.dreamhost.com (Postfix) with ESMTP id BA3207EC064; Sat, 12 Dec 2015 15:48:06 -0800 (PST) Original-Received: from localhost.linkov.net (m83-180-31-224.cust.tele2.ee [83.180.31.224]) (Authenticated sender: jurta@jurta.org) by homiemail-a20.g.dreamhost.com (Postfix) with ESMTPA id C595C7EC061; Sat, 12 Dec 2015 15:48:05 -0800 (PST) In-Reply-To: <83wpsj6978.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 12 Dec 2015 16:19:23 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (x86_64-pc-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 69.163.253.7 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:196186 Archived-At: > This new feature is convenient, IMO, but its behavior when going UP is > somewhat inconsistent: when you get past the first line of a history > item, you end up in the _first_ line of the previous item, not in its > _last_ line. You then get to press DOWN all the way to the last line > of that. > > I think it would be more consistent, including with how > line-move-visual behaves in normal buffers, if UP ended up in the last > line of the previous item. WDYT? The initial implementation of this feature was like you described above. But later I received complaints off-list that convinced me to open bug#19824 with better implementation to address the inconvenience of navigating through the multi-line minibuffer history: for backward-compatible behavior we need every UP in the sequence move to a previous history item. This can be achieved when UP places the cursor at the top line of a multi-line history item, ready for going to the next previous item with successive UP.