From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/59090 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: interactive-p Date: Wed, 10 Nov 2004 00:33:24 +0100 Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1100043250 15875 80.91.229.6 (9 Nov 2004 23:34:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 9 Nov 2004 23:34:10 +0000 (UTC) Original-X-From: ding-owner+M7630@lists.math.uh.edu Wed Nov 10 00:33:58 2004 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CRfUs-00027g-00 for ; Wed, 10 Nov 2004 00:33:58 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1CRfUa-0003zD-00; Tue, 09 Nov 2004 17:33:40 -0600 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1CRfUW-0003z8-00 for ding@lists.math.uh.edu; Tue, 09 Nov 2004 17:33:36 -0600 Original-Received: from justine.libertine.org ([66.139.78.221] ident=postfix) by util2.math.uh.edu with esmtp (Exim 4.30) id 1CRfUR-0006Ku-Sp for ding@lists.math.uh.edu; Tue, 09 Nov 2004 17:33:31 -0600 Original-Received: from main.gmane.org (main.gmane.org [80.91.229.2]) by justine.libertine.org (Postfix) with ESMTP id CE4B83A004A for ; Tue, 9 Nov 2004 17:33:30 -0600 (CST) Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1CRfUP-0001KW-00 for ; Wed, 10 Nov 2004 00:33:29 +0100 Original-Received: from c494102a.s-bi.bostream.se ([217.215.27.65]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Nov 2004 00:33:29 +0100 Original-Received: from jas by c494102a.s-bi.bostream.se with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Nov 2004 00:33:29 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 25 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: c494102a.s-bi.bostream.se User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:UIMVL9ESXYFzXD+b3XDZcc/ClTc= Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: main.gmane.org gmane.emacs.gnus.general:59090 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:59090 Lars Magne Ingebrigtsen writes: > Richard Stallman writes: > >> Could you please check for bad uses of interactive-p in these files? > > I'm not quite sure what counts as bad uses. Functions that change > their behavior surprisingly based on whether they're called > interactively or not? ... >> gnus/pgg.el > > Here it's used throughout the package, which seems odd. I've Cc'd > this message to the Gnus mailing list; perhaps people there have > input on why pgg.el does it this way. IIUC, it do this to be able to have a nice user interface when used interactively, e.g., switch to the output buffer after decrypting something, but at the same be usable from lisp code that do not want pgg to do anything with the user interface. Is that bad? The number of uses can be reduced, but I'm not sure I see why that is better.