1 |
|
2002-01-22 Neil Jerram <neil@ossau.uklinux.net> |
2 |
|
|
3 |
|
Other changes unrelated to Elisp... |
4 |
|
|
5 |
|
* eval.c (scm_m_if): Use s_if rather than repeating string literal |
6 |
|
"if". |
7 |
|
(comments): Fix a few typos. |
8 |
|
(scm_for_each): Add parentheses around oddly unparenthesized |
9 |
|
if/while conditions. |
10 |
|
|
11 |
|
* read.c (scm_read_opts): Add full stop at end of doc for |
12 |
|
`keywords' option. |
13 |
|
|
14 |
|
* script.c (scm_compile_shell_switches): Use scm_str2symbol |
15 |
|
instead of gh_symbol2scm. |
16 |
|
|
17 |
|
* srcprop.h (SRCPROPBRK): Return C type rather than SCM. |
18 |
|
(SRCBRKP): Use SRCPROPBRK rather than duplicating its logic. |
19 |
|
|
20 |
|
* srcprop.c (scm_srcprops_to_plist, scm_source_property): Change |
21 |
|
SRCPROPBRK (x) to SCM_BOOL (SRCPROPBRK (x)). |
22 |
|
|
23 |
|
First batch of changes for Elisp support... |
24 |
|
|
25 |
|
* alist.c, async.c, boolean.c, dynl.c, eval.c, filesys.c, |
26 |
|
fluids.c, list.c, load.c, options.c, posix.c, print.c, sort.c, |
27 |
|
throw.c, vectors.c, weaks.c: Add #include for lang.h. |
28 |
|
|
29 |
|
* eval.c, eval.h, init.c, lang.c, lang.h: Use SCM_ENABLE_ELISP to |
30 |
|
conditionalize compilation and initialization of Elisp support |
31 |
|
function. |
32 |
|
|
33 |
|
* alist.c (scm_assq, scm_assv, scm_assoc), async.c |
34 |
|
(scm_asyncs_pending, scm_run_asyncs, noop), backtrace.c |
35 |
|
(scm_set_print_params_x), dynl.c (scm_make_argv_from_stringlist), |
36 |
|
filesys.c (fill_select_type, retrieve_select_type), fluids.c |
37 |
|
(scm_swap_fluids, scm_swap_fluids_reverse), list.c (scm_null_p, |
38 |
|
scm_ilength, scm_append_x, scm_last_pair, scm_reverse, |
39 |
|
scm_reverse_x, scm_list_ref, scm_list_set_x, scm_list_cdr_set_x, |
40 |
|
scm_c_memq, scm_memv), load.c (scm_search_path), options.c |
41 |
|
(change_option_setting, scm_options), posix.c (environ_list_to_c), |
42 |
|
print.c (scm_iprlist), throw.c (scm_exit_status), vectors.c |
43 |
|
(scm_vector), weaks.c (scm_weak_vector): Use SCM_NULL_OR_NIL_P |
44 |
|
instead of SCM_NULLP. |
45 |
|
|
46 |
|
* boolean.c (scm_not): Use `SCM_FALSEP || SCM_NILP' instead of |
47 |
|
just SCM_FALSEP. |
48 |
|
|
49 |
|
* boolean.c (scm_boolean_p): Use `SCM_BOOLP || SCM_NILP' instead |
50 |
|
of just SCM_BOOLP. |
51 |
|
|
52 |
|
* eval.c (scm_lisp_nil, scm_lisp_t, s_nil_ify, scm_m_nil_ify, |
53 |
|
s_t_ify, scm_m_t_ify, s_0_cond, scm_m_0_cond, s_0_ify, |
54 |
|
scm_m_0_ify, s_1_ify, scm_m_1_ify): Removed. |
55 |
|
(scm_m_atfop): Support function aliasing. Support both function |
56 |
|
args, which need transformation, and macro args, which do not. |
57 |
|
Add explanatory comments. |
58 |
|
(SCM_CEVAL): In switch cases for SCM_IM_AND, SCM_IM_COND, |
59 |
|
SCM_IM_DO, SCM_IM_IF and SCM_IM_OR, add `|| SCM_NILP' to existing |
60 |
|
checks for SCM_FALSEP. In switch case for SCM_IM_NIL_COND, use |
61 |
|
SCM_NULLP || SCM_NILP instead of checks against (removed) |
62 |
|
scm_lisp_nil. Removed switch cases for SCM_IM_NIL_IFY, |
63 |
|
SCM_IM_T_IFY, SCM_IM_0_COND, SCM_IM_0_IFY, SCM_IM_1_IFY. |
64 |
|
|
65 |
|
* lang.c (scm_nil_cons, scm_nil_car, scm_nil_cdr, scm_null, |
66 |
|
scm_m_while, scm_nil_eq): Commented out; I don't think we need |
67 |
|
these, but I don't want to remove them yet, just in case. |
68 |
|
(scm_init_lang): Define `%nil' variable on Scheme level to hold |
69 |
|
Elisp nil value. |
70 |
|
|
71 |
|
* lang.h (SCM_NILP): Test against Elisp nil value instead of |
72 |
|
against (removed) scm_lisp_nil. |
73 |
|
(SCM_NILNULLP, SCM_NIL2EOL, SCM_EOL2NIL): Commented out. |
74 |
|
(SCM_NULL_OR_NIL_P): New. |
75 |
|
|
76 |
|
* list.c (scm_append): Use SCM_VALIDATE_NULL_OR_NIL instead of |
77 |
|
SCM_VALIDATE_NULL. |
78 |
|
|
79 |
|
* print.c (scm_isymnames): Fix comment. Remove #@nil-ify, |
80 |
|
#@t-ify, #@0-cond, #@0-ify, #@1-ify. Add #nil (for SCM_ELISP_NIL |
81 |
|
value). |
82 |
|
|
83 |
|
* sort.c (scm_sorted_p, scm_merge, scm_merge_list_x, scm_merge_x, |
84 |
|
scm_sort_x, scm_sort, scm_stable_sort_x, scm_stable_sort): Use |
85 |
|
SCM_NULL_OR_NIL_P instead of SCM_NULLP. In constructions like `if |
86 |
|
(SCM_NULLP (x)) return SCM_EOL;', return x rather than SCM_EOL. |
87 |
|
|
88 |
|
* tags.h (SCM_IM_NIL_IFY, SCM_IM_T_IFY, SCM_IM_0_COND, |
89 |
|
SCM_IM_0_IFY, SCM_IM_1_IFY): Removed. |
90 |
|
(SCM_IM_BIND, SCM_IM_DELAY, SCM_IM_CALL_WITH_VALUES, SCM_UNBOUND): |
91 |
|
Numbering shifted down accordingly. |
92 |
|
(SCM_ELISP_NIL): New IFLAG. |
93 |
|
|
94 |
|
* validate.h (SCM_VALIDATE_NULL_OR_NIL): New. |
95 |
|
|
96 |
2002-01-10 Dirk Herrmann <D.Herrmann@tu-bs.de> |
2002-01-10 Dirk Herrmann <D.Herrmann@tu-bs.de> |
97 |
|
|
98 |
* eval.c: Removed outdated references to "everr". Improved some |
* eval.c: Removed outdated references to "everr". Improved some |