From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#22294: Generating Edebug names for generic methods Date: Wed, 10 May 2017 17:18:42 +0300 Message-ID: <3070039f-caf2-3e58-e3d3-afb8eac5152f@yandex.ru> References: <8637uf24px.fsf@yandex.ru> <3c954fc5-fda2-1c30-a251-e2f3fecd8534@yandex.ru> <871ssevk4e.fsf_-_@runbox.com> <793941ae-4e88-80ef-3ac7-7bd5019b97f7@yandex.ru> <87efw08l99.fsf@chinook> <87zielwb82.fsf_-_@runbox.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1494425965 25828 195.159.176.226 (10 May 2017 14:19:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 10 May 2017 14:19:25 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:53.0) Gecko/20100101 Thunderbird/53.0 Cc: 22294@debbugs.gnu.org To: Gemini Lasswell Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 10 16:19:19 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 1d8SSP-0006QX-3M for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 May 2017 16:19:13 +0200 Original-Received: from localhost ([::1]:42999 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d8SSU-0004md-EW for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 May 2017 10:19:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51767) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d8SSI-0004mK-PK for bug-gnu-emacs@gnu.org; Wed, 10 May 2017 10:19:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d8SSE-0005hS-Os for bug-gnu-emacs@gnu.org; Wed, 10 May 2017 10:19:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:34154) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d8SSE-0005hM-Kn for bug-gnu-emacs@gnu.org; Wed, 10 May 2017 10:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d8SSE-0002pU-Cn for bug-gnu-emacs@gnu.org; Wed, 10 May 2017 10:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 10 May 2017 14:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22294 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22294-submit@debbugs.gnu.org id=B22294.149442593310858 (code B ref 22294); Wed, 10 May 2017 14:19:02 +0000 Original-Received: (at 22294) by debbugs.gnu.org; 10 May 2017 14:18:53 +0000 Original-Received: from localhost ([127.0.0.1]:36831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d8SS4-0002p4-QE for submit@debbugs.gnu.org; Wed, 10 May 2017 10:18:52 -0400 Original-Received: from mail-wm0-f46.google.com ([74.125.82.46]:38267) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d8SS3-0002or-MK for 22294@debbugs.gnu.org; Wed, 10 May 2017 10:18:52 -0400 Original-Received: by mail-wm0-f46.google.com with SMTP id 142so807122wma.1 for <22294@debbugs.gnu.org>; Wed, 10 May 2017 07:18:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=XY83X7wBh34UBeArmaea8QY+RvykB0Y8JzGJG2yxREA=; b=h8I3JOTBBahOySp+j6fPv+j9StoGylAdfkBHOkGnpDU+1FiUSGwz881RZ17Lz4vHKi Qbz1XUgjyHZAwZIPS2hvFZg1BZoCJ0bg10PI0vk5hzZeGZ8CspayG7O/8MkI6gYC8wCm 9lpyl8uBs37s/hnlSUMQM3V+L0AEMHBKVg9A9Y53hYVtqjezTpJi6IU1IWN4zTRTUvxY hqsKjg45CYdv/+UZDQ2TMyX8mMoO/RgqmnSUjdGExjA+/UFzcVhpi0j9HXiDldrEvisj WbYQlKKTl+YyXmiQ35xsQrJXlceFjsw0cve3TqzEuecZFUs/XQGiIfLomokwiK+6Fjra KStg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=XY83X7wBh34UBeArmaea8QY+RvykB0Y8JzGJG2yxREA=; b=OZ7wSnY8WHsb0AQsgDNav0leQlsSx36IZ3LD75P3mJ1gDzBbjfZoMREMEaEK4/NAad GNI0KGpHPPS8xHRqFNNN72WQBqO5Ll3Cy457qMSCSUPL+bjqJcl6GpMpl2swwUtgeoR5 Ubd+lfmfGU3eYBUa47xDpEAhdvvEQ3sNRnCuCDhGCnPHFsxPbf8Mo3wt82Mb+TsmP+O6 lhAigMWBJDscrPzekkaFB5i9b7u4BnjmywwIwcMaJNVO8G/FnTXIq8zIMxL4En9j6WUb XteB+fxs2oUEn+iBoe6zJ3qI8MwwueIPdkWAFQmGNf+VtV+QqWUseKz1j/TKB0ILFPfR LIMw== X-Gm-Message-State: AODbwcCJ9MlzNi5fVpVryOhOOEm5c2K0HwaTCC1scy4hILLptoN+STOT Ri9WKVbM46Nw9g== X-Received: by 10.28.18.69 with SMTP id 66mr392202wms.9.1494425925923; Wed, 10 May 2017 07:18:45 -0700 (PDT) Original-Received: from [192.168.0.133] (static-nbl2-118.cytanet.com.cy. [212.31.107.118]) by smtp.googlemail.com with ESMTPSA id 133sm3554484wms.22.2017.05.10.07.18.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 10 May 2017 07:18:44 -0700 (PDT) In-Reply-To: <87zielwb82.fsf_-_@runbox.com> Content-Language: en-US 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:132428 Archived-At: On 10.05.2017 8:07, Gemini Lasswell wrote: > Changing the return value of edebug-match-method-args from nil to > (list args) makes the error go away and the code sample from #24753 > work. I haven't tested it beyond that. Thanks! I only tried `args' (without (list)). My only excuse is that it was late at night. So, what do you think about this modification? It works well in my testing, and it avoids introducing the dynamic variable. I'll commit it in your name (since you did most of the work anyway) if you like it.