From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 27 14:21:11 2012 Received: (at submit) by debbugs.gnu.org; 27 Feb 2012 19:21:11 +0000 Received: from localhost ([127.0.0.1]:60150 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S268F-00069y-4g for submit@debbugs.gnu.org; Mon, 27 Feb 2012 14:21:11 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34701) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S268D-00069r-7g for submit@debbugs.gnu.org; Mon, 27 Feb 2012 14:21:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S265P-00088c-Mh for submit@debbugs.gnu.org; Mon, 27 Feb 2012 14:18:16 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_RP_MATCHES_RCVD autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:51283) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S265P-00088Y-Ik for submit@debbugs.gnu.org; Mon, 27 Feb 2012 14:18:15 -0500 Received: from eggs.gnu.org ([208.118.235.92]:50680) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S265O-0007JR-G9 for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2012 14:18:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S265N-000882-Da for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2012 14:18:14 -0500 Received: from smtprelay-b11.telenor.se ([62.127.194.20]:55165) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S265N-00087s-6s for bug-gnu-emacs@gnu.org; Mon, 27 Feb 2012 14:18:13 -0500 Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-b11.telenor.se (Postfix) with ESMTP id E9BE7CFB7 for ; Mon, 27 Feb 2012 20:18:11 +0100 (CET) X-SMTPAUTH-B2: [bocjoh] X-SENDER-IP: [85.228.200.20] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AiZmAIjWS09V5MgUPGdsb2JhbABDgyOGW6l1GQEBAQE3NIIhL180AQQYAQwKiDeff5hEjRBeFAMBAgECAoUICgoPAQIKUoMeBKgs X-IronPort-AV: E=Sophos;i="4.73,492,1325458800"; d="scan'208";a="275079526" Received: from c-14c8e455.04-211-6c6b701.cust.bredbandsbolaget.se (HELO muon.localdomain) ([85.228.200.20]) by ipb1.telenor.se with ESMTP; 27 Feb 2012 20:18:11 +0100 Received: by muon.localdomain (Postfix, from userid 1000) id 8419B4844FD; Mon, 27 Feb 2012 20:18:10 +0100 (CET) From: =?utf-8?Q?Johan_Bockg=C3=A5rd?= To: bug-gnu-emacs@gnu.org Subject: 24.0.93; Point displayed after end of buffer with scroll-margin Date: Mon, 27 Feb 2012 20:18:09 +0100 Message-ID: <877gz8krv2.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: 0.8 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: 0.8 (/) emacs -Q Eval (progn (pop-to-buffer (get-buffer-create "*foo*")) (dotimes (n 5) (insert "x\n")) (goto-char (point-min)) (setq scroll-margin 100) (set-window-text-height nil (+ 5 2))) Press `M->' => Point is displayed one line below the end of the buffer. From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 27 15:36:56 2012 Received: (at 10902) by debbugs.gnu.org; 27 Feb 2012 20:36:56 +0000 Received: from localhost ([127.0.0.1]:60231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S27JY-0000Ju-C1 for submit@debbugs.gnu.org; Mon, 27 Feb 2012 15:36:56 -0500 Received: from mtaout21.012.net.il ([80.179.55.169]:64099) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S27JV-0000Jk-Sc for 10902@debbugs.gnu.org; Mon, 27 Feb 2012 15:36:54 -0500 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0M0200A00JP92700@a-mtaout21.012.net.il> for 10902@debbugs.gnu.org; Mon, 27 Feb 2012 22:33:59 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.124.119.92]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M02009TEJSM3FS0@a-mtaout21.012.net.il>; Mon, 27 Feb 2012 22:33:59 +0200 (IST) Date: Mon, 27 Feb 2012 22:36:04 +0200 From: Eli Zaretskii Subject: Re: bug#10902: 24.0.93; Point displayed after end of buffer with scroll-margin In-reply-to: <877gz8krv2.fsf@gnu.org> To: Johan =?iso-8859-1?Q?Bockg=E5rd?= Message-id: <83ehtgdnez.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: QUOTED-PRINTABLE X-012-Sender: halo1@inter.net.il References: <877gz8krv2.fsf@gnu.org> X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 10902 Cc: 10902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > From: Johan Bockg=E5rd > Date: Mon, 27 Feb 2012 20:18:09 +0100 >=20 >=20 > emacs -Q >=20 > Eval >=20 > (progn > (pop-to-buffer (get-buffer-create "*foo*")) > (dotimes (n 5) (insert "x\n")) > (goto-char (point-min)) > (setq scroll-margin 100) > (set-window-text-height nil (+ 5 2))) >=20 > Press `M->' >=20 > =3D> Point is displayed one line below the end of the buffer. The same happens in Emacs 23, so this isn't a regression in Emacs 24. I will take a look soon. Thanks for reporting this. P.S. Is there a real-life use-case behind this? I mean, setting a scroll margin that is wider than the window sounds... how should I pu= t it... weird, no? From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 27 17:19:18 2012 Received: (at 10902) by debbugs.gnu.org; 27 Feb 2012 22:19:18 +0000 Received: from localhost ([127.0.0.1]:60297 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S28ub-0002fe-Tc for submit@debbugs.gnu.org; Mon, 27 Feb 2012 17:19:18 -0500 Received: from smtprelay-b21.telenor.se ([195.54.99.212]:50264) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S28uP-0002eu-9N for 10902@debbugs.gnu.org; Mon, 27 Feb 2012 17:19:06 -0500 Received: from ipb1.telenor.se (ipb1.telenor.se [195.54.127.164]) by smtprelay-b21.telenor.se (Postfix) with ESMTP id 3B1AEC9FF for <10902@debbugs.gnu.org>; Mon, 27 Feb 2012 23:15:56 +0100 (CET) X-SMTPAUTH-B2: [bocjoh] X-SENDER-IP: [85.228.200.20] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtlYAI7/S09V5MgUPGdsb2JhbABDhTmERal9GQEBAQE3NIFzAQEEASMELyMFCwsUAQUCBSECAg8BBBgBDAoaExmHaAmuD4pCgS+LYRsCCAIKAQYEBwIGBwwUBgMChQgKCg8BAgoMgk6BFgSoLA X-IronPort-AV: E=Sophos;i="4.73,493,1325458800"; d="scan'208";a="275121027" Received: from c-14c8e455.04-211-6c6b701.cust.bredbandsbolaget.se (HELO muon.localdomain) ([85.228.200.20]) by ipb1.telenor.se with ESMTP; 27 Feb 2012 23:15:56 +0100 Received: by muon.localdomain (Postfix, from userid 1000) id 4BA094844FD; Mon, 27 Feb 2012 23:15:55 +0100 (CET) From: =?utf-8?Q?Johan_Bockg=C3=A5rd?= To: Eli Zaretskii Subject: Re: bug#10902: 24.0.93; Point displayed after end of buffer with scroll-margin References: <877gz8krv2.fsf@gnu.org> <83ehtgdnez.fsf@gnu.org> Mail-Copies-To: never Date: Mon, 27 Feb 2012 23:15:55 +0100 In-Reply-To: <83ehtgdnez.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 27 Feb 2012 22:36:04 +0200") Message-ID: <87399vly78.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.93 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 10902 Cc: 10902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) Eli Zaretskii writes: >> From: Johan Bockg=C3=A5rd >> Date: Mon, 27 Feb 2012 20:18:09 +0100 >>=20 >>=20 >> emacs -Q >>=20 >> Eval >>=20 >> (progn >> (pop-to-buffer (get-buffer-create "*foo*")) >> (dotimes (n 5) (insert "x\n")) >> (goto-char (point-min)) >> (setq scroll-margin 100) >> (set-window-text-height nil (+ 5 2))) >>=20 >> Press `M->' >>=20 >> =3D> Point is displayed one line below the end of the buffer. > > The same happens in Emacs 23, so this isn't a regression in Emacs 24. Yes, I noticed that after sending the report. Actually, it happens already in Emacs 21. (BTW, I cannot reproduce it in emacs -nw.) > I will take a look soon. Thanks for reporting this. > > P.S. Is there a real-life use-case behind this? I mean, setting a > scroll margin that is wider than the window sounds... how should I put > it... weird, no? The precise value of scroll-margin is not important. It happens for any value > 1. From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 02 06:39:06 2012 Received: (at 10902) by debbugs.gnu.org; 2 Mar 2012 11:39:06 +0000 Received: from localhost ([127.0.0.1]:58438 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3QpF-0007TA-UK for submit@debbugs.gnu.org; Fri, 02 Mar 2012 06:39:06 -0500 Received: from mtaout22.012.net.il ([80.179.55.172]:36897) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3Qot-0007SK-29 for 10902@debbugs.gnu.org; Fri, 02 Mar 2012 06:38:54 -0500 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M0900A009LNNI00@a-mtaout22.012.net.il> for 10902@debbugs.gnu.org; Fri, 02 Mar 2012 13:37:58 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.228.20.191]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M0900A2P9N935J0@a-mtaout22.012.net.il>; Fri, 02 Mar 2012 13:37:57 +0200 (IST) Date: Fri, 02 Mar 2012 13:40:07 +0200 From: Eli Zaretskii Subject: Re: bug#10902: 24.0.93; Point displayed after end of buffer with scroll-margin In-reply-to: <87399vly78.fsf@gnu.org> To: Johan =?utf-8?Q?Bockg=C3=A5rd?= Message-id: <83sjhrb59k.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-transfer-encoding: QUOTED-PRINTABLE X-012-Sender: halo1@inter.net.il References: <877gz8krv2.fsf@gnu.org> <83ehtgdnez.fsf@gnu.org> <87399vly78.fsf@gnu.org> X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 10902 Cc: 10902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > From: Johan Bockg=C3=A5rd > Cc: 10902@debbugs.gnu.org > Date: Mon, 27 Feb 2012 23:15:55 +0100 >=20 > > I will take a look soon. Thanks for reporting this. > > > > P.S. Is there a real-life use-case behind this? I mean, setting= a > > scroll margin that is wider than the window sounds... how should = I put > > it... weird, no? >=20 > The precise value of scroll-margin is not important. It happens for= any > value > 1. But only if the window height is 2 lines more than the buffer line count, according to my testing. Anyway, I think I fixed this (in revision 107481 on the trunk). Please see if there are any leftovers after that fix. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 03 12:29:35 2012 Received: (at 10902) by debbugs.gnu.org; 3 Mar 2012 17:29:35 +0000 Received: from localhost ([127.0.0.1]:60235 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3sly-0002qj-FN for submit@debbugs.gnu.org; Sat, 03 Mar 2012 12:29:35 -0500 Received: from smtprelay-b22.telenor.se ([195.54.99.213]:43203) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3sll-0002qK-S3 for 10902@debbugs.gnu.org; Sat, 03 Mar 2012 12:29:22 -0500 Received: from ipb4.telenor.se (ipb4.telenor.se [195.54.127.167]) by smtprelay-b22.telenor.se (Postfix) with ESMTP id D1B6CC034 for <10902@debbugs.gnu.org>; Sat, 3 Mar 2012 18:28:43 +0100 (CET) X-SMTPAUTH-B2: [bocjoh] X-SENDER-IP: [85.228.198.131] X-LISTENER: [smtp.bredband.net] X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgWQAN9TUk9V5MaDPGdsb2JhbABDigapPwOBAxkBAQEBNzSBfQEBBAFWIwULCyElDwEEGAEMChoTGYdpCbcUimiFdQSoNA X-IronPort-AV: E=Sophos;i="4.73,526,1325458800"; d="scan'208";a="1818107422" Received: from c-83c6e455.04-211-6c6b701.cust.bredbandsbolaget.se (HELO muon.localdomain) ([85.228.198.131]) by ipb4.telenor.se with ESMTP; 03 Mar 2012 18:28:43 +0100 Received: by muon.localdomain (Postfix, from userid 1000) id 03ECB4844BB; Sat, 3 Mar 2012 18:28:41 +0100 (CET) From: =?utf-8?Q?Johan_Bockg=C3=A5rd?= To: Eli Zaretskii Subject: Re: bug#10902: 24.0.93; Point displayed after end of buffer with scroll-margin References: <877gz8krv2.fsf@gnu.org> <83ehtgdnez.fsf@gnu.org> <87399vly78.fsf@gnu.org> <83sjhrb59k.fsf@gnu.org> Date: Sat, 03 Mar 2012 18:28:41 +0100 In-Reply-To: <83sjhrb59k.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 02 Mar 2012 13:40:07 +0200") Message-ID: <87aa3x4mra.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 10902 Cc: 10902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) Eli Zaretskii writes: >> > I will take a look soon. Thanks for reporting this. >> > >> > P.S. Is there a real-life use-case behind this? I mean, setting a >> > scroll margin that is wider than the window sounds... how should I put >> > it... weird, no? >> >> The precise value of scroll-margin is not important. It happens for any >> value > 1. > > But only if the window height is 2 lines more than the buffer line > count, according to my testing. Mine too. > Anyway, I think I fixed this (in revision 107481 on the trunk). > Please see if there are any leftovers after that fix. It fixes the problem for me. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 03 14:08:48 2012 Received: (at 10902-done) by debbugs.gnu.org; 3 Mar 2012 19:08:48 +0000 Received: from localhost ([127.0.0.1]:60284 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3uJz-00058r-Lz for submit@debbugs.gnu.org; Sat, 03 Mar 2012 14:08:48 -0500 Received: from mtaout23.012.net.il ([80.179.55.175]:44248) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S3uJd-00058J-KE for 10902-done@debbugs.gnu.org; Sat, 03 Mar 2012 14:08:35 -0500 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0M0B00600OWUW800@a-mtaout23.012.net.il> for 10902-done@debbugs.gnu.org; Sat, 03 Mar 2012 21:06:13 +0200 (IST) Received: from HOME-C4E4A596F7 ([84.228.124.49]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M0B006P1P2CRP90@a-mtaout23.012.net.il>; Sat, 03 Mar 2012 21:06:13 +0200 (IST) Date: Sat, 03 Mar 2012 21:06:13 +0200 From: Eli Zaretskii Subject: Re: bug#10902: 24.0.93; Point displayed after end of buffer with scroll-margin In-reply-to: <87aa3x4mra.fsf@gnu.org> To: Johan =?iso-8859-1?Q?Bockg=E5rd?= Message-id: <83399pbj2y.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: QUOTED-PRINTABLE X-012-Sender: halo1@inter.net.il References: <877gz8krv2.fsf@gnu.org> <83ehtgdnez.fsf@gnu.org> <87399vly78.fsf@gnu.org> <83sjhrb59k.fsf@gnu.org> <87aa3x4mra.fsf@gnu.org> X-Spam-Score: -1.2 (-) X-Debbugs-Envelope-To: 10902-done Cc: 10902-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > From: Johan Bockg=E5rd > Cc: 10902@debbugs.gnu.org > Date: Sat, 03 Mar 2012 18:28:41 +0100 >=20 > Eli Zaretskii writes: >=20 > >> > I will take a look soon. Thanks for reporting this. > >> > > >> > P.S. Is there a real-life use-case behind this? I mean, sett= ing a > >> > scroll margin that is wider than the window sounds... how shou= ld I put > >> > it... weird, no? > >>=20 > >> The precise value of scroll-margin is not important. It happens = for any > >> value > 1. > > > > But only if the window height is 2 lines more than the buffer lin= e > > count, according to my testing. >=20 > Mine too. >=20 > > Anyway, I think I fixed this (in revision 107481 on the trunk). > > Please see if there are any leftovers after that fix. >=20 > It fixes the problem for me. Thanks. Thanks, I'm closing the bug. From unknown Wed Jun 18 23:18:26 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 01 Apr 2012 11:24:02 +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