| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
| |
* src/lread.c (syms_of_lread): Remove ".elc" from load-suffixes.
|
|
|
|
|
|
|
| |
* src/lisp.h (make_lisp_proc): Return the `self' object from the
structure header. This prevents the allocation of distinct objects
representing the same process. Thanks to Matt Kramer
<[email protected]> for the report.
|
|
|
|
|
|
|
| |
* src/emacs.c (main): Don't enable `GC_all_interior_pointers'.
* src/eval.c (specpdl_base): New variable.
(init_eval_once, grow_specpdl): Save the dummy entry preceding the
specpdl in `specpdl_base'.
|
|
|
|
|
|
| |
* src/lread.c (print_object): Print Scheme objects unreadably, instead
of printing them in Scheme syntax. Thanks to Taylan Ulrich
Bayırlı/Kammer <[email protected]> for the report.
|
|
|
|
|
|
| |
* src/lread.c (map_obarray_inner): New function.
(map_obarray): Remove use of non-standard nested function. Thanks to
Jaime Fournier <[email protected]> for the bug report.
|
|
|
|
| |
* src/fns.c (syms_of_fns): Add `guile' to `features'.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* src/bytecode.c: Delete.
(syms_of_bytecode, exec_byte_code): Removed. All uses changed.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/eval.c (backtrace_function, backtrace_nargs, backtrace_args)
(backtrace_debug_on_exit, set_backtrace_args)
(set_backtrace_debug_on_exit, backtrace_p, backtrace_top)
(backtrace_next, do_debug_on_call, record_in_backtrace)
(Fbacktrace_debug, Fbacktrace, get_backtrace_frame)
(Fbacktrace_frame, backtrace_eval_unrewind, Fbacktrace_eval)
(get_backtrace, backtrace_top_function, Vsignaling_function):
Remove. All references changed.
* src/lisp.h (SPECPDL_BACKTRACE): Remove. All references changed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lisp/abbrev.el: Remove use of cl-lib functions.
* lisp/frame.el: Remove use of cl-lib functions.
* lisp/international/mule-cmds.el: Remove use of cl-lib functions.
* lisp/minibuffer.el: Remove uses of cl-lib functions.
* lisp/byte-run.el: (defun-declarations-alist)
(macro-declarations-alist): Define at compile time.
* lisp/faces.el: Move face-listing code to "faces2.el".
* lisp/faces2.el: New file.
* lisp/files.el: Move minibuffer-with-setup-hook to subr.el.
* lisp/help.el: Move definition of with-help-window.
* lisp/international/mule.el: Define temporary defcustom macro.
* lisp/jka-cmpr-hook.el: Disable auto-compression-mode.
* lisp/loadup.el: Load mule and mule-conf earlier. Load gv
explicitly. Load subr2, derived, easy-mmode, cl-lib, cl-macs,
help-macro, help-fns, faces2, ccl, and kmacro explicitly.
* lisp/simple.el: Move defs of internal-push-keymap,
internal-pop-keymap, set-temporary-overlay-map from subr.el.
* lisp/subr.el (push): Use eval after loading macros.
(dolist): Remove.
(with-current-buffer, with-temp-buffer): Move definitions earlier.
(with-demoted-errors): Use `progn' instead of `macroexp-progn'.
(called-interactively-p-functions, called-interactively-p,
interactive-p): Move to "subr2.el".
* lisp/subr2.el: New file.
|
|
|
|
|
| |
* src/charset.c (charset_map_entries): Make `entry' field a pointer
instead of an array. All uses changed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/data.c (Finteractive_form): Switch order of COMPILEDP and
scm_procedure_p tests.
* src/doc.c (Fdocumentation): Switch order of COMPILEDP and
scm_procedure_p tests.
* src/eval.c (init_eval_once): Make smobs applicable.
(eval_sub_1): Wrap eval_fn, plus a quit.
(Ffuncall1): Make static.
(apply_lambda): Don't eval_sub args. Don't set backtrace.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/data.c (Fsetq_default): Remove
* src/editfns.c (Fsave_excursion, Fsave_current_buffer)
(Fsave_restriction): Change to functions taking thunks as arguments.
* src/eval.c (eval_fn, funcall_fn): New variables.
(init_eval_once): Increase initial vales of max_specpdl_size and
max_lisp_eval_depth. Define eval_fn and funcall_fn.
(Fif, Fsetq, Fquote): Remove.
(Ffunction): Don't define as DEFUN.
Whitespace change.
(Fdefvar, Fdefconst, FletX, Flet): Remove.
(Fcatch): Take thunk as evaluated argument.
(Funwind_protect): Remove.
(Fcondition_case): Replace with Fcall_with_handler.
(eval_sub_1): Only supported compiled and Scheme procedures.
(Fapply): Don't define as DEFUN.
(Ffuncall1): Don't define as DEFUN. Just call funcall_fn.
(syms_of_eval): Don't unintern internal-interpreter-environment.
* src/fns.c (Fwidget_apply): Call `apply' instead of Fapply.
* src/keyboard.c (Ftrack_mouse): Take thunk as evaluated argument.
* src/lisp.h (WRAP1): Define a global symbol for the wrapped function.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/alloc.c (allocate_string): Return a Lisp_Object. All callers changed.
(allocate_string_data): Take a Lisp_Object as first argument. All
callers changed.
* src/callint.c (Finteractive): Remove.
* src/data.c (Finteractive_form): Handle a nil interactive-form
correctly.
* src/emacs.c (main2): Set `lisp-string?'.
* src/eval.c (Fwhile): Remove.
(Fcommandp): Handle a nil interactive-form correctly.
* src/lisp.h (struct Lisp_String): Move definition.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/alloc.c (initialize_symbol): Remove. All callers changed.
* src/data.c (Ffboundp, Fmakunbound, Ffmakunbound, Fsymbol_function)
(Ffset): Call the corresponding Guile-Elisp functions.
(Fbind_symbol): New function.
* src/emacs.c (string_from_scheme): New function.
(main2): Resolve modules instead of defining them.
Set `make-lisp-string'. Call `emacs!'.
* src/eval.c (For, Fand, Fcond, Fprog1, Fprog2, Fbind_symbol): Remove.
* src/lisp.h (XSYMBOL): Use `symbol-desc' from Guile-Elisp.
(SYMBOL_NAME, SYMBOL_INTERNED_P, SYMBOL_FUNCTION):
(WRAP1, WRAP2): New macros.
(set_symbol_function, symbol_plist, set_symbol_plist): Call the
corresponding Guile-Elisp function.
* lread.c (init_obarray): Use Guile-Elisp's unbound symbol object.
(Ffind_symbol): Return the symbol if it is present in the obarray.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/alloc.c (initialize_symbol): Use Guile vectors to store symbol
slots.
* src/lisp.h (lisp_h_SET_SYMBOL_VAL, lisp_h_SYMBOL_CONSTANT_P)
(lisp_h_SYMBOL_VAL): Use Guile vectors to store symbol slots.
(sym_t): New typedef.
(SYMBOL_SELF, SET_SYMBOL_SELF, SYMBOL_REDIRECT, SET_SYMBOL_REDIRECT)
(SYMBOL_CONSTANT, SET_SYMBOL_CONSTANT, SYMBOL_DECLARED_SPECIAL)
(SET_SYMBOL_DECLARED_SPECIAL): New macros.
(struct Lisp_Symbol): Change all field names. All references changed
to use `sym_t' and the above macros instead.
|
|
|
|
|
| |
* src/sysdep.c (request_sigio, unrequest_sigio): Remove. All callers
changed.
|
|
|
|
|
|
|
|
|
|
| |
* src/eval.c (struct catchtag): Remove `poll_suppress_count'
field. All references changed.
* src/keyboard.c (poll_suppress_count, stop_polling,
set_poll_suppress_count, STOP_POLLING, RESUME_POLLING): Remove. All
references changed.
(wait_reading_process_output): Turn on atimers unconditionally.
|
|
|
|
|
| |
* src/callproc.c (delete_temp_file_ptr): New function.
(call_process_kill): Use it.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/data.c (Qspecial_operator): New variable.
(CHECK_SUBR, Ftype_of, Fsubrp, Fsubr_arity, Finteractive_form):
Update for new subr representation.
* src/emacs.c (main2): Call `syms_of_data' early.
* src/lisp.h (XSUBR, SUBRP): Remove. All callers changed.
(DEFUN): Define subrs as Guile procedures.
(functionp): Update for new subr representation.
* src/lread.c (defsubr): Update for new subr representation. Take
relevant subr properties as direct arguments instead of accepting a
`Lisp_Subr' struct; all callers changed.
* src/doc.c (Fdocumentation, store_function_docstring):
* src/eval.c (Fcommandp, eval_sub_1, Fapply, Ffuncall1):
* src/print.c (print_object):
* src/xmenu.c: Update for new subr representation.
|
| |
|
|
|
|
|
| |
* src/eval.c (eval_sub_1, Ffuncall):
* src/lisp.h (functionp): Add support for calling Guile procedures.
|
|
|
|
|
|
|
| |
* src/lisp.h (SYMBOL_INTERNED_IN_INITIAL_OBARRAY_P): Move...
* src/data.c (SYMBOL_INTERNED_IN_INITIAL_OBARRAY_P): ...here, and
update for Guile.
* src/lisp.h (SYMBOL_INTERNED_P): Use `scm_symbol_interned_p'.
|
|
|
|
|
| |
* src/alloc.c (set_symbol_name): Remove. All callers changed.
(SYMBOL_NAME): Return Guile symbol name.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/alloc.c (initialize_symbol): New function, extracted from
`Fmake_symbol'.
(Fmake_symbol): Use `scm_make_symbol'.
* src/emacs.c (main2): Define a symbol module.
* src/lisp.h (SYMBOLP, XSYMBOL): Update.
(set_symbol_next): Remove. All callers changed.
* src/lread.c (obhash): New function.
(Fintern, Fintern_soft, Funintern, oblookup, map_obarray): Use Guile
obarrays.
(init_obarray): Initialize a hash table of obarrays.
* src/lread.c (Ffind_symbol): New function.
|
|
|
|
|
|
| |
* src/eval.c (values_to_list, Fmultiple_value_call, Fvalues)
(eval_sub_1, Ffuncall1): New functions.
(eval_sub, Ffuncall): Return only the first value.
|
|
|
|
|
|
|
|
|
| |
* src/minibuf.c (minibuf_conform_representation, Ftry_completion)
(Fall_completions, Ftest_completion, Finternal_complete_buffer):
Rewrite in Lisp and move...
* lisp/minibuffer.el (minibuf-conform-representation, try-completion)
(all-completions, test-completion, internal-complete-buffer):
...here.
|