From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#35767: 26.1; byte compiler lost warning about calling define-key with wrong number of arguments Date: Thu, 30 May 2019 18:51:38 -0400 Message-ID: <874l5b7dz9.fsf@gmail.com> References: <87pnoidrei.fsf@gmail.com> <87sgsz75sd.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="60918"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) Cc: 35767@debbugs.gnu.org To: Alex Branham Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 31 00:52:12 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hWTu8-000Fjx-7f for geb-bug-gnu-emacs@m.gmane.org; Fri, 31 May 2019 00:52:12 +0200 Original-Received: from localhost ([127.0.0.1]:60042 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hWTu7-00083k-7e for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 May 2019 18:52:11 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:43232) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hWTtz-00083X-Rh for bug-gnu-emacs@gnu.org; Thu, 30 May 2019 18:52:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hWTty-0005O3-Qy for bug-gnu-emacs@gnu.org; Thu, 30 May 2019 18:52:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48991) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hWTty-0005Nt-Nq for bug-gnu-emacs@gnu.org; Thu, 30 May 2019 18:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hWTty-0006Wh-Id for bug-gnu-emacs@gnu.org; Thu, 30 May 2019 18:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 May 2019 22:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 35767 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 35767-submit@debbugs.gnu.org id=B35767.155925670925065 (code B ref 35767); Thu, 30 May 2019 22:52:02 +0000 Original-Received: (at 35767) by debbugs.gnu.org; 30 May 2019 22:51:49 +0000 Original-Received: from localhost ([127.0.0.1]:34302 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hWTtk-0006W7-Ij for submit@debbugs.gnu.org; Thu, 30 May 2019 18:51:48 -0400 Original-Received: from mail-it1-f174.google.com ([209.85.166.174]:52080) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hWTti-0006Vo-9Y; Thu, 30 May 2019 18:51:46 -0400 Original-Received: by mail-it1-f174.google.com with SMTP id m3so12734702itl.1; Thu, 30 May 2019 15:51:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=KHVpt1vTI2S8YF+ZDfByeUwDOsLlkciCAFcWx1EfWSw=; b=Ly05r3G+Q9FkDyn0keZPy0yG+hLpNHGy7hxWqp/K/WOjVoevZiCBEmm8jFTdCaLxSv 9R+Ko3VVvryvK3fYVly338P38tf18KyRqkF2OscLyzPn/13vJ5TzSFtaW7AO1jO4F6jA QsuYHmFzQbmi5b8eRdjJ9g/rgCI9WSOqbekOhiFK7JoEac9wtlCQYV0wyUlA/OctTDxk QfH0ob3YCL0PFe6AwPFq93Ee9HfvYE+FuXyJhOHJumhe2yU4ok2TsjffOEtZyKBi9QfA zza5W4aJWW+YBKfEsafY2VQmh+aEh+WvVx1b2426Lx3WXVhAiZDil9iS8M6ThMEtC6Oh mt6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=KHVpt1vTI2S8YF+ZDfByeUwDOsLlkciCAFcWx1EfWSw=; b=PITKTL2o8RuwfboZi3rEFLH0DBANnywfmBAdqx+JUxe5dL51HosiX7gbVX795OeQuA 8R+Gl+0ygkoX38E3Q/dtr/8n3m/f1sBUZAjU2aJbQWiyyHz7fz+ijRY37/7C6ere5xDz th+JlERzvqk7qI5v9X4Mo44oG4ldjJxCGdSahud0cGeIVUgmnskNcP7PXkTkw3dJ3Gnc 52nL45GwklcE2xKCbrmi/coz7B5mAymYQ+e56Lg7NbupdDIgRLKLqXwID5Yt9oZl5raa Kmqiis905/THFmbd2/SPIb69lPs8E7AItPfoHNq5p5Xl2Avpt6bNEA4VzJL0k7ql82fI jaVA== X-Gm-Message-State: APjAAAWLFeWdaoep9llbEBfBGENuEb3dQNzv/p7c7EA/WsBQy0JkjBPN 3GfcsICjwn84vEYybogssxs/gD39 X-Google-Smtp-Source: APXvYqzZXWGDoMvFM8NFg8XFitd2yYEHSvHDLYi78eH2sELlpHBT8eR3x3Nqbvwf/sQQo2s9mVc1dQ== X-Received: by 2002:a24:28c1:: with SMTP id h184mr5327494ith.105.1559256700337; Thu, 30 May 2019 15:51:40 -0700 (PDT) Original-Received: from minid (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.gmail.com with ESMTPSA id s10sm1326567iob.29.2019.05.30.15.51.39 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 30 May 2019 15:51:39 -0700 (PDT) In-Reply-To: <87sgsz75sd.fsf@gmail.com> (Noam Postavsky's message of "Mon, 27 May 2019 20:59:30 -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: 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:159953 Archived-At: tags 35767 fixed close 35767 26.3 quit > Subject: [PATCH] Warn about wrong number of args for subrs (Bug#35767) > > * lisp/emacs-lisp/bytecomp.el (byte-compile-callargs-warn): Don't > assume byte-compile-fdefinition will return non-nil. > * test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-warn-wrong-args) > (bytecomp-warn-wrong-args-subr): New tests. Pushed to emacs-26. 134edc1036 2019-05-30T18:46:07-04:00 "Warn about wrong number of args for subrs (Bug#35767)" https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=134edc10367a8434167656e631865c85b5f10c42