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: Sat, 10 Sep 2011 20:13:14 +0200	[thread overview]
Message-ID: <m239g4i7ut.fsf@gmail.com> (raw)
In-Reply-To: <m2vct31k4a.fsf@gmail.com>

* Helmut Eller [2011-09-08 09:03] writes:

> When entering the debugger, point is placed at seemingly random
> positions.

I think this would fix the problem:

=== modified file 'lisp/emacs-lisp/debug.el'
--- lisp/emacs-lisp/debug.el	2011-08-22 21:16:46 +0000
+++ lisp/emacs-lisp/debug.el	2011-09-10 18:10:29 +0000
@@ -336,7 +336,8 @@
 			(with-current-buffer (car tem)
 			  (point))))
 	(pop tem))))
-  (debugger-make-xrefs))
+  (save-excursion
+    (debugger-make-xrefs)))
 
 (defun debugger-make-xrefs (&optional buffer)
   "Attach cross-references to function names in the `*Backtrace*' buffer."







  reply	other threads:[~2011-09-10 18:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-08  9:03 bug#9462: 24.0.50; Initial point in debugger Helmut Eller
2011-09-10 18:13 ` Helmut Eller [this message]
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=m239g4i7ut.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.