From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#13154: 24.3.50; emacs_backtrace.txt (different one) Date: Thu, 13 Dec 2012 13:16:03 -0800 Message-ID: <66C55EA367244D1E82898093BC5F1DB5@us.oracle.com> References: <71C954CE83CD4097847383645A95BD14@us.oracle.com> <838v938b38.fsf@gnu.org> <831uev85mk.fsf@gnu.org> <50C9AE0E.7030608@gmx.at> <83sj79op67.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1355433434 6505 80.91.229.3 (13 Dec 2012 21:17:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 13 Dec 2012 21:17:14 +0000 (UTC) Cc: 13154@debbugs.gnu.org To: "'Eli Zaretskii'" , "'martin rudalics'" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 13 22:17:27 2012 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 1TjG9m-0002UU-A4 for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Dec 2012 22:17:26 +0100 Original-Received: from localhost ([::1]:33823 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjG9Z-0002GO-DF for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Dec 2012 16:17:13 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:50258) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjG9W-0002GH-5J for bug-gnu-emacs@gnu.org; Thu, 13 Dec 2012 16:17:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TjG9U-0004yO-Lp for bug-gnu-emacs@gnu.org; Thu, 13 Dec 2012 16:17:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59311) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TjG9U-0004yG-Hr for bug-gnu-emacs@gnu.org; Thu, 13 Dec 2012 16:17:08 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TjGAM-0004y8-AJ for bug-gnu-emacs@gnu.org; Thu, 13 Dec 2012 16:18:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 13 Dec 2012 21:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13154 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13154-submit@debbugs.gnu.org id=B13154.135543342518999 (code B ref 13154); Thu, 13 Dec 2012 21:18:02 +0000 Original-Received: (at 13154) by debbugs.gnu.org; 13 Dec 2012 21:17:05 +0000 Original-Received: from localhost ([127.0.0.1]:41329 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TjG9R-0004wN-Bu for submit@debbugs.gnu.org; Thu, 13 Dec 2012 16:17:05 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:23043) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TjG9O-0004w9-84 for 13154@debbugs.gnu.org; Thu, 13 Dec 2012 16:17:03 -0500 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by userp1040.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id qBDLG6PB031018 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 13 Dec 2012 21:16:07 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id qBDLG5Kr022858 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 13 Dec 2012 21:16:05 GMT Original-Received: from abhmt118.oracle.com (abhmt118.oracle.com [141.146.116.70]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id qBDLG553008465; Thu, 13 Dec 2012 15:16:05 -0600 Original-Received: from dradamslap1 (/130.35.178.8) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 13 Dec 2012 13:16:05 -0800 X-Mailer: Microsoft Office Outlook 11 In-reply-to: <83sj79op67.fsf@gnu.org> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Thread-Index: Ac3ZVIensKTI84n+TFezaDIv5MIuVAAFIUQw X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.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:68484 Archived-At: > > From the backtrace I understand that Drew did show a > > temporary buffer and (probably after being done with that) > > restored a previous window configuration. This could come > > from a `with-output-to-temp-buffer' wrapped in a > > `save-window-excursion', which as we know is evil but > > usually not evil enough to corrupt the stack. > > Drew, does this allow to identify potential villains? We are looking > for some code that runs inside the above 2 forms. I grepped my code for `with-output-to-temp-buffer' and checked each occurrence to see if lexically within a `save-excursion'. Took me a while. I have lots of calls to `with-output-to-temp-buffer'. Of course, that is not a complete test, since some code doing a `save-excursion' could call a function that then does `with-output-to-temp-buffer'. I cannot check for that - far too time-consuming. FWIW, it's not clear to me that `w-o-t-t-b' inside `s-e' is "evil". It might be ineffectual in some contexts, in the sense that it might not do what some users mistakenly might expect, but - for my own understanding - just why do you consider it evil? Anyway, this is all my search turned up. Neither of these is pertinent, IMO. * I found an occurrence in my version of `describe-function', which is based on the vanilla Emacs 22 version in this respect. It has to work for 22+, and 22 does not have macro `with-help-window'. (Yes, I could duplicate the code and have a version for Emacs 23+...) In my own help commands (`describe-file', `describe-keymap'), I do not use `save-excursion. * I found one other occurrence of `with-output-to-temp-buffer' inside `save-excursion', but that code is used only when running Emacs 22, and it is a copy of the vanilla Emacs 22 code (for `describe-text-properties'). IOW, the fault is with vanilla Emacs in this case, and this case cannot be manifested in Emacs 24 anyway. HTH (but I doubt it).