unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Bad value from read-from-string
@ 2002-05-29 11:08 Juanma Barranquero
  2002-05-29 19:05 ` Colin Walters
  0 siblings, 1 reply; 3+ messages in thread
From: Juanma Barranquero @ 2002-05-29 11:08 UTC (permalink / raw)


On HEAD:

emacs -q --no-site-file
M-x ielm
1 [enter]

=> Args out of range: "1", 7, 1

Only happens with the first expression evaluated. It is caused by the
value returned by read-from-string.

Perhaps related to:

> 2002-05-28  Colin Walters  <walters@gnu.org>
> 
>         * lread.c (readchar_count): New variable.
>         (readchar): Increment it.
>         (unreadchar): Decrement it.
>         (read_multibyte): Decrement it.
>         (Vread_with_symbol_positions): New variable.
>         (Vread_symbol_positions_list): New variable.
>         (read_internal_start): New function, created from Fread and
>         Fread_from_string.  Handle Vread_symbol_positions_list and
>         Vread_with_symbol_positions.
>         (readevalloop, Fread, Fread_from_string): Use it.
>         (read1): Use readchar_count to add symbol positions to
>         Vread_symbol_positions_list if Vread_with_symbol_positions is
>         non-nil.
>         (syms_of_lread): DEFVAR_LISP and initialize them.
> 
>         * lread.c (read0, read1, read_list, read_vector, read_multibyte)
>         (substitute_object_recurse, substitute_object_in_subtree)
>         (substitute_in_interval): Prototype.
>         (read_multibyte): Return c if it's less than zero.


                                                           /L/e/k/t/u

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

end of thread, other threads:[~2002-05-30 13:56 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-29 11:08 Bad value from read-from-string Juanma Barranquero
2002-05-29 19:05 ` Colin Walters
2002-05-30 13:56   ` Juanma Barranquero

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).