Geoff Voelker [Fri, 6 Aug 1999 20:41:07 +0000 (20:41 +0000)]
(ls-lisp-delete-matching): List argument is now alist
of filenames and attributes.
(ls-lisp-insert-directory): Use directory-files-and-attributes
for speed.
Gerd Moellmann [Fri, 6 Aug 1999 15:05:34 +0000 (15:05 +0000)]
(x_display_and_set_cursor): If cursor_in_echo_area,
show hollow box cursor for windows other than echo_area_window,
show normal cursor for echo_area_window.
Gerd Moellmann [Fri, 6 Aug 1999 13:59:43 +0000 (13:59 +0000)]
(compute_line_metrics): If first line's physical ascent
is larger than its logical ascent, use the physical ascent, and
make the row taller. Set row's overlapping_p flag.
(init_iterator): Reset physical line height info
after producing special glyphs.
(display_toolbar_line): Set physical line height info.
(compute_line_metrics): Ditto.
(display_line): Ditto.
(display_string): Ditto.
(reseat_at_next_visible_line_start): New parameter
on_newline_p.
(set_iterator_to_next): After delivering last char
from display vector, reseat on next visible line start if
dpvec_char_len < 0.
(next_element_from_buffer): Set dpvec_char_len to -1 for
selective display.
Gerd Moellmann [Fri, 6 Aug 1999 13:59:32 +0000 (13:59 +0000)]
(redraw_overlapping_rows): Use flag overlapping_p.
(direct_output_for_insert): Ditto.
(direct_output_for_insert): Don't use this method if
row is overlapped by others.
(update_text_area): Write full line if current line is overlapped.
(redraw_overlapped_rows): New.
(update_window): Call it.
(redraw_overlapping_rows): New.
(update_window): Call it.
(scrolling_window): Make sure overlapped_p flag in current rows is
unchanged.
(row_equal_p): Take rows overlapped_p flag into account.
(adjust_glyphs): Block input while adjusting matrices.
(direct_output_for_insert): Don't use this
optimization for rows that overlap others.
(update_window_line): Return non-zero if display has changed.
(update_text_area): Ditto.
(update_window): Record if display has been changed.
(blank_row): Compute glyph row's physical height.
(row_equal_p): Take physical row heights into account.
(direct_output_for_insert): Ditto.
(update_text_area): Ditto.
(switch_to_buffer_1): New subroutine, taken out from Fswitch_to_buffer.
(no_switch_buffer): New function.
(Fswitch_to_buffer): Call them. Don't get confused
by "same-window" buffers in a dedicated frame.
(switch_to_buffer_1): New subroutine, taken out from Fswitch_to_buffer.
(no_switch_buffer): New function.
(Fswitch_to_buffer): Call them. Don't get confused
by "same-window" buffers in a dedicated frame.
All functions rewritten, except when noted above
their declaration. Below is a list of interface changes.
(apply-on-rectangle): New function, mostly replaces
`operate-on-rectangle'. All callers changed.
(move-to-column-force): Pass new second argument to `move-to-column'.
(kill-rectangle): Added optional prefix arg to fill lines.
(delete-rectangle): Ditto.
(delete-whitespace-rectangle): Ditto.
(delete-extract-rectangle): Ditto.
(open-rectangle): Ditto.
(clear-rectangle): Ditto.
(delete-whitespace-rectangle-line): New function.
(delete-rectangle-line): Added third arg FILL.
(delete-extract-rectangle-line): Ditto.
(open-rectangle-line): Ditto.
(clear-rectangle-line): Ditto.
(query-replace-regexp-eval)
(replace-eval-replacement, replace-loop-through-replacements)
(replace-match-string-symbols): New functions.
(perform-replace): Allow REPLACEMENTS to be (FUNCTION . DATA).
Use replace-loop-through-replacements.
(Buffer-menu-mode-map): Add V for Buffer-menu-View.
(Buffer-menu-mode): Doc fix.
(Buffer-menu-view): New command.
(Buffer-menu-view-other-window): New command.
(read1): Added circular reading code to #N=.
(SUBSTITUTE): New macro.
(seen_list): New variable.
(substitute_object_in_subtree): New function.
(substitute_object_recurse): New function.
(substitute_in_interval): New function.
(outline-next-heading): New function.
(outline-up-heading-all): New function.
(outline-font-lock-level): Using outline-up-heading-all.
Tell outline-back-to-heading to accept invisible headings.
(mh-find-path-run): New variable.
(mh-find-path): Test and set that.
Set mail-user-agent only the first time this function is run.
(mail-user-agent): Defvar deleted.
Dave Love [Fri, 30 Jul 1999 18:39:32 +0000 (18:39 +0000)]
Change comments to doc strings and other doc fixes.
(frame-delete-all): Moved to subr.el as `assoc-delete-all'. Callers
changed.
(set-background-color, set-foreground-color, set-cursor-color)
(set-mouse-color, set-border-color): Offer completion of colours.
(cursor): Add :version to defgroup.
Karl Heuer [Fri, 30 Jul 1999 15:15:57 +0000 (15:15 +0000)]
(cal-tex-cursor-filofax-daily): Add possibility of
rules. Add separator at end of holidays.
(cal-tex-rules): New customizable variable.
(cal-tex-latexify-list): Add optional parameter to put separator
at end.
Karl Heuer [Fri, 30 Jul 1999 14:34:28 +0000 (14:34 +0000)]
(fill-individual-paragraphs): Calculate new
fill prefix on each line while looping to the end of paragraph.
End paragraph if it's longer than the existing fill prefix.
Eli Zaretskii [Fri, 30 Jul 1999 08:33:50 +0000 (08:33 +0000)]
(make_terminal_frame) [MSDOS]: Don't call
init_frame_faces if non-interactive.
(Fframe_parameters) [MSDOS]: Replace indexing into colornames[]
array with a call to msdos_stdcolor_name. The font name is now
"ms-dos", consistent with realize_tty_face.
Eli Zaretskii [Fri, 30 Jul 1999 08:19:22 +0000 (08:19 +0000)]
(load_color): Remove static from definition and remove
prototype.
[MSDOS]: Add a DOS-specific version of load_color.
(lookup_face): Replace FRAME_TERMCAP_P with !FRAME_WINDOW_P.
(lookup_derived_face): New function.
(realize_default_face): Support MSDOS frames.
[MSDOS]: If fore/background colors are unspecified, inherit them
from the frame.
(realize_face): Support MSDOS frames.
(realize_tty_face): Support MSDOS frames.
[MSDOS]: If the face color is not in Vface_tty_color_alist, call
load_color to try to find a suitable approximation. If the face
is inverse-video, swap the foreground and background colors.
Eli Zaretskii [Fri, 30 Jul 1999 08:05:13 +0000 (08:05 +0000)]
(IT_set_face): Rewritten for the new redisplay engine.
Use default frame colors if the face doesn't specify them; invert
the colors if highlight is ON.
(IT_write_glyphs): Rewritten for the new redisplay engine.
(IT_change_line_highlight): Add (unused) parameter Y, since that's
how the hook is called by term.c.
(IT_copy_glyphs): New function, copies an area of the display in
video RAM.
(IT_insert_glyphs): Rewritten to DTRT instead of aborting, since
redisplay now calls it even if char_ins_del_ok is zero.
(IT_set_frame_parameters): Prototype changed. Calls the new
load_color. Puts the new fore/background colors into the default
face on current frame.
(IT_menu_display): Rewritten to handle the new struct glyph
instead of a char array.
(XMenuActivate): Call lookup_derived_face to create and use
special faces for the pop-up and drop-down menus.
Dave Love [Thu, 29 Jul 1999 21:56:02 +0000 (21:56 +0000)]
(picture-beginning-of-line): Don't call
hscroll-point-visible now we have real autoscrolling.
(picture-end-of-line, picture-newline, picture-open-line):
Likewise.
Dave Love [Wed, 28 Jul 1999 16:46:30 +0000 (16:46 +0000)]
Require cl only when compiling.
(msb--home-dir): Deleted.
(msb--format-title): Use abbreviate-file-name.
(msb--choose-file-menu): Simplify string comparison.