aboutsummaryrefslogtreecommitdiffstats
path: root/src/lread.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (Fintern): Properly compare lisp objects.Richard M. Stallman1998-05-071-1/+1
|
* (Fload): Rename dosmode to fmode and use it on allEli Zaretskii1998-05-041-9/+10
| | | | | | | platforms. Avoid calling fdopen only for WINDOWSNT, use fdopen for the the MSDOS version. (read1): Avoid recording doc strings positions only for WINDOWSNT, not for MSDOS.
* (read1): Clear out extraneous bits at end of bool-vector.Eli Zaretskii1998-05-041-0/+4
|
* (isfloat_string): Don't look at bytes before the string.Richard M. Stallman1998-05-031-0/+4
|
* Fix -Wimplicit warnings.Andreas Schwab1998-04-281-1/+5
|
* (readevalloop): Fix type of UNIBYTE parameter.Andreas Schwab1998-04-281-1/+1
|
* (Fintern): Initialize keywords only in initial obarray.Richard M. Stallman1998-04-261-1/+2
|
* (Fread_from_string): Initialize startval and endval.Richard M. Stallman1998-04-251-0/+2
|
* (read1): Allow multibyte and unibyte together in one string.Richard M. Stallman1998-04-241-6/+3
|
* (dir_warning): Don't log a warning if Emacs hasn'tGeoff Voelker1998-04-231-1/+3
| | | | finished initializing.
* (read_from_string_index_byte): New variable.Richard M. Stallman1998-04-231-111/+114
| | | | | | | | | | | | | | | (read_from_string_index): Now counts characters. (readchar, unreadchar, Fread_from_string): Changed accordingly. (readchar): Read a multibyte char all at once from a buffer, marker or string. (unreadchar): Unread a multibyte char all at once. (read1): Properly handle non-escaped multibyte chars. They force a string to be multibyte. When reading direct from a file, any multibyte sequence means a multibyte string. Insist on MAX_LENGTH_OF_MULTI_BYTE_FORM bytes when checking for read_buffer full; this way need not check specially for multibyte.
* (readevalloop): New arg UNIBYTE. Callers changed.Richard M. Stallman1998-04-201-10/+47
| | | | | | | | | Use it to bind load_convert_to_unibyte. (Feval_buffer): New arg UNIBYTE. Pass it to readevalloop. (readevalloop_1): New unwind-protect subroutine. (load_convert_to_unibyte): New variable. (syms_of_lread): Set up Lisp var. (read1): If load_convert_to_unibyte, convert strings to unibyte.
* (read1): Compute NaN and infinities using 0.0 in aRichard M. Stallman1998-04-171-3/+4
| | | | variable, to cope with compilers that think they are smarter than us.
* (readchar): Find the previous byte's address properlyRichard M. Stallman1998-04-171-2/+6
| | | | for the buffer case, as for the marker case.
* (init_lread): Init Vstandard_input.Richard M. Stallman1998-03-261-0/+2
|
* (read1): Pass new arg to make_pure_string.Richard M. Stallman1998-03-211-5/+9
| | | | | | (make_symbol): Likewise. (init_obarray): Likewise. (read1): Use make_specified_string.
* Use STRING_BYTES and SET_STRING_BYTES.Richard M. Stallman1998-03-211-6/+6
|
* (read1): Call multibyte_chars_in_textKenichi Handa1998-03-191-1/+1
| | | | | instead of chars_in_text because we must ignore enable-multibyte-characters here.
* (read0): Swap args to Fmake_string.Richard M. Stallman1998-03-181-2/+2
|
* (read1): Handle infinities, NaN and -0.0 specially.Richard M. Stallman1998-02-021-1/+28
| | | | (isfloat_string): Accept e+INF and e+NAN as exponents.
* (Funintern): Clear the symbol's obarray field.Richard M. Stallman1998-01-261-0/+2
|
* Update copyright year.Richard M. Stallman1998-01-211-1/+1
|
* (unreadchar): For unreading an ASCII charRichard M. Stallman1998-01-211-2/+34
| | | | thru a buffer or marker, really decrement point or the marker position.
* (read1): Escape codes can force multibyte or single-byte.Karl Heuer1998-01-181-16/+37
| | | | | | | | Otherwise buffer_defaults->enable_multibyte_characters decides. Only set force_singlebyte when a \-sequence is in the relevant range. (read_escape): New arg STRINGP. `\ ' is ignored only when STRINGP (normally, when reading a string). Calls changed.
* (read_escape): `\ ' stands for nothing at all.Richard M. Stallman1998-01-091-39/+58
| | | | | | | | | | | | | | | (oblookup): Take args SIZE and SIZE_BYTE. Callers changed. (init_obarray, read1, make_symbol): Pass new arg to make_pure_string. (Fintern, oblookup, Fintern_soft, intern): Handle size_byte. (dir_warning): Pass new arg to message_dolog. (read1): PCH is now int *. Declare ch as int. (read0): Declare c as int. (read_list): Declare ch as int. (read0): Use Fmake_string not make_string. (read1): When reading a string, maybe use make_unibyte_string. (Fread_from_string): Convert string indices to/from bytes.
* (readchar): Use marker's bytepos instead of bufpos.Richard M. Stallman1998-01-021-7/+2
|
* (readchar_backlog): New variable.Richard M. Stallman1998-01-011-35/+75
| | | | | | | (readchar): When fetching from buffer or marker, use readchar_backlog to fetch bytes from a character. (unreadchar): Increment readchar_backlog. (readevalloop, Fread): Init readchar_backlog.
* (Feval_region): Doc correction (point does not move).Karl Heuer1997-12-041-2/+1
|
* (read1): Declare `workbuf' as unsigned char.Andreas Schwab1997-11-211-3/+6
| | | | | | | (dir_warning): Define as returning nothing. (init_lread): Likewise. (mapatoms_1): Likewise. (map_obarray): Fix type of parameter FN.
* Indicate in messages if source code is being loaded.Simon Marshall1997-10-231-8/+8
|
* (read_list): Don't recognize Vload_file_nameKarl Heuer1997-10-151-1/+5
| | | | specially if it is nil.
* Make sure that make-docfile does not see the doc stringKarl Heuer1997-10-021-1/+1
| | | | of the disabled function eval-current-buffer.
* (Feval_buffer): New arg FILENAME.Richard M. Stallman1997-09-071-5/+12
|
* (Fload): Fix doc syntax.Richard M. Stallman1997-08-301-1/+1
|
* (Fload): If FILE arg ends in .el or .elc, don't insist on adding a suffix.Richard M. Stallman1997-08-291-2/+21
|
* (read1): Handle read_escape making a multibyte character.Richard M. Stallman1997-08-091-1/+23
|
* (Fload): New optional arg MUST-SUFFIX.Richard M. Stallman1997-08-041-4/+9
|
* (map_obarray): Don't crash if something strange is in the obarray.Richard M. Stallman1997-07-281-1/+1
|
* (init_lread): Don't add to load-path lisp subdirectoriesRichard M. Stallman1997-07-131-3/+13
| | | | of the source tree if the parent of the source was moved after dumping Emacs.
* (Vpreloaded_file_list): New variable.Richard M. Stallman1997-07-071-0/+10
| | | | | (syms_of_lread): Set up Lisp variable. (Fload): Add to Vpreloaded_file_list, if dumping.
* (init_lread): Add leim subdir, like lisp subdir.Richard M. Stallman1997-07-021-3/+18
|
* (init_lread): Sometimes add to load-pathRichard M. Stallman1997-06-011-0/+26
| | | | the lisp and site-lisp dirs under the source directory.
* (intern): Don't make a pure string here, since Fintern does that.Richard M. Stallman1997-05-311-4/+1
|
* (Fintern): Give keywords a value when interned.Richard M. Stallman1997-05-221-0/+3
|
* (init_lread): Don't add ../lisp to the dump-time load path.Richard M. Stallman1997-04-301-4/+6
|
* (read1): Adjusted for the new structure of Lisp_Char_Table.Kenichi Handa1997-04-071-0/+17
|
* (Fload): Call Vload_source_file_function with 4 args.Erik Naggum1997-02-271-1/+1
|
* Include charset.h.Karl Heuer1997-02-201-4/+57
| | | | | | | | | | | (Vload_source_file_function): New variable. (Fload): Call Vload_source_file_function if defined while loading an Emacs Lisp source file. */ (read_multibyte): New function. (read_escape): Handle multibyte characters. (read1): Correct the value of size_in_chars of a bool vector. Handle the case `?' is followed by a multibyte character. (Vload_source_file_function): New variable.
* (Feval_buffer): Doc fix.Richard M. Stallman1997-02-061-2/+1
|
* (openp): Handle remote file names in path.Richard M. Stallman1997-01-271-12/+59
| | | | | | | | | Don't use the path for an absolute name. (Fload): Handle openp finding a remote file name. (Qinhibit_file_name_operation): New variable. (syms_of_lread): Initialize and staticpro. (Fload): Bind inhibit-file-name-operation to nil.