From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/18009 Path: main.gmane.org!not-for-mail From: Hrvoje Niksic Newsgroups: gmane.emacs.gnus.general Subject: Re: I fixed it, but I need Lars ... (Was: *Group* buffer disappearance) Date: 21 Oct 1998 16:22:57 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no X-Trace: main.gmane.org 1035156609 3900 80.91.224.250 (20 Oct 2002 23:30:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:30:09 +0000 (UTC) Cc: ding@gnus.org Return-Path: Original-Received: from fisher.math.uh.edu (fisher.math.uh.edu [129.7.128.35]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id KAA23353 for ; Wed, 21 Oct 1998 10:24:35 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by fisher.math.uh.edu (8.9.1/8.9.1) with ESMTP id JAB16557; Wed, 21 Oct 1998 09:24:21 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 21 Oct 1998 09:24:23 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [209.195.19.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id JAA23933 for ; Wed, 21 Oct 1998 09:24:14 -0500 (CDT) Original-Received: from jagor.srce.hr (hniksic@jagor.srce.hr [161.53.2.130]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id KAA23343 for ; Wed, 21 Oct 1998 10:23:57 -0400 (EDT) Original-Received: (from hniksic@localhost) by jagor.srce.hr (8.9.0/8.9.0) id QAA21686; Wed, 21 Oct 1998 16:22:57 +0200 (MET DST) Original-To: Lloyd Zusman X-Attribution: Hrvoje X-Face: &{dT~)Pu6V<0y?>3p$;@vh\`C7xB~A0T-J%Og)J,@-1%q6Q+, gs<-9M#&`I8cJp2b1{vPE|~+JE+gx;a7%BG{}nY^ehK1"q#rG O,Rn1A_Cy%t]V=Brv7h writes: > > (What I don't understand is why the undisplayer method still doesn't > > get *called* when I press C-g.) > > `unwind-protect' alone doesn't trap `C-g' signals. I'm not talking about "trapping", but about evaluating the cleanup code. Try this: (unwind-protect (sleep-for 5) (setq a (current-time-string))) The point of this form is that `a' will end up being assigned even if you exit from `sleep-for' nonlocally, such as with C-g. > I have to run to a meeting in a few minutes. When I come back, I'll > redo your patch using `condition-case' and post it here. Don't do that. -- Hrvoje Niksic | Student at FER Zagreb, Croatia --------------------------------+-------------------------------- Call CIA and tell them that you have placed a bomb in a 7-11 shop! Be sure to let them trace you. Spend 10 years in jail and then regret it.