From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Matt Newsgroups: gmane.emacs.bugs Subject: bug#69745: [PATCH] Fix incorrect Edebug docstrings Date: Tue, 12 Mar 2024 10:13:01 +0100 Message-ID: <18e31efc662.110b51b75233014.2760074093528628525@excalamus.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_755978_505512936.1710234781283" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3663"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Zoho Mail To: 69745@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Mar 12 13:21:50 2024 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 1rk18g-0000kn-NI for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 12 Mar 2024 13:21:50 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rk18M-0002Tc-Rm; Tue, 12 Mar 2024 08:21:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rk18J-0002TT-Tk for bug-gnu-emacs@gnu.org; Tue, 12 Mar 2024 08:21:27 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rk18J-0004EE-K8 for bug-gnu-emacs@gnu.org; Tue, 12 Mar 2024 08:21:27 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rk18s-0003z9-0L for bug-gnu-emacs@gnu.org; Tue, 12 Mar 2024 08:22:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Matt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 12 Mar 2024 12:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69745 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: "bug-gnu-emacs" Original-Received: via spool by submit@debbugs.gnu.org id=B.171024606615233 (code B ref -1); Tue, 12 Mar 2024 12:22:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Mar 2024 12:21:06 +0000 Original-Received: from localhost ([127.0.0.1]:41990 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rk17x-0003xc-Eu for submit@debbugs.gnu.org; Tue, 12 Mar 2024 08:21:06 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:47298) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjyCd-0003ux-L2 for submit@debbugs.gnu.org; Tue, 12 Mar 2024 05:13:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rjyC4-00076l-QB for bug-gnu-emacs@gnu.org; Tue, 12 Mar 2024 05:13:08 -0400 Original-Received: from sender4-pp-f112.zoho.com ([136.143.188.112]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rjyC3-00012x-13 for bug-gnu-emacs@gnu.org; Tue, 12 Mar 2024 05:13:08 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1710234782; cv=none; d=zohomail.com; s=zohoarc; b=Ys9Hh4NVIE+J2ZluJNP0WA2kBoVkwltrmKYcKCENbo3/7Kg3I7vZtpITlwPD1ZYhWXnlLP6Ht2pFRgWy1D+lC2jPjXvBYUIa0JP9SXVBJRnJZqjDjfNVwMB4U04xvjzYlt8f4UQqn5LZN/Z759qXj7L+nUXehosN7eLjjJ1AhAY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1710234782; h=Content-Type:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=0sjeLOdxMcLae2h4F3WqL45sc/WHuR6AF9X+L9oXr4U=; b=EADFvdkiuhIOwEqa+Tn4ilJ2mBU7LhgLbu6XTb8mQmo6yEoikaXVTwfzldmM3CDgYxNrjf0EYgL58ws5tmnY0vribhgmQUQM8Co7wGWN5CA+9CJ8psdBAzvM2FgqP/rzIhSxywK+RgGbqTcg2yPMi4IWfCfI0wUVC2dcey5kQ+E= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=excalamus.com; spf=pass smtp.mailfrom=matt@excalamus.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1710234782; s=zmail; d=excalamus.com; i=matt@excalamus.com; h=Date:Date:From:From:To:To:Message-Id:Message-Id:In-Reply-To:Subject:Subject:MIME-Version:Content-Type:Reply-To:Cc; bh=0sjeLOdxMcLae2h4F3WqL45sc/WHuR6AF9X+L9oXr4U=; b=gIR96VYskQgjRjit1QmV3KXqhPbGO/6Spe/p4ZoX8V5bHUjbdCLN5ZO5q9zrAvB1 K5Psj+AhkFALUlVcw9fd6mahteNg8nmfokVLG6Hskan66HZ05DF53ApeNCfrRhQqJyf wvyMMJCAe57EctHluHESQl9wp/DvH7WLchJ8mXb0= Original-Received: from mail.zoho.com by mx.zohomail.com with SMTP id 1710234781371830.9519196074343; Tue, 12 Mar 2024 02:13:01 -0700 (PDT) Importance: Medium X-Mailer: Zoho Mail X-Zoho-Virus-Status: 1 X-Zoho-AV-Stamp: zmail-av-1.1.0/210.162.90 Received-SPF: pass client-ip=136.143.188.112; envelope-from=matt@excalamus.com; helo=sender4-pp-f112.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 12 Mar 2024 08:21:03 -0400 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:281509 Archived-At: ------=_Part_755978_505512936.1710234781283 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi, When edebug-print-length and edebug-print-level are nil, they default to pr= int-level and print-length. The docstrings currently say the opposite, tha= t edebug defaults to the print variables if non-nil. Thank you -- Matt Trzcinski Emacs Org contributor (ob-shell) Learn more about Org mode at https://orgmode.org Support Org development at=C2=A0https://liberapay.com/org-mode ------=_Part_755978_505512936.1710234781283 Content-Type: application/octet-stream; name=fix-incorrect-edebug-docstring.diff Content-Transfer-Encoding: 7bit X-ZM_AttachId: 139295275812830220 Content-Disposition: attachment; filename=fix-incorrect-edebug-docstring.diff diff --git a/lisp/emacs-lisp/edebug.el b/lisp/emacs-lisp/edebug.el index 4c7dbb4ef8c..a33593dca4c 100644 --- a/lisp/emacs-lisp/edebug.el +++ b/lisp/emacs-lisp/edebug.el @@ -193,10 +193,10 @@ Use this with caution since it is not debugged." (defcustom edebug-print-length 50 - "If non-nil, default value of `print-length' for printing results in Edebug." + "If nil, default value of `print-length' is used for printing results in Edebug." :type '(choice integer (const nil))) (defcustom edebug-print-level 50 - "If non-nil, default value of `print-level' for printing results in Edebug." + "If nil, default value of `print-level' is used for printing results in Edebug." :type '(choice integer (const nil))) (defcustom edebug-print-circle t "If non-nil, default value of `print-circle' for printing results in Edebug." ------=_Part_755978_505512936.1710234781283--