all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Greg Hill <ghill@synergymicro.com>
Subject: Bug in delete-char ???? (Emacs 21.2.2)
Date: Fri, 12 Sep 2003 16:38:40 -0700	[thread overview]
Message-ID: <p04310100bb880059e1f5@[198.17.100.22]> (raw)
In-Reply-To: <jwvfzj1k4x2.fsf@noir.iro.umontreal.ca>

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	other threads:[~2003-09-12 23:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.34.1062553939.18171.help-gnu-emacs@gnu.org>
2003-09-03 14:59 ` eLisp fontlock with mmm-mode Joe Kelsey
2003-09-03 17:02   ` Kevin Rodgers
2003-09-05 15:02     ` Joe Kelsey
2003-09-11 22:28       ` Alan Mackenzie
2003-09-12 15:46         ` Joe Kelsey
2003-09-12 21:55           ` Alan Mackenzie
2003-09-12 22:39             ` Stefan Monnier
2003-09-12 23:38               ` Greg Hill [this message]
     [not found]               ` <mailman.228.1063410048.21628.bug-gnu-emacs@gnu.org>
2003-09-13  2:19                 ` Bug in delete-char ???? (Emacs 21.2.2) Johan Bockgård

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='p04310100bb880059e1f5@[198.17.100.22]' \
    --to=ghill@synergymicro.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.