From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: [External] : Re: Completions and history Date: Tue, 12 Apr 2022 17:50:51 +0000 Message-ID: References: <20220411112901.kv3lsyvx6yxwjbph.ref@Ergus> <20220411112901.kv3lsyvx6yxwjbph@Ergus> <86sfqjzhgl.fsf@mail.linkov.net> <20220411174031.2yuh2je5fl3lej7i@Ergus> <87ilre5i5a.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30629"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Daniel Mendler , Juri Linkov , "emacs-devel@gnu.org" To: Augusto Stoffel , Ergus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Apr 12 19:53:03 2022 Return-path: Envelope-to: ged-emacs-devel@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 1neKhK-0007ln-Hj for ged-emacs-devel@m.gmane-mx.org; Tue, 12 Apr 2022 19:53:02 +0200 Original-Received: from localhost ([::1]:56528 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1neKhJ-0004J7-25 for ged-emacs-devel@m.gmane-mx.org; Tue, 12 Apr 2022 13:53:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45886) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1neKfZ-0001Z5-M2 for emacs-devel@gnu.org; Tue, 12 Apr 2022 13:51:13 -0400 Original-Received: from mx0a-00069f02.pphosted.com ([205.220.165.32]:19746) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1neKfV-00039C-2L for emacs-devel@gnu.org; Tue, 12 Apr 2022 13:51:11 -0400 Original-Received: from pps.filterd (m0246617.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 23CHX23F014133; Tue, 12 Apr 2022 17:50:55 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2021-07-09; bh=VFJECeqfQ8prjvY2Wv3L9BnACadL5KFzxeablhtIkpk=; b=Wo1XO56bqMXDMYvjjLixra0hhqR+9bhAB+K4yN1Um8XKq5BI6xQv2I5ASpkocVF8SQFd Zaek0WWzEXpAseyRmyRpqToB8HNfOdyFd+naYCsA1u7QG3vOpQItmzi//S4Ay3dA4Twy XFUBGnY7VRfxRII1TIyUjwTX894IR+jseDtOhY/v6CdnkxKpBUxR0b5WYV+oTVd1EFCY PTLTa1lYsZpq+YziN484jgT0Hbzpdfau/WPPgpUTFIV9n01ZfMJMxjS31rNtArmSmjfn m5g+WRRqBC6dKh3cGBupNCfUkHM+v7DvPkstgRrw9LZH0eJI7kXwJQ5madV8V/3iVGcb 9w== Original-Received: from iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (iadpaimrmta03.appoci.oracle.com [130.35.103.27]) by mx0b-00069f02.pphosted.com with ESMTP id 3fb2ptyqsj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 12 Apr 2022 17:50:55 +0000 Original-Received: from pps.filterd (iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com [127.0.0.1]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com (8.16.1.2/8.16.1.2) with SMTP id 23CHGaok027814; Tue, 12 Apr 2022 17:50:54 GMT Original-Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2102.outbound.protection.outlook.com [104.47.55.102]) by iadpaimrmta03.imrmtpd1.prodappiadaev1.oraclevcn.com with ESMTP id 3fck132wmx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 12 Apr 2022 17:50:54 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=m1admg8za4z1CGhfBB5JhPWZtZXpdsXRNJ02POvHRN/N1fIL/Luoqi686BmBU0rLGGrykubrxH86ENPtJZcmzx3klQQ9Ex0CI6kekO/pSCyZOLgrMsqemA8B0WvlBAKiC2gX0Dj3rx4vEF/T8A1cvu9EnSFIjvKVj4lj/p/fRkSHjAnDRqnx2ShI3NBERCdhL5ckohOfSdmEybL5lfIdhtDUXg0TDBIhzIYDlKq0EmjoLbH9uEWNWaMRc6cjAmO8TtGgGZo0DYHU3dieClin9Kcy12v/kDyv3IXMfTiE4Gm/bBZpXvPWs6/oW3v6U833ZjwBX3cWnWwYEg9aF75ISw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=VFJECeqfQ8prjvY2Wv3L9BnACadL5KFzxeablhtIkpk=; b=Uk2q8CSUUvJHDe0ebkbz+ovY6+XVt43+/RWylry0nBewvsZzAbgw01q8a8SyncMs5dNAR22u1wTMzyaUSKZDfLOY3dMuIj/Z9m9riQUU9ntfoZiKnoW2N9qUrfyT9sqidEUOH827MppbdAGMt4Q7Rc6QVsjXw+PWZ0H6Howe7f994FBJFLaxs4Deg01c/6yuhsOQFVJDbiTpTAtDUfil/6Ek7qFKZuIxwlE3G9+tnBQBhj+OJ56NPPDbPidarx4yeFNTH5T5qGhYBFxWyM8IkPmtdkZYxAqQQQ+4h4yDhfb5ZNUji3/Qx0FmfemIYLZJJV0vznwc2ej0tDU2UNIJKw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VFJECeqfQ8prjvY2Wv3L9BnACadL5KFzxeablhtIkpk=; b=FbeuLAcDL0m5AtkQlV5mzjclyqtVpJ0d07VS4HATFp2yMcoPzb0KC33jVNdczKfDclHisTE0jau3VpQyQxHE2HOu5pGlFZzep3+b8er9lSl0p2tyAKOARpUnWV2lHEPiAK3Yii5VsylCv3B8d7w1xooDrGjRebD4UULJlvtS3+g= Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com (2603:10b6:a03:37e::19) by BN7PR10MB2547.namprd10.prod.outlook.com (2603:10b6:406:c3::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5144.29; Tue, 12 Apr 2022 17:50:51 +0000 Original-Received: from SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::a0e7:5f38:ab50:5123]) by SJ0PR10MB5488.namprd10.prod.outlook.com ([fe80::a0e7:5f38:ab50:5123%7]) with mapi id 15.20.5144.030; Tue, 12 Apr 2022 17:50:51 +0000 Thread-Topic: [External] : Re: Completions and history Thread-Index: AQHYTpJJ42ysfdp/lkOrxmR2z6fisqzsi4TA In-Reply-To: <87ilre5i5a.fsf@gmail.com> Accept-Language: en-US Content-Language: en-US x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 080cbfae-8315-488e-a776-08da1cacfc39 x-ms-traffictypediagnostic: BN7PR10MB2547:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 9uWjijoLg59c9Qa03ry/lmhFIdldfSnEG/icSsFZ1DIaPgqnwvGacBH7dF9Z3YgnThoCh4/7rZ6F1eCRhb9OXwNdI2X77VEHeATSyqse+jCfWj5ugkkyHwSXFX0CXSb09GvXedXKlE9C8aUsPg/gYW7psT9aDIczHcv4Aei40D8kvOZ/PAYMe1MAC1dcerNLG4fuwFkIJnuAxVFvkyc2A9mXU06gv+1U0K5FjrfWd7YGOiCgNOJUjuWauraNShFyUQhOcoKhe5tzk/fRRNtWR5DaYSxXhvNgOSuj4aidscl/x+sAUjIM5UJXFO3rEy2shA95YAJce942XBE5+GIELVKQq5p54aAEUbSCknAhmmQR+tNaqcBKkUBPTTm6MfJA6QQhjHN0hy4/g4StUb73xB0GwBqjcvlT7Dx+TPXXABQnFFaNmB3HgPhvqBeKYQpGB9az3ybHeRqmfLj4S14Dsn7Wt1hks1kLi6fVVkiP0whSJBgL2JAi1JAnqirWuhnsJAHW1oXYiGviYTQpsNWNeuvmqc1Ac3SaRdB+x46UvfF1NI4uu0wXfvqlzP6tRgZPMa6q/zFD7Ca5RVYdRtfKcuug7M+t0ckJmq+K5tr0af6g0nsk8LKtQHD2oFc+Y5lm3ut//FQeM8TdkqihCjYSN56RFNrwb/bghjGdZvPn1HIm1VxvFCaMo93oWav8WfmbMEeLwX4ZGvx1ldhWblU+ZC5wDdH9zj2bgUAkWI8P7bsPNWXpDPNmBNYAwFrzb ZOpr+zTfpNIpf8J9jH3zYbjuVCJyZlfnDc1GMj23otmP/k= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR10MB5488.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(110136005)(33656002)(2906002)(44832011)(54906003)(38070700005)(26005)(186003)(8936002)(5660300002)(52536014)(55016003)(86362001)(122000001)(38100700002)(4326008)(8676002)(66476007)(66556008)(66946007)(64756008)(66446008)(76116006)(9686003)(316002)(6506007)(508600001)(71200400001)(7696005)(966005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?S+U/s8IxTviul9wbAe1lgkgZ31yh6GNWVdBEm8+qjco0dtSy/r3qK3B93630?= =?us-ascii?Q?2sGyjivN3GTQ6l3e6ey+OcN03tRCzTyCmFktthsneqh9c9HFDw5Qp8RMF3gK?= =?us-ascii?Q?2iMG3n4H+MtZTKAUBQir9XmmMmK0R7Q53/DSh+mJaDnq18crjVI3crcJiuWk?= =?us-ascii?Q?ox6AK9QtBqNnIceUHmZrANknukVhkIimw674AE1HRqIyEpU8XCrwUfUZCXoO?= =?us-ascii?Q?RFCss/VhsI/KQEsP5ORzn/W9Y1dyFyJQOt8mTlygTIw2HvfqtaqRDAa9/e26?= =?us-ascii?Q?V9303nSSeU7FQ2Q5zHy1/4WVT2QZJ65EcGqlJPCPHinjnvLJkl9Rutn9CcDK?= =?us-ascii?Q?GS0ZjV3UnPlOvHbz+g/5v3uFfeOxT/WU/u+NrS2P13p0VHTVnRdtbm1TJ0Ee?= =?us-ascii?Q?x45nHrNFSgXO+PqPidDz0ZY/tWCDj5lWxNCpSpebRkLZGXbBFnbAMrqtMovs?= =?us-ascii?Q?a1FV2OfISlIubDkYj3YETuGw4O2u9rnmzPQRD9BbxtV+2MJC3B/xVALuLhDR?= =?us-ascii?Q?Be/cdfQ9sMIXN8gvs7WA8TqrMtG6l38qv9AbU09foXgWct/fkXTXk4J2lU1m?= =?us-ascii?Q?9B1VZ8DVAXGYy5uXWMrAwyEkoOX+URdLgT5qHtnwKk+75o7loqE/Ae/QB4ad?= =?us-ascii?Q?Ky X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SJ0PR10MB5488.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 080cbfae-8315-488e-a776-08da1cacfc39 X-MS-Exchange-CrossTenant-originalarrivaltime: 12 Apr 2022 17:50:51.7467 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: pYY9m1xg+nZ2y1EqBcwR2vZILE6uNY5KlsOjVWxAGS84sW3BMcf4xcA+VhkucXQ2RRa+5M4PeS68O2w3AdtIPg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN7PR10MB2547 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.486, 18.0.858 definitions=2022-04-12_06:2022-04-11, 2022-04-12 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 bulkscore=0 spamscore=0 adultscore=0 phishscore=0 mlxscore=0 suspectscore=0 malwarescore=0 mlxlogscore=811 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2202240000 definitions=main-2204120082 X-Proofpoint-ORIG-GUID: -_BKWqv6tLwm1XjPVVfr1y1yZCCMFchg X-Proofpoint-GUID: -_BKWqv6tLwm1XjPVVfr1y1yZCCMFchg Received-SPF: pass client-ip=205.220.165.32; envelope-from=drew.adams@oracle.com; helo=mx0a-00069f02.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:288327 Archived-At: > >>> In ivy there was C-r which switched > >>> completions to the minibuffer-history; > >>> icycles had a similar feature; > >>> and helm also had something; >=20 > For the record, Consult provides exactly that command (consult-history) > and it works beautifully. The same command also works in a few special > modes like eshell and comint that have a notion of history. >=20 > Unlike Ivy, the Consult command is not tied to a specific completion > framework (I don't know how Icicles is in that regard). I already said what Icicles offers in this regard. Whether you consider it a "completion framework" is up to you. It's just a minor mode - easy to turn on and off. With Icicles: You don't need any separate command, to complete against the history, any more than with vanilla Emacs you need a separate command to search, or to cycle through, the input history. For any use of the minibuffer (not just for use with completion), you can at any time get previous inputs in the usual Emacs ways or by completing. And for completing there are a couple different ways. See my previous explanation here: https://lists.gnu.org/archive/html/emacs-devel/2021-12/msg00949.html And the doc here: https://www.emacswiki.org/emacs/Icicles_-_History_Enhancements