From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Simple isearch concerns Date: Tue, 06 Apr 2021 09:04:40 -0400 Message-ID: References: <20210403001539.x4rb55dvh46rmhb3.ref@Ergus> <20210403001539.x4rb55dvh46rmhb3@Ergus> <2599ffef-4f70-025c-5f9c-61b9ac94faf8@inventati.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17471"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Manuel Uberti , "emacs-devel@gnu.org" , Daniel =?windows-1252?Q?Mart=EDn?= To: Zhiwei Chen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Apr 06 15:06:07 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 1lTlPC-0004Hc-VO for ged-emacs-devel@m.gmane-mx.org; Tue, 06 Apr 2021 15:06:06 +0200 Original-Received: from localhost ([::1]:50372 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lTlPB-0001aH-U3 for ged-emacs-devel@m.gmane-mx.org; Tue, 06 Apr 2021 09:06:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46068) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTlO0-00012S-2B for emacs-devel@gnu.org; Tue, 06 Apr 2021 09:04:52 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:13912) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lTlNx-0002hw-1R for emacs-devel@gnu.org; Tue, 06 Apr 2021 09:04:51 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 8BBA0100216; Tue, 6 Apr 2021 09:04:45 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id D72061001FE; Tue, 6 Apr 2021 09:04:41 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1617714281; bh=n8tLS6DXAUpLYYniu0kSXNPN4Ka1Cxvjx1yigAPVokE=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=KqBjOzUW1QfRLz5GIdd/s0LKk3kotD174iCbn8UvRt7k8aYe3/2abDBt9ADQlQLBT LU/mS8WNg+yybKgh0FfIyhRDAKzKO4U/mgm0kF0YXMAl7m0jp6XN/NLfI8yB4E7xSk 1jmeJ9QnATI00VsWvrZWcw9SuH8SgoPWazcyK1xLGH4oCWV9sjO/pqIPzMbs2a0Lps C6AQqw3ETZgTcjmkBMNntEj2b9VKzuSsCUeIzPxE3UMP1rFqxqkq9++LLRu3qXLgfC MYLbg5KGgJQGpghCFWFFKH2gi2H112sy9bViDqESNUIDP5iNJogR9g41v6Fh7MM2SV uddXdnLnd7E1A== Original-Received: from alfajor (104-222-126-84.cpe.teksavvy.com [104.222.126.84]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id A482E120346; Tue, 6 Apr 2021 09:04:41 -0400 (EDT) In-Reply-To: (Zhiwei Chen's message of "Tue, 6 Apr 2021 07:12:57 +0000") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, 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:267467 Archived-At: I'm not completely sure I understand the behavior you describe, but since you consider it counter-intuitive, it sounds like you might want to `M-x report-emacs-bug`. Stefan Zhiwei Chen [2021-04-06 07:12:57] wrote: > On Apr 3, 2021, at 6:37 PM, Daniel Mart=C3=ADn > wrote: > > "If you type any command that is not bound in Isearch, > then you exit your search and run that command". In my case, and > perhaps I'm the only one, this is one of the features of isearch that I > cannot live without: It's very simple to end a search. But I don't > oppose having the package in ELPA for people that like or are used to > the way search in web browsers work. > > > Actually this feature can cause inconvenience in some cases. > > `isearch-occur=E2=80=99 (bound to `M-s o=E2=80=99 in 'isearch-mode-map`) = when `isearch=E2=80=99, > even a buffer is created, `isearch=E2=80=99 doesn=E2=80=99t exit though. > > In vanilla Emacs, the cursor is in the original buffer. But if you use > shackle or customize `display-buffer-alist=E2=80=99 directly, the cursor > can be refocused to the new created one. Typing in the *Occur* buffer > triggers `isearch-printing-char=E2=80=99 which is counterintuitive. > > -- > Zhiwei Chen