Richard M. Stallman [Fri, 14 Oct 1994 05:19:13 +0000 (05:19 +0000)]
Eliminate the "display faces"; store GCs in the "computed faces".
(face_vector, nfaces, nfaces_allocated): Vars deleted.
(free_frame_faces): Free GCs in the computed faces.
Free the computed faces themselves.
(clear_face_cache): Renamed from clear_face_vector
and completely rewritten to free GCs in the computed faces.
(get_cached_face): Function deleted.
(build_face): Function deleted; code moved into intern_face.
(intern_face): Don't treat default and modeline faces specially.
(recompute_basic_faces): Call intern_face, not build_face.
(intern_face, clear_face_vector, load_font, unload_font)
(load_color, free_frame_faces, recompute_basic_faces): Use FRAME_X_DISPLAY.
Richard M. Stallman [Thu, 13 Oct 1994 18:20:15 +0000 (18:20 +0000)]
(menu-bar-update-buffers-1): New subroutine
broken out of menu-bar-update-buffers.
Truncate the file name and discard the nondirectory part.
(menu-bar-update-buffers): Discard middle of long buffer names.
Richard M. Stallman [Wed, 12 Oct 1994 23:23:23 +0000 (23:23 +0000)]
(facemenu-read-color, facemenu-colors): New fn, var.
(facemenu-set-face, facemenu-set-face-from-menu,
facemenu-after-change): Face property can take a list value; add
to it rather than completely replacing the property.
(facemenu-add-face, facemenu-discard-redundant-faces): New functions.
(facemenu-set-foreground, facemenu-set-background)
(facemenu-get-face, facemenu-foreground, facemenu-background): New
functions and variables. Faces with names of the form fg:color
and bg:color are now treated specially.
(facemenu-update): Updated for above.
Richard M. Stallman [Wed, 12 Oct 1994 09:27:49 +0000 (09:27 +0000)]
(mouse-major-mode-menu): Use minor-mode-map-alist
instead of overriding-local-map. Display equiv keys using
mouse-major-mode-menu-compute-equiv-keys.
(mouse-major-mode-menu-compute-equiv-keys): New function.
(mouse-major-mode-menu): New function, on C-mouse-3.
(mouse-major-mode-menu-1): New function
(mouse-set-font): Move it to C-mouse-2.
Simon Marshall [Wed, 12 Oct 1994 09:23:37 +0000 (09:23 +0000)]
* font-lock.el: To make font-lock.el dumpable: (font-lock-display-type,
font-lock-background-mode, font-lock-face-attributes): Default to nil.
(font-lock-make-faces): New function. Set them.
(font-lock.el): Add to after-init-hook if noninteractive or use it.
(font-lock-maximum-size): New variable.
(font-lock-mode): Use it to fontify only if buffer is within it.
(font-lock-defaults, font-lock-defaults-alist): Item for syntax table.
(font-lock-set-defaults): Set font-lock-syntax-table too.
(lisp-font-lock-keywords-2): Fix CLisp end-of-keyword in regexp.
(c-font-lock-keywords-*): Specific to ANSI C.
(c++-font-lock-keywords-*): Specific to ANSI C++.
Simon Marshall [Wed, 12 Oct 1994 08:55:27 +0000 (08:55 +0000)]
* makefile.el: (makefile-mode-syntax-table): Made `'' and ``' be
strings, and `#' be a comment.
(makefile-font-lock-keywords): Add variable reference regexp.
(makefile-mode): Set font-lock-defaults.
Simon Marshall [Wed, 12 Oct 1994 08:24:50 +0000 (08:24 +0000)]
* fortran.el: (fortran-mode-syntax-table): Made `!' be a comment.
(fortran-font-lock-keywords-1, fortran-font-lock-keywords-2,
fortran-font-lock-keywords): New variables.
(fortran-mode): Set font-lock-defaults.
Simon Marshall [Wed, 12 Oct 1994 08:00:49 +0000 (08:00 +0000)]
* ada.el: (ada-mode-syntax-table): Made `-' and `\n' be comments.
(ada-font-lock-keywords-1, ada-font-lock-keywords-2,
ada-font-lock-keywords): New variables.
(ada-mode): Set font-lock-defaults.
Karl Heuer [Wed, 12 Oct 1994 05:15:21 +0000 (05:15 +0000)]
(do_symval_forwarding, store_symval_forwarding, find_symbol_value, Fset,
default_value, Fset_default, Fkill_local_variable): Use the new substructure.
(store_symval_forwarding): Change args to buffer_slot_type_mismatch.
Richard M. Stallman [Tue, 11 Oct 1994 20:42:23 +0000 (20:42 +0000)]
(makefile-mode-name): Removed.
(makefile-mode): Skip any number of "#"s at beginning of comments.
(makefile-electric-keys): New variable.
(makefile-electric-dot): Self insert if not at bol.
(makefile-electric-equal): Really self-insert if not at bol.
(makefile-pickup-everything): Prefix arg means force pickups to be
redone.
(makefile-insert-macro-ref): Don't use format.
(makefile-runtime-macros-list): Added "$" to list.
(makefile-insert-special-target): Don't use format.
(makefile-insert-macro): Don't use format.
(makefile-insert-target): Don't use format.
(makefile-insert-target-ref): Don't use format.
(makefile-electric-colon): Really self-insert if not at bol.
(makefile-complete): New function. Bound to M-TAB.
(makefile-do-macro-insertion): New function.
(makefile-mode-map): Add menu bar bindings.
(makefile-font-lock-keywords): New constant.
(makefile-mode): Deal with font-lock, add-log, imenu.
(makefile-macroassign-regex): Changed for use with font-lock.
(makefile-dependency-regex): Changed for use with font-lock.
(makefile-add-log-defun): New function.
(makefile-menu-index-function): New function.
Richard M. Stallman [Tue, 11 Oct 1994 17:38:48 +0000 (17:38 +0000)]
(rmail-find-all-files): Fix several errors and make faster.
Always return a single-level list of file names.
(rmail-construct-io-menu): If FILES is null, turn off the menus.
(rmail-disable-menu): A phony "command", always disabled in menus.
(rmail-list-to-menu): Reverse the list L.
Karl Heuer [Tue, 11 Oct 1994 07:46:01 +0000 (07:46 +0000)]
(MARKER_BLOCK_SIZE, marker_block, marker_free_list): Now refers to the
superset type, not just markers.
(allocate_misc): New function, extracted from Fmake_marker.
(Fpurecopy): Check the substructure.
(clear_marks, mark_object, gc_sweep): Likewise.
Karl Heuer [Tue, 11 Oct 1994 07:45:20 +0000 (07:45 +0000)]
(Lisp_Misc): new type code, replacing Lisp_Marker (and soon to replace other
type codes as well).
(XMARKER, SETMARKER, MARKERP): Check/set the new type field.
(XMISC, SETMISC, MISCP): New accessor macros for the superset type.
(struct Lisp_Free): New structure.
(Lisp_Misc_Free): Type code for that structure.