From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.bugs Subject: Re: nesting of unwind-protect and atomic-change-group Date: Sat, 02 Feb 2008 02:39:32 -0500 Message-ID: References: Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1201937987 26826 80.91.229.12 (2 Feb 2008 07:39:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 Feb 2008 07:39:47 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: "Roland Winkler" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 02 08:40:08 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 1JLCyt-0004el-W8 for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Feb 2008 08:40:08 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JLCyR-0006LU-RG for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Feb 2008 02:39:39 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JLCyN-0006LI-FM for bug-gnu-emacs@gnu.org; Sat, 02 Feb 2008 02:39:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JLCyL-0006L6-Aa for bug-gnu-emacs@gnu.org; Sat, 02 Feb 2008 02:39:34 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JLCyL-0006L3-5Y for bug-gnu-emacs@gnu.org; Sat, 02 Feb 2008 02:39:33 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JLCyK-00087a-Ld for bug-gnu-emacs@gnu.org; Sat, 02 Feb 2008 02:39:32 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1JLCyK-0006p2-0S; Sat, 02 Feb 2008 02:39:32 -0500 In-reply-to: (Roland.Winkler@physik.uni-erlangen.de) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:17447 Archived-At: 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. Please read the Bugs section in the Emacs manual, which provides guidelines on how to write a bug report to give us the necessary information so we can fix the bug.