all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juanma Barranquero <lektu@terra.es>
Subject: Bad value from read-from-string
Date: Wed, 29 May 2002 13:08:10 +0200	[thread overview]
Message-ID: <20020529130436.CB27.LEKTU@terra.es> (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

             reply	other threads:[~2002-05-29 11:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-29 11:08 Juanma Barranquero [this message]
2002-05-29 19:05 ` Bad value from read-from-string Colin Walters
2002-05-30 13:56   ` Juanma Barranquero

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=20020529130436.CB27.LEKTU@terra.es \
    --to=lektu@terra.es \
    /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.