From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Stefan-W. Hahn" Newsgroups: gmane.emacs.bugs Subject: bug#27408: 26.0.50; macro setq-local does not have a debug declaration Date: Sun, 18 Jun 2017 09:13:59 +0200 Organization: -no organization- Message-ID: <20170618071359.GE7178@seven> References: <20170617134409.GC7178@seven> <8737ays8id.fsf@users.sourceforge.net> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="8P1HSweYDcXXzwPJ" X-Trace: blaine.gmane.org 1497770121 14652 195.159.176.226 (18 Jun 2017 07:15:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 18 Jun 2017 07:15:21 +0000 (UTC) User-Agent: Mutt/1.5.24 (2015-08-30) Cc: 27408@debbugs.gnu.org To: npostavs@users.sourceforge.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 18 09:15:13 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 1dMUQS-0003Eq-Ll for geb-bug-gnu-emacs@m.gmane.org; Sun, 18 Jun 2017 09:15:12 +0200 Original-Received: from localhost ([::1]:37371 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMUQW-0003fL-87 for geb-bug-gnu-emacs@m.gmane.org; Sun, 18 Jun 2017 03:15:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41305) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dMUQN-0003dg-9S for bug-gnu-emacs@gnu.org; Sun, 18 Jun 2017 03:15:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dMUQI-0001pb-B9 for bug-gnu-emacs@gnu.org; Sun, 18 Jun 2017 03:15:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51248) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dMUQI-0001pU-6s for bug-gnu-emacs@gnu.org; Sun, 18 Jun 2017 03:15:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dMUQH-0005wk-UZ for bug-gnu-emacs@gnu.org; Sun, 18 Jun 2017 03:15:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: "Stefan-W. Hahn" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 18 Jun 2017 07:15:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27408 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed Original-Received: via spool by 27408-submit@debbugs.gnu.org id=B27408.149777006022786 (code B ref 27408); Sun, 18 Jun 2017 07:15:01 +0000 Original-Received: (at 27408) by debbugs.gnu.org; 18 Jun 2017 07:14:20 +0000 Original-Received: from localhost ([127.0.0.1]:53925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dMUPc-0005vS-Jp for submit@debbugs.gnu.org; Sun, 18 Jun 2017 03:14:20 -0400 Original-Received: from mout.kundenserver.de ([217.72.192.75]:56551) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dMUPa-0005vC-Lj for 27408@debbugs.gnu.org; Sun, 18 Jun 2017 03:14:19 -0400 Original-Received: from seven.home ([88.71.44.145]) by mrelayeu.kundenserver.de (mreue101 [212.227.15.183]) with ESMTPSA (Nemesis) id 0MXYog-1dGUvu1hig-00WaFK; Sun, 18 Jun 2017 09:14:00 +0200 Original-Received: from seven.home (localhost [127.0.0.1]) by seven.home (8.15.2/8.15.2/Debian-3) with ESMTPS id v5I7Dx8T027914 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Sun, 18 Jun 2017 09:13:59 +0200 Original-Received: (from hs@localhost) by seven.home (8.15.2/8.15.2/Submit) id v5I7DxhM027913; Sun, 18 Jun 2017 09:13:59 +0200 X-Authentication-Warning: seven.home: hs set sender to stefan.hahn@s-hahn.de using -f Content-Disposition: inline In-Reply-To: <8737ays8id.fsf@users.sourceforge.net> X-Mailer: Mutt http://www.mutt.org/ X-Editor: GNU Emacs http://www.gnu.org/ X-Accept-Language: de en X-Location: Europe X-GPG-Public-Key: gpg --keyserver pool.sks-keyservers.net --recv-keys 7A948D9CB5F0706D X-GPG-Fingerprint: 0x7A948D9CB5F0706D / 270E F64C 748A E880 9CB7 3D9B 7A94 8D9C B5F0 706D X-Virus-Scanned: clamav-milter 0.99.2 at seven X-Virus-Status: Clean X-Provags-ID: V03:K0:TVOXcUiUTAK2XrNNF2uB4x8e3rFOypvLnUt0KxtZYlyevojqiNT Jq71kUiYMtqpj85hWzVC3/wqYeWPD2tNz/t8YvJ+EO+rodMLJQMn9gKfr6mVhiQQblLDTIZ ZHSyH1BcRqZSIRTbo86TiT4ZAz++2LVd7AGVnjF+HFR1sFGSeoxt2v0Clw20DwFN4BOo5Tu wYtcUiufNf2RQ5EtfxInQ== X-UI-Out-Filterresults: notjunk:1;V01:K0:k1sC+WZ91aQ=:VABcQESHi1P7j/JkzwxrQx odwuAHBxYOHdlPd1H65vYL7IXYSYRasyF6KNsVLeW6cSbLDFEXzNz5t+MZl6yUN/XpexVh8dP Hwk+Amc2BkXittV7AsNASQSnwIsCYdpoq0M4P/sIB5nJUB/7ak0FoW+aq2OqAb/sukKETptLJ ZRMewq8mxa83bMvKuEWUiMLSMfWGVxc/A2hHnaW6qZi4XRfAC7Pkc4CgXscWmyRlvPhGbhmwC USvHQlf2PDroOefoha8j4NI31B4Beno55DVvFp9jhivAbwjoOiqbCQdb+RB5IEN1qJZ/rLtrS /G161YwpzrxQkfAfkYzEdWOrhlJaBkxwyQH8923q07OGDjAifUMd03ya31AHDyNDRdyxg/FeN bh/CkXVzB+WhiO4gvPY5JEji5J3aq2DI9NlkojxFg6ruNRD0DKkiSuNqmJb38TzV52NCGjZG/ Ed6TdViTVMiIUb4RMS21Cn+Y71D4wvhw3LjMDZvPWv4fTzxzdBj98u8dF9WRf1rGx/f5DKuhY SMQPzEnyXnMUXYp92DsNJPt1RYtb+afNotsJSZ6hdnVNM6UEIJ67BQkTeMfp0xl8/C1KLPkgq nB+dNUembcj/pHNtHmkKHvdYJVQJEk8jRq5kd2rBCxtxw1trPWAidXDq4P9QS2VRpIe7L4R5z wKfVAcgskF7mYKjF8q0l7eSkkA6U30Fatm5l1UQ4Vfi+J1u6vYHR76bWdsVXmq5WS1Q0= 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:133722 Archived-At: --8P1HSweYDcXXzwPJ Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Mail von npostavs@users.sourceforge.net, Sat, 17 Jun 2017 at 15:45:46 -0400: Hello, > > (defmacro setq-local (var val) > > I get a compile failure after applying this: Sorry for that. I didn't compile, hups... Attached is a corrected version which does compile without errors. With kind regards, Stefan -- Stefan-W. Hahn It is easy to make things. It is hard to make things simple. --8P1HSweYDcXXzwPJ Content-Type: text/x-diff; charset=utf-8 Content-Description: Corretion of Patch Content-Disposition: attachment; filename="0001-Added-missing-debug-declaration.patch" Content-Transfer-Encoding: quoted-printable =46rom 9c79bbb31395e1ac0236f4bcb46a59e7e2abafeb Mon Sep 17 00:00:00 2001 =46rom: "Stefan-W. Hahn" Date: Sun, 18 Jun 2017 09:09:19 +0200 Subject: Added missing debug declaration * lisp/subr.el (setq-local): Added debug declaration. Copyright-paperwork-exempt: yes --- lisp/subr.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/subr.el b/lisp/subr.el index ef00286..d0c8517 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -121,6 +121,7 @@ lambda (defmacro setq-local (var val) "Set variable VAR to value VAL in current buffer." ;; Can't use backquote here, it's too early in the bootstrap. + (declare (debug (symbolp form))) (list 'set (list 'make-local-variable (list 'quote var)) val)) =20 (defmacro defvar-local (var val &optional docstring) --=20 2.9.0.137.gcf4c2cf --8P1HSweYDcXXzwPJ--