From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "Basil L. Contovounesios" Newsgroups: gmane.emacs.devel Subject: Re: Simple isearch concerns Date: Mon, 05 Apr 2021 10:52:35 +0100 Message-ID: <87k0ph5a8s.fsf@tcd.ie> References: <20210403001539.x4rb55dvh46rmhb3.ref@Ergus> <20210403001539.x4rb55dvh46rmhb3@Ergus> <87tuold7or.fsf@mail.linkov.net> <20210405014140.atgn4dva5pi5i6eb@Ergus> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32284"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Ergus , Juri Linkov , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Apr 05 11:53:46 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 1lTLvV-0008Hs-TW for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Apr 2021 11:53:45 +0200 Original-Received: from localhost ([::1]:49230 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lTLvU-0001tg-Um for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Apr 2021 05:53:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54082) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTLuW-0001Ro-3Z for emacs-devel@gnu.org; Mon, 05 Apr 2021 05:52:44 -0400 Original-Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]:52778) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lTLuS-0004HQ-5q for emacs-devel@gnu.org; Mon, 05 Apr 2021 05:52:43 -0400 Original-Received: by mail-wm1-x335.google.com with SMTP id d191so5476176wmd.2 for ; Mon, 05 Apr 2021 02:52:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tcd.ie; s=google21; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=KOmv8PZv5Ct0/mZ8ySk0T9gOyBidusVzPnmBxqHZgWs=; b=YeI/HEItYbbk5o0mnunKdFnictBRfJX2dvHcpGz0dbKQqubw3Q9avH/+P2VSbXazEB yJ22nuvKuT7fe5NdCR0IyAnV/MwoOLm6cJJn7ge4cRJB8Tx5zmZ+9B+NfJcGRz6mkDNd 7LGexVFB72V/khwfq6wcmumVjL4caMqwGc4BzR4mNkVsRyrIf2y7qbCqaeXsWBdiZHnF PWrpDTo/zlxH8u1gj6WOOPRhFteYAqdO11IniQGa1HG9OQpdzSfnExrBNWaYpn2N19Zu qMbGcUoWJIbxyqEfZOGftSw6Z9arjU50ApGKUbNMuB6FtWtnD/mI9esNve1FR37YWVwB M4LA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=KOmv8PZv5Ct0/mZ8ySk0T9gOyBidusVzPnmBxqHZgWs=; b=rN1LydEYZ9n2bIjVilKX5LRPGohwubsk+sdeVXJppYdUf3PcPMhoMtInyL4zjGJimu 0814Xv/tdWWFi58MqqIewPx7bF8AZaF5HJiuWv5oPbP54pyAEQsf3FWe1zVW3ybApNeA 0dtMywgabYxx7gesAsqnOSveSQZD05YRD7KYiEu/L3b6yeEId4jxbUqasakodbInh5+X Lj0GPaSOZfg/ID+ggHWf9pc2mDCj0zPwihXMHRN9wokKZh1Vb91L9VJS01Z6cQGGzoAb OyTcMmfmz0O56TDKm1m3jGSOyN4BrJLC6OQcPUeK/iL8GeuiemKwa5LdvKzt3H2EbaKx 6pfg== X-Gm-Message-State: AOAM53287DK3i++aWTx2jec+eQCsD4edjb+AUkOO/o0OrBoIDYvxrmpE ajgZZiks5aNneWfDZwXbiSlu+Q== X-Google-Smtp-Source: ABdhPJz0vwAVAUsSNEDw5xLY/EUccHqlRHxaPRr58rPZzwRZOeSc5pmDqf1+z+3VHW5aAvBJJ4Zhfw== X-Received: by 2002:a05:600c:4f8e:: with SMTP id n14mr25254633wmq.166.1617616357799; Mon, 05 Apr 2021 02:52:37 -0700 (PDT) Original-Received: from localhost ([2a02:8084:20e2:c380:d15:339e:aa10:60f1]) by smtp.gmail.com with ESMTPSA id p12sm26880510wrx.28.2021.04.05.02.52.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Apr 2021 02:52:36 -0700 (PDT) In-Reply-To: (Stefan Monnier's message of "Sun, 04 Apr 2021 22:38:39 -0400") Received-SPF: pass client-ip=2a00:1450:4864:20::335; envelope-from=contovob@tcd.ie; helo=mail-wm1-x335.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham 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:267409 Archived-At: Stefan Monnier writes: >> Swiper provides this option and after trying it I found it very >> useful and some other users seems they do too. > > I strongly suspect that swiper does not provide *exactly* that option. > E.g. does Swiper's option also cause C-r foo RET to place point at the *end* > of "foo" rather than its beginning? Just for completeness: The original swiper and swiper-backward commands either always leave point at the end of the match (by default), or always at the start (after customising swiper-goto-start-of-match), regardless of direction. Later came swiper-isearch and swiper-isearch-backward, for handling multiple matches per line. AFAICT the former always leaves point at the end, and the latter always at the start. AFAIK neither of these interfaces was originally designed with a way of customising where to leave point in mind; it was an afterthought, and naturally there are open bug reports about their behaviour. -- Basil