From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Brad Knotwell via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#71166: incorrect documentation Date: Fri, 24 May 2024 00:00:37 -0700 Message-ID: References: Reply-To: Brad Knotwell Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19703"; mail-complaints-to="usenet@ciao.gmane.io" To: 71166@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri May 24 09:02:30 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 1sAOwf-0004tW-Br for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 24 May 2024 09:02:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sAOwM-00057P-Fz; Fri, 24 May 2024 03:02:10 -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 1sAOw8-00055P-Ho for bug-gnu-emacs@gnu.org; Fri, 24 May 2024 03:02:01 -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 1sAOw7-0002yE-OC for bug-gnu-emacs@gnu.org; Fri, 24 May 2024 03:01:55 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sAOwE-0004h0-8Y for bug-gnu-emacs@gnu.org; Fri, 24 May 2024 03:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Brad Knotwell Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 May 2024 07:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 71166 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.171653407418024 (code B ref -1); Fri, 24 May 2024 07:02:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 24 May 2024 07:01:14 +0000 Original-Received: from localhost ([127.0.0.1]:35357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sAOvR-0004gY-RY for submit@debbugs.gnu.org; Fri, 24 May 2024 03:01:14 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:53404) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sAOvF-0004fy-Ko for submit@debbugs.gnu.org; Fri, 24 May 2024 03:01:12 -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 1sAOv6-0003t8-SH for bug-gnu-emacs@gnu.org; Fri, 24 May 2024 03:00:53 -0400 Original-Received: from sonic316-8.consmr.mail.gq1.yahoo.com ([98.137.69.32]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sAOv3-0002jr-5u for bug-gnu-emacs@gnu.org; Fri, 24 May 2024 03:00:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1716534044; bh=56aVTfdMWbbq2WXQLC7J5SIfg+8OCF2+Dpvhjkm7gOI=; h=From:To:Subject:Date:References:From:Subject:Reply-To; b=TaTb+/kqblaoELwT6vux80coeLstEKakp91kZeus0/5rpjfmwqIfk5ZJ7IGror7S6BW9ivNT0yb2Xq+lgX5TziLUlU1BJm4Mdjgfx9pqtj6PSRtLG75Are/DvHH63S1fFLDADfH7UAHmO8kJA05015k0OLBY9Du9iaed4utQc8paKppvic1CKDn3ppVHHnpikQA5fd1ugXPJHLNDmHbOV09UPC9oFOoQoQPRZ6/e9sIk4aLt9/CmklgnQz3VKimnR1SXpa7h2+jmr+z2+75HeclxHE45fOPZEhObthY7fXkRjYwmg0YGn7VuxpEy4DWCqp3D7M+LxTSE08CWN9GmBg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1716534044; bh=unxqGRkGynayPqF0VjSBy/jyKKtsErmUk01P0ePEDLK=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=S1O4lbGt0POyMR8HxMlEi6MB5tUKUmJaRQhv1dHYrje4t31E7JrHYuIN2uT3p+25pcIq7H41Lgwy3wmj8YIZrWsQZxJdz7h7P7bqx+TclHUXhv5J9M07p6R6zRJCbokIXLncmOGm6l5Y2ATt3PAUJ2whPfx5LLAUQjLs3vZRzIENawMBrnBaGsnJyqhHuWXBKE3aLiBgz7bh8Kks/CC+JTXfwDsJ+1g9HXg8Brn+MCPub5/QLQHkbed7/xWJ+96OmDtGn6GRoSIz6WIiYU21YwieMdvAsUvC0r8sQSjdT1sdfRyP/raSJfr81tLzv+wgfaQQsG+IovWKXq8pKnEM1w== X-YMail-OSG: XEojiDgVM1lB6ctcDvzymtDR4BoWGGbYAVkmiqf0PBXuKWqPlKC.mWyDiJ8oWde Xw6rF..DFFjU1HGyU_F4C32UnG.ca19L6UoYJqzE4fxBDh80FxHRX2fIpjP3Jv9ADPniBusvq8NE Y13JocqyfL9w5xQqWJFn4eryk61fGKghLrsrwSAELyHWb44r8fCoHuyJDIXaBAwttA5foFlMNsvF G051Era2wcZ5YLTbMRYm33hs1BzP0SuCk.APr_eMkOVa9le5WwXRMemkxCOod0LDrnkHq6dJXSz8 b7saaCNTjzPRQO6yGcP72LyiSbmLe0wdAjqO0df3.9.9hpRq4iSpd5_HoRkvgBX3Vm5Ud5LW6fdJ YTA64.3vk8STBEULaK1QGQNTw0FVMbqRYA8Q.syvsXOwfz7rorvpEXB5cSsnbh.epyQ7bi5XeJfd UVpjQUppVv1I9oFu1bfjcd7xaRQRh.tHOjfFvjB6a96Lpj2.QE6_OVyIxskhSCwuMZmLoqs1kBiS b3k2Yqh3yAyS4Ut5C7dAwQYc4yhsKXgvnkqqUkFMBXSUN7O0nraJJ5cCeyLrsMJkVnueSlZv65lh Xh2Ue3yRdfeTLCHHOwEOqnXcoPf._1QXHKHKtWaONFkCSemRmdj1jjLFXAjotBG5MrQZVSL_FRgh Rjd0uGVQBuC8S.Y8IanG4891xtEzkD8Cu4Tx1q66BYJRswnfl3IHtkFSAYkOfkexpfD33a80AGKu r1zuPjesRYJisEyALma9psqLM75JBJ3CChBX3jazORF.50B.Vz16_cpNo.ySzJEJaOC9rumUf.g_ o0Vy1VvrC55jr8L5NyYk_AsVM2d_t2us.1nlJlFs0m X-Sonic-MF: X-Sonic-ID: 3d964a13-d175-4128-9b86-bbcbb3a69991 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.gq1.yahoo.com with HTTP; Fri, 24 May 2024 07:00:44 +0000 Original-Received: by hermes--production-gq1-59c575df44-84j4c (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID de9aa22b28f3f2ad3c4856bb1bbf3350; Fri, 24 May 2024 07:00:39 +0000 (UTC) X-Mailer: WebService/1.1.22356 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=98.137.69.32; envelope-from=bknotwell@yahoo.com; helo=sonic316-8.consmr.mail.gq1.yahoo.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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:285744 Archived-At: --=-=-= Content-Type: text/plain Tags: patch Documentation contains incorrect example code. In GNU Emacs 29.1 (build 1, x86_64-apple-darwin15.6.0, NS appkit-1404.47 Version 10.11.6 (Build 15G22010)) of 2023-08-16 built on builder10-11.lan Windowing system distributor 'Apple', version 10.3.1561 System Description: Mac OS X 10.13.6 Configured using: 'configure --with-ns '--enable-locallisppath=/Library/Application Support/Emacs/${version}/site-lisp:/Library/Application Support/Emacs/site-lisp' --with-modules 'CFLAGS=-DFD_SETSIZE=10000 -DDARWIN_UNLIMITED_SELECT' CFLAGS=-DNSTextAlignmentRight=NSRightTextAlignment --with-x-toolkit=no' --=-=-= Content-Type: text/patch Content-Disposition: attachment; filename=calcdoc.patch diff --git a/doc/misc/calc.texi b/doc/misc/calc.texi index f7b7e277b58..bcedee8a946 100644 --- a/doc/misc/calc.texi +++ b/doc/misc/calc.texi @@ -32501,9 +32501,9 @@ decreases the precision. (put 'calc-define 'inc-prec '(progn (define-key calc-mode-map (format "Y%sI" inc-prec-base-key) - 'increase-precision) + 'calc-increase-precision) (define-key calc-mode-map (format "Y%sD" inc-prec-base-key) - 'decrease-precision) + 'calc-decrease-precision) (setq calc-Y-help-msgs (cons (format "%s + Inc-prec, Dec-prec" inc-prec-base-key) --=-=-=--