From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Radon Rosborough Newsgroups: gmane.emacs.bugs Subject: bug#28781: 25.3; Override erroneous "incorrect verb voice" from checkdoc Date: Tue, 10 Oct 2017 10:52:18 -0700 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" X-Trace: blaine.gmane.org 1507661552 30710 195.159.176.226 (10 Oct 2017 18:52:32 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 10 Oct 2017 18:52:32 +0000 (UTC) To: 28781@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 10 20:52:28 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1zda-0006bh-6y for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Oct 2017 20:52:18 +0200 Original-Received: from localhost ([::1]:36675 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1zdh-0007b5-KK for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Oct 2017 14:52:25 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49039) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1zcS-00073B-Ma for bug-gnu-emacs@gnu.org; Tue, 10 Oct 2017 14:51:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1zcM-0004l4-Ux for bug-gnu-emacs@gnu.org; Tue, 10 Oct 2017 14:51:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52225) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e1zcM-0004kt-Qy for bug-gnu-emacs@gnu.org; Tue, 10 Oct 2017 14:51:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e1zcM-0005GL-D0 for bug-gnu-emacs@gnu.org; Tue, 10 Oct 2017 14:51:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Radon Rosborough Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Oct 2017 18:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 28781 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.150766141120159 (code B ref -1); Tue, 10 Oct 2017 18:51:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 10 Oct 2017 18:50:11 +0000 Original-Received: from localhost ([127.0.0.1]:60906 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1zbW-0005F5-Db for submit@debbugs.gnu.org; Tue, 10 Oct 2017 14:50:10 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40661) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e1yiK-0003qG-PK for submit@debbugs.gnu.org; Tue, 10 Oct 2017 13:53:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1yiF-00019i-04 for submit@debbugs.gnu.org; Tue, 10 Oct 2017 13:53:03 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:41906) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e1yiE-00019a-Sk for submit@debbugs.gnu.org; Tue, 10 Oct 2017 13:53:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59852) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e1yiD-0007Hl-PQ for bug-gnu-emacs@gnu.org; Tue, 10 Oct 2017 13:53:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e1yiD-00018u-46 for bug-gnu-emacs@gnu.org; Tue, 10 Oct 2017 13:53:01 -0400 Original-Received: from mail-lf0-x22e.google.com ([2a00:1450:4010:c07::22e]:46539) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e1yiC-00018g-TA for bug-gnu-emacs@gnu.org; Tue, 10 Oct 2017 13:53:01 -0400 Original-Received: by mail-lf0-x22e.google.com with SMTP id g70so16409196lfl.3 for ; Tue, 10 Oct 2017 10:53:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=nmNFEOWPOEIOHQg67aFWOACco2l0b3Bvb8KxMNOvCvs=; b=BBA8pXxw5hSSCk95nGU2KTLzasC4dM5v2YpUfrKjMgoh6RXa9qRLDpvVzAVSl5lQAq WD2+hZMppeLcdN5PetDlZfgJOhJ8HYpqy3RjmdLOY812i4pkQyT8agS1ibZouXROVS0N niAwyzPC7igLWEcA4uNkGx9hQL7ECZnkYErnqvX5cFKuyKYvnxpEL+1eKos7Oldbr/2v Tw2vm3PSgiBTFco7Z5C7nq9cOk1Ki96uL6bdmDE6DV3qctiRhKOPWeEYOIfJSvM+Aro7 aicX2LmcOEsqqfIi/UVgYLtO13AxwqzURTZ+i9ny8VHF6JI4LBynd3TQpbOkSxVr6uTp uDrA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=nmNFEOWPOEIOHQg67aFWOACco2l0b3Bvb8KxMNOvCvs=; b=frltddqp7SPhN5peKm6bggVB+E5cqBSi2yONiHjrfv5bZzVC+cpxrmMJaqxwpr08or ywch58/MRvDYss8UzSZPRkEgJiQS2gJvbluo3d8PW6XGxe2yLBrsEUKEbL8ZMEZrC1+g 8Qfev4YTVXTBDPjLQBLLlPq6j9V91027GAYl3DGv7be6i55PYNWyrJrb5XADpIm62KpL BHAt1ATYSpl4MS8yvOdjvr9JcPFzt2JGlf1xuf37XcgQfYqlVTZrW5Ems39DYqYU8keR Eks9nvKkgp+KDbknHI13gd6sgvpKP0lDWqRCCPEYYzMphWyj2YrJlQIyqsNFXNuEV31D xw5w== X-Gm-Message-State: AMCzsaUQjgCpC0A37G/n8GJ+TxnZnouwse2H4Quda3s9JKSwO+wFexzC yX7BRTBwxB2k677tb7VArJpMw7MPoeolXddS5Um5rw== X-Google-Smtp-Source: AOwi7QCQU94wizpqHbfdDf9BeoNv9xXg5NkcLGzMrzG+ji3o2gFj/EqEKFCmH0tWcS+4jgjsF87AQXflxr5+9MrSZJE= X-Received: by 10.25.21.233 with SMTP id 102mr5215838lfv.252.1507657979230; Tue, 10 Oct 2017 10:52:59 -0700 (PDT) Original-Received: by 10.25.208.10 with HTTP; Tue, 10 Oct 2017 10:52:18 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Tue, 10 Oct 2017 14:50:08 -0400 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: 208.118.235.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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:138189 Archived-At: I have the following definition: (defmacro straight--functionp (object) "Non-nil if OBJECT, an unquoted symbol, evaluates to a function. However, if OBJECT evaluates to its own symbol value or t, then return nil. This is useful for allowing a function to be called with nil, non-nil, or a function object, without worrying about the non-nil value being interpreted as a function: just call the function with the quoted name of the argument, or use t." (let ((object-sym (make-symbol "object"))) `(let ((,object-sym ,object)) (and (not (memq ,object-sym '(,object t))) (functionp ,object-sym))))) M-x checkdoc reports the following on the first line: Probably "evaluates" should be imperative "evaluate" This is wrong. How can I suppress this spurious warning, other than by rewording the docstring? I know that checkdoc has `checkdoc-symbol-words' for suppressing spurious warnings about unquoted symbols, but there appears to be nothing similar I can customize in file-local variables for this case.