bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in delete-char ???? (Emacs 21.2.2)


From: Greg Hill
Subject: Bug in delete-char ???? (Emacs 21.2.2)
Date: Fri, 12 Sep 2003 16:38:40 -0700

When delete-char attempts to delete backwards from the beginning of the buffer, or forwards from the end of the buffer, it is aborting the function being executed (as it should, of course), but it _does_not_cause_the_debugger_to_be_entered_.

Example:
(progn
  (setq debug-on-error t)
  (goto-char 1)
  (delete-char -1)
  (message "Got past error"))

Behavior:
Prints "Beginning of buffer" in the echo area, does not print "Got past error" (correct behavior), but does NOT enter debugger.


Example:
(progn
  (setq debug-on-error t)
  (goto-char (point-max))
  (delete-char 1)
  (message "Got past error"))

Behavior:
Prints "End of buffer" in the echo area, does not print "Got past error" (correct behavior), but does NOT enter debugger.

--Greg




reply via email to

[Prev in Thread] Current Thread [Next in Thread]