Glenn Morris [Fri, 23 May 2008 04:46:47 +0000 (04:46 +0000)]
(SOURCES): Remove, unused.
(lisptagsfiles1, lisptagsfiles2): Use '*' rather than '[a-zA-Z]*'.
(TAGS, TAGS-LISP): Use a single rule with multiple targets.
Exclude more '*loaddefs' files.
(compile-always): Simplify '.elc' deletion.
Kenichi Handa [Fri, 23 May 2008 02:24:31 +0000 (02:24 +0000)]
Delete unused variables and add casting for char *
throughout the file.
(fontset_font): Try the fallback fonts of the current fontset
before consulting the default fontset.
Stefan Monnier [Fri, 23 May 2008 01:58:15 +0000 (01:58 +0000)]
* minibuffer.el (completion-boundaries): Change calling convention, so
`string' has the same semantics as in try-completion and all-completions.
(completion-table-with-context, completion--embedded-envvar-table)
(completion--file-name-table, completion-pcm--find-all-completions):
Adjust code accordingly.
* vc-bzr.el (vc-bzr-annotate-time): Reduce memory allocation.
(vc-bzr-revision-completion-table): Handle `boundaries' argument.
Chong Yidong [Thu, 22 May 2008 21:27:42 +0000 (21:27 +0000)]
(image-mode-winprops): Add argument CLEANUP to prune
image-mode-winprops-alist, preventing it from growing indefinitely.
(image-mode-reapply-winprops): Use it.
Chong Yidong [Thu, 22 May 2008 21:27:25 +0000 (21:27 +0000)]
* image-mode.el (image-mode-winprops): Add argument CLEANUP to
prune image-mode-winprops-alist, preventing it from growing
indefinitely.
(image-mode-reapply-winprops): Use it.
Stefan Monnier [Thu, 22 May 2008 03:15:32 +0000 (03:15 +0000)]
(icomplete-eoinput): Remove.
(icomplete-overlay): New var to replace it.
(icomplete-tidy): Rewrite.
(icomplete-exhibit): Use an overlay.
(icomplete-completions): Use completion-all-sorted-completions.
Obey completion-ignore-case.
Kenichi Handa [Thu, 22 May 2008 02:27:17 +0000 (02:27 +0000)]
(ftfont_resolve_generic_family): Renamed from
ftfont_list_generic_family. Return a single family for each
generic family.
(ftfont_spec_pattern): Add FC_FAMILY to pattern.
(ftfont_list): Adjusted for the change of
ftfont_resolve_generic_family. Call font_add_log.
(ftfont_match): Call font_add_log.
Kenichi Handa [Thu, 22 May 2008 02:19:21 +0000 (02:19 +0000)]
Checking of FONT_DEBUG is moved to font.h. All calls of
xassert are changed to font_assert. Many unused variables
deleted.
(Vfont_weight_table, Vfont_slant_table, Vfont_width_table): New
variables.
(struct table_entry): Moved from xfaces.c and modified.
(weight_table, slant_table, width_table): Moved from xfaces.c and
contents adjusted for the change of struct table_entry.
(font_style_to_value, font_style_symbolic): Adjuted for the format
change of font_style_table.
(font_parse_family_registry): Don't overwrite existing foundry and
family of font_spec.
(font_score): Fix calculation of diff for sizes.
(font_sort_entites): Call font_add_log.
(font_delete_unmatched): Return a newly created list.
(font_list_entities): Fix previous change. Call font_add_log.
(font_matching_entity, font_open_entity, font_close_entity): Call
font_add_log.
(Ffont_xlfd_name): New arg FOLD-WILDCARDS.
(Finternal_set_font_style_table): Deleted.
(BUILD_STYLE_TABLE): New macro.
(build_style_table): New function.
(Vfont_log, font_log_env_checked): New variables.
(font_add_log): New function.
(syms_of_font): Delete defsubr Sinternal_set_font_style_table.
Declare Lisp variables "font-weight-table", "font-slant-table",
"font-width-table", and "font-log". Initialize font_style_table.
Stefan Monnier [Wed, 21 May 2008 20:52:44 +0000 (20:52 +0000)]
(completion-all-sorted-completions): New var.
(completion--flush-all-sorted-completions)
(completion-all-sorted-completions): New functions.
(minibuffer-force-complete): New command.
Roland Winkler [Wed, 21 May 2008 08:01:18 +0000 (08:01 +0000)]
* proced.el (proced-header-line): New variable and new function.
(proced-mode): Set header-line-format.
(proced-update): Set proced-header-line.
(proced-send-signal): Use proced-header-line.
Roland Winkler [Wed, 21 May 2008 08:00:05 +0000 (08:00 +0000)]
(proced-header-line): New variable and new function.
(proced-mode): Set header-line-format.
(proced-update): Set proced-header-line.
(proced-send-signal): Use proced-header-line.
Glenn Morris [Wed, 21 May 2008 03:51:58 +0000 (03:51 +0000)]
Allow for parallel byte-compiling.
(ELCFILES): New variable.
(.el.elc): Remove prerequisites from suffix rule. Print a message.
(compile-first, compile-main, compile-last): New targets.
(compile-always): Simplify - delete .elc files, then `make compile'.
(compile-calc): Use glob rather than find.
($(lisp)/progmodes/cc-mode.elc): Use $@.
Stefan Monnier [Tue, 20 May 2008 17:03:30 +0000 (17:03 +0000)]
(completion-boundaries): New function.
(completion--some): Delay errors.
(complete-with-action, completion-table-with-context): Handle `boundaries'.
(completion--try-word-completion): Avoid partial-completion
when the user hasn't entered anything yet.
(minibuffer-local-map, minibuffer-local-filename-completion-map)
(minibuffer-local-must-match-map, minibuffer-local-completion-map)
(minibuffer-local-must-match-filename-map, minibuffer-local-ns-map):
Setup default keybindings.
(completion--embedded-envvar-re): New var.
(completion--embedded-envvar-table): Use it. Handle `boundaries' case.
(completion--file-name-table): Handle `boundaries' case.
(completion-pcm--pattern->regex): Avoid pathological backtracking.
(completion-pcm--all-completions): Add a `prefix' arg.
(completion-pcm--find-all-completions): New function.
(completion-pcm-all-completions, completion-pcm-try-completion): Use it.
Roland Winkler [Tue, 20 May 2008 10:19:06 +0000 (10:19 +0000)]
* proced.el (proced-goal-header-re): Renamed from
proced-procname-column-regexp.
(proced-goal-column): Renamed from proced-procname-column.
(proced-move-to-goal-column): Renamed from
proced-move-to-procname.
(proced-header-face, proced-header-regexp): Removed.
(proced-font-lock-keywords): Remove proced-header-face.
(proced-header-alist, proced-sorting-schemes-re): New variables.
(proced): Rename Proced buffer to *Proced*.
(proced-next-line, proced-previous-line): New commands.
(proced-do-mark, proced-do-mark-all, proced-toggle-marks)
(proced-hide-processes): Do not treat first line as special.
(proced-header-space): New function.
(proced-update): Use header-line-format. Initialize
proced-header-alist and proced-sorting-schemes-re. Set
proced-goal-column. Include proced-command in mode-name.
(proced-send-signal): Use header-line-format for *Marked
Processes* buffer.
(proced-sort): Restrict minibuffer completion to applicable
sorting schemes.
(proced-sorting-scheme-p): Use proced-sorting-schemes-re.
Roland Winkler [Tue, 20 May 2008 10:17:15 +0000 (10:17 +0000)]
(proced-goal-header-re): Renamed from proced-procname-column-regexp.
(proced-goal-column): Renamed from proced-procname-column.
(proced-move-to-goal-column): Renamed from
proced-move-to-procname.
(proced-header-face, proced-header-regexp): Removed.
(proced-font-lock-keywords): Remove proced-header-face.
(proced-header-alist, proced-sorting-schemes-re): New variables.
(proced): Rename Proced buffer to *Proced*.
(proced-next-line, proced-previous-line): New commands.
(proced-do-mark, proced-do-mark-all, proced-toggle-marks)
(proced-hide-processes): Do not treat first line as special.
(proced-header-space): New function.
(proced-update): Use header-line-format. Initialize
proced-header-alist and proced-sorting-schemes-re. Set
proced-goal-column. Include proced-command in mode-name.
(proced-send-signal): Use header-line-format for *Marked
Processes* buffer.
(proced-sort): Restrict minibuffer completion to applicable
sorting schemes.
(proced-sorting-scheme-p): Use proced-sorting-schemes-re.
Kenichi Handa [Tue, 20 May 2008 06:33:10 +0000 (06:33 +0000)]
(Vfont_encoding_alist, find_font_encoding): Moved from
fontset.c.
(font_pixel_size)[! HAVE_WINDOW_SYSTEM]: Return 1.
(font_open_entity): Update FRAME_X_DISPLAY_INFO (f)->n_fonts,
FRAME_SMALLEST_CHAR_WIDTH (f), and FRAME_SMALLEST_FONT_HEIGHT (f)
only when HAVE_WINDOW_SYSTEM is defined.
(font_close_object): Update FRAME_X_DISPLAY_INFO (f)->n_fonts only
when HAVE_WINDOW_SYSTEM is defined.
Kenichi Handa [Tue, 20 May 2008 06:31:49 +0000 (06:31 +0000)]
(FONTSRC): Delete it. Change all $(FONTSRC) to
font.h through out the file.
(FONT_DRIVERS): Renamed from FONTOBJ.
(obj): Delete $(FONTOBJ). Add font.o.
(SOME_MACHINE_OBJECTS): Change $(FONTOBJ) to $(FONT_DRIVERS).
Stefan Monnier [Tue, 20 May 2008 03:36:20 +0000 (03:36 +0000)]
(icomplete-simple-completing-p):
Allow icomplete-with-completion-tables to say "use it everywhere".
(icomplete-completions): Obey completion-styles. Try to accomodate
partial-completion style.
Stefan Monnier [Tue, 20 May 2008 00:13:37 +0000 (00:13 +0000)]
* xdisp.c (select_frame_for_redisplay): Adjust for last change to
indirect_variable.
* eval.c (lisp_indirect_variable): New fun.
(Fuser_variable_p): Use it.
Stefan Monnier [Mon, 19 May 2008 18:38:55 +0000 (18:38 +0000)]
* lisp.h (indirect_variable):
* data.c (indirect_variable, let_shadows_buffer_binding_p):
Use Lisp_Symbol pointers rather than Lisp_Object. Adjust callers.
* buffer.c (buffer_slot_type_mismatch): Use wrong-type-argument.
To this end, change calling-convention.