From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Brittleness of called-interactively-p Date: Thu, 06 Aug 2015 18:33:32 -0400 Message-ID: References: <871tgeufzt.fsf@gmail.com> <87r3odtngi.fsf@gmail.com> <87380st7c1.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1438904553 27953 80.91.229.3 (6 Aug 2015 23:42:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Aug 2015 23:42:33 +0000 (UTC) Cc: emacs-devel@gnu.org To: Dmitri Paduchikh Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Aug 07 01:42:24 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZNUnn-0006HL-DC for ged-emacs-devel@m.gmane.org; Fri, 07 Aug 2015 01:42:23 +0200 Original-Received: from localhost ([::1]:47292 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNUnl-00010b-S2 for ged-emacs-devel@m.gmane.org; Thu, 06 Aug 2015 19:42:21 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35886) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNTjG-0003yk-IE for emacs-devel@gnu.org; Thu, 06 Aug 2015 18:33:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZNTjB-0006kr-44 for emacs-devel@gnu.org; Thu, 06 Aug 2015 18:33:38 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:3493) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZNTjA-0006kk-Vg for emacs-devel@gnu.org; Thu, 06 Aug 2015 18:33:33 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0AyFgA731xV//gFNJ1cgxCEAoVVu0CHSwQCAoE8OhMBAQEBAQEBgQpBBYNdAQEDAVYjBQsLDiYSFBgNJIg3CM8jAQEBBwIBH4s6hQUHhC0FtQQjhBQigngBAQE X-IPAS-Result: A0AyFgA731xV//gFNJ1cgxCEAoVVu0CHSwQCAoE8OhMBAQEBAQEBgQpBBYNdAQEDAVYjBQsLDiYSFBgNJIg3CM8jAQEBBwIBH4s6hQUHhC0FtQQjhBQigngBAQE X-IronPort-AV: E=Sophos;i="5.13,465,1427774400"; d="scan'208";a="159027734" Original-Received: from 157-52-5-248.cpe.teksavvy.com (HELO pastel.home) ([157.52.5.248]) by ironport2-out.teksavvy.com with ESMTP; 06 Aug 2015 18:33:32 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id 54388604CF; Thu, 6 Aug 2015 18:33:32 -0400 (EDT) In-Reply-To: <87380st7c1.fsf@gmail.com> (Dmitri Paduchikh's message of "Mon, 13 Jul 2015 20:17:50 +0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:188529 Archived-At: > These calls are internal to the advice mechanism and, of course, they cannot > be considered conceptually interactive. If the original function uses called-interactively-p and the "whole advised function" is called interactively, then called-interactively-p should return t, yet this call is inside an interactive function which is called non-interactively. Stefan