Miles Bader [Tue, 22 Aug 2000 10:09:56 +0000 (10:09 +0000)]
(comint-output-filter):
Compare end of comint-last-output-overlay with the start of the newly
inserted text, not the end, when deciding whether to extend it.
Set saved-point's insertion type to advance after insertion.
Gerd Moellmann [Mon, 21 Aug 2000 19:48:17 +0000 (19:48 +0000)]
(find_field): Formatting changes.
(toplevel): Some old-style function forward declarations
changed to prototypes, some new protypes added, some functions
made static.
Gerd Moellmann [Mon, 21 Aug 2000 18:59:19 +0000 (18:59 +0000)]
(gen_help_event): Add parameter SIZE.
(kbd_buffer_events_waiting): Slightly rewritten.
(clear_event): New function.
(kbd_buffer_get_event): Use it, and clear the input_events of
HELP_EVENTs.
(init_keyboard): Remove duplicate creation of kbd_buffer_gcpro and
don't fill the newly created array with nils.
(toplevel): Convert some old-style function forward declarations
to prototypes.
Gerd Moellmann [Mon, 21 Aug 2000 15:26:01 +0000 (15:26 +0000)]
(server-kill-new-buffers): New user option.
(server-existing-buffer): New buffer-local variable.
(server-visit-files): When using an existing buffer, set
server-existing-buffer to t.
(server-buffer-done): If server-kill-new-buffers is t, kill the
buffer, unless it was already present before visiting it with
Emacs server.
Jason Rumney [Sun, 20 Aug 2000 21:14:08 +0000 (21:14 +0000)]
(keymap_panes): Pass the keymap's prompt as the pane name to
single_keymap_panes.
(w32_menu_show): Set wv->title when dealing with titles.
(w32_menu_display_help): Call show_help_echo with OBJECT and POS.
Jason Rumney [Sun, 20 Aug 2000 21:08:43 +0000 (21:08 +0000)]
(help_echo_window): New variable.
(syms_of_w32term): staticpro it.
(note_mode_line_highlight): Set it.
(XTextExtents16): Removed as there is no equivalent on W32.
(x_compute_glyph_string_overhangs): Incomplete body removed, as
the X way of doing this will not work for W32.
(w32_intersect_rectangles): Removed. Use IntersectRect API call.
(x_draw_image_foreground): Avoid drawing outside of the clip area
when image doesn't have a mask.
(note_mouse_highlight): Process overlays in the right order of
priority. Set help_echo_window.
(x_draw_bar_cursor): If cursor is on an image, draw a box cursor
because that's more visible for large images.
Gerd Moellmann [Sun, 20 Aug 2000 13:23:01 +0000 (13:23 +0000)]
(lface_equal_p): Compare strings differently.
(Qtty_color_alist, Vtty_defined_color_alist): New variables.
(realize_tty_face): Use them.
(syms_of_xfaces): Initialize new variables.
(map_tty_color): New function, extracted from realize_tty_face.
(map_tty_color) [MSDOS || WINDOWSNT]: If using the frame's default
foreground or background color, store the new color name in the
realized face; previous code trying to do this had no effect.
(realize_tty_face): Use map_tty_color.
(Fclear_face_cache): Set face_change_count and ensure thorough
redisplay.
Miles Bader [Sat, 19 Aug 2000 01:59:21 +0000 (01:59 +0000)]
(gud-basic-call): Temporarily widen gud comint buffer while checking for
prompt to delete. Use `forward-line 0' instead of beginning-of-line.
(gud-filter): Temporarily widen gud comint buffer while examining output.
Miles Bader [Sat, 19 Aug 2000 01:55:40 +0000 (01:55 +0000)]
(comint-output-filter): Remove ad-hoc saving of restriction, and just
use save-restriction, now that it works correctly. Don't adjust
comint-last-input-start to account for our insertion; it shouldn't have
moved because we don't use insert-before-markers anymore. Comment out
call to `force-mode-line-update'; why is it here?
Kenichi Handa [Fri, 18 Aug 2000 06:41:15 +0000 (06:41 +0000)]
(decode_coding_string): Set members consumed,
consumed_char, produced, produced_char of *coding correctly. If
decode_coding doesn't consume any byte, don't try anymore.
(encode_coding_string): Likewise.
Miles Bader [Fri, 18 Aug 2000 00:43:52 +0000 (00:43 +0000)]
(save_restriction_save): Rewrite to use markers.
(save_restriction_restore): Rewrite to understand new form of data
saved by save_restriction_save.
(Fsave_restriction): Remove cautionary note in doc-string.
Gerd Moellmann [Thu, 17 Aug 2000 20:54:01 +0000 (20:54 +0000)]
Set to standard author/maintainer/keyword fields.
Fine tuning to menu map appearance and operation, and added help.
Remove `start' and `end' error messages when compiling.
(ispell-choices-win-default-height): Fixed comment string.
(ispell-dictionary-alist-1): Fixed regexp in castellano and
castellano8 dictionaries.
(ispell-dictionary-alist-3): Fixed regexp in francais dictionary.
(ispell-dictionary-alist-4): Fixed regexp in francais-tex
dictionary, added italiano dictionary.
(ispell-skip-region-alist): Removed regexp thrashing when `-' is a
word character
(ispell-tex-skip-alists): Added psfig support.
(ispell-skip-html): Renamed from ispell-skip-sgml.
(ispell-begin-skip-region-regexp, ispell-skip-region)
(ispell-minor-check): Improved html skipping support to skip across
code, and recognize `&' commands without propper `;' syntax;
(ispell-process-line): Fix alignment error when manually
correcting spelling.
(ispell): Fix comment string.
(ispell-add-per-file-word-list): Always put word list on new line.