From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Neil Okamoto Newsgroups: gmane.emacs.bugs Subject: bug#40188: check-declare-files does not include malformed declarations in the list Date: Sun, 22 Mar 2020 17:31:03 -0700 Message-ID: <12DE784E-580A-4686-9126-101156860970@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\)) Content-Type: multipart/alternative; boundary="Apple-Mail=_2D53A557-6375-4094-996D-1FF05BAA55A7" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="30112"; mail-complaints-to="usenet@ciao.gmane.io" To: 40188@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Mar 23 01:32:18 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 1jGB0q-0007i8-Ph for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 23 Mar 2020 01:32:16 +0100 Original-Received: from localhost ([::1]:55812 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGB0p-0004ke-F8 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 22 Mar 2020 20:32:15 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38909) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGB0d-0004kV-De for bug-gnu-emacs@gnu.org; Sun, 22 Mar 2020 20:32:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jGB0c-0006jo-FI for bug-gnu-emacs@gnu.org; Sun, 22 Mar 2020 20:32:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45255) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jGB0c-0006jg-Bv for bug-gnu-emacs@gnu.org; Sun, 22 Mar 2020 20:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jGB0c-0003hs-8R for bug-gnu-emacs@gnu.org; Sun, 22 Mar 2020 20:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Neil Okamoto Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 23 Mar 2020 00:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 40188 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.158492347514182 (code B ref -1); Mon, 23 Mar 2020 00:32:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 23 Mar 2020 00:31:15 +0000 Original-Received: from localhost ([127.0.0.1]:51228 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jGAzr-0003ge-2h for submit@debbugs.gnu.org; Sun, 22 Mar 2020 20:31:15 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:40919) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jGAzq-0003gW-1k for submit@debbugs.gnu.org; Sun, 22 Mar 2020 20:31:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38834) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jGAzl-0004ie-Nc for bug-gnu-emacs@gnu.org; Sun, 22 Mar 2020 20:31:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jGAzk-0006bD-Pu for bug-gnu-emacs@gnu.org; Sun, 22 Mar 2020 20:31:09 -0400 Original-Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]:40448) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jGAzk-0006aX-Jg for bug-gnu-emacs@gnu.org; Sun, 22 Mar 2020 20:31:08 -0400 Original-Received: by mail-pj1-x1032.google.com with SMTP id bo3so5252176pjb.5 for ; Sun, 22 Mar 2020 17:31:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:message-id:date:to; bh=nNFPVUjUrYfv+FRoqwDH1yVpPvQA07ujH3wzFNSDyi4=; b=a+RekFmaD5MQxQ0ylY96Ev87Kdu1bEp9Vz/LKBFyPF1wKPv217IOYwwmMKoD1FDgvi tFGpdoAniChLqFaIoi4sAe8rMQjGGrUe2k/Bcz6+/I2l2w37fqQEsXPtNwEn6l3rHxqn IcvO/pg+zvcHfhXZrmh9my23FWkedYA3tcaZc3N/J3iRC/WUtvZP6S8T/3u1bCSiTcqf 17zdJDZdjGHR7CisWe2F4WqbBIi2J/y4Il7quS1d96OLR4+eKpIyJsVPwsyVQNuyYxPn MvzjU5GA2Rrbo00lCWf4JL49x0hH+rn/utslXiybkJ5t+yodHcJNOh9E5T57WYndTOlQ wTGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:message-id:date:to; bh=nNFPVUjUrYfv+FRoqwDH1yVpPvQA07ujH3wzFNSDyi4=; b=FlrceLlW16vlCdJi6n28sDx+tQEgA9+jbjYsY9xFUzYLUW4DQJLS5BARAenM49fDo2 oYq/10MgFin/q+jylucyartDIqBS/ZKQ1rfvcrSXuEfzJrT4srraRCBxUObPPFuHSj3v 88sCgCeWMdbbaiuepixIMYXmfNhaZCuySPYxuY++XyzRw5kiKFY385KVxntcq9Grs5B+ lV6XvY2qzNjuVMkbTwjMUCfzO2xTZXFBvHuDr4+ezRo63FGvhfjGP91ujmVMzFq6M8WF kTaQQ6ftGM9jp7Qrcb2wsAabYmrq0vYMj3t2Oh298Bz0S2M9tJctFlMMTd/jfzAS68XC 1J9w== X-Gm-Message-State: ANhLgQ0hLSn4pqXIfpjMsfygE3vJMBAhxgv33N06yCZO516Dy4H/bTWu 65ZYOF7Duby83aQy6PqMxFrtBCoqN54= X-Google-Smtp-Source: ADFU+vsGctTYNOzR+cgr5XbvLLIB9pt24sDW0C6NZanrWwXinZ2Z+ZdeIYcbXRQ1/W5KZAH4TJt1Dg== X-Received: by 2002:a17:902:76c3:: with SMTP id j3mr18089147plt.187.1584923466753; Sun, 22 Mar 2020 17:31:06 -0700 (PDT) Original-Received: from ?IPv6:2601:646:4200:1180:40f1:c540:6872:f870? ([2601:646:4200:1180:40f1:c540:6872:f870]) by smtp.gmail.com with ESMTPSA id q19sm1025050pgn.93.2020.03.22.17.31.06 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 22 Mar 2020 17:31:06 -0700 (PDT) X-Mailer: Apple Mail (2.3608.60.0.2.5) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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:177635 Archived-At: --Apple-Mail=_2D53A557-6375-4094-996D-1FF05BAA55A7 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 As noted in the subject line: malformed declarations are noted by = =E2=80=98check-declare-scan=E2=80=99 which logs a message in the = =E2=80=98check-declare-warning-buffer=E2=80=99. However that malformed = declaration is not passed back to 'check-declare-files=E2=80=99, and = therefore its not part of the error list returned from that function. Software that uses 'check-declare-files' as a lint check would have to = parse the warning buffer (an additional step) in order to catch these = malformed declarations. --Apple-Mail=_2D53A557-6375-4094-996D-1FF05BAA55A7 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8

As noted in the subject line: malformed declarations are noted = by =E2=80=98check-declare-scan=E2=80=99 which logs a message in the = =E2=80=98check-declare-warning-buffer=E2=80=99.  However that = malformed declaration is not passed back = to 'check-declare-files=E2=80=99, and therefore its not part = of the error list returned from that function.

Software that uses =  'check-declare-files' as a lint check would have to parse the = warning buffer (an additional step) in order to catch these malformed = declarations.

= --Apple-Mail=_2D53A557-6375-4094-996D-1FF05BAA55A7--