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#8789: 23.3; debug backtrace buffer changes window on step-through Date: Thu, 20 Sep 2012 13:34:07 -0700 Message-ID: References: <4F3CB843.6030401@gmx.at> <4F3D41DD.6080603@gmx.at> <877gzmqwcf.fsf@web.de><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> 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 1348173277 7291 80.91.229.3 (20 Sep 2012 20:34:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Sep 2012 20:34:37 +0000 (UTC) To: "'Michael Heerdegen'" , <8789@debbugs.gnu.org> Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 20 22:34:40 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 1TEnSJ-0002uK-Hw for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Sep 2012 22:34:39 +0200 Original-Received: from localhost ([::1]:44404 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEnSF-0004Tv-6f for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Sep 2012 16:34:35 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55382) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEnSB-0004Nq-DZ for bug-gnu-emacs@gnu.org; Thu, 20 Sep 2012 16:34:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TEnSA-0004Dp-6U for bug-gnu-emacs@gnu.org; Thu, 20 Sep 2012 16:34:31 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36116) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEnS9-0004Di-Uk for bug-gnu-emacs@gnu.org; Thu, 20 Sep 2012 16:34:30 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TEnTe-0003FN-0q for bug-gnu-emacs@gnu.org; Thu, 20 Sep 2012 16:36:02 -0400 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, 20 Sep 2012 20:36:01 +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: Original-Received: via spool by 8789-submit@debbugs.gnu.org id=B8789.134817334812463 (code B ref 8789); Thu, 20 Sep 2012 20:36:01 +0000 Original-Received: (at 8789) by debbugs.gnu.org; 20 Sep 2012 20:35:48 +0000 Original-Received: from localhost ([127.0.0.1]:45662 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TEnTP-0003Ex-Aw for submit@debbugs.gnu.org; Thu, 20 Sep 2012 16:35:47 -0400 Original-Received: from acsinet15.oracle.com ([141.146.126.227]:48497) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TEnTN-0003Eq-W8 for 8789@debbugs.gnu.org; Thu, 20 Sep 2012 16:35:46 -0400 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by acsinet15.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id q8KKY9rQ009420 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 20 Sep 2012 20:34:10 GMT Original-Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q8KKY85C013526 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 20 Sep 2012 20:34:09 GMT Original-Received: from abhmt119.oracle.com (abhmt119.oracle.com [141.146.116.71]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q8KKY8bS028915; Thu, 20 Sep 2012 15:34:08 -0500 Original-Received: from dradamslap1 (/130.35.178.248) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 20 Sep 2012 13:34:08 -0700 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <87vcf8fnz3.fsf@web.de> Thread-Index: Ac2XbLHe27Q3HR0RRdiembuVJ+BZ8QAAaKJw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet22.oracle.com [156.151.31.94] 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:64656 Archived-At: > I can use `debug' to invoke the debugger directly, which > prevents such surprises. 1. Not if you put `debug' in `file-remote-p'. Or in some function that then calls `file-remote-p. Or then calls some function that calls `file-remote-p'... This is not about `debug-on-entry', AFAICT. It is about the debugger debugging anything that might call `file-remote-p'. 2. You are right to have underlined the fact that there are other, similar areas that can be problematic for the debugger. A user option that lets you list such areas for the debugger to skip over could be useful. IOW, mode line and other redisplay would constitute one or more such optional list items. 3. But I also think that it should be enough, for this problematic mode line enhancement, to simply call a duplicate of `file-remote-p' and not `file-remote-p' itself, which is used by all kinds of code. If that duplicate (e.g., `mode-line-file-remote-p') is called only by the mode-line code then that should greatly reduce, if not eliminate, this problem for the debugger.