From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/43431 Path: main.gmane.org!not-for-mail From: Karl Kleinpaste Newsgroups: gmane.emacs.gnus.general Subject: I need to be able to remove delete-frame from the action list Date: Wed, 06 Mar 2002 12:08:36 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035178525 17555 80.91.224.250 (21 Oct 2002 05:35:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:35:25 +0000 (UTC) Return-Path: Original-Received: (qmail 388 invoked from network); 6 Mar 2002 17:09:49 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 6 Mar 2002 17:09:49 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16ieue-0003XS-00; Wed, 06 Mar 2002 11:09:12 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 06 Mar 2002 11:09:13 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id LAA05088 for ; Wed, 6 Mar 2002 11:09:01 -0600 (CST) Original-Received: (qmail 376 invoked by alias); 6 Mar 2002 17:08:53 -0000 Original-Received: (qmail 371 invoked from network); 6 Mar 2002 17:08:50 -0000 Original-Received: from mesquite.slip.cs.cmu.edu (HELO cinnamon.vanillaknot.com) (128.2.207.11) by gnus.org with SMTP; 6 Mar 2002 17:08:50 -0000 Original-Received: (from karl@localhost) by cinnamon.vanillaknot.com (8.11.6/8.11.6) id g26H8ar30644; Wed, 6 Mar 2002 12:08:36 -0500 Original-To: ding@gnus.org X-Face: "8-CgoYhiD_O!#(F%E=..0>QA_#WDy+]_XoAr)L]`-zjAc\d+nsFXq`=v_# =pVh#sP*K~j,0k9N}`E7jX"5+U?4/UIF1EE X-Face: "5(T0tZd{6}pd~YzBG8O/*EW,.]6]@`m^e;fv65W^Y&=d"M\1H}>T~4_.kcDD.O~y3k)a6 hR;Nmi>9|>Nm${2IpM0^RcUEa\jcq?KOP)C&~x51l~zCHTulL^_T|u0I^kB'z@]{`2YjQu Original-Lines: 13 User-Agent: Gnus/5.090006 (Oort Gnus v0.06) XEmacs/21.4 (Common Lisp, i686-pc-linux) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:43431 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:43431 I've been using this for a while, when operating under X: (message-add-action 'delete-frame 'exit 'postpone 'kill) Unfortunately, there appears to be no way to undo this addition to the action list. The problem arises when I have started XEmacs under X at home, then go to the office where I ssh home and run "gnuclient -nw". Now I have a tty-based XEmacs which nonetheless exits back to a shell prompt any time I send a message. What I would like is the inverse, message-delete-action, which I would then use when detecting non-X use, to avoid the departure of my tty-based frame.