From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: `isearch-complete1' should use `completion-at-point' or `completion-in-region' Date: Thu, 16 Jan 2020 01:24:10 +0200 Organization: LINKOV.NET Message-ID: <877e1sxqxh.fsf@mail.linkov.net> References: <7da1738e-1e8a-3c12-31bf-741ee171db5c@Alexander.Shukaev.name> <8736ckl015.fsf@mail.linkov.net> <87pnfl1wj9.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="61129"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.60 (x86_64-pc-linux-gnu) Cc: Alexander Shukaev , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Jan 16 00:35:29 2020 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 1irsC9-000Fql-0y for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Jan 2020 00:35:29 +0100 Original-Received: from localhost ([::1]:34164 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irsC7-0004l8-Sj for ged-emacs-devel@m.gmane-mx.org; Wed, 15 Jan 2020 18:35:27 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51008) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1irsBJ-0003yW-VI for emacs-devel@gnu.org; Wed, 15 Jan 2020 18:34:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1irsBI-0004gg-TP for emacs-devel@gnu.org; Wed, 15 Jan 2020 18:34:37 -0500 Original-Received: from chocolate.birch.relay.mailchannels.net ([23.83.209.35]:5866) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1irsBI-0004fk-LL for emacs-devel@gnu.org; Wed, 15 Jan 2020 18:34:36 -0500 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 343D15013AB; Wed, 15 Jan 2020 23:34:35 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a95.g.dreamhost.com (100-96-15-240.trex.outbound.svc.cluster.local [100.96.15.240]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id 852F9501368; Wed, 15 Jan 2020 23:34:34 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a95.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.5); Wed, 15 Jan 2020 23:34:34 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Quick-Macabre: 14e47c0c07ca551c_1579131274789_2198743996 X-MC-Loop-Signature: 1579131274789:1902358368 X-MC-Ingress-Time: 1579131274788 Original-Received: from pdx1-sub0-mail-a95.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a95.g.dreamhost.com (Postfix) with ESMTP id 305BD82631; Wed, 15 Jan 2020 15:34:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=SNv4IVh5ZVTnbw1alnBzFCEbMvI=; b= SrPoEekRZAS7HUde/OEWpF97aKA2tfYDoMPoiNxEiIAMibrEDLoHr9P5xdWsTNK0 dwSdQmdyI1mP5X/hcTgKguQbJPkcD0uyB0II7fD5YSOWK1QwAN5OYFmLwhhsij8h B6w31TnqfnxkyPS5wCnfa6Ih1OOmauRqEBE6k+FhEno= Original-Received: from mail.jurta.org (m91-129-104-253.cust.tele2.ee [91.129.104.253]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a95.g.dreamhost.com (Postfix) with ESMTPSA id 622748261F; Wed, 15 Jan 2020 15:34:25 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a95 In-Reply-To: (Stefan Monnier's message of "Wed, 15 Jan 2020 08:57:54 -0500") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedugedrtdeggddtkecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffuohhfffgjkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledruddtgedrvdehfeenucfrrghrrghmpehmohguvgepshhmthhppdhhvghlohepmhgrihhlrdhjuhhrthgrrdhorhhgpdhinhgvthepledurdduvdelrddutdegrddvheefpdhrvghtuhhrnhdqphgrthhhpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqpdhmrghilhhfrhhomhepjhhurhhisehlihhnkhhovhdrnhgvthdpnhhrtghpthhtohepmhhonhhnihgvrhesihhrohdruhhmohhnthhrvggrlhdrtggrnecuvehluhhsthgvrhfuihiivgepvd X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 23.83.209.35 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:244284 Archived-At: > FWIW, I think it might be worthwhile trying to rewrite isearch such that > it always uses the minibuffer (instead of using a transient keymap and > displaying the search string in the echo area). For the sake of backward-compatibility it would be easier to write a new package implementing just a mapping from keys typed in the isearch minibuffer to the search functions from isearch.el invoked on the original buffer.