unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* Forward-char at end of buffer
@ 2006-06-26 18:17 Whitfield Diffie
  2006-06-27 15:14 ` Kevin Rodgers
  2006-06-27 16:16 ` Richard Stallman
  0 siblings, 2 replies; 3+ messages in thread
From: Whitfield Diffie @ 2006-06-26 18:17 UTC (permalink / raw)


				Monday  26 June 2006  at 11:09

    Am I missing something?

    Visit an empty buffer in a fresh --no-init emacs.  Set debug-on-error
to true and type a control -f.  An `end of buffer error will appear in the
echo area but no backtrace.  Type control-x control-x and a `No mark set in
this buffer' error message appears and causes a backtrace.

    Alternatively in the same circumstances, evaluate

	(progn (setq aa 1) (forward-char 1) (setq bb 2))

The variable aa now has the value 1 and bb is undefined.


    This seems to be true in emacs 21 on both Solaris and MacOs X.
Forward-char wasn't meant to produce an untrapped error was it?

					Whit

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Forward-char at end of buffer
  2006-06-26 18:17 Forward-char at end of buffer Whitfield Diffie
@ 2006-06-27 15:14 ` Kevin Rodgers
  2006-06-27 16:16 ` Richard Stallman
  1 sibling, 0 replies; 3+ messages in thread
From: Kevin Rodgers @ 2006-06-27 15:14 UTC (permalink / raw)


Whitfield Diffie wrote:
>     Am I missing something?
> 
>     Visit an empty buffer in a fresh --no-init emacs.  Set debug-on-error
> to true and type a control -f.  An `end of buffer error will appear in the
> echo area but no backtrace.  Type control-x control-x and a `No mark set in
> this buffer' error message appears and causes a backtrace.
> 
>     Alternatively in the same circumstances, evaluate
> 
> 	(progn (setq aa 1) (forward-char 1) (setq bb 2))
> 
> The variable aa now has the value 1 and bb is undefined.
> 
> 
>     This seems to be true in emacs 21 on both Solaris and MacOs X.
> Forward-char wasn't meant to produce an untrapped error was it?

C-h v debug-ignored-errors

debug-ignored-errors is documented in the Emacs Lisp manual immediately
following debug-on-error.

-- 
Kevin

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Forward-char at end of buffer
  2006-06-26 18:17 Forward-char at end of buffer Whitfield Diffie
  2006-06-27 15:14 ` Kevin Rodgers
@ 2006-06-27 16:16 ` Richard Stallman
  1 sibling, 0 replies; 3+ messages in thread
From: Richard Stallman @ 2006-06-27 16:16 UTC (permalink / raw)
  Cc: bug-gnu-emacs

	This seems to be true in emacs 21 on both Solaris and MacOs X.
    Forward-char wasn't meant to produce an untrapped error was it?

The debugger is disabled for this error so as not to bother people.
You can control this thru debug-ignored-errors.

Happy hacking.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-06-27 16:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-26 18:17 Forward-char at end of buffer Whitfield Diffie
2006-06-27 15:14 ` Kevin Rodgers
2006-06-27 16:16 ` Richard Stallman

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).