From unknown Sat Aug 09 13:01:13 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#18131 <18131@debbugs.gnu.org> To: bug#18131 <18131@debbugs.gnu.org> Subject: Status: 24.4.50; View-search-... skips all matches between (point) and edge of window Reply-To: bug#18131 <18131@debbugs.gnu.org> Date: Sat, 09 Aug 2025 20:01:13 +0000 retitle 18131 24.4.50; View-search-... skips all matches between (point) an= d edge of window reassign 18131 emacs submitter 18131 Dima Kogan severity 18131 minor tag 18131 patch fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 28 14:07:38 2014 Received: (at submit) by debbugs.gnu.org; 28 Jul 2014 18:07:38 +0000 Received: from localhost ([127.0.0.1]:41173 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XBpKg-0001eq-Jp for submit@debbugs.gnu.org; Mon, 28 Jul 2014 14:07:38 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40463) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XBpKZ-0001eO-Rt for submit@debbugs.gnu.org; Mon, 28 Jul 2014 14:07:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XBpKN-0004V5-Ty for submit@debbugs.gnu.org; Mon, 28 Jul 2014 14:07:22 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:56774) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBpKN-0004Ul-QW for submit@debbugs.gnu.org; Mon, 28 Jul 2014 14:07:15 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42155) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBpKH-0003pl-BB for bug-gnu-emacs@gnu.org; Mon, 28 Jul 2014 14:07:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XBpKA-0004QD-M5 for bug-gnu-emacs@gnu.org; Mon, 28 Jul 2014 14:07:09 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:49092) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XBpKA-0004Pu-Hg for bug-gnu-emacs@gnu.org; Mon, 28 Jul 2014 14:07:02 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by gateway1.nyi.internal (Postfix) with ESMTP id 4C44E219ED for ; Mon, 28 Jul 2014 14:07:01 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Mon, 28 Jul 2014 14:07:01 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=secretsauce.net; h=from:to:subject:date:message-id:mime-version:content-type; s= mesmtp; bh=K/wSdBowgYKKiHcu11gc/Nd3PFQ=; b=Xj/RXOTOZP4Jd463aCx/M dalLX78ITqXOGr3cXdCTl00Tq4+wtldsW3vv+SSOZmLwg4Rt3QctNWAqMs688ull Bjhxonpe6Fhn2Q83xX2fnRlBIw6zLxBZoZKM7+po12bMCWFmzz/nGtDHV7Nq2C9q 9x+UZlhamVKNZi7TteHY8o= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=from:to:subject:date:message-id :mime-version:content-type; s=smtpout; bh=K/wSdBowgYKKiHcu11gc/N d3PFQ=; b=ke2IzhhmluAVzPckxSXuioCGwikZ6hZJZRCG4pUAhxanHJYE6u/KRN naji9pShce2ZzpxX9DrKHSWMiamKEuNfiK5QYSVHi7m4YYizrvyFzpUR8XK7M3LP FxUq2GaKjagjNR10/81u5wDuTmGRmVZlBU5/M/BzY0yIA+NLpHjDI= X-Sasl-enc: pssqh8FgjW8jsOt+ZLZQvJAAarU1TwrLEW3S8MTSHlfn 1406570821 Received: from shorty.local (unknown [23.243.199.75]) by mail.messagingengine.com (Postfix) with ESMTPA id 0E41AC00005 for ; Mon, 28 Jul 2014 14:07:01 -0400 (EDT) Received: from ip6-localhost ([::1] helo=shorty.local) by shorty.local with esmtp (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1XBpK7-00013C-T9 for bug-gnu-emacs@gnu.org; Mon, 28 Jul 2014 11:06:59 -0700 From: Dima Kogan To: bug-gnu-emacs@gnu.org Subject: 24.4.50; View-search-... skips all matches between (point) and edge of window Date: Mon, 28 Jul 2014 11:06:59 -0700 Message-ID: <878undtl18.fsf@secretsauce.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --=-=-= Content-Type: text/plain Hi. The emacs view-mode has navigation with 'n' and 'p' keys to navigate by searching (like isearch, but with fewer keystrokes and very similar to less and vi). I just discovered that unlike less and vi, this view-mode navigation doesn't hit all the matches, but rather skips the ones between (point) and the edge of the window. This ensures that any matches that are visible by the user (but not highlighted by view-mode) are skipped. This clearly was a design choice, rather than a bug. However, the documentation doesn't mention this, and I think it is counterintuitive. Attaching a very simple patch to fix. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-View-search-.-now-hit-all-the-matches-regardless-of-.patch >From ed227e61fe92c54c18542455448ed7f28d0c9e77 Mon Sep 17 00:00:00 2001 From: Dima Kogan Date: Mon, 28 Jul 2014 11:05:00 -0700 Subject: [PATCH] View-search-... now hit all the matches, regardless of window position Prior to this patch anything between (point) and the edge of the window was skipped. This was counterintuitive (not what less or vim do) and was not mentioned in the documentation --- lisp/view.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/view.el b/lisp/view.el index 9f914b0..498a434 100644 --- a/lisp/view.el +++ b/lisp/view.el @@ -960,7 +960,7 @@ for highlighting the match that is found." (t (error "No previous View-mode search"))) (save-excursion (if end (goto-char (if (< times 0) (point-max) (point-min))) - (move-to-window-line (if (< times 0) 0 -1))) + (forward-char (if (< times 0) -1 1))) (if (if no (view-search-no-match-lines times regexp) (re-search-forward regexp nil t times)) (setq where (point)))) -- 2.0.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 28 14:26:32 2014 Received: (at 18131) by debbugs.gnu.org; 28 Jul 2014 18:26:32 +0000 Received: from localhost ([127.0.0.1]:41227 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XBpcy-00026q-2z for submit@debbugs.gnu.org; Mon, 28 Jul 2014 14:26:32 -0400 Received: from out2-smtp.messagingengine.com ([66.111.4.26]:34761) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XBpct-00026e-7H for 18131@debbugs.gnu.org; Mon, 28 Jul 2014 14:26:27 -0400 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by gateway1.nyi.internal (Postfix) with ESMTP id A237521F58 for <18131@debbugs.gnu.org>; Mon, 28 Jul 2014 14:26:21 -0400 (EDT) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Mon, 28 Jul 2014 14:26:22 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=secretsauce.net; h=references:from:to:subject:in-reply-to:date:message-id :mime-version:content-type; s=mesmtp; bh=W+c0znmiM94GkVKc5KMi2AD kO8I=; b=L4rfZX4cgxnHiGW9KZhWQ20sucMmDVfWH+FV2ENTM3PVcedk3sxhK5w z6ybXgW8IH6B4uHB9UvH7Kf9nEmdKYC/7ZHMzzlOc5WLfs6AG/jLL9QvT5xYFxXq 6ka7ybju+2VrnSRaupM2a8ECOxOP6uepnuQ9evAUQKkC6TpAIe7k= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=references:from:to:subject:in-reply-to :date:message-id:mime-version:content-type; s=smtpout; bh=W+c0zn miM94GkVKc5KMi2ADkO8I=; b=fLCxwOJ+msReKjF9Ltr8qsN5ivRVibAxuY4LCT kcMLgeaEu9wi4THlzM1iILq0bYlTlVBaSKaZ9ooWxw24k53NqNQ61G/mMtaoZ0Qt 9qaAhNf3orqJL4o/oiiYhrxdWIpG8JLdwxVOvUbLJwG7MoqMEQ/tAs7lVAFQbEHr LtuaY= X-Sasl-enc: M+/3BvsasNSFsg+QrHd+6QfWq6YnNApOdL0uKlkviHph 1406571981 Received: from shorty.local (unknown [23.243.199.75]) by mail.messagingengine.com (Postfix) with ESMTPA id 45AF468025D for <18131@debbugs.gnu.org>; Mon, 28 Jul 2014 14:26:21 -0400 (EDT) Received: from ip6-localhost ([::1] helo=shorty.local) by shorty.local with esmtp (Exim 4.82_1-5b7a7c0-XX) (envelope-from ) id 1XBpcq-0001Dz-3x for 18131@debbugs.gnu.org; Mon, 28 Jul 2014 11:26:20 -0700 References: <878undtl18.fsf@secretsauce.net> User-agent: mu4e 0.9.9.6pre3; emacs 24.4.50.1 From: Dima Kogan To: 18131@debbugs.gnu.org Subject: patch update In-reply-to: Date: Mon, 28 Jul 2014 11:26:20 -0700 Message-ID: <877g2xtk4z.fsf@secretsauce.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 18131 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --=-=-= Content-Type: text/plain I jumped the gun with that patch a bit. Here's an updated version --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-View-search-.-now-hit-all-the-matches-regardless-of-.patch >From 5c300c00db8de26074b7b537e1cebde19a5574e7 Mon Sep 17 00:00:00 2001 From: Dima Kogan Date: Mon, 28 Jul 2014 11:05:00 -0700 Subject: [PATCH] View-search-... now hit all the matches, regardless of window position Prior to this patch anything between (point) and the edge of the window was skipped. This was counterintuitive (not what less or vim do) and was not mentioned in the documentation --- lisp/view.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/view.el b/lisp/view.el index 9f914b0..698a73c 100644 --- a/lisp/view.el +++ b/lisp/view.el @@ -960,7 +960,7 @@ for highlighting the match that is found." (t (error "No previous View-mode search"))) (save-excursion (if end (goto-char (if (< times 0) (point-max) (point-min))) - (move-to-window-line (if (< times 0) 0 -1))) + (forward-line (if (< times 0) -1 1))) (if (if no (view-search-no-match-lines times regexp) (re-search-forward regexp nil t times)) (setq where (point)))) -- 2.0.0 --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 23 07:26:44 2016 Received: (at 18131) by debbugs.gnu.org; 23 Feb 2016 12:26:44 +0000 Received: from localhost ([127.0.0.1]:39427 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aYC3A-0008NN-BA for submit@debbugs.gnu.org; Tue, 23 Feb 2016 07:26:44 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:56274) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aYC38-0008NF-Q5 for 18131@debbugs.gnu.org; Tue, 23 Feb 2016 07:26:43 -0500 Received: from cpe-60-225-211-161.nsw.bigpond.net.au ([60.225.211.161] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aYC2j-0006ib-4Z; Tue, 23 Feb 2016 13:26:17 +0100 From: Lars Ingebrigtsen To: Dima Kogan Subject: Re: bug#18131: 24.4.50; View-search-... skips all matches between (point) and edge of window References: <878undtl18.fsf@secretsauce.net> Date: Tue, 23 Feb 2016 23:26:13 +1100 In-Reply-To: <878undtl18.fsf@secretsauce.net> (Dima Kogan's message of "Mon, 28 Jul 2014 11:06:59 -0700") Message-ID: <87bn77oboa.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1aYC2j-0006ib-4Z X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1456835178.11094@BNThDfRnmtBNjleE4+LmGw X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18131 Cc: 18131@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) Dima Kogan writes: > The emacs view-mode has navigation with 'n' and 'p' keys to navigate by > searching (like isearch, but with fewer keystrokes and very similar to > less and vi). > > I just discovered that unlike less and vi, this view-mode navigation > doesn't hit all the matches, but rather skips the ones between (point) > and the edge of the window. This ensures that any matches that are > visible by the user (but not highlighted by view-mode) are skipped. > > This clearly was a design choice, rather than a bug. However, the > documentation doesn't mention this, and I think it is counterintuitive. > Attaching a very simple patch to fix. [...] > - (move-to-window-line (if (< times 0) 0 -1))) If this was a design choice, then we should perhaps ask the person who designed it what it's all about... which isn't easy in this instance, since this is very old code. Does anybody have an opinion here? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 25 01:43:17 2016 Received: (at 18131) by debbugs.gnu.org; 25 Dec 2016 06:43:17 +0000 Received: from localhost ([127.0.0.1]:54249 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cL2WX-0006SQ-Dk for submit@debbugs.gnu.org; Sun, 25 Dec 2016 01:43:17 -0500 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:38926) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cL2WS-0006SC-LA for 18131@debbugs.gnu.org; Sun, 25 Dec 2016 01:43:12 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id A6BC92086C; Sun, 25 Dec 2016 01:43:06 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Sun, 25 Dec 2016 01:43:06 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=secretsauce.net; h=cc:content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc :x-sasl-enc; s=mesmtp; bh=6HhHCVVhX1ZVA9LcFn8QZZQfw9Q=; b=tP9d/w xOfl3A2waBsTtHOGna+4QfCABzOH/z86dJvERrANbq18GMbzDDTZeYqwa221htdd A9uDj9No+Af1YneIsr00QGbozBbIn2g0gAuLtlBAwnCd9JC2NSF1vdFB5waxISNG Ix7ykKf1nxl7URPjt3OR71rBOSqGYabsBIH0o= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc:x-sasl-enc; s=smtpout; bh=6HhHCVVhX1ZVA9 LcFn8QZZQfw9Q=; b=k/NrJqB2RvBBtPtw5n+sVbnzgshJu6ttMJgg+mJVvgnMr5 VHDPEvm8yRCjJk7V+6liW7eLaFF6YXjQQsSJs35OYoYGtWYHy4wsVnS6CO49zSGz D8BLuXBD3k+UyGE3cNXq54EclgHkmsXBQg11JYsSZdkO7A3zYxdofdQCnHBkk= X-ME-Sender: X-Sasl-enc: KehivCl3ua+pAEj7pi+VjTQiri4zi0lT+tyT57Laru7X 1482648186 Received: from shorty.local (50-1-153-216.dsl.dynamic.fusionbroadband.com [50.1.153.216]) by mail.messagingengine.com (Postfix) with ESMTPA id 514EB2461E; Sun, 25 Dec 2016 01:43:06 -0500 (EST) Received: from dima by shorty.local with local (Exim 4.87) (envelope-from ) id 1cL2WO-0003CB-Sf; Sat, 24 Dec 2016 22:43:04 -0800 References: <878undtl18.fsf@secretsauce.net> <87bn77oboa.fsf@gnus.org> User-agent: mu4e 0.9.17; emacs 26.0.50.1 From: Dima Kogan To: Lars Ingebrigtsen Subject: Re: bug#18131: 24.4.50; View-search-... skips all matches between (point) and edge of window In-reply-to: <87bn77oboa.fsf@gnus.org> Date: Sat, 24 Dec 2016 22:43:04 -0800 Message-ID: <87k2aoecg7.fsf@secretsauce.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 18131 Cc: 18131@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Lars Ingebrigtsen writes: > Dima Kogan writes: > >> The emacs view-mode has navigation with 'n' and 'p' keys to navigate by >> searching (like isearch, but with fewer keystrokes and very similar to >> less and vi). >> >> I just discovered that unlike less and vi, this view-mode navigation >> doesn't hit all the matches, but rather skips the ones between (point) >> and the edge of the window. This ensures that any matches that are >> visible by the user (but not highlighted by view-mode) are skipped. >> >> This clearly was a design choice, rather than a bug. However, the >> documentation doesn't mention this, and I think it is counterintuitive. >> Attaching a very simple patch to fix. > > [...] > >> - (move-to-window-line (if (< times 0) 0 -1))) > > If this was a design choice, then we should perhaps ask the person who > designed it what it's all about... which isn't easy in this instance, > since this is very old code. > > Does anybody have an opinion here? Can we revisit this? I think view-mode behaving like 'less' does would be an improvement. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 25 18:50:14 2019 Received: (at 18131) by debbugs.gnu.org; 25 Jun 2019 22:50:14 +0000 Received: from localhost ([127.0.0.1]:33783 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfuGU-0008O0-CQ for submit@debbugs.gnu.org; Tue, 25 Jun 2019 18:50:14 -0400 Received: from quimby.gnus.org ([80.91.231.51]:58108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfuGS-0008Nm-57 for 18131@debbugs.gnu.org; Tue, 25 Jun 2019 18:50:12 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hfuGN-0005Jc-Ax; Wed, 26 Jun 2019 00:50:09 +0200 From: Lars Ingebrigtsen To: Dima Kogan Subject: Re: bug#18131: 24.4.50; View-search-... skips all matches between (point) and edge of window References: <878undtl18.fsf@secretsauce.net> <87bn77oboa.fsf@gnus.org> <87k2aoecg7.fsf@secretsauce.net> Date: Wed, 26 Jun 2019 00:50:07 +0200 In-Reply-To: <87k2aoecg7.fsf@secretsauce.net> (Dima Kogan's message of "Sat, 24 Dec 2016 22:43:04 -0800") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Dima Kogan writes: >>> - (move-to-window-line (if (< times 0) 0 -1))) >> >> If this was a design choice, then we should perhaps ask the person who >> designed it what it's all about... which isn't easy in this instance, [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 18131 Cc: 18131@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Dima Kogan writes: >>> - (move-to-window-line (if (< times 0) 0 -1))) >> >> If this was a design choice, then we should perhaps ask the person who >> designed it what it's all about... which isn't easy in this instance, >> since this is very old code. >> >> Does anybody have an opinion here? > > Can we revisit this? I think view-mode behaving like 'less' does would > be an improvement. After playing with it a bit, I think you're right -- the current behaviour seems really unobvious. I've applied your patch to the trunk. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 25 18:50:22 2019 Received: (at control) by debbugs.gnu.org; 25 Jun 2019 22:50:22 +0000 Received: from localhost ([127.0.0.1]:33786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfuGb-0008OR-N3 for submit@debbugs.gnu.org; Tue, 25 Jun 2019 18:50:21 -0400 Received: from quimby.gnus.org ([80.91.231.51]:58122) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hfuGX-0008OD-DN for control@debbugs.gnu.org; Tue, 25 Jun 2019 18:50:17 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=stories) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hfuGU-0005Jm-RP for control@debbugs.gnu.org; Wed, 26 Jun 2019 00:50:16 +0200 Date: Wed, 26 Jun 2019 00:50:14 +0200 Message-Id: To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #18131 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 18131 fixed close 18131 27.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) tags 18131 fixed close 18131 27.1 quit From unknown Sat Aug 09 13:01:13 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 24 Jul 2019 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator