1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-07 04:10:27 -08:00
Commit graph

364 commits

Author SHA1 Message Date
Juanma Barranquero
51d8b30ef8 (Feval_buffer, Feval_region): Doc fix. 2006-12-10 23:13:39 +00:00
Juanma Barranquero
9b33a6034f (syms_of_lread): Fix typo in docstring. 2006-11-06 23:25:55 +00:00
Chong Yidong
50e48299ca * lread.c (read_filtered_event): New arg SECONDS to wait until.
(Fread_char, Fread_event, Fread_char_exclusive): New arg SECONDS.
2006-07-26 18:13:49 +00:00
Dan Nicolaescu
2381d38d0a * ebrowse.c (usage, version): Mark as NO_RETURN.
* emacsclient.c (print_help_and_exit): Likewise.

* xterm.c (x_connection_closed, x_error_quitter): Mark as NO_RETURN.

* textprop.c (text_read_only): Likewise.

* lread.c (end_of_file_error): Likewise.

* lisp.h (circular_list_error, memory_full, buffer_memory_full):
Likewise.

* eval.c (unwind_to_catch): Likewise.

* buffer.h (buffer_slot_type_mismatch): Likewise.
2006-07-18 16:33:45 +00:00
Kim F. Storm
336d4a9c4f (Fload): Use xsignal2, signal_error.
(end_of_file_error): Use xsignal0, xsignal1.
(read0): Use xsignal1.
(invalid_syntax): New error function marked no-return.
(read_integer, read1, read_list): Use it.
2006-07-18 13:28:34 +00:00
Kim F. Storm
8878319cf1 (check_obarray): Cleanup wrong_type_argument use. 2006-07-12 13:19:27 +00:00
Stefan Monnier
91fe949656 (readevalloop): Remove unused var `bpos'. Yet another int/Lisp_Object mixup. 2006-07-07 16:16:18 +00:00
Stefan Monnier
4332cf50f7 (read_filtered_event): Remove `register' qualifier because it
causes compilation problem with gcc-4.0.2-20051125 on amd64.
2006-07-07 16:12:51 +00:00
Stefan Monnier
ca77ee4506 (read_filtered_event): Treat select-window just like switch-frame. 2006-07-02 14:34:30 +00:00
Eli Zaretskii
a3ac22e448 Fix whitespace of last change. 2006-06-25 03:22:50 +00:00
Eli Zaretskii
9ee9615521 (read_escape): When an unknown Unicode code point is encountered as a string
or character escape, signal an error.
2006-06-24 06:49:16 +00:00
Eli Zaretskii
71b169b8c4 (read_escape): Provide a Unicode character escape syntax; \u followed by
exactly four or \U followed by exactly eight hex digits in a comment or
string is read as a Unicode character with that code point.
2006-06-09 18:22:30 +00:00
Alan Mackenzie
6bb6da3ec1 lread.c (Vload_history): Enhance doc-string to say that the file is the
absolute truename of the loaded file.

lread.c (Vafter_load_alist): doc-string: state that an element now has a
regexp to match file names, not a file name as such.

lread.c (readevalloop): Call file-truename on the name for load-history,
except at preloading time.

lread.c (Fload): At preloading time, preserve the extension of the
filename which goes into load-history.  New variable hist_file_name.

lread.c (Fload): Do eval-after-load stuff by calling the lisp function
do-after-load-evaluation.
2006-05-24 13:24:21 +00:00
Richard M. Stallman
1ed7b9ae26 (readevalloop): Abort if START non-nil for non-buffer input. 2006-05-12 02:08:23 +00:00
Luc Teirlinck
971a4293be Declare Vload_file_rep_suffixes instead of
deleted variable default_suffixes.
(Fget_load_suffixes): New function.
(Fload): Use Fget_load_suffixes and Vload_file_rep_suffixes.
No longer use deleted variable default_suffixes.  Update docstring.
(syms_of_lread): defsubr Sget_load_suffixes.
Expand `load-suffixes' docstring.
Delete default_suffixes and DEFVAR_LISP the new variable
`load-file-rep-suffixes'.
2006-02-27 02:04:35 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Kenichi Handa
8b9d426ab7 (openp): Initialized encoded_fn before GCPRO it. 2006-02-06 12:36:25 +00:00
Eli Zaretskii
3fdf12ca11 (Fload): Don't leak the file descriptor returned by openp if we are going
to signal an error.
2006-01-20 19:54:07 +00:00
Richard M. Stallman
d11db2c8dd (readevalloop): Test for reading a whole buffer
before actually reading anything.  Handle all cases, including
START = END = nil and an already-narrowed buffer.
Convert END to a marker if it is a number.
2005-12-30 04:55:06 +00:00
Richard M. Stallman
721b7d9ee6 (readevalloop): Set PT and ZV in the proper buffer, not the current one. 2005-12-28 03:44:28 +00:00
Richard M. Stallman
010b7eace0 (read_escape) <\s>: Don't treat strings specially. 2005-12-08 17:43:52 +00:00
Stefan Monnier
0a37f51211 (readevalloop): Add missing GCPROs. 2005-11-16 18:39:15 +00:00
Stefan Monnier
c1ed1b2039 (readevalloop): Yet another int/Lisp_Object mixup (YAILOM). 2005-11-01 19:46:16 +00:00
Richard M. Stallman
b502a9a160 (build_load_history): Replace STREAM arg with ENTIRE.
(readevalloop): Compute ENTIRE properly.
(syms_of_lread) <load-history>: Doc fix.
2005-10-23 17:25:43 +00:00
Richard M. Stallman
0fc213e97e (Fload): Simplify gcpro structure.
Gcpro FOUND as well as FILE, but not EFOUND.
Unless preloading, record FOUND instead of FILE in Vload_history.
Rename repeat local FILE to MSG_FILE.
(syms_of_lread) <load-history>: Doc fix.
2005-10-21 16:54:13 +00:00
Thien-Thi Nguyen
0b5538bd85 Update years in copyright notice; nfc. 2005-08-07 12:33:19 +00:00
Kim F. Storm
ebfe97a2d4 (load_unwind): Rework last change. 2005-07-20 14:40:35 +00:00
Kim F. Storm
c04d9e7047 (Fload, load_unwind): Use make_save_value to unwind
protect stream.
2005-07-20 14:29:00 +00:00
Kim F. Storm
f153db138b (syms_of_lread): Initialize seen_list. 2005-07-14 11:24:00 +00:00
Richard M. Stallman
3f39f99678 (Qeval_buffer_list, Veval_buffer_list): New vars.
(syms_of_lread): Set up eval-buffer-list.
(Feval_buffer, Feval_region): Bind eval-buffer-list.
2005-07-10 17:02:49 +00:00
Lute Kamstra
4fc5845fe8 Update FSF's address. 2005-07-04 16:49:24 +00:00
Richard M. Stallman
7690cbb0f9 (read1): 0.0e+NaN should make a "positive" NaN. 2005-06-25 04:31:49 +00:00
Juanma Barranquero
6fa2b890d4 (read_vector): Follow error conventions. 2005-06-23 16:10:06 +00:00
Eli Zaretskii
57a131fbc0 (Flocate_file_internal): Doc fix. 2005-05-06 13:00:53 +00:00
Lute Kamstra
9942fa0cc1 (Vloads_in_progress): Static. 2005-04-18 10:22:20 +00:00
Richard M. Stallman
8c9d5dbafe (Vloads_in_progress): Not static. 2005-04-10 00:28:37 +00:00
Kim F. Storm
4c03c46d5f (readevalloop): Add args START and END as region in
current buffer to read.  Callers changed.
When specified, narrow to this region only when reading,
not during eval.  Track next point to read from during eval.
Also restore point to "real" buffer position before eval.
(Feval_region): Don't save excursion and restriction here, and
don't narrow to region.  Just pass region to readevalloop.
Note: Point is now preserved even when PRINTFLAG is nil.
2005-04-08 23:33:28 +00:00
Richard M. Stallman
0a25a2013e (syms_of_lread) <user-init-file>: Doc fix. 2005-02-15 06:44:50 +00:00
Richard M. Stallman
1bc2cdb19d (syms_of_lread) <load-history>: Doc fix. 2004-12-27 15:58:59 +00:00
Stefan Monnier
495bf63050 (readchar): Check QUIT when `getc' is interrupted. 2004-11-25 20:01:18 +00:00
Stefan Monnier
8bc285a288 (oblookup): Don't use XFASTINT blindly. 2004-11-23 05:06:56 +00:00
Kim F. Storm
95af0924b4 (read1): Fix next_char matching. 2004-11-09 13:24:19 +00:00
Andreas Schwab
d1ca81d9a8 (read1): Use BOOL_VECTOR_BITS_PER_CHAR instead of BITS_PER_CHAR for
bool vectors.
2004-04-26 21:28:40 +00:00
Steven Tamm
536d6baa1d lread.c (init_lread): Fixing typo HAVE_CARBON test logic 2004-04-26 18:44:22 +00:00
Steven Tamm
f3d5f92d98 lread.c (init_lread): Don't display missing lisp directory
warnings with Carbon Emacs because self-contained bundled Emacs
may be build without correct installation path.
2004-04-25 21:07:58 +00:00
Stefan Monnier
2fcad71e3e (defvar_per_buffer): Remove dead declaration. 2004-01-14 14:29:48 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Dave Love
bcdec28bc1 [HAVE_FCNTL_H]: Include fcntl.h. 2003-06-02 18:36:33 +00:00
Stefan Monnier
6f8eafd15c (openp): Make sure STR is a string. 2003-06-01 18:03:00 +00:00
Stefan Monnier
11810d78df (Fload): Print a message if package is obsolete. 2003-05-18 03:30:07 +00:00