Eli Zaretskii [Fri, 22 Feb 2002 14:09:07 +0000 (14:09 +0000)]
(Fw16_set_clipboard_data): Run pre-write-conversion
on the string before encoding it.
(Fw16_get_clipboard_data): Run post-read-conversion on the string
after decoding it.
Eli Zaretskii [Fri, 22 Feb 2002 13:44:59 +0000 (13:44 +0000)]
(ctext-no-compositions): New coding system.
(compount-text-no-extensions): Renamed from compound-text.
(x-ctext-no-extensions, ctext-no-extensions): Aliases for
compound-text-no-extensions.
(compound-text): Redefined using post-read and pre-write
conversions.
Eli Zaretskii [Fri, 22 Feb 2002 13:44:21 +0000 (13:44 +0000)]
(non-standard-icccm-encodings-alist, non-standard-designations-alist): New
variables.
(ctext-post-read-conversion, ctext-pre-write-conversion): New functions.
Eli Zaretskii [Fri, 22 Feb 2002 13:16:35 +0000 (13:16 +0000)]
<Qcompound_text_with_extensions>: New variable.
(syms_of_xselect): Intern and staticpro it.
(selection_data_to_lisp_data): Run post-read-conversion on decoded
selection text.
(lisp_data_to_selection_data): If next-selection-coding-system is
compound-text-with-extensions, set the type of selection to be
compound-text.
Eli Zaretskii [Fri, 22 Feb 2002 13:14:27 +0000 (13:14 +0000)]
(x_encode_text): Accept additional arg SELECTIONP; all
callers changed. If SELECTIONP is non-zero, run the
pre-write-conversion function before encoding the selection text.
André Spiegel [Thu, 21 Feb 2002 21:00:35 +0000 (21:00 +0000)]
Patch by Jonathan Kamens <jik@kamens.brookline.ma.us>.
(vc-default-init-version): Update documentation to
indicate that the backend can override the default init version.
(vc-register): Use the backend init-version function, if it exists, to
determine the initial version of a file.
(vc-diff-switches-list): Don't symbol-quote backend, since it's
already a symbol. Don't fail if vc-BACKEND-diff-switches isn't bound.
André Spiegel [Thu, 21 Feb 2002 20:56:58 +0000 (20:56 +0000)]
Patch by Jonathan Kamens <jik@kamens.brookline.ma.us>.
(vc-mode-line): Set vc-mode to nil if the file is
not version-controlled. This is necessary, e.g., if the file has
just been reverted, and thus was previously under version control
but isn't any longer.
(vc-find-file-hook): Likewise.
André Spiegel [Thu, 21 Feb 2002 20:16:47 +0000 (20:16 +0000)]
Patch by Martin.Lorentzson@telia.com.
(vc-cvs-sticky-date-format-string): New variable.
(vc-cvs-sticky-tag-display): New variable.
(vc-cvs-mode-line-string): Add sticky-tag to the mode-line.
(vc-cvs-checkin): If the input revision is a valid symbolic tag
name, we create it as a branch, commit and switch to it.
(vc-cvs-retrieve-snapshot): Set file-property sticky-tag.
(vc-cvs-valid-symbolic-tag-name-p): New function.
(vc-cvs-parse-sticky-tag): New function.
(vc-cvs-parse-entry): Added parsing of sticky tags.
(texinfo-insert-menu): Explain in doc string that
descriptions are indented, and that menus without
descriptions will contain trailing whitespace instead;
argue for importance of descriptions.
(texinfo-all-menus-update, texinfo-master-menu,texinfo-make-menu)
Also, note reason for indentation in doc string.
Kim F. Storm [Wed, 20 Feb 2002 14:52:54 +0000 (14:52 +0000)]
(menu_bar_items): Don't include keymap or local-map
bindings at PT when building menu (the menu is not updated often
enough for this to work reliable).
(tool_bar_items): Likewise.
(current_active_maps): Removed unused (and faulty) function.
Pavel Janík [Wed, 20 Feb 2002 09:04:25 +0000 (09:04 +0000)]
(tar-next-line, tar-previous-line): Add doc string,
call the argument "arg" to match plain next-line and
previous-line. From Kevin Ryde <user42@zip.com.au>.
Jason Rumney [Sun, 17 Feb 2002 23:42:40 +0000 (23:42 +0000)]
* w32term.c (x_autoselect_window_p): New variable.
(syms_of_w32term): DEFVAR_BOOL and initialize it.
(note_mouse_movement): Use it.
* w32term.c (x_check_fullscreen, x_check_fullscreen_move)
(x_fullscreen_adjust): New functions.
(w32_read_socket) <WM_WINDOWPOSCHANGED>: Don't resize to
fullscreen. Call x_check_fullscreen_move, and set the
want_fullscreen member of output_data.w32
<WM_ACTIVATE, WM_ACTIVATEAPP>: Call x_check_fullscreen.
Jason Rumney [Sun, 17 Feb 2002 23:41:06 +0000 (23:41 +0000)]
New enum for FULLSCREEN_* constants.
(struct w32_output): New members want_fullscreen, x_pixels_diff,
y_pixels_diff, x_pixels_outer_diff, and y_pixels_outer_diff.
(x-fullscreen-adjust): New prototype.
Jason Rumney [Sun, 17 Feb 2002 23:08:14 +0000 (23:08 +0000)]
(x-option-alist, x-long-option-alist)
(x-switch-definitions): Remove, use command-line-x-option-alist
instead to be consistent with X.
(x-handle-initial-switch): New function.
Kim F. Storm [Sat, 16 Feb 2002 23:59:22 +0000 (23:59 +0000)]
(disable_mouse_highlight): Removed variable.
(note_mouse_highlight): Disable highlight if Vmouse_highlight is nil.
(show_mouse_face): Don't show highlight if mouse_face_hidden is set.
(w32_read_socket): Turn mouse_face_hidden off after mouse movement,
and on after keyboard input.
(w32_initialize_display_info): Initialize mouse_face_hidden.
Kim F. Storm [Sat, 16 Feb 2002 23:57:34 +0000 (23:57 +0000)]
(disable_mouse_highlight): Removed variable.
(show_mouse_face): Don't show highlight if mouse_face_hidden is set.
(IT_note_mouse_highlight): Don't highlight if Vmouse_highlight is nil.
(internal_terminal_init): Initialize mouse_face_hidden.
(dos_rawgetc): Turn mouse_face_hidden off after mouse movement,
and on after keyboard input.
Kim F. Storm [Sat, 16 Feb 2002 23:55:57 +0000 (23:55 +0000)]
(disable_mouse_highlight): Removed variable.
(note_mouse_highlight): Don't highlight if Vmouse_highlight is nil.
(show_mouse_face): Don't show highlight if mouse_face_hidden is set.
(XTread_socket): Turn mouse_face_hidden off after mouse movement,
and on after keyboard input.
(x_term_init): Initialize mouse_face_hidden.
Eli Zaretskii [Sat, 16 Feb 2002 19:25:24 +0000 (19:25 +0000)]
(last_mouse_window): New variable.
(dos_rawgetc): Fix last change--if the mouse is in the same window
as recorded in last_mouse_window, don't select this window.
Eli Zaretskii [Sat, 16 Feb 2002 15:44:03 +0000 (15:44 +0000)]
(x_autoselect_window_p): New variable.
(syms_of_msdos): Defvar it.
(dos_rawgetc): If x_autoselect_window_p is set, select the window
in which the last mouse movement occured, unless it is already
selected.