From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: miha@kamnitnik.top Newsgroups: gmane.emacs.devel Subject: ELPA: new package capf-autosuggest Date: Wed, 20 Oct 2021 23:30:01 +0200 Message-ID: <87sfwvcrl2.fsf@miha-pc> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32357"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Oct 20 23:27:13 2021 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 1mdJ7A-0008D7-SH for ged-emacs-devel@m.gmane-mx.org; Wed, 20 Oct 2021 23:27:13 +0200 Original-Received: from localhost ([::1]:44758 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mdJ78-00027m-RL for ged-emacs-devel@m.gmane-mx.org; Wed, 20 Oct 2021 17:27:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60142) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdJ6G-0001MS-VU for emacs-devel@gnu.org; Wed, 20 Oct 2021 17:26:16 -0400 Original-Received: from kamnitnik.top ([209.250.245.214]:39868) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mdJ6D-0001XU-IM for emacs-devel@gnu.org; Wed, 20 Oct 2021 17:26:15 -0400 Original-Received: from localhost (BSN-77-156-43.static.siol.net [193.77.156.43]) by kamnitnik.top (Postfix) with ESMTPSA id B817A9CFAC for ; Wed, 20 Oct 2021 21:26:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kamnitnik.top; s=mail; t=1634765170; bh=75wRrnZdDzk74shK77A29kZr+tyROX31mgExbowMKgI=; h=From:To:Subject:Date:From; b=X2OzxtMqKFVNP1B4/wD8mTKYzHJLYUfuqi0sClTyg59BO1NaJxqO5v8s6z3HFtLpt L5iqJv3GVQeUoKG4axM82+fBn5KPBu+uxL3paL/eWqX7KRUQv9r86Sz0DbkM0DnGM7 pAQKF2UxXQwL7cbofIHBkniPuCfAyv5rauZgwOVOJSavrhgueDkGibPwbgnEekgbCb g3bfDbwXjxUwBK8EYjNh6G20GZ0zHskEGPxm4QcVx345gvHcdwnBGaK8Vr4pizMxcb JnpVx4wCGBNBVNwn1A/ZA+kj3LUi8PTeRzMGONQ6SRdQTLeR0nKzz53bFwF+RSZ6QH Pvi69DU+UU/7w== Received-SPF: pass client-ip=209.250.245.214; envelope-from=miha@kamnitnik.top; helo=kamnitnik.top X-Spam_score_int: 8 X-Spam_score: 0.8 X-Spam_bar: / X-Spam_report: (0.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, FROM_SUSPICIOUS_NTLD=0.498, FROM_SUSPICIOUS_NTLD_FP=1.997, PDS_OTHER_BAD_TLD=0.445, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:277473 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable I would like to submit a new package to ELPA. It enchances eshell and comint (M-x shell for example) by displaying an "auto-suggestion" as you type, a preview of the most recent matching history element. Example: if your command history contains "wget example.com" and you type "wg" at the command prompt, an overlay containing "et example.com" will be shown after point. You can then type [C-e] to insert the text from the overlay or [M-f] to insert a word from the overlay and so on. If there aren't any history candidates that match input, an overlay for the first completion candidate will be shown. This package is inspired by the same functionality from the fish shell[1] and zsh-autosuggestions[2] plugin for the zsh shell. Source code is available at https://repo.or.cz/emacs-coterm.git Thanks and best regards. [1] https://fishshell.com/ [2] https://github.com/zsh-users/zsh-autosuggestions --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJHBAEBCAAxFiEEmxVnesoT5rQXvVXnswkaGpIVmT8FAmFwilkTHG1paGFAa2Ft bml0bmlrLnRvcAAKCRCzCRoakhWZPys7D/92Cb/u3rRvqVUf++l3Pl9fVNpkBucB dQrNls0kaG1x9tzHIKC6gDRWMAHS++JRfmUgAWwvd4urJmDcrxKPuJlaq6gAaSAd SnmpkVN9tL2RgnHW9OfC/1DOqHwwCsvYXr7vp/W/1apewOWNbXg5smbShrVcdbvE oWwJfLpblv8ln9yOXb2tgq6rP4l4t+y0kAsQu8HraI40Ecp6vAhbccJ61YjYkWq4 l2HA6VevBn2/pei3oQ6QUAMwFnwRMUZqrsrYm5Soj5j6PvLXiMs5LZJt1DRxeXD4 sTKUCBdDP/Jrh06vOdzqrSpjMG2EKm+R0jQ0eIFdMz5t8JsGkzNSO+d15EDiC9Pe UpjFapC19yj7wIcKO6l+sqe+lOafcrPRyugs3PUl44z5n23cKte65K0c4E943Xfa 6enIsdR2a5LRMiG/ipXPNhNbimNFnGE8ytNHuRNB421tV46FCc+UUCYACcAXdtYs 2RrDraiWPBZ0rU30BvjiK8GJ0i9NGTsnqtqgtY6WYlyUTPRhwoaLUhyfVhegVGWQ +F7VjJZt0Bx+RAUQAWjbbD7i3/KM1P7cJu+f38x16tuXJk48PfW7EsUwKqGhm1zj 3WyzKMA0Z7FDBkD03YpiVgmoJ3nkfHw9dnOFL5vPN5QabREHb1XPpiC2mrnThcBx 7F/kJRNiLusw8w== =G0aY -----END PGP SIGNATURE----- --=-=-=--