Richard M. Stallman
7c0ab7d9e4
Comment and whitespace changes.
2005-12-11 05:07:16 +00:00
YAMAMOTO Mitsuharu
ac8fcf0f17
*** empty log message ***
2005-12-11 01:06:48 +00:00
YAMAMOTO Mitsuharu
4d4983fdb3
(syms_of_macselect) <mac-apple-event-map>:
...
Initialize to nil. Keymap is now created in lisp/term/mac-win.el.
2005-12-11 01:06:29 +00:00
YAMAMOTO Mitsuharu
77892c7340
(main) [MAC_OS8]: Undo previous change.
2005-12-11 01:06:20 +00:00
YAMAMOTO Mitsuharu
4b3eb40742
*** empty log message ***
2005-12-10 01:50:23 +00:00
YAMAMOTO Mitsuharu
0f8dad4545
(enum event_kind) [MAC_OS]: Add new MAC_APPLE_EVENT event.
2005-12-10 01:50:12 +00:00
YAMAMOTO Mitsuharu
24d5a45ded
(mac_make_lispy_event_code, mac_aedesc_to_lisp): Add externs.
...
(create_apple_event_from_event_ref) [TARGET_API_MAC_CARBON]: Likewise.
(Fmac_get_preference): Add EXFUN.
2005-12-10 01:50:02 +00:00
YAMAMOTO Mitsuharu
6a0b5d3781
(Qmac_ready_for_drag_n_drop, Qapplication, Qabout)
...
(Qpreferences): Remove variables.
(syms_of_macterm) : Don't initialize them.
(Qhicommand) [USE_CARBON_EVENTS]: New variable.
(syms_of_macterm) [USE_CARBON_EVENTS]: Initialize it.
(init_required_apple_events, do_ae_open_application)
(do_ae_print_documents, do_ae_open_documents)
(do_ae_quit_application): Remove functions and prototypes.
(mac_ready_for_apple_events, Qundefined, init_apple_event_handler)
(mac_find_apple_event_spec): Add externs.
(mac_store_application_menu_event): Remove function.
(mac_store_apple_event, mac_make_lispy_event_code): New functions.
(mac_handle_command_event): Create Apple event from Carbon event.
Use mac_store_apple_event instead of mac_store_application_menu_event.
[MAC_OSX] (mac_store_services_event): Likewise.
(struct SelectionRange, SelectionRange): Remove struct and typedef.
[MAC_OS8] (main): Call init_apple_event_handler instead of
init_required_apple_events.
(mac_initialize) [MAC_OSX]: Likewise.
[!USE_CARBON_EVENTS] (mac_wait_next_event): Use
mac_ready_for_apple_events instead of Qmac_ready_for_drag_n_drop.
2005-12-10 01:49:53 +00:00
YAMAMOTO Mitsuharu
28714a27a1
Include keymap.h.
...
(mac_ready_for_apple_events): New variable.
(Vmac_apple_event_map, Qmac_apple_event_class)
(Qmac_apple_event_id): New variables.
(syms_of_macselect): Initialize them.
(Qundefined, mac_store_apple_event): Add externs.
(struct apple_event_binding): New struct.
(find_event_binding_fun, find_event_binding)
(mac_find_apple_event_spec, defer_apple_events)
(mac_handle_apple_event, init_apple_event_handler)
(copy_scrap_flavor_data): New functions.
(Fmac_process_deferred_apple_events): New defun.
(syms_of_macselect): Defsubr it.
(mac_store_services_event): Fix extern.
(mac_handle_service_event): Don't allocate Lisp objects during
asynchronous input processing. Use mac_store_services_event
instead of mac_store_application_menu_event.
2005-12-10 01:49:44 +00:00
YAMAMOTO Mitsuharu
31b6888a5c
(Qundecoded_file_name): New variable.
...
(syms_of_mac): Initialize it.
(mac_aelist_to_lisp, mac_aedesc_to_lisp): New functions.
[TARGET_API_MAC_CARBON] (create_apple_event_from_event_ref): New
function.
(Fmac_coerce_ae_data): New defun.
(syms_of_mac): Defsubr it.
2005-12-10 01:49:36 +00:00
YAMAMOTO Mitsuharu
f66c49cc1c
(Qmac_apple_event) [MAC_OS]: New variable.
...
(syms_of_keyboard) [MAC_OS]: Initialize it.
(make_lispy_event) [MAC_OS]: Build lisp event for MAC_APPLE_EVENT.
2005-12-10 01:49:24 +00:00
YAMAMOTO Mitsuharu
dac5344bda
(init_image) [MAC_OS]: Don't call EnterMovies.
...
[!HAVE_GIF && MAC_OS] (gif_load): Call EnterMovies.
2005-12-10 01:49:15 +00:00
YAMAMOTO Mitsuharu
a7b2485287
(main) [MAC_OS8]: Call syms_of_keymap before syms_of_macselect.
2005-12-10 01:49:06 +00:00
YAMAMOTO Mitsuharu
a03f741a35
(macselect.o): Depend on keymap.h.
2005-12-10 01:48:55 +00:00
Richard M. Stallman
e358e05216
(Fx_create_frame): Reinstate previous change.
2005-12-10 00:38:29 +00:00
Eli Zaretskii
9ea74bfb03
*** empty log message ***
2005-12-09 19:30:35 +00:00
Eli Zaretskii
cb91d111be
(w32_abort) [__GNUC__]: Add instructions for attaching GDB to the abort dialog.
2005-12-09 19:29:58 +00:00
Kim F. Storm
84fdb82c52
*** empty log message ***
2005-12-09 09:44:24 +00:00
Kim F. Storm
e2de799989
From: Kyotaro HORIGUCHI (tiny change)
...
(Fvertical_motion): Force move if starting on stretch glyph.
2005-12-09 09:35:21 +00:00
Richard M. Stallman
2663a20493
*** empty log message ***
2005-12-08 18:08:38 +00:00
Richard M. Stallman
010b7eace0
(read_escape) <\s>: Don't treat strings specially.
2005-12-08 17:43:52 +00:00
Richard M. Stallman
2fda697741
(Fx_create_frame): Comment out previous change.
2005-12-08 15:49:11 +00:00
Károly Lőrentey
225c13a5d7
(Fx_create_frame): Initialize Vdefault_minibuffer_frame, when needed.
2005-12-07 17:06:33 +00:00
Stefan Monnier
da8ec671f7
(keys_of_minibuf): Just unbind SPC in Vminibuffer_local_filename_completion_map
...
rather than forcing it explicitly to the same binding as the global map.
2005-12-06 15:53:58 +00:00
Ken Raeburn
88fde92a48
(truncate_undo_list): Avoid dangerous side effects in NILP argument.
2005-12-06 07:40:47 +00:00
Ken Raeburn
7723a3e52b
(Fminibuffer_complete_and_exit): Avoid dangerous side effects in NILP argument.
2005-12-06 07:39:57 +00:00
Ken Raeburn
a3911e8c0a
(internal_delete_file, Fread_file_name_internal): Avoid dangerous side effects in NILP argument.
2005-12-06 07:39:37 +00:00
Ken Raeburn
21ed6de35b
(Fbyte_code): Avoid dangerous side effects in NILP argument.
2005-12-06 07:39:05 +00:00
Ken Raeburn
09706e1fc4
(Fkill_buffer): Avoid dangerous side effects in NILP argument.
2005-12-06 07:37:47 +00:00
Richard M. Stallman
fa0d4d0c09
*** empty log message ***
2005-12-06 02:07:54 +00:00
Richard M. Stallman
56ebfae2ca
(enlarge_window): Eliminate arg preserve_before.
...
Assume it is 0. All callers changed.
(Fenlarge_window, Fshrink_window): Likewise.
2005-12-06 02:03:23 +00:00
Eli Zaretskii
5a98616edf
(compute_tip_xy): Put tip above pointer if it doesn't fit below.
2005-12-02 18:32:46 +00:00
Jan Djärv
1dbacb9046
* xterm.h: Add prototype for xg_set_icon_from_xpm_data.
...
* xfns.c (x_real_positions): int ign => unsigned int.
(xg_set_icon_from_xpm_data): Remove unused variable err.
(x_set_name_internal, Fx_create_frame, xg_set_icon): Add cast
to remove compiler warning.
(compute_tip_xy): Put tip above pointer if it doesn't fit below.
2005-12-02 14:57:23 +00:00
Jan Djärv
f15bae4334
Add prototype for xg_set_icon_from_xpm_data.
2005-12-02 14:57:10 +00:00
Jan Djärv
47c53789fd
* xfns.c (x_real_positions): int ign => unsigned int.
...
(xg_set_icon_from_xpm_data): Remove unused variable err.
(x_set_name_internal, Fx_create_frame, xg_set_icon): Add cast
to remove compiler warning.
(compute_tip_xy): Put tip above pointer if it doesn't fit below.
2005-12-02 14:55:14 +00:00
Eli Zaretskii
0a79da1b5d
*** empty log message ***
2005-12-02 14:12:31 +00:00
Eli Zaretskii
bb0bdf7042
(Fcompleting_read): If Vminibuffer_completing_file_name is
...
non-nil, use the new keymaps Vminibuffer_local_filename_completion_map
and Vminibuffer_local_must_match_filename_map keymaps.
(keys_of_minibuf): Bind SPC in the new file-name completion keymaps.
2005-12-02 13:55:54 +00:00
Eli Zaretskii
3d866cebd2
(Vminibuffer_local_filename_completion_map)
...
(Vminibuffer_local_must_match_filename_map): New variables.
(syms_of_keymap): DEFVAR_LISP them, initialize them, and set their parent to
be Vminibuffer_local_completion_map and Vminibuffer_local_must_match_map,
respectively.
2005-12-02 13:47:11 +00:00
Eli Zaretskii
90385b3d8f
(Vminibuffer_local_filename_completion_map): Declare a new keymap for
...
minibuffer completion in case of filenames.
(Vminibuffer_local_must_match_filename_map): Declare a new keymap for
minibuffer completion in case require-match is set.
2005-12-02 13:43:04 +00:00
Stefan Monnier
e67a1dea3e
(Fset_window_configuration): Don't accidentally copy the
...
window-point of one window to another.
2005-12-01 16:25:15 +00:00
Romain Francoise
7854b2a3f2
*** empty log message ***
2005-11-30 19:06:42 +00:00
Károly Lőrentey
6ad0f04d22
(Fpop_to_buffer): Remove superfluous call to record_buffer.
2005-11-30 13:18:56 +00:00
Kim F. Storm
de7124a7bd
Include fcntl.h. Define O_WRONLY if not defined.
...
(valid_lisp_object_p) [!GC_MARK_STACK]: Validate pointer by
passing it to `emacs_write'.
2005-11-30 00:04:51 +00:00
Kim F. Storm
4269a2fd77
*** empty log message ***
2005-11-30 00:04:34 +00:00
Stefan Monnier
96013ba9db
(stop_other_atimers): Fix loop to correctly compute `prev'.
2005-11-29 22:37:27 +00:00
Richard M. Stallman
161ef3be43
*** empty log message ***
2005-11-27 19:29:09 +00:00
Richard M. Stallman
0d384044c4
(adjust_window_trailing_edge): New function.
...
(Fadjust_window_trailing_edge): New function.
(syms_of_window): defsubr it.
(window_deletion_count): New variable.
(delete_window): Update window_deletion_count.
2005-11-27 19:16:28 +00:00
Eli Zaretskii
02b1a164f9
*** empty log message ***
2005-11-26 11:20:10 +00:00
Eli Zaretskii
0ca23eef76
(syms_of_minibuf): Mention the extension of `completion-auto-help's meaning
...
by complete.el.
2005-11-26 11:19:21 +00:00
Eli Zaretskii
07908aec23
*** empty log message ***
2005-11-26 11:07:23 +00:00