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

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

eval-region & switch-to-buffer error


From: Shawn Betts
Subject: eval-region & switch-to-buffer error
Date: Sat, 14 Jan 2006 17:24:34 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix)

This bug report will be sent to the Free Software Foundation,
not to your local site managers!
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your bug report will be posted to the address@hidden mailing list.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

in *scratch* type the following (make sure your "foo" buffer doesn't exist):

(message "here")
(switch-to-buffer "foo")
(message "there")

set the mark at the beginning of the first line then move the point to
the line after the last line.

M-: (eval-region (mark) (point)) RET

I get the error:

Debugger entered--Lisp error: (args-out-of-range 1 472)
  eval-region(412 472)  ; Reading at buffer position 472
  eval((eval-region (mark) (point)))
  eval-expression((eval-region (mark) (point)) nil)
  call-interactively(eval-expression)

I imagine its because the current buffer is no longer *scratch* and so
point 472 is invalid in the empty buffer "foo".

If emacs crashed, and you have the emacs process in the gdb debugger,
please include the output from the following gdb commands:
    `bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/home/sabetts/opt/share/emacs/22.0.50/etc/DEBUG for instructions.


In GNU Emacs 22.0.50.7 (i386-unknown-freebsd5.3, X toolkit)
 of 2005-12-04 on shitbender.gagrod
X server distributor `The X.Org Foundation', version 11.0.60700000
configured using `configure '--prefix' '/home/sabetts/opt''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: nil
  locale-coding-system: nil
  default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
  display-time-mode: t
  iswitchb-mode: t
  show-paren-mode: t
  tooltip-mode: t
  auto-compression-mode: t
  mouse-wheel-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  line-number-mode: t

Recent input:
<return> <return> ( s w i t c h M-b m e s s a g e SPC 
" h e r e " ) <return> ( C-e - t o M-/ SPC " f o o 
" ) <return> ( m e s s a g e SPC " t h e r e ) <S-backspace> 
" ) C-a C-p C-p M-> <return> M-: M-p <return> q C-x 
b <return> C-p C-p C-p C-SPC C-n C-n C-n M-w M-x C-g 
M-x r e p r <tab> <backspace> o <tab> r t <tab> e m 
<tab> b u <tab> <return>

Recent messages:
Scanning `nethack-api.el'
Expansion found in 'nethack-api.el'
Mark set
here
Entering debugger...
Back to top level.
Mark activated
Quit
Making completion list...
Loading emacsbug...done




reply via email to

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