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#66267: Document cl-print.el in the CL manual. Date: Tue, 10 Oct 2023 21:54:23 +0300 Message-ID: <83bkd6ux40.fsf@gnu.org> References: <83fs2wyl5p.fsf@gnu.org> <83v8bevhv2.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10664"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 66267@debbugs.gnu.org, monnier@iro.umontreal.ca To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Oct 10 20:56:07 2023 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 1qqHtn-0002Uu-6U for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 10 Oct 2023 20:56:07 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qqHta-0005gP-AF; Tue, 10 Oct 2023 14:55:54 -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 1qqHtN-0005ea-Pc for bug-gnu-emacs@gnu.org; Tue, 10 Oct 2023 14:55:45 -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 1qqHtN-00085S-HP for bug-gnu-emacs@gnu.org; Tue, 10 Oct 2023 14:55:41 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qqHti-0004V5-Jx for bug-gnu-emacs@gnu.org; Tue, 10 Oct 2023 14:56:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Oct 2023 18:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66267 X-GNU-PR-Package: emacs Original-Received: via spool by 66267-submit@debbugs.gnu.org id=B66267.169696411317223 (code B ref 66267); Tue, 10 Oct 2023 18:56:02 +0000 Original-Received: (at 66267) by debbugs.gnu.org; 10 Oct 2023 18:55:13 +0000 Original-Received: from localhost ([127.0.0.1]:36894 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qqHsq-0004Td-2R for submit@debbugs.gnu.org; Tue, 10 Oct 2023 14:55:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:32964) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qqHsm-0004Sz-9M for 66267@debbugs.gnu.org; Tue, 10 Oct 2023 14:55:07 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qqHsG-0007gy-Sq; Tue, 10 Oct 2023 14:54:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=+8pbm+YjC2G/p25Yn9aUBrEGuKkT5DAU/g3k+ZvtM34=; b=V2jwow9UoEqk L1gpNLb7i3q5yYebrq6dRgo/IoN8EykGQIQ1ucrVHS9BxQeodMtHKZ3ICr/kLXmrlGtsq7K8hH2DH cfHA8DeNdAU++M0lZm07+QWYx4LC5VTK3kVtMThUk82CFrIwpk7NlNsM5gth7JRlB2CmczF9zJsb9 CDtIjrwWIcXyVAWxNAOGtGkRtD0jRbTBv8e7ICIguA2xmi3YWK4hQaoJMrpmsHAKIT+L5SjMeEygs YzldVv6S+jyYokYLUUKLTUOQ3XgQTdtOOzw7la6zyc2ymVZcqgKCpE3n1GfMC3kS4TyjbLR6dkGSx 3bJNbsWOccJStciKwuv63w==; In-Reply-To: (message from Alan Mackenzie on Tue, 10 Oct 2023 16:49:29 +0000) 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:272230 Archived-At: > Date: Tue, 10 Oct 2023 16:49:29 +0000 > Cc: monnier@iro.umontreal.ca, 66267@debbugs.gnu.org > From: Alan Mackenzie > > > > +should respect @code{print-length}, @code{print-level}, and > > > +@code{cl-print-string-length}. @var{limit} may be @code{nil} or zero > > > +in which case @var{print-function} will be called with these settings > > > +bound to @code{nil}, and it can also be @code{t} in which case > > > +@var{print-function} will be called with their current values. > > > + > > > +Use this function with @code{cl-prin1} to print an object, > > > +abbreviating it with ellipses to fit within a size limit. > > ^^^^^^^^ > > "ellipsis" > > No. "EllipsEs" is the plural of "ellipsIs". ??? You say "abbreviating it with ellipses". "It" is singular, so it gets abbreviated with only one ellipsis, not with several ones. > > > +@code{cl-defgeneric} which is defined for several types of > > > Please add here a cross-reference to where cl-defgeneric is described. > > There is no documentation for cl-defgeneric and cl-defmethod except, > perhaps, in their doc strings. Of course, there is: see "(elisp) Generic Functions". > > > +You can write @code{cl-print-object} @code{cl-defmethod}s for other > > > +types of @var{object}, thus extending @code{cl-prin1}. If you write > > > +such a method which uses ellipses, you should also write a > > ^^^^^^^^ > > "ellipsis" > > See above. See above.