From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#15839: 24.3.50; `isearch-allow-scroll': be able to scroll point off screen temporarily Date: Fri, 30 Nov 2018 09:28:21 +0200 Message-ID: <83lg5bc9d6.fsf@gnu.org> References: <51df60b6-e152-4989-a27e-70dadb9b7474@default> <8736rqgk6f.fsf@mail.linkov.net> <87y39gexdo.fsf@mail.linkov.net> <877egzmmyk.fsf@mail.linkov.net> <8af20443-841d-4211-99ae-269e042a9a33@default> <875zwidonq.fsf@mail.linkov.net> <178ca8ac-fb45-4cef-a48d-d916a60860be@default> <87a7lsu7rn.fsf@mail.linkov.net> <24e8fff5-67d8-49ac-801e-1e5f49d2037f@default> <875zwfed5h.fsf@mail.linkov.net> <5a6a3254-f742-44e9-a498-b6d5a375a873@default> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1543562838 9637 195.159.176.226 (30 Nov 2018 07:27:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 30 Nov 2018 07:27:18 +0000 (UTC) Cc: 15839@debbugs.gnu.org, juri@linkov.net To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 30 08:27:14 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gSdCj-0002Na-E4 for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Nov 2018 08:27:13 +0100 Original-Received: from localhost ([::1]:58461 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gSdEq-0007y7-2l for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Nov 2018 02:29:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55812) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gSdEX-0007px-Gp for bug-gnu-emacs@gnu.org; Fri, 30 Nov 2018 02:29:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gSdEU-0007Tv-42 for bug-gnu-emacs@gnu.org; Fri, 30 Nov 2018 02:29:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51195) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gSdET-0007Tj-VO for bug-gnu-emacs@gnu.org; Fri, 30 Nov 2018 02:29:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gSdET-0006uE-R4 for bug-gnu-emacs@gnu.org; Fri, 30 Nov 2018 02:29:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Nov 2018 07:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15839 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 15839-submit@debbugs.gnu.org id=B15839.154356290426499 (code B ref 15839); Fri, 30 Nov 2018 07:29:01 +0000 Original-Received: (at 15839) by debbugs.gnu.org; 30 Nov 2018 07:28:24 +0000 Original-Received: from localhost ([127.0.0.1]:55453 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gSdDr-0006tJ-F4 for submit@debbugs.gnu.org; Fri, 30 Nov 2018 02:28:23 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:45983) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gSdDq-0006t8-Ga for 15839@debbugs.gnu.org; Fri, 30 Nov 2018 02:28:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gSdDg-0006xJ-FM for 15839@debbugs.gnu.org; Fri, 30 Nov 2018 02:28:16 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42122) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gSdDc-0006vN-Nt; Fri, 30 Nov 2018 02:28:10 -0500 Original-Received: from [176.228.60.248] (port=3799 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gSdDZ-0000sH-Ce; Fri, 30 Nov 2018 02:28:06 -0500 In-reply-to: <5a6a3254-f742-44e9-a498-b6d5a375a873@default> (message from Drew Adams on Thu, 29 Nov 2018 16:27:13 -0800 (PST)) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:152918 Archived-At: > Date: Thu, 29 Nov 2018 16:27:13 -0800 (PST) > From: Drew Adams > Cc: 15839@debbugs.gnu.org > > > "If non-nil, scrolling commands can be used in Isearch mode. > > However, the current match can't scroll offscreen if the value is t. > > But if it's `unlimited', the current match can scroll offscreen. > > You may want to enable `lazy-highlight-buffer' in this case. > > If nil, scrolling commands will cancel Isearch mode." > > > > If you don't agree, please suggest a better wording. > > I prefer the standard approach: say first what the default > (nil) does. Then say what non-nil does. I disagree that this should be a guideline. The following two variants are equivalently good documentation, IMO: Variant 1: "If non-nil, scrolling commands can be used in Isearch mode. If nil, the default, scrolling commands will cancel Isearch mode. If the value is t, the current match cannot be scrolled off-screen, but that limitation is removed if the value is `unlimited'. You may want to enable `lazy-highlight-buffer' in this case." Variant 2: "If nil, the default, scrolling commands will cancel Isearch mode. If non-nil, scrolling commands can be used in Isearch mode. If the value is t, the current match cannot be scrolled off-screen, but that limitation is removed if the value is `unlimited'. You may want to enable `lazy-highlight-buffer' in this case." And I think I slightly prefer the first one. Note that I rephrased the last part.