From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/35281 Path: main.gmane.org!not-for-mail From: Colin Marquardt Newsgroups: gmane.emacs.gnus.general Subject: Re: Small Gnus UI patch Date: 09 Mar 2001 16:47:09 -0800 Message-ID: References: <87elw6cxdc.fsf@inanna.rimspace.net> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1035171048 2115 80.91.224.250 (21 Oct 2002 03:30:48 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:30:48 +0000 (UTC) Keywords: message,lisp,colin Return-Path: Original-Received: (qmail 16052 invoked by alias); 10 Mar 2001 00:47:29 -0000 Original-Received: (qmail 16047 invoked from network); 10 Mar 2001 00:47:29 -0000 Original-Received: from netmail2.alcatel.com (128.251.168.51) by gnus.org with SMTP; 10 Mar 2001 00:47:29 -0000 Original-Received: from relay1.usa.alcatel.com (relay1.usa.alcatel.com [143.209.238.6]) by netmail2.alcatel.com (8.9.1/8.9.1) with ESMTP id SAA15104 for ; Fri, 9 Mar 2001 18:47:11 -0600 (CST) Original-Received: from lwmail01.pet.usa.alcatel.com (localhost [127.0.0.1]) by relay1.usa.alcatel.com (8.9.3/8.9.3) with ESMTP id SAA21004 for ; Fri, 9 Mar 2001 18:47:09 -0600 (CST) Original-Received: from optilink.pet.usa.alcatel.com ([10.11.2.49]) by lwmail01.pet.usa.alcatel.com (Netscape Messaging Server 4.15 lwmail01 Aug 8 2000 13:22:32) with ESMTP id G9YI8800.TJ7 for ; Fri, 9 Mar 2001 16:48:08 -0800 Original-Received: from sol-cmarquar.pet.usa.alcatel.com (sol-cmarquar [143.209.122.168]) by optilink.pet.usa.alcatel.com (8.8.8+Sun/8.8.8) with ESMTP id QAA18334 for ; Fri, 9 Mar 2001 16:47:09 -0800 (PST) Original-Received: (from cmarquar@localhost) by sol-cmarquar.pet.usa.alcatel.com (8.9.3+Sun/8.9.1) id QAA19493; Fri, 9 Mar 2001 16:47:09 -0800 (PST) X-Authentication-Warning: sol-cmarquar.pet.usa.alcatel.com: cmarquar set sender to colin.marquardt@usa.alcatel.com using -f Original-To: ding@gnus.org In-Reply-To: <87elw6cxdc.fsf@inanna.rimspace.net> X-Disclaimer: Opinions expressed are not those of Alcatel USA. User-Agent: Gnus/5.090001 (Oort Gnus v0.01) XEmacs/21.1 (Canyonlands) Original-Lines: 37 Xref: main.gmane.org gmane.emacs.gnus.general:35281 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:35281 Daniel Pittman writes: > On 09 Mar 2001, Colin Marquardt wrote: > > Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes: > > > >> On 08 Mar 2001, Colin Marquardt wrote: > >> > >> > Ideally, you would have the choice between three options here: > >> > * send message in parts, > >> > * send in one big message, > >> > * cancel. > >> > I don't know enough about Emacs LISP to do that though... > >> > >> `C-g' is your friend for cancelling. No Lisp required. > > > > That's true, and I do this. However, I wonder if it cleans up things > > nicely that might have happened to the message buffer (things like > > inserting headers etc.)? > > (condition-case nil > (progn > ;; We love lisp here, baby... > ) > (error (message "Something in the progn signalled an error...")) > (quit (message "Quit called by the user..."))) Thanks, I learned something new, but still, I do not know how much is going on in the message buffer before and after the partial-limit is checked. One would probably need to wrap a lot of functions with that. It's just... C-g seemed to work fine the one or two times I used it at this point, but I always have an uneasy feeling every time I interrupt Gnus in its magical and devious ways, that's all :-) Cheers, Colin