1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-06 11:50:51 -08:00
Commit graph

5218 commits

Author SHA1 Message Date
Richard M. Stallman
ddec2286a1 *** empty log message *** 2006-09-16 18:44:45 +00:00
Jan Djärv
fbce5860bf * gtkutil.c (xg_get_file_with_chooser): Check
x-gtk-show-chooser-help-text before adding the help text.

 * xfns.c (syms_of_xfns): New variable: x-gtk-show-chooser-help-text.
2006-09-16 17:43:09 +00:00
Jan Djärv
241ad3cab7 * gtkutil.c (get_utf8_string): Try harder to convert to UTF8. Gtk+
will simply crash if we fail.
2006-09-16 17:18:03 +00:00
Richard M. Stallman
6875fe9ae6 *** empty log message *** 2006-09-16 15:29:51 +00:00
Kim F. Storm
0c9337fbd8 *** empty log message *** 2006-09-15 21:24:45 +00:00
Jay Belanger
45a2056c56 *** empty log message *** 2006-09-15 17:47:12 +00:00
David Kastrup
b74e16a384 * NEWS: explain new behavior and arguments of `key-binding' and
`command-remapping'.

* keymaps.texi (Active Keymaps): Adapt description to use
`get-char-property' instead `get-text-property'.  Explain how
mouse events change this.  Explain the new optional argument of
`key-binding' and its mouse-dependent lookup.
(Searching Keymaps): Adapt description similarly.  Explain the new
optional argument of `command-remapping'.

* Makefile.in (keymap.o): Add "keymap.h" and "window.h"
dependencies.

* keymap.c: include "window.h".
(Fcommand_remapping): New optional POSITION argument.
(Fkey_binding): New optional POSITION argument.  Completely rework
handling of mouse clicks to get the same order of keymaps as
`read-key-sequence' and heed POSITION.  Also temporarily switch
buffers to location of mouse click and back.

* keyboard.c (command_loop_1): Adjust call of `Fcommand_remapping'
for additional argument.
(parse_menu_item): Adjust call of `Fkey_binding' for additional
argument.
(read_key_sequence): If there are both `local-map' and `keymap'
text properties at some buffer position, heed both.

* keymap.h: Declare additional optional arguments of
`Fcommand_remapping' and `Fkey_binding'.
2006-09-15 07:19:15 +00:00
Juanma Barranquero
6cb66a3193 *** empty log message *** 2006-09-15 02:03:37 +00:00
Andreas Schwab
cd3587c125 Whitespace fixup. 2006-09-14 13:12:15 +00:00
Kim F. Storm
84be646fde *** empty log message *** 2006-09-14 09:37:29 +00:00
Chong Yidong
2371cbe922 Typo. 2006-09-13 22:40:12 +00:00
Chong Yidong
98a20c65df * xterm.c (x_initialize): Don't install Xt event timer here.
(x_timeout_atimer_activated_flag): New var.
	(x_activate_timeout_atimer): New function to install Xt timer.
	(x_send_scroll_bar_event, x_process_timeouts): Use it.

	* xmenu.c (x_menu_set_in_use, popup_activate_callback)
	(create_and_show_popup_menu, create_and_show_dialog): Use it.

	* xterm.h (x_activate_timeout_atimer): prototype.
2006-09-13 22:39:23 +00:00
Richard M. Stallman
efb15f96f5 (print_string): When printcharfun is t,
copy string contents and call strout on the copy.
2006-09-13 15:16:12 +00:00
Chong Yidong
1baa749cfe Typo. 2006-09-12 16:47:50 +00:00
Chong Yidong
52c0f270f2 * textprop.c (Fnext_property_change, Fnext_single_property_change)
(Fprevious_property_change, Fprevious_single_property_change):
	Avoid changing limit, so we can correctly catch the case where the
	property is constant up to limit.
2006-09-12 16:47:26 +00:00
YAMAMOTO Mitsuharu
eee81f5d74 * macterm.c (XTread_socket) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]:
Undo 2006-09-08 change.
2006-09-12 09:48:33 +00:00
Chong Yidong
91197db4cb * keymap.c (Fkey_binding): Use string position for string objects. 2006-09-11 13:03:40 +00:00
Kim F. Storm
9a71d7deb4 *** empty log message *** 2006-09-11 08:52:33 +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
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
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
Kim F. Storm
f90660aa86 *** empty log message *** 2006-09-10 00:26:17 +00:00
Eli Zaretskii
c048d60609 *** empty log message *** 2006-09-09 11:07:11 +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
d799329b41 (find_handler_clause): Give up on debugger if INPUT_BLOCKED_P. 2006-09-08 12:12:39 +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
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
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
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
Jan Djärv
ae6c1c1950 * gtkutil.c (xg_get_file_with_chooser): Don't mention specific keys in
the file chooser message.  Only call gtk_file_chooser_set_current_name
 when action is SAVE.
2006-09-04 14:47:52 +00:00
Andreas Schwab
5aa17bb2e5 Double all single and back quotes in C-style
comments to help fontifier.
2006-09-04 13:36:59 +00:00
Jason Rumney
934db4347f *** empty log message *** 2006-09-03 22:50:53 +00:00
Juri Linkov
6a8c7cfe20 *** empty log message *** 2006-09-02 23:44:59 +00:00
Eli Zaretskii
5c4aaa7905 *** empty log message *** 2006-09-02 21:25:52 +00:00
Jan Djärv
4f3097d8bc * gtkutil.c (xg_get_file_with_chooser): Change file chooser message
for writing files.  Call gtk_file_chooser_set_current_name to keep
 default filename.
2006-09-02 18:10:15 +00:00
Jan Djärv
655ea21ca3 * minibuf.c (Finternal_complete_buffer): Move after DEFUN:s it calls 2006-09-02 17:37:26 +00:00
Eli Zaretskii
79f6ba1f7a *** empty log message *** 2006-09-02 13:49:52 +00:00
Eli Zaretskii
ebc80ddf5f *** empty log message *** 2006-09-02 11:35:46 +00:00
Romain Francoise
5deb7a514b Whitespace fixes. 2006-09-01 20:49:06 +00:00