From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: Losing minibuffer input Date: Sun, 9 Nov 2014 10:53:41 -0800 (PST) Message-ID: References: <87fvds2r5i.fsf@mail.jurta.org> <878ujkb5mr.fsf@wanadoo.es> <878ujk1axl.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1415559251 31228 80.91.229.3 (9 Nov 2014 18:54:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Nov 2014 18:54:11 +0000 (UTC) Cc: emacs-devel@gnu.org To: Juri Linkov , =?iso-8859-1?B?03NjYXIgRnVlbnRlcw==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 09 19:54:04 2014 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 1XnXch-0004a6-I4 for ged-emacs-devel@m.gmane.org; Sun, 09 Nov 2014 19:54:03 +0100 Original-Received: from localhost ([::1]:39706 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnXch-0006mD-8X for ged-emacs-devel@m.gmane.org; Sun, 09 Nov 2014 13:54:03 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnXcV-0006lx-0V for emacs-devel@gnu.org; Sun, 09 Nov 2014 13:53:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XnXcM-0001Zt-9j for emacs-devel@gnu.org; Sun, 09 Nov 2014 13:53:50 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:45836) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XnXcM-0001Zm-2i for emacs-devel@gnu.org; Sun, 09 Nov 2014 13:53:42 -0500 Original-Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id sA9IreBO027476 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 9 Nov 2014 18:53:41 GMT Original-Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id sA9Irejr014562 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sun, 9 Nov 2014 18:53:40 GMT Original-Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id sA9Irdjo014551; Sun, 9 Nov 2014 18:53:39 GMT In-Reply-To: <878ujk1axl.fsf@mail.jurta.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] X-Source-IP: ucsinet21.oracle.com [156.151.31.93] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 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:176636 Archived-At: > > I see some incoveniences with this approach: when you are on the > > first displayed line and you think that there are more lines > > preceding it, pressing up has the same problem you want to solve > > if there was no preceding line. Ditto if you are on the last > > displayed line. >=20 > This problem is very rare in the minibuffer because usually the > minibuffer contents is displayed completely in its entirety. > > However, later we can add an option like `scroll-error-top-bottom' > that will signal an error on the first hit to the beginning/end of > the minibuffer, and only on the second hit go to the previous/next > history item. !? Good for April 1. Epicycles on top of epicycles... Please work out your own new solar-system design as a customization, not a change to Emacs. We already have an easy way to customize the key behavior: Customize your `minibuffer-local-map` keys. =20 > > Furthermore, if you are on the first line and you want to pick > > the next item on the minibuffer history you are forced to press > > down until the last line. Ditto if you are on the last line and > > want to pick the preceding item on the minibuffer. >=20 > Then you can use M-p/M-n. You can use M-p/M-n all the time, and you can bind up/down to whatever other behavior you want for the minibuffer - yourself, like any other user who has a personal preference.