From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#17871: 24.4.50; (elisp) `Core Advising Primitives': interactive spec as function? Date: Sun, 25 Aug 2019 11:51:21 -0400 Message-ID: References: <400906ac-35f1-48e4-8df9-8e65b340209b@default> <87vbrjdajs.fsf@web.de> <82178260-247b-4653-85db-d6586480419e@default> <87d2dqdsyj.fsf@web.de> <8736ihb0ds.fsf@mouse.gnus.org> <87d0hl3xqx.fsf@web.de> <878ss99jhi.fsf@mouse.gnus.org> <87o914xh50.fsf@web.de> <87ftmgdl2d.fsf@mouse.gnus.org> <8736hy1wxt.fsf@web.de> <87ef1i38g4.fsf@gmail.com> <87k1ba3wgc.fsf@mouse.gnus.org> <877e7a2fut.fsf@gmail.com> <87d0gzwnm6.fsf@mail.linkov.net> <87o90jjw3t.fsf@gmail.com> <87k1b7j5jt.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="248036"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Michael Heerdegen , Lars Ingebrigtsen , Juri Linkov , 17871@debbugs.gnu.org To: =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 25 17:52:11 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.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i1uoM-0012KO-AS for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Aug 2019 17:52:10 +0200 Original-Received: from localhost ([::1]:43284 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i1uoK-0007uQ-Gs for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Aug 2019 11:52:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58832) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i1uoF-0007uJ-HF for bug-gnu-emacs@gnu.org; Sun, 25 Aug 2019 11:52:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i1uoE-0004bi-Fm for bug-gnu-emacs@gnu.org; Sun, 25 Aug 2019 11:52:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36174) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i1uoE-0004av-CG for bug-gnu-emacs@gnu.org; Sun, 25 Aug 2019 11:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i1uoE-0002OR-BE for bug-gnu-emacs@gnu.org; Sun, 25 Aug 2019 11:52:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 25 Aug 2019 15:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17871 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 17871-submit@debbugs.gnu.org id=B17871.15667482919157 (code B ref 17871); Sun, 25 Aug 2019 15:52:02 +0000 Original-Received: (at 17871) by debbugs.gnu.org; 25 Aug 2019 15:51:31 +0000 Original-Received: from localhost ([127.0.0.1]:44995 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i1unj-0002Nd-LG for submit@debbugs.gnu.org; Sun, 25 Aug 2019 11:51:31 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:54016) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i1uni-0002NR-4d for 17871@debbugs.gnu.org; Sun, 25 Aug 2019 11:51:30 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 9F0CC446C69; Sun, 25 Aug 2019 11:51:24 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 78C52446C67; Sun, 25 Aug 2019 11:51:23 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1566748283; bh=OsBllnrbqr8cfu21cTaY5uEvzyuGABFBCqDfo7odENU=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=fwC/B8BhCAGr3wATpqT+c3H0Voy6dQk9ImmLhvKRq+fMevLqI7LZupOZtKEuNXyxL pQx0oZzUYFInCgMHFwQqVzQViHYz8NxMQhdN6G18Drn2f0rGtkjMIJNUbv4vrKkC2P orO7tzbHvsaPG2GuuJg2u30qoypzGn1jqpOitO87iSkkQuPsNqJqleunBWYXnTpEc7 X9a3ZD4sCVReEklr0KrTOriXxS1fx7jStDu+9CVDxPw3IB+pvSsES8m3s8IBC0uQhK e8HfVqsFBTQrW6lg0nsY9QFc6ujEYPYIPaImfrnf1qKSHEDdCdC6PrsHR8DO0XN+Gt vLKtbFTGQWHMQ== Original-Received: from pastel (unknown [45.72.231.221]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 19977120397; Sun, 25 Aug 2019 11:51:23 -0400 (EDT) In-Reply-To: <87k1b7j5jt.fsf@gmail.com> ("=?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?="'s message of "Wed, 21 Aug 2019 10:17:42 +0200") 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:165838 Archived-At: >> Maybe in this case it'd do what you want, but in many other cases >> it wouldn't. > Do you mean cases where one might _want_ to only affect the body, not > the interactive form? I can't really imagine anything like that... do > you have anything concrete in mind? Hmm... I suggest you try grep 'advice-add.*:around' **/*.el and then look for the matches where the advised function is interactive. I haven't looked at all of them, but all those that I checked wouldn't make sense when applied to the interactive spec. Stefan