From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.devel Subject: Re: Simple isearch concerns Date: Sun, 11 Apr 2021 08:49:09 +0000 Message-ID: <3755fe92dcaebb639062@heytings.org> References: <20210403001539.x4rb55dvh46rmhb3.ref@Ergus> <9ff81b52fad2911cc740@heytings.org> <87im4w1tgw.fsf@mail.linkov.net> <9ff81b52fa878cb35a86@heytings.org> <87pmz4zgn5.fsf@mail.linkov.net> <83eefk802u.fsf@gnu.org> <871rbjdea4.fsf@mail.linkov.net> <8335vz91en.fsf@gnu.org> <940751cee594ef1cf8a4@heytings.org> <83zgy77hep.fsf@gnu.org> <940751cee566285b8519@heytings.org> <83wntb7eli.fsf@gnu.org> <940751cee50d69f2231d@heytings.org> <83r1jj7bhg.fsf@gnu.org> <940751cee5acf0f913df@heytings.org> <83eefj705i.fsf@gnu.org> <940751cee53181aedd72@heytings.org> <83a6q67gme.fsf@gnu.org> <5cf18ab57c8becad2999@heytings.org> <83pmz25sdr.fsf@gnu.org> <5cf18ab57ca5d2cc99ad@heytings.org> <8735vxbwju.fsf@mail.linkov.net> <83wnt947v0.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32786"; mail-complaints-to="usenet@ciao.gmane.io" Cc: spacibba@aol.com, emacs-devel@gnu.org, Juri Linkov To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Apr 11 10:50:04 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 1lVVn9-0008Ol-CC for ged-emacs-devel@m.gmane-mx.org; Sun, 11 Apr 2021 10:50:03 +0200 Original-Received: from localhost ([::1]:51056 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lVVn8-0007HG-D2 for ged-emacs-devel@m.gmane-mx.org; Sun, 11 Apr 2021 04:50:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46040) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lVVmM-0006qN-Cq for emacs-devel@gnu.org; Sun, 11 Apr 2021 04:49:14 -0400 Original-Received: from heytings.org ([95.142.160.155]:37866) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lVVmK-0001vQ-Qw; Sun, 11 Apr 2021 04:49:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20210101; t=1618130950; bh=G2LEpRlnAQ+laksMo5DJK5oC68JGtCsxvcP00fK7w+k=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=mx93Us1jogDXo2KVYAGK/dq8hRq5MIy1BguHBVEi6YYim3nhSQhKtowUpzI6HMAsT uypPICtAMxmjZ1ikcylQGuCL6lhmd8TcwfjWUG8yFeKzhwnRTz6pHApQS6xCecDxQD yRS5JiFm9xsImMKbWq7FTLLpBE4sYxITfs/lqygtLN28JxF80GheUJYDxFGXzwRBGJ NeCg3rfp6SgsYhl1tGwbZ1SnYPjW8YBFa6o+EIWcCEmHywCxuhsKDmaind3ZdDD1w5 oTSZguXnxq+l+A+z4lj0XJXkJbJmBQ4xR9lAOOAHQEglUI+ZRHfyCYrm62iaAP7We7 XNXslku5RRPiQ== In-Reply-To: <83wnt947v0.fsf@gnu.org> Received-SPF: pass client-ip=95.142.160.155; envelope-from=gregory@heytings.org; helo=heytings.org 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, SPF_HELO_PASS=-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:267862 Archived-At: > > That's your personal preference wrt how much of the context should be > left on the screen; it is well known that there are other preferences > regarding this aspect. Gregory's code provides the default Emacs > experience of recentering, so it is the right default. If we want to > cater to other preferences, we need to make the 1st argument to recenter > depend on scroll-related options, or maybe introduce a new user option. > By popular demand, here is the patch, updated with a new option 'isearch-motion-recenter', which defaults to t. (Note that you should wait to push it until my paperwork has been processed by the FSF, I wasn't aware of that subtlety.)