From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#8789: 23.3; debug backtrace buffer changes window on step-through Date: Fri, 21 Sep 2012 00:01:51 +0200 Message-ID: <87d31gfj5c.fsf@web.de> References: <504B4940.9000809@gmx.at> <86wqzznwzv.fsf@web.de> <9BABA419184241F5A7246DC5D9A9EF81@us.oracle.com> <5057A4A3.4010100@gmx.at> <4617F483F2CC446D980DF7194E06BB3A@us.oracle.com> <50581E7F.3040108@gmx.at> <1C1E224E1D674670BEE043B4A35A271F@us.oracle.com> <5059FC9C.8020702@gmx.at> <2D8C133406A54B26AD253EC7EE52C666@us.oracle.com> <505B1F26.20209@gmx.at> <87ehlwzklr.fsf@web.de> <505B51AD.2080908@gmx.at> <91FFA03F2A7341A09E280DD2BCC4A428@us.oracle.com> <83392czgvc.fsf@gnu.org> <87vcf8fnz3.fsf@web.de> <87obl0fkto.fsf@web.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1348178372 16756 80.91.229.3 (20 Sep 2012 21:59:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Sep 2012 21:59:32 +0000 (UTC) To: 8789@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 20 23:59:37 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 1TEomX-0008S5-2f for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Sep 2012 23:59:37 +0200 Original-Received: from localhost ([::1]:49406 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEomS-00069a-Pv for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Sep 2012 17:59:32 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55274) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEomQ-00069V-Gx for bug-gnu-emacs@gnu.org; Thu, 20 Sep 2012 17:59:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TEomP-0000Gb-Eo for bug-gnu-emacs@gnu.org; Thu, 20 Sep 2012 17:59:30 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36171) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEomP-0000GX-BF for bug-gnu-emacs@gnu.org; Thu, 20 Sep 2012 17:59:29 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TEonu-00058S-Bi for bug-gnu-emacs@gnu.org; Thu, 20 Sep 2012 18:01:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Sep 2012 22:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8789 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.134817846019731 (code B ref -1); Thu, 20 Sep 2012 22:01:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Sep 2012 22:01:00 +0000 Original-Received: from localhost ([127.0.0.1]:45717 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TEonr-00058B-D5 for submit@debbugs.gnu.org; Thu, 20 Sep 2012 18:01:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:48644) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TEono-000584-LL for submit@debbugs.gnu.org; Thu, 20 Sep 2012 18:00:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TEomI-0000GO-Ad for submit@debbugs.gnu.org; Thu, 20 Sep 2012 17:59:23 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:58593) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEomI-0000GK-7U for submit@debbugs.gnu.org; Thu, 20 Sep 2012 17:59:22 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55257) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEomH-0005t1-Cy for bug-gnu-emacs@gnu.org; Thu, 20 Sep 2012 17:59:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TEomG-0000G8-KK for bug-gnu-emacs@gnu.org; Thu, 20 Sep 2012 17:59:21 -0400 Original-Received: from mout.web.de ([212.227.15.4]:63143) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEomG-0000G4-Ax for bug-gnu-emacs@gnu.org; Thu, 20 Sep 2012 17:59:20 -0400 Original-Received: from snow.dragon ([89.204.130.212]) by smtp.web.de (mrweb002) with ESMTPSA (Nemesis) id 0MarZy-1SuY6W1QOQ-00Kg8L; Thu, 20 Sep 2012 23:59:18 +0200 In-Reply-To: (Drew Adams's message of "Thu, 20 Sep 2012 14:33:00 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) X-Provags-ID: V02:K0:qkg2PkzU07PPfSr4Vzo1dP2XnGsYMdsXpEnworvmsJO 0NtApE2YfPvTRhzFXg5ueY0SavZ1uVGgpDUHWMnNHD72cutT4U BGPZmCuQhmnP1pvHjUtE1aSbhLfRWZq+Rlc1k7wFOivaI4DKt2 TP1EhJUg4FZCqTEynuJhPzsldqKAdM4Z0gB+mQwweWJmaAlS4H QLr6GgLYm/ytsg2dOE8+mwHfueB+XOcI79/Nb/dI8g= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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 (newer, 2) 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:64663 Archived-At: "Drew Adams" writes: > > And, in the case of `file-remote-p', it wouldn't even be enough to > > duplicate just this function. We would have to duplicate any > > function that could be called by `file-remote-p' as well. > > No, sorry, I don't see that. The problem is only calls to > file-remote-p', not > also calls to `find-file-name-handler' (which is called by > file-remote-p') or > calls to `if' or `funcall' (also called by `file-remote-p'). > > AFAICT, it does not matter that `mode-line-file-remote-p' would call > `find-file-name-handler' or `if' or `funcall'. `M-x debug-on-entry > file-remote-p', or adding `debug' to your (non mode-line) code that > calls `file-remote-p', would not cause the debugger to open when > `mode-line-file-remote-p' is called or when any of the functions it > calls is called. But what if you want to M-x debug-on-entry find-file-name-handler or any other function called by `file-remote-p' (or your mode-line version)? Going to bed now - good night.