all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Ken Manheimer" <ken.manheimer@gmail.com>
Subject: edebug - use edebug-sit-for-seconds after displaying blank
Date: Thu, 23 Feb 2006 16:18:23 -0500	[thread overview]
Message-ID: <2cd46e7f0602231318p2d9e199di3d7a7443db034a56@mail.gmail.com> (raw)

here's a small edebug change to apply.  it may add a tiny improvement
many, many times to your debugging efforts, if you use the debugger as
i do.

--
ken manheimer
ken.manheimer@gmail.com
http://myriadicity.net

ChangeLog entry:

2006-02-23  Ken Manheimer <ken.manheimer@gmail.com>

	* emacs-lisp/edebug.el (edebug-display): Use
	`edebug-sit-for-seconds' value instead of constant (1) on
	more pauses.

Patch:

--- edebug.el	10 Feb 2006 14:56:16 -0500	3.87
+++ edebug.el	23 Feb 2006 16:06:47 -0500	
@@ -2660,13 +2660,14 @@
 		;; Display result of previous evaluation.
 		(if (and edebug-break
 			 (not (eq edebug-execution-mode 'Continue-fast)))
-		    (sit-for 1))	; Show break message.
+                    (edebug-sit-for edebug-sit-for-seconds)) ; Show message.
 		(edebug-previous-result)))

 	  (cond
 	   (edebug-break
 	    (cond
-	     ((eq edebug-execution-mode 'continue) (edebug-sit-for 1))
+	     ((eq edebug-execution-mode 'continue)
+              (edebug-sit-for edebug-sit-for-seconds))
 	     ((eq edebug-execution-mode 'Continue-fast) (edebug-sit-for 0))
 	     (t (setq edebug-stop t))))
 	   ;; not edebug-break

                 reply	other threads:[~2006-02-23 21:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=2cd46e7f0602231318p2d9e199di3d7a7443db034a56@mail.gmail.com \
    --to=ken.manheimer@gmail.com \
    /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.