Chong Yidong
91197db4cb
* keymap.c (Fkey_binding): Use string position for string objects.
2006-09-11 13:03:40 +00:00
Kim F. Storm
4d32309c14
(Fkey_binding): Fix last change.
2006-09-11 08:52:42 +00:00
Kim F. Storm
9a71d7deb4
*** empty log message ***
2006-09-11 08:52:33 +00:00
Kim F. Storm
7bd5bcfba3
(Fmessage): Recommend using (message "%s" ...).
2006-09-11 08:26:47 +00:00
Kim F. Storm
83279b3e9c
*** empty log message ***
2006-09-11 08:26:37 +00:00
Chong Yidong
b067ddb637
* keymap.c (Fkey_binding): Check for local keymap for mouse click
...
events.
2006-09-11 02:34:05 +00:00
Kim F. Storm
606fd46931
*** empty log message ***
2006-09-10 21:40:32 +00:00
Kim F. Storm
182f67def5
(Finput_pending_p): Check Vunread_input_method_events
...
and Vunread_post_input_method_events.
2006-09-10 21:10:50 +00:00
Kim F. Storm
032409712e
(Fredisplay): Document return value.
2006-09-10 20:50:54 +00:00
Kim F. Storm
322dd25485
*** empty log message ***
2006-09-10 20:50:20 +00:00
Jan Djärv
437b2a15d8
* xfns.c (Fx_close_connection): Call xg_display_close when USE_GTK.
...
* gtkutil.c (xg_display_close): Always change default display if needed,
check for < Gtk+ version 2.10 before calling gdk_display_close.
2006-09-10 12:17:49 +00:00
Jan Djärv
9d7dda8a86
* gtkutil.c (xg_display_close): Always change default display if needed,
...
check for < Gtk+ version 2.10 before calling gdk_display_close.
2006-09-10 12:17:19 +00:00
Jan Djärv
16e4bfaf96
* xfns.c (Fx_close_connection): Call xg_display_close when USE_GTK.
2006-09-10 12:16:58 +00:00
YAMAMOTO Mitsuharu
d7b1ea44e5
*** empty log message ***
2006-09-10 06:25:40 +00:00
YAMAMOTO Mitsuharu
6eeee4d618
(Fx_file_dialog): Call check_x.
2006-09-10 05:52:54 +00:00
YAMAMOTO Mitsuharu
0e9ffc04d9
* src/macmenu.c (Vmenu_updating_frame, syms_of_xmenu):
...
* src/w32menu.c (Vmenu_updating_frame, syms_of_xmenu): Apply
2006-09-08 change for xmenu.c.
2006-09-10 05:52:01 +00:00
YAMAMOTO Mitsuharu
267fb7e271
(Fx_file_dialog): Remove unused variable `f'. Call check_mac.
2006-09-10 05:51:45 +00:00
YAMAMOTO Mitsuharu
601b0df72f
[MAC_OSX] (sys_select): Check argument `nfds' more
...
rigidly. Make variable `ofds' static. Remove variable `maxfd'.
2006-09-10 05:51:29 +00:00
Kim F. Storm
f90660aa86
*** empty log message ***
2006-09-10 00:26:17 +00:00
Kim F. Storm
d75a48427c
(get_window_cursor_type): Use hollow cursor on
...
non-transparent images.
2006-09-10 00:10:46 +00:00
Richard M. Stallman
4248ca0c2f
(Vmenu_updating_frame): Don't define here.
...
(syms_of_xmenu): Don't DEFVAR it here.
2006-09-09 17:51:17 +00:00
Eli Zaretskii
c048d60609
*** empty log message ***
2006-09-09 11:07:11 +00:00
Eli Zaretskii
1a7e01173e
(Fsystem_name): Mention "host" in the doc string.
...
(syms_of_editfns) <system-name>: Likewise.
2006-09-09 10:50:03 +00:00
Romain Francoise
c989bc8777
Delete extra tab.
2006-09-08 16:54:33 +00:00
Chong Yidong
92b2332318
* xdisp.c (mouse_autoselect_window): Removed.
...
(Vmouse_autoselect_window): New variable. DEFVAR_LISP it.
* dispextern.h (mouse_autoselect_window): Remove extern.
(Vmouse_autoselect_window): Add extern.
* macterm.c (XTread_socket): Test Vmouse_autoselect_window
instead of mouse_autoselect_window.
* msdos.c (dos_rawgetc): Likewise.
* w32term.c (w32_read_socket): Likewise.
* xterm.c (handle_one_xevent): Likewise.
2006-09-08 14:14:28 +00:00
Richard M. Stallman
af09dd7814
*** empty log message ***
2006-09-08 12:22:01 +00:00
Richard M. Stallman
8aa769f1b6
(Vmenu_updating_frame): Define here.
...
(syms_of_xdisp): DEFVAR it here.
(update_menu_bar): Always return hooks_run.
Set Vmenu_updating_frame.
(redisplay_internal): Test Vinhibit_redisplay
before calculating SELECTED_FRAME.
2006-09-08 12:17:32 +00:00
Richard M. Stallman
9e69bfa484
(x_error_quitter): For BadName error, just return.
2006-09-08 12:13:14 +00:00
Richard M. Stallman
d799329b41
(find_handler_clause): Give up on debugger if INPUT_BLOCKED_P.
2006-09-08 12:12:39 +00:00
Richard M. Stallman
66aa138de7
(init_casetab_once): Call set_case_table.
2006-09-08 12:11:17 +00:00
Richard M. Stallman
92d835a403
(shut_down_emacs): Set inhibit_sentinels.
2006-09-08 12:10:17 +00:00
Richard M. Stallman
84af9896c3
(inhibit_sentinels): New variable.
...
(exec_sentinel): Test inhibit_sentinels.
(init_process): Initialize it.
2006-09-08 12:08:54 +00:00
Richard M. Stallman
5596b3bcf5
(inhibit_sentinels): Add decl.
2006-09-08 12:07:46 +00:00
Richard M. Stallman
910c747a2f
(looking_at_1, string_match_1, search_command):
...
Make syntax table's canon table point to eqv table.
2006-09-08 12:07:07 +00:00
Andreas Schwab
647b07d1d7
Refill some entries to avoid lines > 80 columns.
2006-09-08 11:46:42 +00:00
Andreas Schwab
bcdbfd3668
(strout): Fix whitespace.
2006-09-08 11:39:24 +00:00
Kim F. Storm
1118718c05
(x_draw_glyph_string): Fix 2006-08-24 change.
2006-09-08 11:35:01 +00:00
Kim F. Storm
70c6267a37
*** empty log message ***
2006-09-08 11:34:50 +00:00
YAMAMOTO Mitsuharu
9deaefb7a6
*** empty log message ***
2006-09-08 08:18:39 +00:00
YAMAMOTO Mitsuharu
bed0bf953c
(mac_handle_origin_change, mac_handle_size_change)
...
(mac_get_ideal_size): New functions.
(x_set_offset, x_set_window_size, x_make_frame_visible)
(do_zoom_window, mac_handle_window_event, XTread_socket): Use them.
(install_window_handler, mac_handle_window_event)
[USE_CARBON_EVENTS]: Handle kEventWindowGetIdealSize and
kEventWindowBoundsChanged.
(XTread_socket) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: Don't call
DragWindow.
2006-09-08 08:18:18 +00:00
YAMAMOTO Mitsuharu
fa4ba14c91
(mac_window) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]:
...
Specify kWindowAsyncDragAttribute.
2006-09-08 08:18:08 +00:00
YAMAMOTO Mitsuharu
3e51e9ac8e
[!MAC_OSX] Don't include keyboard.h.
...
[!MAC_OSX] (select): Try detect_input_pending before ReceiveNextEvent
in the same BLOCK_INPUT block, in case that some input has already
been read asynchronously. Pretend to be interrupted by a signal
if some input is available.
[MAC_OSX] (select_and_poll_event, sys_select): Likewise.
(SELECT_POLLING_PERIOD_USEC) [SELECT_USE_CFSOCKET]: Change to 100000.
Now used for ReceiveNextEvent timeout instead of select timeout.
(EVENT_CLASS_SOCK) [SELECT_USE_CFSOCKET]: Remove macro.
[SELECT_USE_CFSOCKET] (socket_callback): Add non-blocking connect
support. Quit event loop.
[MAC_OSX] (sys_select) [SELECT_USE_CFSOCKET]: Add non-blocking
connect support. Reuse previously allocated CFRunLoopSource.
(Fmac_process_hi_command) [TARGET_API_MAC_CARBON]: New function.
(syms_of_mac) [TARGET_API_MAC_CARBON]: Defsubr it.
2006-09-08 08:17:58 +00:00
Andreas Schwab
d7695a6342
(START_FILES, LIB_STANDARD): Override to
...
use lib64 instead of lib.
2006-09-07 10:48:21 +00:00
Stefan Monnier
be9b5a6076
Avoid double quotes when possible.
2006-09-06 17:53:59 +00:00
Kenichi Handa
04e28558df
(Fformat_time_string): Use make_unibyte_string to make
...
a Lisp string from the result of emacs_memftimeu call.
2006-09-06 06:41:40 +00:00
Kim F. Storm
902f06edb1
*** empty log message ***
2006-09-05 22:52:17 +00:00
Kim F. Storm
7ca2645091
(pos_visible_p): Remove exact_mode_line_heights_p arg;
...
so always calculate heights even when pos-visible-in-window-p is
called with partially = t. Don't overshoot last_visible_y in move_it_to.
Return row height and row number in new rowh and vpos args.
(cursor_row_fully_visible_p): First line is always "fully visible".
(try_window): Don't clear matrix if vscrolled.
2006-09-05 22:49:51 +00:00
Kim F. Storm
5a857365b5
(Fpos_visible_in_window_p): Adapt to new pos_visible_p.
...
Return row height and row number for partially visible rows.
Modify return value to a 2 element list for fully visible rows
and 6 for partially visible row.
(window_scroll_pixel_based): Use pos_visible_p directly instead of
Fpos_visible_in_window_p. Fix auto vscrolling for partially visible lines.
Only vscroll backwards if already vscrolled forwards. Unconditionally
vscroll forwards if PT is first (and only) line. Set new window start
instead of scrolling at start/end of tall line.
2006-09-05 22:49:43 +00:00
Kim F. Storm
3ad5e58f3e
(pos_visible_p): Update prototype.
2006-09-05 22:49:36 +00:00
YAMAMOTO Mitsuharu
750a6cf4b2
(install_window_handler, mac_handle_window_event)
...
[USE_CARBON_EVENTS]: Handle kEventWindowClose.
[USE_MAC_TSM] (mac_handle_text_input_event): Set modifiers for
ASCII keystroke event.
2006-09-05 01:03:33 +00:00