From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#13334: 24.3.50; enhancement request: `C-0 M-n' reverses order of defaults Date: Sat, 30 Apr 2016 12:35:32 +0200 Message-ID: <87vb2zz8nf.fsf@web.de> References: <87h9ekcbsb.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1462012612 23550 80.91.229.3 (30 Apr 2016 10:36:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 30 Apr 2016 10:36:52 +0000 (UTC) Cc: 13334@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 30 12:36:31 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1awSGE-0002qW-HE for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Apr 2016 12:36:30 +0200 Original-Received: from localhost ([::1]:58083 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awSGA-0005UZ-Lb for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Apr 2016 06:36:26 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38370) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awSG1-0005GC-0O for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2016 06:36:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1awSFp-0001q2-8l for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2016 06:36:11 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44062) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1awSFp-0001pE-5w for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2016 06:36:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1awSFl-0007x6-Ox for bug-gnu-emacs@gnu.org; Sat, 30 Apr 2016 06:36:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Apr 2016 10:36:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13334 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 13334-submit@debbugs.gnu.org id=B13334.146201254530543 (code B ref 13334); Sat, 30 Apr 2016 10:36:01 +0000 Original-Received: (at 13334) by debbugs.gnu.org; 30 Apr 2016 10:35:45 +0000 Original-Received: from localhost ([127.0.0.1]:56399 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awSFV-0007wZ-Cg for submit@debbugs.gnu.org; Sat, 30 Apr 2016 06:35:45 -0400 Original-Received: from mout.web.de ([212.227.17.11]:60734) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1awSFU-0007wM-2t for 13334@debbugs.gnu.org; Sat, 30 Apr 2016 06:35:44 -0400 Original-Received: from drachen.dragon ([94.217.122.112]) by smtp.web.de (mrweb103) with ESMTPSA (Nemesis) id 0LdF0f-1bN1gi3077-00iSdK; Sat, 30 Apr 2016 12:35:33 +0200 In-Reply-To: (Drew Adams's message of "Fri, 29 Apr 2016 15:47:19 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (gnu/linux) X-Provags-ID: V03:K0:/I683dGAG/+qwEB8UYRtCYofiKIv9sJWO7OTKRwkjjoRjx+OrXD aE2kujfUuz2uL7h8PAoru6Wn3ObLDrOMZS0Bkuf+VWI341Pzy9NthZ8KSR8FEZl3oG5Q+rJ hDoGYn54fN3KWcd1jV1kTFlXnccNilX65E98ivhtHTtKkrIULrv+/BRPut4rnbgQMM+zc7n Gd0k2qoEC6xZVM57RU4YA== X-UI-Out-Filterresults: notjunk:1;V01:K0:zRjMQ27icuk=:CLsB00BytrMJdRRsNuKMsi Gw58EyauA5jtRM8ScNZqdRpRelUvT3YzmBCATtzM1UieqQ5TqH2TcO4lj19zNPIag2H9/+2Zd iILTtQLmnxc6jWq83mEkMEfaFrOOttYK5zL9G++acVTo9OqHlZrE91ywE5JbDZbu/QnP6lQFc 6ItSID2md1qSThoENAsd4gZuo0AcacTkwS2iXA4xg2gHc3NHeMKSgxJNtyLFUtbTbyDYcterY VDpFBc2AQcV9E6wG2F4sHmc5Y2zPVcqQHMLyFCKRw4OMDh1ckWgaJfuFBN7ggO91tSj1wPuuh IbxGs9zUePXK0JjmM1Ygmt92Z2UQ8MbTVCPwnfsTVklcQG+CEFITq5iQ0BHaVTS79Mmyko6YW d46pC5oyRRmMAhpuw5esQp9OFHri3AZZp3EhNaMXNF/87pmI7FIyFsfduijmeS3ZYXzagcyC9 za6NT6bytyH6X2N02fIcqOeEQqUU/i4lLsIqjuPunFhyfy7HxsgqGYcWjdg68BIbs5QUq0E5m gpqH63EKJZd74+3Xq7fzeQBDJJ8QrQ145fgsXKAly1yvEgKRq4ifGnfDlm9RxGyxcDPCnoiU8 8zsbrFTf9DNsQen3+mUULkVRJ5FPnzyYDVp5FupFYsdOH9qAwIMi+WLcBTAS04jA0ImqF1yom V8KhsKrCuujFTy1uW5QWS/uVnPyDYpRIEi3mfSVZOMNVtWjtrl0KwM02pIQ9E8pb+rsoWpytM REinkNZlsygVKLLpidS7fdXtqt4+4ljtP4HRtMP5xL4dBYDEuYnkznTMGRcJJ21Pw83wnOh5 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:117311 Archived-At: Drew Adams writes: > > A slightly different approach would be to make it just go to the end of > > the history, without changing the order. Then you could just use M-p to > > go backwards. I guess that would not be hard to do (see > > `goto-history-element'). > > Agreed. That is about as good. (But again, it's not about the input > _history_. It's about a set of possible default values.) I had realized that. > The only reason what I suggested might be considered slightly better > is that `C-p' is generally thought of as accessing the input history > (see the above confusion), not the defaults. > > That's the case at the outset, but of course once you've used one of > `C-n' or `C-p' the other just reverses within the list (inputs or > defaults) that you started cycling, until you get back to the starting > point (origin, dividing the two lists). (Do you mean M-n, M-p?) Internally it's just one list AFAIK (with the starting point somewhere in the middle after defaults have been added, so to say). M-n and M-p move through the complete list without distinguishing in which "part" we are - history or defaults. So I don't think just going to the end of the defaults would be confusing. Michael.