aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* declare smobs in alloc.cHEADmasterRobin Templeton2022-07-181-0/+4
|
* extern lisp.h smobsRobin Templeton2022-07-181-3/+3
|
* better load-path defaultsRobin Templeton2015-05-122-20/+15
|
* remove ".elc" from load-suffixesRobin Templeton2015-05-121-2/+1
| | | | * src/lread.c (syms_of_lread): Remove ".elc" from load-suffixes.
* make_lisp_proc bugRobin Templeton2015-04-201-6/+1
| | | | | | | * 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.
* disable GC_all_interior_pointersRobin Templeton2015-04-202-2/+6
| | | | | | | * 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'.
* print scheme objects unreadablyRobin Templeton2015-04-201-0/+5
| | | | | | * 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.
* remove use of nested function in map_obarrayRobin Templeton2015-04-201-9/+25
| | | | | | * 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.
* guile featureRobin Templeton2015-04-201-0/+1
| | | | * src/fns.c (syms_of_fns): Add `guile' to `features'.
* guile string conversion functionsRobin Templeton2015-04-201-0/+17
|
* always load from source directoryRobin Templeton2015-04-201-1/+1
|
* misc changesRobin Templeton2015-04-202-3/+18
|
* use guile-elisp macroexpansionRobin Templeton2015-04-201-16/+2
|
* read_menu_command fixRobin Templeton2015-04-201-2/+2
|
* dynwind fixesRobin Templeton2015-04-201-1/+2
|
* Fequal_including_properties fixRobin Templeton2015-04-201-2/+2
|
* rm commented codeRobin Templeton2015-04-201-3/+0
|
* subrp fixRobin Templeton2015-04-201-1/+1
|
* remove documentation-string reading hackRobin Templeton2015-04-201-6/+0
|
* lisp_string printerRobin Templeton2015-04-201-0/+10
|
* make Fprogn staticRobin Templeton2015-04-201-4/+2
|
* remove bytecode interpreterRobin Templeton2015-04-204-1989/+2
| | | | | * src/bytecode.c: Delete. (syms_of_bytecode, exec_byte_code): Removed. All uses changed.
* * src/profiler.c: Delete.Robin Templeton2015-04-203-594/+1
|
* remove backtrace functionsRobin Templeton2015-04-202-438/+0
| | | | | | | | | | | | | * 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.
* guile-elisp bootstrap (lisp)Robin Templeton2015-04-194-6/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* charset map entries are pointerlessBT Templeton2015-04-191-3/+4
| | | | | * src/charset.c (charset_map_entries): Make `entry' field a pointer instead of an array. All uses changed.
* guile-elisp bootstrap part (C)BT Templeton2015-04-193-89/+21
| | | | | | | | | | | | | | * 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.
* icc_lisp_handler fixRobin Templeton2015-04-191-0/+2
|
* guile-elisp bootstrap (C)Robin Templeton2015-04-196-573/+48
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* guile-elisp bootstrap (C)BT Templeton2015-04-196-128/+33
| | | | | | | | | | | | | | | | | | | | * 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.
* Ffboundp declarationRobin Templeton2015-04-191-0/+2
|
* guile-elisp bootstrap (C)BT Templeton2015-04-196-262/+72
| | | | | | | | | | | | | | | | | | | | | | | * 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.
* disable byte-compilationRobin Templeton2015-04-192-118/+113
|
* * src/lread.c (oblookup): Remove. All callers changed.BT Templeton2015-04-195-102/+44
|
* use vectors for symbol slotsBT Templeton2015-04-199-151/+161
| | | | | | | | | | | | | | * 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.
* remove sigio blockingBT Templeton2015-04-195-66/+0
| | | | | * src/sysdep.c (request_sigio, unrequest_sigio): Remove. All callers changed.
* remove polling suppressionBT Templeton2015-04-198-117/+5
| | | | | | | | | | * 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.
* delete_temp_file fixBT Templeton2015-04-191-3/+9
| | | | | * src/callproc.c (delete_temp_file_ptr): New function. (call_process_kill): Use it.
* * src/eval.c (Fbind_symbol): New function.BT Templeton2015-04-191-0/+12
|
* use guile subrsBT Templeton2015-04-198-330/+157
| | | | | | | | | | | | | | | | | | | | | * 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.
* use #nil and #tBT Templeton2015-04-193-22/+41
|
* callable guile procsBT Templeton2015-04-192-3/+23
| | | | | * src/eval.c (eval_sub_1, Ffuncall): * src/lisp.h (functionp): Add support for calling Guile procedures.
* [SQUASH] symbolBT Templeton2015-04-194-29/+10
| | | | | | | * 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'.
* [SQUASH] rm symbol nameBT Templeton2015-04-192-11/+1
| | | | | * src/alloc.c (set_symbol_name): Remove. All callers changed. (SYMBOL_NAME): Return Guile symbol name.
* plist moduleBT Templeton2015-04-193-6/+11
|
* symbol plist accessorBT Templeton2015-04-193-3/+9
|
* function splitBT Templeton2015-04-199-29/+40
|
* use guile obarraysBT Templeton2015-04-194-162/+110
| | | | | | | | | | | | | | * 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.
* multiple valuesBT Templeton2015-04-192-3/+46
| | | | | | * src/eval.c (values_to_list, Fmultiple_value_call, Fvalues) (eval_sub_1, Ffuncall1): New functions. (eval_sub, Ffuncall): Return only the first value.
* Lisp completion functionsBT Templeton2015-04-191-602/+0
| | | | | | | | | * 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.