From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/80387 Path: news.gmane.org!not-for-mail From: Dave Abrahams Newsgroups: gmane.emacs.gnus.general Subject: Re: Reviving Gnus after suspend/hibernation Date: Fri, 21 Oct 2011 19:58:02 -0400 Message-ID: References: <87wrc2qmog.fsf@gnu.org> <2iobxedxw9.fsf@news.eternal-september.org> <87lisitc2n.fsf@thinkpad.tsdh.de> <87ty72fjk7.fsf@gnu.org> <8762jiz3fh.fsf@dod.no> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1319242402 495 80.91.229.12 (22 Oct 2011 00:13:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 22 Oct 2011 00:13:22 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M28675@lists.math.uh.edu Sat Oct 22 02:13:18 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RHPD8-0002Cn-Ps for ding-account@gmane.org; Sat, 22 Oct 2011 02:13:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1RHPCh-0003C4-UR; Fri, 21 Oct 2011 19:12:47 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1RHPCf-0003Bq-7S for ding@lists.math.uh.edu; Fri, 21 Oct 2011 19:12:45 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RHPCd-0005cS-1w for ding@lists.math.uh.edu; Fri, 21 Oct 2011 19:12:44 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1RHPCa-0004Y1-7X for ding@gnus.org; Sat, 22 Oct 2011 02:12:40 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RHPCa-000251-3R for ding@gnus.org; Sat, 22 Oct 2011 02:12:40 +0200 Original-Received: from 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com ([207.172.223.249]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 22 Oct 2011 02:12:40 +0200 Original-Received: from dave by 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 22 Oct 2011 02:12:40 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 29 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.3 (darwin) Cancel-Lock: sha1:M2sI0jBaIrXiwCO5UPtDwxSHSYg= X-Spam-Score: -5.4 (-----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:80387 Archived-At: on Fri Oct 21 2011, Steinar Bang wrote: >>>>>> ludo@gnu.org (Ludovic Courtès): >> Dave Abrahams skribis: > >>> Beware: Lars has said that if you hit C-g while Gnus is working on >>> something its data structures may be corrupted. > >> Hmm, scary! > > I hit C-g all of the time, on one of my emacsen, when it's stuck. > > And so far it has always recovered. Whether or not it does may depend on lots of things: backends, agent, cache, etc. Lars has said the code is generally not designed to handle arbitrary quit's, and I take him at his word. Except in purely-functional languages where there is no mutation, invariants are regularly broken and fixed up (e.g. if two lists are supposed to be the same length, you ultimately have to modify them one at a time). If a quit is thrown while invariants are broken, they'll stay that way. -- Dave Abrahams BoostPro Computing http://www.boostpro.com