all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Helmut Eller <eller.helmut@gmail.com>
To: 9462@debbugs.gnu.org
Subject: bug#9462: 24.0.50; Initial point in debugger
Date: Thu, 08 Sep 2011 11:03:33 +0200	[thread overview]
Message-ID: <m2vct31k4a.fsf@gmail.com> (raw)

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''





             reply	other threads:[~2011-09-08  9:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-08  9:03 Helmut Eller [this message]
2011-09-10 18:13 ` bug#9462: 24.0.50; Initial point in debugger Helmut Eller
2011-09-13 21:04   ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2vct31k4a.fsf@gmail.com \
    --to=eller.helmut@gmail.com \
    --cc=9462@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.