From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.bugs Subject: bug#16882: 24.3.50; with-temp-buffer-window broken Date: Sun, 16 Mar 2014 11:01:26 +0100 Message-ID: <53257676.8010905@gmx.at> References: <87k3cj2fzq.fsf@gmail.com> <6ubnxvj9v4.fsf@fencepost.gnu.org> <8738j7ger3.fsf@gmail.com> <530DBF1E.3090106@gmx.at> <87a9dbaek3.fsf@gmail.com> <53106C0C.6070402@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1394964134 27530 80.91.229.3 (16 Mar 2014 10:02:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Mar 2014 10:02:14 +0000 (UTC) Cc: 16882@debbugs.gnu.org To: Thierry Volpiatto Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 16 11:02:23 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1WP7tc-000704-FF for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Mar 2014 11:02:20 +0100 Original-Received: from localhost ([::1]:52760 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WP7tc-0003qe-4e for geb-bug-gnu-emacs@m.gmane.org; Sun, 16 Mar 2014 06:02:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52496) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WP7tR-0003hH-Lf for bug-gnu-emacs@gnu.org; Sun, 16 Mar 2014 06:02:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WP7tK-00044o-Bl for bug-gnu-emacs@gnu.org; Sun, 16 Mar 2014 06:02:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36763) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WP7tK-00044k-8t for bug-gnu-emacs@gnu.org; Sun, 16 Mar 2014 06:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WP7tJ-0007xg-Sn for bug-gnu-emacs@gnu.org; Sun, 16 Mar 2014 06:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: martin rudalics Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Mar 2014 10:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16882 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16882-submit@debbugs.gnu.org id=B16882.139496409630555 (code B ref 16882); Sun, 16 Mar 2014 10:02:01 +0000 Original-Received: (at 16882) by debbugs.gnu.org; 16 Mar 2014 10:01:36 +0000 Original-Received: from localhost ([127.0.0.1]:37942 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WP7su-0007wk-8H for submit@debbugs.gnu.org; Sun, 16 Mar 2014 06:01:36 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:63636) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WP7sr-0007wc-NO for 16882@debbugs.gnu.org; Sun, 16 Mar 2014 06:01:34 -0400 Original-Received: from [62.46.211.76] ([62.46.211.76]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MWxtA-1Wb6HX2rFE-00W0lZ; Sun, 16 Mar 2014 11:01:31 +0100 In-Reply-To: <53106C0C.6070402@gmx.at> X-Provags-ID: V03:K0:8DSNio8prg7Tqh+/jm1SzCBJxTYtoRFDWK6wM9JAOt/hiOT6w0s hsca/zbslhDu9dnZASiozP7MF1mvAhgvu9MZsOI7l5TFjmTqud4ebvRNo0eQxl4UhrWEeY+ He9q//BXiNfrfTdJ+HC/Tu/H4CuzYUSWx/sRxtRYwAnqQFC7cLeMnOV21pUNGzj+0fTdONo LawGQ3E2kRftYpLBhItkA== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:86889 Archived-At: > As the bug found by Juanma shows I was fooled by this myself. It should > now behave again in your sense. I still have to explain the behavior in > the manual. Sorry, but I had to revert that once more in the light of bug#17007. A major aspect of `with-temp-buffer-window' was (and the doc-string indicated it) to evaluate BODY in the original buffer in order to get the local variables, settings and keybindings of that buffer right. I messed that up in the Emacs 24.3 version of the macro and now have it do what the doc-string indicated then. So you will have to change your code as I suggested earlier. As a remedy you can now use the new macro `with-current-buffer-window' instead which does exactly what `with-temp-buffer-window' did in Emacs 24.3. This might not be the most convenient way to work with the same code in Emacs 24.3 and subsequent versions but it's the best I can offer. Apologizing again, martin