From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#52537: [DOC] =?UTF-8?Q?=E2=80=98top-visible=E2=80=99?= and =?UTF-8?Q?=E2=80=98bottom-visible=E2=80=99?= (erroneous indications) Date: Thu, 16 Dec 2021 10:15:06 +0200 Message-ID: <83zgp1ge45.fsf@gnu.org> References: <87v8zp8510.fsf@laposte.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33160"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 52537@debbugs.gnu.org To: Kevin Vigouroux Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 16 09:17:07 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1mxlwp-0008OG-D7 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 Dec 2021 09:17:07 +0100 Original-Received: from localhost ([::1]:43902 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mxlwn-0007yb-W3 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 16 Dec 2021 03:17:06 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56258) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxlvs-00071C-MK for bug-gnu-emacs@gnu.org; Thu, 16 Dec 2021 03:16:09 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51133) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mxlvm-0002Gn-IQ for bug-gnu-emacs@gnu.org; Thu, 16 Dec 2021 03:16:08 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mxlvm-00022G-BB for bug-gnu-emacs@gnu.org; Thu, 16 Dec 2021 03:16:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 16 Dec 2021 08:16:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52537 X-GNU-PR-Package: emacs X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16396425317772 (code B ref -1); Thu, 16 Dec 2021 08:16:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 16 Dec 2021 08:15:31 +0000 Original-Received: from localhost ([127.0.0.1]:34446 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxlvG-00021I-VD for submit@debbugs.gnu.org; Thu, 16 Dec 2021 03:15:31 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:43946) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mxlvD-000216-BU for submit@debbugs.gnu.org; Thu, 16 Dec 2021 03:15:28 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56126) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxlvD-0006qF-5d for bug-gnu-emacs@gnu.org; Thu, 16 Dec 2021 03:15:27 -0500 Original-Received: from [2001:470:142:3::e] (port=53736 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxlvC-000280-64; Thu, 16 Dec 2021 03:15:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=4DJOE5BHEeTIkunnp/XiKky24PMOo/SiRse+qw1l21Q=; b=LGOCU/Mi6jnMf3k0WTaW A6sQ4keEl1Pf2swNq5C9+ItuwtLeWlLViPqLtB/DUo0gLvsqf30NLEjIGyRNQIQEIK7MhMhmMcoD+ HlUrjft06Zc3d+oagg4sJIXqH7sq6JqwAfMqtqi4H8kUDKxJkXb6C0GFD+BFtE498VqbIoOSmNx3u 5bbIN3lYc5nvKn/es3f2XIYloUS9fWQrInzIzWF4Stc4pWrXx3SsGpdOpUoksdnCFFEvgzOggXuD0 KmibEgPV0dAs0AaWi5OB43FmwmKln72nn8ui/oy5SvwbUvgeQjQoDjczoZyE8Omd47CI4nJBFpz1c 7gl93Y7+QGJaBA==; Original-Received: from [87.69.77.57] (port=3638 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mxlv9-0007UK-9p; Thu, 16 Dec 2021 03:15:26 -0500 In-Reply-To: <87v8zp8510.fsf@laposte.net> (bug-gnu-emacs@gnu.org) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:222466 Archived-At: > Date: Thu, 16 Dec 2021 06:58:35 +0100 > From: Kevin Vigouroux via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > In the Emacs Lisp Reference Manual, section 29.14 Child Frames, a > paragraph contains some errors about ‘top-visible’ and ‘bottom-visible’. > > #+begin_quote > The ‘top-visible’ parameter specifies the >>number of pixels at the top > of the frame that always remain visible<< within the parent’s native frame > during dragging and should be set when specifying a non-‘nil’ > ‘drag-with-header-line’ parameter. The ‘bottom-visible’ parameter > specifies the >>number of pixels at the bottom of the frame that always > remain visible<< within the parent’s native frame during dragging and > should be preferred when specifying a non-‘nil’ ‘drag-with-mode-line’ > parameter. > #+end_quote > > The correct description is given in the Emacs Lisp Reference > Manual, section 29.4.3.7 Mouse Dragging Parameters. > > #+begin_quote > ‘top-visible’ > If this parameter is a number, >>the top edge of the frame never > appears above the top edge<< of its display or parent frame. > Moreover, as many pixels of the frame as specified by that number > will remain visible >>when the frame is moved against any of the > remaining edges<< of its display or parent frame. Setting this > parameter is useful to guard against dragging a child frame with a > non-‘nil’ ‘drag-with-header-line’ parameter completely out of the > area of its parent frame. > > ‘bottom-visible’ > If this parameter is a number, >>the bottom edge of the frame never > appears below the bottom edge<< of its display or parent frame. > Moreover, as many pixels of the frame as specified by that number > will remain visible >>when the frame is moved against any of the > remaining edges<< of its display or parent frame. Setting this > parameter is useful to guard against dragging a child frame with a > non-‘nil’ ‘drag-with-mode-line’ parameter completely out of the > area of its parent frame. > #+end_quote > > We may move the child frame with the mouse but not above (below) the top > (bottom) edge of the native frame of the parent frame: this is the role > of ‘top-visible’ (‘bottom-visible’) parameter. Maybe I'm missing something, but I don't necessarily see the error in the first text vs the second one. Could you please point out the part(s) that is/are incorrect there? (Having one description be general and another more specific and accurate is not a problem, it's how our manuals are written in general.) Thanks.