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.
Gerd Moellmann [Thu, 17 Aug 2000 20:25:50 +0000 (20:25 +0000)]
(build_annotations): Add a comment explaining the
return value of format-annotate-function. Replace a spurios call
to Flength with a CONSP test. Call format-annotate-function with
a fifth arg specifying how many times the function has been called
in a row, to let it choose temporary buffers appropriately.
Gerd Moellmann [Thu, 17 Aug 2000 20:24:27 +0000 (20:24 +0000)]
(format-encode-run-method): Fix error message to say
`encode' instead of `decode'. Use save-window-excursion around
shell-command-on-region as in format-decode-run-method because
shell-command-on-region can display a buffer with error output.
(format-decode): Don't record undo information for the decoding.
(format-annotate-function): Add parameter FORMAT-COUNT. Make
that number part of the temporary buffer name so that more than
one decoding using a temporary buffer can happen safely.
Gerd Moellmann [Thu, 17 Aug 2000 11:20:50 +0000 (11:20 +0000)]
(sql-magic-go): Use comint-bol.
(sql-copy-column): Use comint-line-beginning-position.
(comint-line-beginning-position): Define a replacement for
comint-line-beginning-position if it is not fboundp.
(sql-mode-map): TAB is no longer defined in sql-mode-map;
it didn't have any effect anyway.
(sql-postgres): Jason Beegan's patch uses the parameters
--pset and pager=off instead of sending \\o|cat at the beginning
of the session.
Eli Zaretskii [Thu, 17 Aug 2000 06:11:09 +0000 (06:11 +0000)]
(set_clipboard_data): If there's not enough memory
to put text into clipboard, return 1, as Fw16_set_clipboard_data
expects. In case of other failures, return 3.
(system_error_msg): New error message.
(Fw16_set_clipboard_data): If set_clipboard_data returns 3, print
system_error_msg.
Kenichi Handa [Thu, 17 Aug 2000 01:08:11 +0000 (01:08 +0000)]
(normal-top-level): Look in each dir in load-path for a leim-list.el
file too. This assures of loading leim-list.el that is created at
Emacs installation time even if a user have his own leim-list.el.