1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-30 09:00:31 -08:00
Commit graph

15364 commits

Author SHA1 Message Date
Kim F. Storm
e4984112de (Fprocess_status): Document connect and failed return values. 2002-03-01 00:00:21 +00:00
Kim F. Storm
81d5af8b09 Added support for non-blocking connect. 2002-02-28 23:55:18 +00:00
Kim F. Storm
dd2a17ab8b (Qconnect, Qfailed): New variables.
(syms_of_process): Intern and staticpro them.
[NON_BLOCKING_CONNECT]: New conditional.
(connect_wait_mask, num_pending_connects): New variables.
(status_message): Convert Qfailed status.
(Fopen_network_stream): Added support for non-blocking connect.
New optional args: filter, sentinel, non_blocking.  Doc updated.
[HAVE_GETADDRINFO, !HAVE_GETADDRINFO]:  Merged common code.
(deactivate_process): Handle pending non-blocking connect.
(wait_reading_process_input): Poll for status of non-blocking
connects.  Exec sentinel directly when connect succeeds.
(status_notify): Don't read process output if not yet connected.
2002-02-28 23:53:59 +00:00
Kim F. Storm
8bfb170b05 (syms_of_window): Initialize minibuf_selected_window. 2002-02-28 22:15:45 +00:00
Kim F. Storm
5705966b35 (minibuf_selected_window): Renamed from Vminibuf_selected_window. 2002-02-28 22:11:49 +00:00
Kim F. Storm
3dbab091cb (minibuf_selected_window): Renamed from
Vminibuf_selected_window.  Users changed.
(syms_of_window): Staticpro it.
2002-02-28 22:07:45 +00:00
Pavel Janík
f7ccf929eb Fix typos. 2002-02-28 16:16:52 +00:00
Kim F. Storm
beb0acdfef *** empty log message *** 2002-02-26 23:02:14 +00:00
Kim F. Storm
890d33d457 (init_iterator): Compare with Vminibuf_selected_window
instead of Vminibuf_scroll_window when deciding in which window
the region should be highlighted.  Consequently, the region remains
highlighted even when a completion buffer is also displayed.
2002-02-26 22:55:08 +00:00
Kim F. Storm
683086358a (CURRENT_MODE_LINE_FACE_ID_3): Compare with
Vminibuf_selected_window instead of Vminibuf_scroll_window.
2002-02-26 22:53:47 +00:00
Kim F. Storm
6122844a39 (read_minibuf): Set Vminibuf_selected_window on first
entry to minibuffer or on entry from a non-minibuffer window.
2002-02-26 22:52:56 +00:00
Kim F. Storm
76e316e0da (Vminibuf_selected_window): Declare extern. 2002-02-26 22:52:07 +00:00
Kim F. Storm
3f49fddcb9 (Vminibuf_selected_window): New variable.
(struct save_window_data): New member minibuf_selected_window.
(Fset_window_configuration): Restore Vminibuf_selected_window.
(Fcurrent_window_configuration): Save Vminibuf_selected_window.
Set minibuf_scroll_window member to nil if minibuf_level is 0.
(compare_window_configurations): Compare minibuf_selected_window.
2002-02-26 22:50:55 +00:00
Eli Zaretskii
b135bd4ced (Fsubstitute_in_file_name): Fix the change from 2002-02-08. 2002-02-26 18:42:25 +00:00
Eli Zaretskii
3dfdc066a9 *** empty log message *** 2002-02-26 16:38:05 +00:00
Eli Zaretskii
5a79ea57c6 (Qcompound_text_with_extensions): Renamed from Qcompound_text_no_extensions.
(lisp_data_to_selection_data, syms_of_xselect): Use the new name.
2002-02-26 16:37:15 +00:00
Juanma Barranquero
804d894aa5 (syms_of_ntproc): Doc fix. 2002-02-26 10:01:38 +00:00
Pavel Janík
0277b535be Include "dispextern.h" unconditionally. 2002-02-24 20:37:24 +00:00
Jason Rumney
82a399d298 *** empty log message *** 2002-02-24 18:40:25 +00:00
Jason Rumney
6e860d159d (lisp): Add emacs-lisp/backquote.elc. 2002-02-24 18:31:35 +00:00
Jason Rumney
1f1bce0ece (WINNT_SUPPORT) [WINDOWSNT]: Add w32-vars.elc and disp-table.elc. 2002-02-24 18:02:49 +00:00
Jason Rumney
4143f98bef (WINNT_SUPPORT) [WINDOWSNT]: Add w32-vars.elc. 2002-02-24 17:42:49 +00:00
Kim F. Storm
5f24537118 (Flookup_key): Fixed problem in 2001-12-28 patch:
The validation of the event type was too strict as it didn't
allow string events; buffer names are used in bindings for
menu-bar-select-buffer (see `menu-bar-update-buffers').
2002-02-24 00:24:37 +00:00
Kim F. Storm
b66bc4a416 *** empty log message *** 2002-02-23 22:32:39 +00:00
Kim F. Storm
a34cb674af (command_loop_1): Use Fremap_command for command remapping;
now try command remapping for all symbols.
2002-02-23 22:03:17 +00:00
Kim F. Storm
8160700003 (Fremap_command): Declare extern.
(is_command_symbol): Remove extern.
2002-02-23 22:01:16 +00:00
Kim F. Storm
a1df473f03 The following changes rework my patch of 2002-02-06 which
added command remapping by entering the commands directly into
the keymaps.  Now, command remapping uses an explicit `remap'
prefix in the keymaps, i.e. [remap COMMAND].

(Qremap, remap_command_vector): New variables.
(is_command_symbol): Removed function.
(Fdefine_key): No longer accept a symbol for KEY.  Added
validation of [remap COMMAND] argument for KEY.  The DEF is no
longer required to be a symbol when remapping a command.
(Fremap_command): New function to remap command through keymaps.
(Flookup_key): Perform command remapping initiated by
Fremap_command directly for speed.
(Fkey_binding): Use Fremap_command for command remapping.
(where_is_internal): Handle new command remapping representation.
(syms_of_keymap): Intern Qremap, initialize remap_command_vector,
staticpro them.  Defsubr Fremap_command.
2002-02-23 22:00:37 +00:00
Eli Zaretskii
f227fdedfb (run_pre_post_conversion_on_str): Add prototype. 2002-02-23 18:39:29 +00:00
Jason Rumney
54a0c8a620 *** empty log message *** 2002-02-23 18:24:55 +00:00
Jason Rumney
27605fa7b6 (w32_wnd_proc) <WM_TIMER>: Fix last change. 2002-02-23 18:14:06 +00:00
Jason Rumney
aab7e392f5 (Fw32_set_clipboard_data): Run pre-write-conversion
on the string before encoding it.
(Fw32_get_clipboard_data): Run post-read-conversion on the string
after decoding it.
2002-02-23 18:12:30 +00:00
Pavel Janík
042c33d318 (enter_timestamp): Put in #if 0 to prevent warning. 2002-02-23 16:36:30 +00:00
Pavel Janík
aa2289381b (enter_timestamp): Remove unused static variable to prevent warning. 2002-02-23 16:28:28 +00:00
Eli Zaretskii
b72d987068 (Fw16_get_clipboard_data): Fix last change. 2002-02-23 08:55:52 +00:00
Eli Zaretskii
ecb7ac215a (selection_data_to_lisp_data): Fix last change. 2002-02-23 08:53:27 +00:00
Jason Rumney
48094ace89 (mouse_move_timer, mouse_button_timer): Initialize.
(menu_free_timer): New variable.
(MENU_FREE_ID, MENU_FREE_DELAY): New constants.
(w32_wnd_proc) <WM_TIMER>: Handle menu_free_timer.
<WM_EXITMENULOOP>: Delay before freeing menu.  Do nothing if a
menu command is in progress.
<WM_COMMAND>: Set the menu_command_in_progress flag.  Kill
any menu_free_timer that is running.
2002-02-23 00:07:22 +00:00
Jason Rumney
71f6b29519 (menubar_selection_callback): Free the menu and
clear the menu_command_in_progress flag.
2002-02-23 00:01:34 +00:00
Jason Rumney
1cb8c82e46 (w32_text_out): Renamed from W32_TEXTOUT.
Call ExtTextOutA rather than ExtTextOut.
2002-02-22 23:59:50 +00:00
Jason Rumney
823b64b024 (struct w32_output): New member menu_command_in_progress. 2002-02-22 23:58:11 +00:00
Eli Zaretskii
9feba28107 *** empty log message *** 2002-02-22 14:43:53 +00:00
Eli Zaretskii
dabc65bc2c (BASE_PURESIZE): Increase to 755000. 2002-02-22 14:43:39 +00:00
Eli Zaretskii
3276b4fe6e (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.
2002-02-22 14:09:07 +00:00
Eli Zaretskii
23e16093ec Fix last change. 2002-02-22 13:20:00 +00:00
Eli Zaretskii
fbbe0aceda <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.
2002-02-22 13:16:35 +00:00
Eli Zaretskii
b443e0bd7d (x_encode_text): Update prototype. 2002-02-22 13:15:02 +00:00
Eli Zaretskii
37323f344c (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.
2002-02-22 13:14:27 +00:00
Kim F. Storm
2a28d4719c (syms_of_frame): Change mouse-highlight default to t. 2002-02-20 23:45:51 +00:00
Kim F. Storm
15fdc2e38b (kbd_buffer_get_event) [WINDOWSNT]: Corrected
composing of language-change event.
2002-02-20 23:01:48 +00:00
Kim F. Storm
9de461813d (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.
2002-02-20 14:52:54 +00:00
Pavel Janík
c7f07c4c35 (gif_load): Use correct width and height for GIF images. 2002-02-20 10:27:06 +00:00