From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.bugs Subject: bug#9462: 24.0.50; Initial point in debugger Date: Thu, 08 Sep 2011 11:03:33 +0200 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1315472662 31360 80.91.229.12 (8 Sep 2011 09:04:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 8 Sep 2011 09:04:22 +0000 (UTC) To: 9462@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 08 11:04:15 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R1aWt-0003j0-60 for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Sep 2011 11:04:15 +0200 Original-Received: from localhost ([::1]:60149 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1aWs-0007Cd-PR for geb-bug-gnu-emacs@m.gmane.org; Thu, 08 Sep 2011 05:04:14 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:57218) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1aWp-0007CM-GS for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2011 05:04:12 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R1aWj-0007LL-Sr for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2011 05:04:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53346) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1aWj-0007LB-RP for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2011 05:04:05 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1R1aaY-0001Hr-L8; Thu, 08 Sep 2011 05:08:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Helmut Eller Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 08 Sep 2011 09:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 9462 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.13154728644921 (code B ref -1); Thu, 08 Sep 2011 09:08:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Sep 2011 09:07:44 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R1aaF-0001HK-Mv for submit@debbugs.gnu.org; Thu, 08 Sep 2011 05:07:43 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R1aaC-0001HD-UU for submit@debbugs.gnu.org; Thu, 08 Sep 2011 05:07:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R1aWJ-0007Id-1v for submit@debbugs.gnu.org; Thu, 08 Sep 2011 05:03:43 -0400 Original-Received: from lists.gnu.org ([140.186.70.17]:51071) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1aWJ-0007IZ-0M for submit@debbugs.gnu.org; Thu, 08 Sep 2011 05:03:39 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:57153) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1aWH-0007BW-R3 for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2011 05:03:38 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R1aWG-0007I0-Vf for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2011 05:03:37 -0400 Original-Received: from mail-fx0-f41.google.com ([209.85.161.41]:35684) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1aWG-0007Hq-Nk for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2011 05:03:36 -0400 Original-Received: by fxg9 with SMTP id 9so1612951fxg.0 for ; Thu, 08 Sep 2011 02:03:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:subject:date:message-id:user-agent:mime-version :content-type; bh=6VVNZ3s6vQExtbD/x8wCMnLj3zCcrvOjbpWMdUxtjM0=; b=niVp6Kr83xx7Xlnym7R+H9Et8t6UvjUj1tFSBJ289wnkOt6jAo5kWq4HoTfgUVhlAW 0/ASDU9AzER5mXEbnRFE9csq0VZJ5vqILRm22Sb+aRe/+vHs2IooiXApniRGohn7VXrk IoZGLPbG2QZc9FMdi7nkSVljkEEigvwV6Kzzo= Original-Received: by 10.223.17.3 with SMTP id q3mr774086faa.71.1315472615737; Thu, 08 Sep 2011 02:03:35 -0700 (PDT) Original-Received: from ix (dial-176163.pool.broadband44.net [212.46.176.163]) by mx.google.com with ESMTPS id h23sm1062724fah.26.2011.09.08.02.03.33 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 08 Sep 2011 02:03:34 -0700 (PDT) Original-Received: from helmut by ix with local (Exim 4.72) (envelope-from ) id 1R1aWD-0006Ve-5Z for bug-gnu-emacs@gnu.org; Thu, 08 Sep 2011 11:03:33 +0200 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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.11 Precedence: list Resent-Date: Thu, 08 Sep 2011 05:08:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) 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:50705 Archived-At: When entering the debugger, point is placed at seemingly random positions. E.g. executing this file (progn (defun foo (n) (cond ((zerop n) (debug)) (t (foo (1- n))))) (foo 100)) with emacs -Q -l foo.el opens a *Backtrace* buffer but the cursor is somewhere near the end of the buffer. When debugging other code, it's often somewhere in the middle sometimes at the beginning. In the old days, point was consistently placed at the first line of the backtrace (top-of-stack). That was more useful: it was easier to see the error message; using d was more convenient as the first line is almost always the most interesting one. In GNU Emacs 24.0.50.4 (i686-pc-linux-gnu, GTK+ Version 2.20.1) of 2011-09-05 on ix Windowing system distributor `The X.Org Foundation', version 11.0.10707000 configured using `configure '--enable-asserts' '--enable-checking' '--with-gif=no' '--with-gnutls=no' 'CFLAGS=-g3 -O0''