From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#14702: 24.3.50; Byte-compiling called-interactively-p inside catch Date: Tue, 25 Jun 2013 16:18:41 +0200 Message-ID: <87k3lijmta.fsf@rosalinde.fritz.box> References: <87zjufd1ks.fsf@rosalinde.fritz.box> <87obaujnuq.fsf@rosalinde.fritz.box> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1372170575 28032 80.91.229.3 (25 Jun 2013 14:29:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 25 Jun 2013 14:29:35 +0000 (UTC) Cc: 14702@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jun 25 16:29:34 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1UrUFS-0005cP-7F for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Jun 2013 16:29:34 +0200 Original-Received: from localhost ([::1]:42342 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UrUFR-0006Fm-RS for geb-bug-gnu-emacs@m.gmane.org; Tue, 25 Jun 2013 10:29:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34586) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UrU5J-0001Hy-MO for bug-gnu-emacs@gnu.org; Tue, 25 Jun 2013 10:19:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UrU5G-0003r7-SE for bug-gnu-emacs@gnu.org; Tue, 25 Jun 2013 10:19:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46184) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UrU5G-0003r1-Ie for bug-gnu-emacs@gnu.org; Tue, 25 Jun 2013 10:19:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UrU5F-0004Lp-QQ for bug-gnu-emacs@gnu.org; Tue, 25 Jun 2013 10:19:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 25 Jun 2013 14:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14702 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14702-submit@debbugs.gnu.org id=B14702.137216993316699 (code B ref 14702); Tue, 25 Jun 2013 14:19:01 +0000 Original-Received: (at 14702) by debbugs.gnu.org; 25 Jun 2013 14:18:53 +0000 Original-Received: from localhost ([127.0.0.1]:40499 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UrU56-0004LF-EE for submit@debbugs.gnu.org; Tue, 25 Jun 2013 10:18:52 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:58282) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UrU53-0004Kl-Eu for 14702@debbugs.gnu.org; Tue, 25 Jun 2013 10:18:50 -0400 Original-Received: from mailout-de.gmx.net ([10.1.76.31]) by mrigmx.server.lan (mrigmx001) with ESMTP (Nemesis) id 0Ljwk3-1UFgQE18xd-00bshW for <14702@debbugs.gnu.org>; Tue, 25 Jun 2013 16:18:43 +0200 Original-Received: (qmail invoked by alias); 25 Jun 2013 14:18:42 -0000 Original-Received: from i59F575FA.versanet.de (EHLO rosalinde.fritz.box) [89.245.117.250] by mail.gmx.net (mp031) with SMTP; 25 Jun 2013 16:18:42 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX1/HmXJ7CYfH/eScyCIIOd/3RyhL9UGjIUbKYYACyN xuyZOydJvIXpTt In-Reply-To: (Stefan Monnier's message of "Tue, 25 Jun 2013 10:04:51 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:75561 Archived-At: On Tue, 25 Jun 2013 10:04:51 -0400 Stefan Monnier wrote: >> At the moment I don't see a way to do either of these: I can't use an >> extra argument, because the command where I use called-interactively-p >> already uses a prefix argument for another purpose; and I don't see an > > I don't see the relationship: > > (defun foo (prefix &optional interactive) > "Blabla." > (interactive "P\np") > ... (catch ... (if interactive ...) ...) ...) D'oh! I forgot about that possibility... >> alternative to something like `catch', because I need to stop execution > > I didn't say not to use `catch', I said not to use > called-interactively-p inside `catch'. E.g. > > (let ((interactive (called-interactively-p 'any))) > ... > (catch ... (if interactive ...) ...) ...) D'oh^2! Obviously I'm not very clear-headed right now... Thanks. Steve Berman