Kenichi Handa [Wed, 25 Jun 2008 07:31:37 +0000 (07:31 +0000)]
(font_parse_fcname): Remove unused variables.
(font_sort_entites): Delete the arg SPEC. Caller changed. Fix
for the case of ! best_only.
(font_delete_unmatched): Check DPI and AVGWIDTH too.
Dan Nicolaescu [Wed, 25 Jun 2008 03:19:14 +0000 (03:19 +0000)]
* vc-dir.el (vc-dir-marked-only-files-and-states): Rename from
vc-dir-marked-only-files. Change the return value.
(vc-dir-child-files-and-states): Rename from vc-dir-child-files.
Change the return value.
(vc-dir-deduce-fileset): New function broken out from ...
* vc.el (vc-deduce-fileset): ... here and ...
(vc-deduce-fileset): ... here.
Chong Yidong [Tue, 24 Jun 2008 18:00:20 +0000 (18:00 +0000)]
(Vtruncate_partial_width_windows): New Lisp_Object, replacing
truncate_partial_width_windows.
(init_iterator): If Vtruncate_partial_width_windows is an integer,
truncate only if the window width is below that integer.
(start_display. resize_mini_window, produce_stretch_glyph)
(display_string, move_it_in_display_line_to): Use line_wrap.
(back_to_previous_visible_line_start, reseat_1): Reset
string_from_display_prop_p.
(display_line): Extend default face to end of line when wrapping.
(display_line, move_it_in_display_line_to): Add ability
to wrap continued lines at word boundaries.
Chong Yidong [Tue, 24 Jun 2008 17:54:59 +0000 (17:54 +0000)]
* buffer.h (struct buffer): New member word_wrap.
* buffer.c (syms_of_buffer): New variables default-word-wrap and
word-wrap.
(init_buffer_once): Initialize them.
* dispextern.h (struct it): Replace bool truncate_lines_p with a
line_wrap enum possessing three possible values.
* termopts.h: Replace truncate_partial_width_windows with
Vtruncate_partial_width_windows.
* dispnew.c (direct_output_for_insert): Avoid direct output when
inserting a space with word wrap on.
* indent.c (compute_motion): Obey integer values of
truncate-partial-width-windows.
* xdisp.c (Vtruncate_partial_width_windows): New Lisp_Object,
replacing truncate_partial_width_windows.
(init_iterator): If Vtruncate_partial_width_windows is an integer,
truncate only if the window width is below that integer.
(start_display. resize_mini_window, produce_stretch_glyph)
(display_string, move_it_in_display_line_to): Use line_wrap.
(back_to_previous_visible_line_start, reseat_1): Reset
string_from_display_prop_p.
(display_line): Extend default face to end of line when wrapping.
(display_line, move_it_in_display_line_to): Add ability
to wrap continued lines at word boundaries.
Dan Nicolaescu [Tue, 24 Jun 2008 04:04:48 +0000 (04:04 +0000)]
* add-log.el (add-change-log-entry): Add new arg to force each new
entry to be on a new line.
* diff-mode.el (diff-add-change-log-entries-other-window): Use it.
Dan Nicolaescu [Tue, 24 Jun 2008 03:45:06 +0000 (03:45 +0000)]
(vc-client-object): Remove.
(vc-dir-prepare-status-buffer): Take a backend as an argument and
use it when looking for a buffer.
(vc-dir): Add a backend argument. Set revert-buffer-function.
Don't create a client object. Move bindings ...
(vc-dir-menu-map, vc-dir-mode-map): ... here.
(vc-dir-revert-buffer-function): New function.
(vc-generic-status-printer): Rename to ...
(vc-dir-status-printer): ... this.
(vc-generic-state, vc-generic-status-fileinfo-extra)
(vc-dir-extra-menu, vc-make-backend-object): Remove.
(vc-default-status-printer): Use a different face for
directories. Don't display any text for directories in the state
column. Add tooltips.
* gmake.defs (DEBUG_FLAG, DEBUG_LINK) [!NODEBUG]:
Don't hardcode -gstabs+, use DEBUG_INFO.
* configure.bat (gccdebug): Check for DWARF-2 support in GCC.
Default to stabs if the compiler does not support DWARF-2.
(genmakefiles): Write new variable DEBUG_INFO to config.settings.
Stefan Monnier [Sun, 22 Jun 2008 13:57:28 +0000 (13:57 +0000)]
* Makefile.in ${SUBDIR}: Pass additional BOOTSTRAPEMACS argument.
* Makefile.in (${lisp} ${SOME_MACHINE_LISP}, ../lisp/loaddefs.el):
Use $(BOOTSTRAPEMACS) rather than witness-emacs.
(bootstrap-emacs${EXEEXT}): Merge witness-emacs into it.
(witness-emacs): Remove.
(lisp, shortlisp): Move loaddefs.el earlier.
(mostlyclean): Forget about witness-emacs.
* Makefile.in (COMPILE_FIRST): Trim down and add autoload.el.
Glenn Morris [Sat, 21 Jun 2008 20:13:48 +0000 (20:13 +0000)]
(bug-reference-map): Bind down-mouse-1 rather than mouse-1.
(bug-reference-url-format): Autoload safe if string.
(bug-reference-bug-regexp): Make space after "bug" optional.
(bug-reference-fontify): Save match data.
Chong Yidong [Sat, 21 Jun 2008 19:42:51 +0000 (19:42 +0000)]
(fixed-pitch): Use "Monospace" family.
(variable-pitch): Use "Sans" family.
(face-font-family-alternatives): Define alternatives for "Sans"
and "Monospace".
Chong Yidong [Sat, 21 Jun 2008 19:42:37 +0000 (19:42 +0000)]
* faces.el (fixed-pitch): Use "Monospace" family.
(variable-pitch): Use "Sans" family.
(face-font-family-alternatives): Define alternatives for "Sans"
and "Monospace".
Glenn Morris [Sat, 21 Jun 2008 19:28:09 +0000 (19:28 +0000)]
Factor out the magic numbers controlling the calendar layout.
(calendar-month-digit-width, calendar-month-width)
(calendar-right-margin): New variables.
(calendar-recompute-layout-variables, calendar-set-layout-variable):
New functions.
(calendar-left-margin, calendar-intermonth-spacing)
(calendar-column-width, calendar-day-header-width)
(calendar-day-digit-width): New options.
(calendar-first-date-row): New constant.
(calendar-move-to-column, calendar-ensure-newline): New functions,
replacing calendar-insert-indented.
(calendar-insert-indented): Remove function.
(calendar-generate-month): Use calendar-move-to-column and
calendar-ensure-newline. Use layout variables.
(calendar-generate, calendar-update-mode-line)
(calendar-font-lock-keywords): Use layout variables.
(calendar-column-to-month): New function.
(calendar-cursor-to-date): Use calendar-column-to-month.
Use layout variables.
Stefan Monnier [Sat, 21 Jun 2008 19:20:40 +0000 (19:20 +0000)]
* src/Makefile.in (PRECOMP): Remove.
(${lisp} ${SOME_MACHINE_LISP}): Remove pseudo dependency on PRECOMP.
(witness-emacs): Run `compile-first'.
(.el.elc): Use the new compile-onefile target.
* lisp/Makefile.in (update-elclist): Don't exclude COMPILE_FIRST.
(all): Run compile-last.
(compile-onefile): New target.
(compile-first): Simplify.
(compile-last): Don't treat COMPILE_FIRST specially.
(COMPILE_FIRST): List the elc files rather than the el files.
(ELCFILES): Update.