From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Roland Winkler" Newsgroups: gmane.emacs.bugs Subject: Re: nesting of unwind-protect and atomic-change-group Date: Sat, 2 Feb 2008 18:54:03 +0100 Message-ID: <18340.44603.70866.6745@tfkp07.physik.uni-erlangen.de> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1201974865 27924 80.91.229.12 (2 Feb 2008 17:54:25 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 Feb 2008 17:54:25 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: rms@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 02 18:54:46 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JLMZi-0002GR-22 for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Feb 2008 18:54:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JLMZG-0008Aj-CJ for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Feb 2008 12:54:18 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JLMZB-000890-N1 for bug-gnu-emacs@gnu.org; Sat, 02 Feb 2008 12:54:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JLMZA-00087p-21 for bug-gnu-emacs@gnu.org; Sat, 02 Feb 2008 12:54:12 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JLMZ9-00087l-Ry for bug-gnu-emacs@gnu.org; Sat, 02 Feb 2008 12:54:11 -0500 Original-Received: from tfkpsv.physik.uni-erlangen.de ([131.188.164.197]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JLMZ5-0006s5-Nc; Sat, 02 Feb 2008 12:54:07 -0500 Original-Received: from tfkp07.physik.uni-erlangen.de (tfkp07.physik.uni-erlangen.de [131.188.164.207]) by tfkpsv.physik.uni-erlangen.de (Postfix) with ESMTP id D15DB22060; Sat, 2 Feb 2008 18:54:04 +0100 (CET) In-Reply-To: X-Mailer: VM 8.0.x-xemacs-522 under Emacs 22.1.2 (i686-pc-linux-gnu) X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:17452 Archived-At: On Sat Feb 2 2008 Richard Stallman wrote: > When combining unwind-protect and atomic-change-group I found that > putting unwind-protect outermost worked for me (i.e., an unwindform > moving point to the buffer location where the error occured was > obeyed), whereas doing it the other way round didn't work for me > (the unwindform was ignored). > > An unwind-protect will _work_ either inside or outside > of atomic-change-group. Whatever problem you encountered > must be more specific. I can't guess what it might be. Thanks for clarifying this. My real-world example based on bibtex-entry-format is too complicated as a test case. I'll boil it down to something more amenable. Roland