Delete the explicit autoload calls.
(custom-help-menu): Don't use easymenu; make the keymap explicitly.
(custom-menu-reset): Function deleted. Don't call it, either.
(custom-help-menu): Variable deleted.
Add DSSSL mode and share code with newly required
lisp-mode as much as possible.
(scheme-mode-variables): Copy filling stuff from lisp-mode.
Add an outline-regexp.
(scheme-mode-map): Inherit shared-lisp-mode-map and provide a menu.
(dsssl-sgml-declaration): New variable.
(dsssl-mode): New command.
(dsssl-font-lock-keywords): New variable.
(scheme-indent-function): Near copy of lisp-indent-function.
(scheme-comment-indent, scheme-indent-offset,
scheme-indent-function, scheme-indent-line,
calculate-scheme-indent, scheme-indent-specform,
scheme-indent-defform, scheme-indent-sexp): Removed; use lisp-mode
equivalents.
(scheme-imenu-generic-expression): New variable.
(dsssl-imenu-generic-expression): New variable.
(scheme-let-indent): Use lisp-indent-specform.
(sh-mode): Set font-lock-comment-start-regexp via font-lock-defaults.
(sh-set-shell): Don't set font-lock-keywords or font-lock-syntax-table,
and don't toggle Font Lock mode if it is already on.
(malloc_get_state, malloc_set_state): New declarations.
(main): Restore internal malloc state when loading from dumped image.
(Fdump_emacs): Copy internal malloc state for dumping, then free it.
For glibc's malloc, include <malloc.h> for mallinfo,
mallopt, struct mallinfo, and mallopt constants.
(BYTES_USED): New macro.
(memory_full, emacs_blocked_free): Replace _bytes_used with BYTES_USED.
(emacs_blocked_malloc): Set sbrk padding value for glibc, as is
done with gmalloc.
(allocate_vectorlike, make_uninit_string):
Prevent using mmap for possible large chunks.
(init_alloc_once): Set trim and mmap malloc parms, when using glibc.
(CHAR_TABLE_STANDARD_SLOTS): Now 4 more slots than
CHAR_TABLE_ORDINARY_SLOTS for top, defalt, parent, and purpose.
(SUB_CHAR_TABLE_ORDINARY_SLOTS, SUB_CHAR_TABLE_STANDARD_SLOTS):
New macros.
(struct Lisp_Char_Table): New member `top'. The member `defalt'
is moved before `contents' so that XCHAT_TABLE (val)->defalt can
also be used for a sub char table.
(SUB_CHAR_TABLE_P): New macro.
(make_sub_char_table): Extern it.
(detect_coding_iso2022, detect_coding_mask): Ignore
invalid ESC sequence for ISO 2022.
(Fencode_sjis_char, Fencode_big5_char): Adjusted for the change of
SPLIT_CHAR.
(copy_sub_char_table): New function.
(Fcopy_sequence): Call copy_sub_char_table for copying a sub char table.
(Fchar_table_range, Fset_char_table_range, map_char_table,
Fmap_char_table): Handle multibyte characters correctly.
Eli Zaretskii [Sun, 6 Apr 1997 14:32:33 +0000 (14:32 +0000)]
(init_cmdargs) [MSDOS]: Make the change that sets
`installation-directory' if `info' is found as its subdirectory or
sibling, be conditioned on MSDOS (it makes trouble on Unix).
(mail-complete-style): New variable.
(mail-complete): Use that.
(mail-get-names): Store full names in cdrs of mail-names elts.
(mail-names): Doc fix.
(mail-directory): Minor cleanup.
(indent-sexp): If calculate-lisp-indent returns nil,
don't change the line's indentation.
(lisp-indent-line): Likewise.
(lisp-comment-indent): Likewise.
(calculate-lisp-indent): Return nil if line starts inside a string.
Truncate imenu items.
Make use of markers or integers an option.
(imenu-use-markers, imenu-max-item-length): New variables.
(imenu-max-items): Doc fix.
(imenu-example--name-and-position): Handle imenu-use-markers.
(imenu-default-create-index-function): Likewise.
(imenu--generic-function): Likewise.
(imenu--truncate-items): New function.
(imenu--make-index-alist): Call imenu--truncate-items.
English related codes are moved to
language/english.el.
(setup-european-environment): Call setup-english-environment to
reset to default setting at first.
(Finsert_file_contents): When handling REPLACE,
first try comparing block by block; if we discover a need for
nontrivial code conversion, give up and try convert-whole-file method.
Added a lot of new faces, they all start with
term- and follow a simple lexicographical convention. Note that
each change is commented: just search for -mm in the source.
(term-char-mode): Added all the "grey-keys" to term-raw-map.
(term-send-up): Similar, decided to go for the more xterm-like
\eOA bindings in place of the previous \e[A.
(term-buffer-maximum-size): New variable.
(term-mode): Added some make-local: now term-buffer-maximum-size,
ange-ftp-default-user/password/an-pwd.
(term-emulate-terminal): Quite some modifications to allow
multiple outstanding ANSI style commands: notably all the
-previous-parameter stuff. Call term-handle-ansi-terminal-messages.
(term-emulate-terminal): Added simple trimming function: at the
end we simply check if the buffer is > term-buffer-maximum-size
and cut it accordingly.
(term-handle-colors-array): New function.
(term-handle-ansi-terminal-messages): New function.
(term-handle-ansi-escape): Modified to allow ANSI coloring
(ansi-term): New function that creates multiple terminals. Put
in the standard C-x map too: I'm quite used to C-x C-f and C-c C-f
was too awkward.