From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.bugs Subject: bug#13333: 24.3.50; (emacs) `Minibuffer History' Date: Wed, 25 Aug 2021 12:25:08 +0000 Message-ID: References: <871ue33z2w.fsf@mail.jurta.org> <871r6krzot.fsf@gnus.org> <87r1ehlr7y.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1878"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 13333@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 25 14:26:16 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mIryv-0000BM-BD for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Aug 2021 14:26:13 +0200 Original-Received: from localhost ([::1]:36408 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mIryu-00023m-AJ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Aug 2021 08:26:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42990) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mIrym-00020n-8w for bug-gnu-emacs@gnu.org; Wed, 25 Aug 2021 08:26:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34471) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mIryk-0005CI-1J for bug-gnu-emacs@gnu.org; Wed, 25 Aug 2021 08:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mIryj-0008GN-UM for bug-gnu-emacs@gnu.org; Wed, 25 Aug 2021 08:26:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 25 Aug 2021 12:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13333 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 13333-submit@debbugs.gnu.org id=B13333.162989431831708 (code B ref 13333); Wed, 25 Aug 2021 12:26:01 +0000 Original-Received: (at 13333) by debbugs.gnu.org; 25 Aug 2021 12:25:18 +0000 Original-Received: from localhost ([127.0.0.1]:46017 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mIrxy-0008FJ-Qa for submit@debbugs.gnu.org; Wed, 25 Aug 2021 08:25:18 -0400 Original-Received: from heytings.org ([95.142.160.155]:33048) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mIrxt-0008Ew-IS for 13333@debbugs.gnu.org; Wed, 25 Aug 2021 08:25:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1629894308; bh=MAg8Up+xIWbSIsyz4J4W35H+n/CrzXMPdKSSPaQnYII=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=eJCWq22uQ21ZT4Gr5Xzkgp+/7MyD7QGg0LDL1dhtwojDA0DHrW9Q1hTJHrracEjDR treG1SkwqaF9gsRhMI5D07CUK/k3GHIqwS8CPVHGpTrNne29qJpC2mXn+OIOLLuthp CB4YhY/Digo9U5RVNkIGmcoqw8fVh3wDqSd1MybFLmWaqmtfyjxcLaJq4Fegb0EDUf wyxnnOCDfEzpYEHh6n1bjdxivC5ACNIjsBlAvAeVVgCbGbXe8rP4w2fILz1DufQS9Q KD39kRCQpmQKpVcnxFIH81TMBO4C0vjRTqQ1YgvTjlr7apWXiGfFOpkvREaES96FCs No9hz9Elbr9Yw== In-Reply-To: <87r1ehlr7y.fsf@gnus.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:212621 Archived-At: >> The idea of replacing DEFAULT with (DEFAULT . SUGGESTIONS) is also not >> really optimal IMO. > > I think the suggestion was replacing DEFAULTS with (DEFAULT . > SUGGESTIONS), though... > Yes, sorry, that was a typo, I meant "replacing DEFAULTS with (DEFAULT . SUGGESTIONS). >> The problem is that DEFAULT would not only be the value that is used >> when the user hits RET with an empty input, it is also the first value >> inserted when hitting M-n, that is, it is also the first SUGGESTION. > > I guess you could look at it that way... but I'd say that the first > `M-n' gives you the default, and then you get the suggestions. > Isn't the default already part of the suggestions? Unless I'm missing something, it's a suggested default. The current distinction between (past) "history" and "future history", where the first item of the future history is the default, and in which you can freely navigate back and forth with M-p and M-n is, much clearer IMO than a distinction between three kinds of items, (past) "history", default and suggestions. In fact, I don't understand what problem this would solve. I remember when I learned the concept of "future history" and its key binding, it was a "wow!" effect. Because of that it's possibly the only key binding I immediately remembered and never forgot. But perhaps that's just me.