From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#40695: [PATCH] ; Fix some typos and doc issues Date: Sat, 18 Apr 2020 15:28:14 +0300 Message-ID: <833691asgx.fsf@gnu.org> References: <20200418113735.34298-1-stepnem@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="7365"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 40695@debbugs.gnu.org To: =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Apr 18 14:29:14 2020 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 1jPmav-0001pq-RI for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Apr 2020 14:29:13 +0200 Original-Received: from localhost ([::1]:57468 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPmau-0003jd-A5 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Apr 2020 08:29:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41053) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPmal-0003cO-Ek for bug-gnu-emacs@gnu.org; Sat, 18 Apr 2020 08:29:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jPmak-0007VT-8a for bug-gnu-emacs@gnu.org; Sat, 18 Apr 2020 08:29:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58796) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jPmak-0007V0-5H for bug-gnu-emacs@gnu.org; Sat, 18 Apr 2020 08:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jPmak-0003Rh-2l for bug-gnu-emacs@gnu.org; Sat, 18 Apr 2020 08:29: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: Sat, 18 Apr 2020 12:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 40695 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 40695-submit@debbugs.gnu.org id=B40695.158721291313209 (code B ref 40695); Sat, 18 Apr 2020 12:29:02 +0000 Original-Received: (at 40695) by debbugs.gnu.org; 18 Apr 2020 12:28:33 +0000 Original-Received: from localhost ([127.0.0.1]:42109 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPmaG-0003Qz-TY for submit@debbugs.gnu.org; Sat, 18 Apr 2020 08:28:33 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:54108) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jPmaF-0003Qm-4W for 40695@debbugs.gnu.org; Sat, 18 Apr 2020 08:28:31 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:57837) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jPma9-0007GI-W0; Sat, 18 Apr 2020 08:28:26 -0400 Original-Received: from [176.228.60.248] (port=2288 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jPma8-0004Rn-43; Sat, 18 Apr 2020 08:28:24 -0400 In-Reply-To: <20200418113735.34298-1-stepnem@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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:178567 Archived-At: > From: Štěpán Němec > > Date: Sat, 18 Apr 2020 13:37:35 +0200 > > --- > [Rebased on top of current emacs-27] Thanks. A few comments below. > --- a/doc/emacs/fixit.texi > +++ b/doc/emacs/fixit.texi > @@ -201,8 +201,8 @@ Transpose > A numeric argument to a transpose command serves as a repeat count: it > tells the transpose command to move the character (or word or > expression or line) before or containing point across several other > -characters (or words or expressions or lines). For example, @kbd{C-u > -3 C-t} moves the character before point forward across three other > +characters (or words or expressions or lines). For example, @w{@kbd{C-u > +3 C-t}} moves the character before point forward across three other Are all of the places where you inserted @w{..} split expressions or commands between lines? I don't want to have redundant @w{..} in the manual sources. > -@strong{Warning:} if the changes you combine occur in widely scattered > +@strong{Warning:} If the changes you combine occur in widely scattered Not sure the original text is a typo. > diff --git a/doc/misc/texinfo.tex b/doc/misc/texinfo.tex > index 6d9d7113f7..1d05eab65c 100644 > --- a/doc/misc/texinfo.tex > +++ b/doc/misc/texinfo.tex texinfo.tex is not maintained by us, it is an imported file. Please report this to the Texinfo mailing list. > --- a/lisp/emacs-lisp/cl-macs.el > +++ b/lisp/emacs-lisp/cl-macs.el > @@ -776,7 +776,7 @@ cl-case > "Eval EXPR and choose among clauses on that value. > Each clause looks like (KEYLIST BODY...). EXPR is evaluated and > compared against each key in each KEYLIST; the corresponding BODY > -is evaluated. If no clause succeeds, cl-case returns nil. A > +is evaluated. If no clause succeeds, `cl-case' returns nil. A I'd prefer to say "this macro" here. It doesn't seem useful to have a link to the macro from its own doc string. > (defmacro cl-typecase (expr &rest clauses) > - "Evals EXPR, chooses among clauses on that value. > + "Eval EXPR and choose among clauses on that value. > Each clause looks like (TYPE BODY...). EXPR is evaluated and, if it > satisfies TYPE, the corresponding BODY is evaluated. If no clause succeeds, > -cl-typecase returns nil. A TYPE of t or `otherwise' is allowed only in the > +`cl-typecase' returns nil. A TYPE of t or `otherwise' is allowed only in the Likewise here. > -;; `iter-do' is like `cl-do', except that instead of walking a list, > +;; `iter-do' is like `dolist', except that instead of walking a list, Is the original text in error here? > (defvar cps--dynamic-wrappers '(identity) > - "List of transformer functions to apply to atomic forms we > -evaluate in CPS context.") > + "\ > +List of transformer functions applied to atomic forms evaluated in CPS context." > + ) This should be fixed by making the sentence shorter. The sentence is a mouthful, IMO. > (defun cps--atomic-p (form) > - "Return whether the given form never yields." > - > + "Return non-nil if FORM never yields." Why this change? > -like `try-completion'; if it's t, this function works like > -`all-completion'; and any other values makes it work like > +like `try-completion'; if it is t, this function works like > +`all-completion'; and any other value makes it work like What was wrong here?