From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: npostavs@users.sourceforge.net Newsgroups: gmane.emacs.bugs Subject: bug#24762: 26.0.50; Spurious &optional in lisp/progmodes/python.el causes Edebug error Date: Wed, 30 Nov 2016 19:42:14 -0500 Message-ID: <87r35sh449.fsf@users.sourceforge.net> References: <871sybw6u8.fsf@udel.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1480552936 24113 195.159.176.226 (1 Dec 2016 00:42:16 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 1 Dec 2016 00:42:16 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Cc: Gemini Lasswell , 24762@debbugs.gnu.org To: Mark Oteiza Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 01 01:42:12 2016 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 1cCFRz-0005B6-IH for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Dec 2016 01:42:11 +0100 Original-Received: from localhost ([::1]:47287 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCFS3-0001tq-67 for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Nov 2016 19:42:15 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36839) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cCFRv-0001tH-Kx for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2016 19:42:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cCFRq-0002Gi-PM for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2016 19:42:07 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60731) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cCFRq-0002Gd-LK for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2016 19:42:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cCFRq-0005qu-Fh for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2016 19:42:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: npostavs@users.sourceforge.net Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Dec 2016 00:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24762 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24762-submit@debbugs.gnu.org id=B24762.148055288622446 (code B ref 24762); Thu, 01 Dec 2016 00:42:02 +0000 Original-Received: (at 24762) by debbugs.gnu.org; 1 Dec 2016 00:41:26 +0000 Original-Received: from localhost ([127.0.0.1]:47897 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCFRG-0005pv-Dv for submit@debbugs.gnu.org; Wed, 30 Nov 2016 19:41:26 -0500 Original-Received: from mail-io0-f171.google.com ([209.85.223.171]:33183) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cCFRD-0005pZ-OP; Wed, 30 Nov 2016 19:41:24 -0500 Original-Received: by mail-io0-f171.google.com with SMTP id j65so384295034iof.0; Wed, 30 Nov 2016 16:41:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=FcYEfFPFo9gzZN1wI5asGEZtUCZ/8eTBOI7ka06MXUI=; b=N0YxuMlpBzXxbD1dHLn3tEUjbNysSdhRKt6XqkhQ/jp2fryo/uMqUQTKSQkz9eLMwe jlPzGnPPlvUZAPq4ERqUXH30/DzgBbW6tBQS2CFiSvXV4v2uZs77b31SutATwQaFfJc5 OD/7XCmrXeCCuW3H0J1Bbf2cmw/qRZUnrmMy73ei38KQ4WfAvmpF3OrIXi2BdGieCN7R AObxlqcDunSI5SyTeSUdlLLUH/GQGvVs/Fg+xuvIE1th8UL3P5mlb7i3IYBeu69zb7oG HMkrnQWERxytvBGalLXm8tQAsS4kxVPLLhsdSKMd50NxqvMJ79m2GEbGYcUJ+oRUjblf a7gA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version; bh=FcYEfFPFo9gzZN1wI5asGEZtUCZ/8eTBOI7ka06MXUI=; b=N2JAAlfI1egtN2fEpMy93/+/pWoTaDbqwkx/PiJGCXHT6hnhdTVt/mVaPN/CcpLhH5 a/MoBhejtuLIvYL45lnUXqMOy37MrF88ckSs7EYuTz6SA5wLPn/Z7+3J5PBbVmFmjTdi ZWE7rtMfsIh73WmXeTbqVGLkyCzxsFtKKeVOMhlRmMvkS77xlWCI+K4ELIVnT5lAB6vz 9Ojty9rtJkcDQB0GJAyLcuaVJ6B2Us/LcoK44gHLWSy+d8EGXcsbLL/DGeWhZoFXsXpk hoX2haOJZTOrf7+IrIrBGcjn63rzbXVL760gBUdzm2qg2lWIcGjspprNYbUp0DIdkw5r pSKg== X-Gm-Message-State: AKaTC00s9eR/YRjNULcBHPEyMJsVBWvJnnSVr3UKefBl+pLDuKwlLftYt5F9ZPrP29FZSg== X-Received: by 10.107.8.201 with SMTP id h70mr31693914ioi.139.1480552877927; Wed, 30 Nov 2016 16:41:17 -0800 (PST) Original-Received: from zony ([45.2.7.65]) by smtp.googlemail.com with ESMTPSA id n206sm4097005itg.1.2016.11.30.16.41.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 30 Nov 2016 16:41:17 -0800 (PST) In-Reply-To: <871sybw6u8.fsf@udel.edu> (Mark Oteiza's message of "Wed, 16 Nov 2016 14:41:19 -0500") 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:126339 Archived-At: tags 24762 fixed close 24762 quit Mark Oteiza writes: > > diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el > index f9b28c3..9cd9cc8 100644 > --- a/lisp/progmodes/python.el > +++ b/lisp/progmodes/python.el > @@ -4040,7 +4040,7 @@ 'python-mode-abbrev-table > "Abbrev table for Python mode." > :parents (list python-mode-skeleton-abbrev-table)) > > -(defmacro python-define-auxiliary-skeleton (name doc &optional &rest skel) > +(defmacro python-define-auxiliary-skeleton (name &optional doc &rest skel) > "Define a `python-mode' auxiliary skeleton using NAME DOC and SKEL. > The skeleton will be bound to python-skeleton-NAME." > (declare (indent 2)) > @@ -4060,11 +4060,11 @@ python-define-auxiliary-skeleton > (signal 'quit t)) > ,@skel))) > > -(python-define-auxiliary-skeleton else nil) > +(python-define-auxiliary-skeleton else) > > -(python-define-auxiliary-skeleton except nil) > +(python-define-auxiliary-skeleton except) > > -(python-define-auxiliary-skeleton finally nil) > +(python-define-auxiliary-skeleton finally) > > (python-skeleton-define if nil > "Condition: " I see was pushed as 5b003caa "Fix arglist in python.el (Bug#24762)".