From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jambunathan K Newsgroups: gmane.emacs.devel Subject: unwind-protect not cleaning up? Date: Sat, 30 Jun 2012 06:24:34 +0530 Message-ID: <814nptaab9.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1341017704 28607 80.91.229.3 (30 Jun 2012 00:55:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 30 Jun 2012 00:55:04 +0000 (UTC) To: Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 30 02:55:03 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Sklxj-0003eX-Mc for ged-emacs-devel@m.gmane.org; Sat, 30 Jun 2012 02:54:59 +0200 Original-Received: from localhost ([::1]:56333 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sklxj-0000Bo-Os for ged-emacs-devel@m.gmane.org; Fri, 29 Jun 2012 20:54:59 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sklxg-0000Bc-PM for emacs-devel@gnu.org; Fri, 29 Jun 2012 20:54:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sklxf-00070h-5L for emacs-devel@gnu.org; Fri, 29 Jun 2012 20:54:56 -0400 Original-Received: from mail-pz0-f41.google.com ([209.85.210.41]:61719) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sklxe-00070U-Si for emacs-devel@gnu.org; Fri, 29 Jun 2012 20:54:55 -0400 Original-Received: by dakp5 with SMTP id p5so5578011dak.0 for ; Fri, 29 Jun 2012 17:54:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; bh=A4jpjks5sUjal7rT0aBXZmC2PqiJE65YGAfGuC0CD8I=; b=eVhp8wh8tFl9NJS+OQngABA95knEaqM0Rlwj5/lioYOIH13Qk1epSVi8TwrsWIBX4a bagkRxSiGU48gRKzIzi+uNEDqx8QJMyfGZTit5PWCte2dOL8GanF2p/6fCGRsDtKXzj7 0x7mmWvwsPl7ZarBmQ2Xkv7Ybeo2rwTWAPM2QN+ZND3qM76I5cv1h+a5UDy5ENOtKJ2B Piv4hN/FyGEj6jxcPaCFvkEkfX84HRiqHseo0j9/2H8Fr1r7DvfOrIRtgC7noFGKC16V bxvuG6xs5IWBYLx3jpAFJpEZm2Z2FkXFoZrss11zC9SZGglVsp8+OmtFysFFsv/VzwsX LL7Q== Original-Received: by 10.66.75.202 with SMTP id e10mr4457609paw.55.1341017692661; Fri, 29 Jun 2012 17:54:52 -0700 (PDT) Original-Received: from JAMBU-NETBOOK ([115.240.108.44]) by mx.google.com with ESMTPS id qd2sm6922710pbb.29.2012.06.29.17.54.50 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 29 Jun 2012 17:54:52 -0700 (PDT) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (windows-nt) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.210.41 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:151306 Archived-At: The snippet below is taken from (info "(elisp) Cleanups") with minor modifications. Put it in a scratch buffer and C-x C-e it. Once it is done, I am able to C-x b to YOU CANNOT KILL ME. (let ((buffer (get-buffer-create "YOU CANNOT KILL ME"))) (with-current-buffer buffer (unwind-protect (/ 1 0) (kill-buffer buffer)))) Comments... In GNU Emacs 24.1.1 (i386-mingw-nt5.1.2600) of 2012-06-02 on MARVIN Windowing system distributor `Microsoft Corp.', version 5.1.2600 Configured using: `configure --with-gcc (4.6) --no-opt --enable-checking --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-3.0.9/include' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: ENG value of $XMODIFIERS: nil locale-coding-system: cp1252 default enable-multibyte-characters: t --