From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= Newsgroups: gmane.emacs.bugs Subject: bug#17871: 24.4.50; (elisp) `Core Advising Primitives': interactive spec as function? Date: Mon, 19 Aug 2019 01:50:18 +0200 Message-ID: <877e7a2fut.fsf@gmail.com> 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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="224830"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: Michael Heerdegen , Stefan Monnier , 17871@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Aug 19 01:51:23 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 1hzUxG-000wNz-De for geb-bug-gnu-emacs@m.gmane.org; Mon, 19 Aug 2019 01:51:22 +0200 Original-Received: from localhost ([::1]:43792 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hzUxF-0008Ma-CS for geb-bug-gnu-emacs@m.gmane.org; Sun, 18 Aug 2019 19:51:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54870) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hzUwx-00087i-4g for bug-gnu-emacs@gnu.org; Sun, 18 Aug 2019 19:51:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hzUwv-0006eC-UZ for bug-gnu-emacs@gnu.org; Sun, 18 Aug 2019 19:51:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50131) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hzUwv-0006e6-PW for bug-gnu-emacs@gnu.org; Sun, 18 Aug 2019 19:51:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hzUwv-0005kT-Nc for bug-gnu-emacs@gnu.org; Sun, 18 Aug 2019 19:51:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?=C5=A0t=C4=9Bp=C3=A1n_?= =?UTF-8?Q?N=C4=9Bmec?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 18 Aug 2019 23:51:01 +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.156617222822024 (code B ref 17871); Sun, 18 Aug 2019 23:51:01 +0000 Original-Received: (at 17871) by debbugs.gnu.org; 18 Aug 2019 23:50:28 +0000 Original-Received: from localhost ([127.0.0.1]:58946 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hzUwN-0005jA-Kg for submit@debbugs.gnu.org; Sun, 18 Aug 2019 19:50:27 -0400 Original-Received: from mail-wm1-f46.google.com ([209.85.128.46]:35511) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hzUwL-0005iu-D4 for 17871@debbugs.gnu.org; Sun, 18 Aug 2019 19:50:25 -0400 Original-Received: by mail-wm1-f46.google.com with SMTP id l2so61696wmg.0 for <17871@debbugs.gnu.org>; Sun, 18 Aug 2019 16:50:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-transfer-encoding; bh=wLNUuiaBRO3z1QfIGJQdRZdN5HrdlP+R5jOiybZl4lg=; b=RTXCVHRJRJWd3hvk3ukXRhhDkufGFpt7OdSb0FN7sgLDAINARHOJXDuf3amqrg1UCP gDP01mRo3jdcytMpN90rMyfuL/vg1+I85H0wAckadJ0qcm8T96dg3gyiZUB7mniSKWhP bOBEfP0+5MGlup71SToQ1US9phDA7CJ9XYgPgtuzSWy+OqOu9gEbMrNGSyIv5GJi3VN0 xlujyzmir3lIsd0XjK7DTbQp8bBUt1OWYb4SttdZvpHoBA6P51ceS0CiQMvfwrg8z+Oo BjPKXVShNJq+0SuIDIcSTe8dPKTJyPAubWW6TRC6JjXPG7b0XgAAXEBOJfWYSJ8bPo9J Vvuw== 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:in-reply-to:references :user-agent:date:message-id:mime-version:content-transfer-encoding; bh=wLNUuiaBRO3z1QfIGJQdRZdN5HrdlP+R5jOiybZl4lg=; b=nTUh65OeeIzqr0uoo1FJMYP5I4nT/bvjnd2avDsZngXg3puQv7KzwwlIjxZ9JhF4wt TUFKIhUkw0yhSqmA46mZrjFpqH6iL0GdhmnIqSygk+kFgaZavL6Y4upTpHoDq5EDewd8 HdnS7iL2xIo4YarrxD8zOrEh2gBDQuDqqqBHTCEQSQU7NzXXW+FhlQSfSKkoBWUs5L4o BHx7TQXSwNYtCou5SCbSxQEafa/voFZZ8X0iVLbyF7Tctxd8Rq86dlalswoPl6DnJQdw QgCd4lmfsnjdNoztfuYI9q3+ZLUeP3taXiWJ6I/GJwNLl8/ZHfWGm6BI7avaXjGbHx26 42Cg== X-Gm-Message-State: APjAAAUj18RZ9yY9QOuzkTmEP7S0cifHYOpPBEKQhj4S/ViXYyP2o+yG gYOfMsZPoEpnAmok0Vbdvbc= X-Google-Smtp-Source: APXvYqyX4KwDH1WmltK3VrD23u0xMewtw6wbH8MvCimYKjaLBsvP+MEOiiw9RpV9UbZKfHf6io7wIQ== X-Received: by 2002:a1c:a503:: with SMTP id o3mr16370172wme.37.1566172219447; Sun, 18 Aug 2019 16:50:19 -0700 (PDT) Original-Received: from localhost ([185.112.167.114]) by smtp.gmail.com with ESMTPSA id t14sm10366066wrv.12.2019.08.18.16.50.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 18 Aug 2019 16:50:18 -0700 (PDT) In-Reply-To: <87k1ba3wgc.fsf@mouse.gnus.org> (Lars Ingebrigtsen's message of "Sun, 18 Aug 2019 16:06:27 -0700") 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:165364 Archived-At: Lars Ingebrigtsen wrote: > =C5=A0t=C4=9Bp=C3=A1n N=C4=9Bmec writes: [...] >> (advice-add 'compose-mail :around #'my-compose-mail-advice) > > That's a good example. I've now added it to the trunk with some slight > modifications. Thanks (and let me use this opportunity to express sincere admiration and gratitude for your general bug slaying performance and stamina). If that really improves the substance of this bug report only Drew can say I guess. I for one still think that a more detailed explanation similar to Michael's from a previous mail[1] would be helpful, ideally with more examples. And although I have managed to clarify a few points myself thanks to this conversation, my personal conundrum[2] remains unanswered: why does a simple advice have no effect on the interactive spec of the function being advised, and is that really a feature? But perhaps that's for another thread. [1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D17871#35 [2] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D17871#38 --=20 =C5=A0t=C4=9Bp=C3=A1n