From unknown Sat Aug 09 22:10:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14540: 24.3.50; Doc: pos-visible-in-window-p: ROWH Resent-From: Michael Heerdegen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 03 Jun 2013 00:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14540 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 14540@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Reply-To: michael_heerdegen@web.de Received: via spool by submit@debbugs.gnu.org id=B.13702210599999 (code B ref -1); Mon, 03 Jun 2013 00:58:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Jun 2013 00:57:39 +0000 Received: from localhost ([127.0.0.1]:48261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UjJ5e-0002bD-RD for submit@debbugs.gnu.org; Sun, 02 Jun 2013 20:57:39 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52327) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UjJ5a-0002as-59 for submit@debbugs.gnu.org; Sun, 02 Jun 2013 20:57:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjJ3i-0006s7-BQ for submit@debbugs.gnu.org; Sun, 02 Jun 2013 20:55:39 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-101.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:34471) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjJ3i-0006s3-95 for submit@debbugs.gnu.org; Sun, 02 Jun 2013 20:55:38 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54045) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjJ3h-0001tE-8w for bug-gnu-emacs@gnu.org; Sun, 02 Jun 2013 20:55:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjJ3e-0006rh-KU for bug-gnu-emacs@gnu.org; Sun, 02 Jun 2013 20:55:37 -0400 Received: from mout.web.de ([212.227.15.4]:49795) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjJ3e-0006rR-Br for bug-gnu-emacs@gnu.org; Sun, 02 Jun 2013 20:55:34 -0400 Received: from drachen.dragon ([82.113.99.70]) by smtp.web.de (mrweb004) with ESMTPSA (Nemesis) id 0Lp9kK-1UFUYK0MTs-00eqbu for ; Mon, 03 Jun 2013 02:55:32 +0200 From: Michael Heerdegen Date: Mon, 03 Jun 2013 02:55:27 +0200 Message-ID: <87fvx0108w.fsf@web.de> MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:4ONDnK3/e4PztcX7Z3U5HIIkarE/hxay5FLI19XVqwxTikstoqz JT8o7rVzQ+csqIRGRTVf/21DqI2ehSiY6LEi/fXDtrx+41uiQqcxSxjeLuVOuu/zv0tIAdM MVS03WX1zqkrvAs/CwOjccVI+uW6HQbWUKa3aY7qoweaeQVPedu2HhSp/IyYDsfTBflDlLm VGGNoLzF+h1Enn2vpK/Vw== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] 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: -6.9 (------) 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: -6.9 (------) Hello, in the docstring of `pos-visible-in-window-p', the explanation of ROWH is not understandable (wrong, in my opinion). It sounds like it would be the (complete) height of the row (visible + non-visible part). AFAICT, ROWH specifies the _visible_ height, as mentioned in the manual (info "(elisp) Window Start and End"). I suggest to replace [...]; otherwise, RTOP and RBOT are the number of pixels off-window at the top and bottom of the row, ROWH is the height of the display row, and VPOS is the row number (0-based) containing POS. by something like: [...]; otherwise, RTOP and RBOT are the number of pixels off-window at the top and bottom of the display row at POSITION, ROWH is the visible height of that row, and VPOS is the (0-based) row number. Thanks! Michael. In GNU Emacs 24.3.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.8.2) of 2013-05-27 on dex, modified by Debian (emacs-snapshot package, version 2:20130527-1) Windowing system distributor `The X.Org Foundation', version 11.0.11204000 System Description: Debian GNU/Linux testing (jessie) Configured using: `configure --build x86_64-linux-gnu --host x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/24.3.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.3.50/site-lisp:/usr/share/emacs/site-lisp --without-compress-info --with-crt-dir=/usr/lib/x86_64-linux-gnu/ --with-x=yes --with-x-toolkit=gtk3 --with-imagemagick=yes CFLAGS='-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' CPPFLAGS='-D_FORTIFY_SOURCE=2' LDFLAGS='-g -Wl,--as-needed -znocombreloc'' From unknown Sat Aug 09 22:10:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14540: 24.3.50; Doc: pos-visible-in-window-p: ROWH Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 04 Jun 2013 16:38:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14540 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: michael_heerdegen@web.de Cc: 14540@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 14540-submit@debbugs.gnu.org id=B14540.137036385120163 (code B ref 14540); Tue, 04 Jun 2013 16:38:01 +0000 Received: (at 14540) by debbugs.gnu.org; 4 Jun 2013 16:37:31 +0000 Received: from localhost ([127.0.0.1]:50742 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UjuEl-0005FA-Co for submit@debbugs.gnu.org; Tue, 04 Jun 2013 12:37:31 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:53109) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UjuEj-0005Et-7r for 14540@debbugs.gnu.org; Tue, 04 Jun 2013 12:37:30 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MNV00M00NAYLW00@a-mtaout22.012.net.il> for 14540@debbugs.gnu.org; Tue, 04 Jun 2013 19:34:50 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MNV00LZYNE2YNF0@a-mtaout22.012.net.il>; Tue, 04 Jun 2013 19:34:50 +0300 (IDT) Date: Tue, 04 Jun 2013 19:34:48 +0300 From: Eli Zaretskii In-reply-to: <87fvx0108w.fsf@web.de> X-012-Sender: halo1@inter.net.il Message-id: <83ehchx2af.fsf@gnu.org> References: <87fvx0108w.fsf@web.de> X-Spam-Score: -1.2 (-) 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 (-) > From: Michael Heerdegen > Date: Mon, 03 Jun 2013 02:55:27 +0200 > > in the docstring of `pos-visible-in-window-p', the explanation of ROWH > is not understandable (wrong, in my opinion). > > It sounds like it would be the (complete) height of the row (visible + > non-visible part). AFAICT, ROWH specifies the _visible_ height, as > mentioned in the manual (info "(elisp) Window Start and End"). > > I suggest to replace > > [...]; otherwise, RTOP and RBOT are the number of pixels off-window at > the top and bottom of the row, ROWH is the height of the display row, > and VPOS is the row number (0-based) containing POS. > > by something like: > > [...]; otherwise, RTOP and RBOT are the number of pixels off-window at > the top and bottom of the display row at POSITION, ROWH is the visible > height of that row, and VPOS is the (0-based) row number. Thanks, fixed in trunk revision 112848. From unknown Sat Aug 09 22:10:15 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: michael_heerdegen@web.de Subject: bug#14540: closed (Re: bug#14540: 24.3.50; Doc: pos-visible-in-window-p: ROWH) Message-ID: References: <83bo7lx1yw.fsf@gnu.org> <87fvx0108w.fsf@web.de> X-Gnu-PR-Message: they-closed 14540 X-Gnu-PR-Package: emacs Reply-To: 14540@debbugs.gnu.org Date: Tue, 04 Jun 2013 16:44:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1370364242-21201-1" This is a multi-part message in MIME format... ------------=_1370364242-21201-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #14540: 24.3.50; Doc: pos-visible-in-window-p: ROWH which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 14540@debbugs.gnu.org. --=20 14540: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D14540 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1370364242-21201-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 14540-done) by debbugs.gnu.org; 4 Jun 2013 16:43:56 +0000 Received: from localhost ([127.0.0.1]:50746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UjuKy-0005VI-Ae for submit@debbugs.gnu.org; Tue, 04 Jun 2013 12:43:56 -0400 Received: from mtaout23.012.net.il ([80.179.55.175]:36527) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UjuKu-0005Uz-QF for 14540-done@debbugs.gnu.org; Tue, 04 Jun 2013 12:43:53 -0400 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MNV00D00MUSGE00@a-mtaout23.012.net.il> for 14540-done@debbugs.gnu.org; Tue, 04 Jun 2013 19:41:45 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MNV00DNDNPKF260@a-mtaout23.012.net.il> for 14540-done@debbugs.gnu.org; Tue, 04 Jun 2013 19:41:45 +0300 (IDT) Date: Tue, 04 Jun 2013 19:41:43 +0300 From: Eli Zaretskii Subject: Re: bug#14540: 24.3.50; Doc: pos-visible-in-window-p: ROWH In-reply-to: <87fvx0108w.fsf@web.de> X-012-Sender: halo1@inter.net.il To: 14540-done@debbugs.gnu.org Message-id: <83bo7lx1yw.fsf@gnu.org> References: <87fvx0108w.fsf@web.de> X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 14540-done 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 (-) Fixed. ------------=_1370364242-21201-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 3 Jun 2013 00:57:39 +0000 Received: from localhost ([127.0.0.1]:48261 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UjJ5e-0002bD-RD for submit@debbugs.gnu.org; Sun, 02 Jun 2013 20:57:39 -0400 Received: from eggs.gnu.org ([208.118.235.92]:52327) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UjJ5a-0002as-59 for submit@debbugs.gnu.org; Sun, 02 Jun 2013 20:57:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjJ3i-0006s7-BQ for submit@debbugs.gnu.org; Sun, 02 Jun 2013 20:55:39 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-101.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:34471) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjJ3i-0006s3-95 for submit@debbugs.gnu.org; Sun, 02 Jun 2013 20:55:38 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54045) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjJ3h-0001tE-8w for bug-gnu-emacs@gnu.org; Sun, 02 Jun 2013 20:55:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjJ3e-0006rh-KU for bug-gnu-emacs@gnu.org; Sun, 02 Jun 2013 20:55:37 -0400 Received: from mout.web.de ([212.227.15.4]:49795) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjJ3e-0006rR-Br for bug-gnu-emacs@gnu.org; Sun, 02 Jun 2013 20:55:34 -0400 Received: from drachen.dragon ([82.113.99.70]) by smtp.web.de (mrweb004) with ESMTPSA (Nemesis) id 0Lp9kK-1UFUYK0MTs-00eqbu for ; Mon, 03 Jun 2013 02:55:32 +0200 From: Michael Heerdegen To: bug-gnu-emacs@gnu.org Subject: 24.3.50; Doc: pos-visible-in-window-p: ROWH Date: Mon, 03 Jun 2013 02:55:27 +0200 Message-ID: <87fvx0108w.fsf@web.de> MIME-Version: 1.0 Content-Type: text/plain X-Provags-ID: V03:K0:4ONDnK3/e4PztcX7Z3U5HIIkarE/hxay5FLI19XVqwxTikstoqz JT8o7rVzQ+csqIRGRTVf/21DqI2ehSiY6LEi/fXDtrx+41uiQqcxSxjeLuVOuu/zv0tIAdM MVS03WX1zqkrvAs/CwOjccVI+uW6HQbWUKa3aY7qoweaeQVPedu2HhSp/IyYDsfTBflDlLm VGGNoLzF+h1Enn2vpK/Vw== X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [generic] 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: -6.9 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: michael_heerdegen@web.de 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: -6.9 (------) Hello, in the docstring of `pos-visible-in-window-p', the explanation of ROWH is not understandable (wrong, in my opinion). It sounds like it would be the (complete) height of the row (visible + non-visible part). AFAICT, ROWH specifies the _visible_ height, as mentioned in the manual (info "(elisp) Window Start and End"). I suggest to replace [...]; otherwise, RTOP and RBOT are the number of pixels off-window at the top and bottom of the row, ROWH is the height of the display row, and VPOS is the row number (0-based) containing POS. by something like: [...]; otherwise, RTOP and RBOT are the number of pixels off-window at the top and bottom of the display row at POSITION, ROWH is the visible height of that row, and VPOS is the (0-based) row number. Thanks! Michael. In GNU Emacs 24.3.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.8.2) of 2013-05-27 on dex, modified by Debian (emacs-snapshot package, version 2:20130527-1) Windowing system distributor `The X.Org Foundation', version 11.0.11204000 System Description: Debian GNU/Linux testing (jessie) Configured using: `configure --build x86_64-linux-gnu --host x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/24.3.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.3.50/site-lisp:/usr/share/emacs/site-lisp --without-compress-info --with-crt-dir=/usr/lib/x86_64-linux-gnu/ --with-x=yes --with-x-toolkit=gtk3 --with-imagemagick=yes CFLAGS='-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' CPPFLAGS='-D_FORTIFY_SOURCE=2' LDFLAGS='-g -Wl,--as-needed -znocombreloc'' ------------=_1370364242-21201-1--