Kim F. Storm
008ef0efaa
(Fmemq): Refill doc string.
...
(Fmemql): New defun, like memq but using eql.
(syms_of_fns): Defsubr it.
2006-09-20 23:07:17 +00:00
Kim F. Storm
68e67a4ed1
(Fpos_visible_in_window_p): Doc fix.
2006-09-20 10:14:46 +00:00
Kim F. Storm
a4df1f8ba8
*** empty log message ***
2006-09-20 10:14:00 +00:00
Kim F. Storm
120b778160
(Fset_window_hscroll, Fpos_visible_in_window_p):
...
Doc fix. Use "off-window" instead of "off-screen".
(Fpos_visible_in_window_p): Likewise.
If POS is t, return info for last visible glyph in window.
2006-09-20 09:43:25 +00:00
Kim F. Storm
0dd956164b
(pos_visible_p): CHARPOS < 0 means return info for
...
last visible glyph in window.
2006-09-20 09:43:18 +00:00
Kim F. Storm
d0e0bd5f4b
*** empty log message ***
2006-09-20 09:43:02 +00:00
Chong Yidong
b69e3c1805
* search.c (struct regexp_cache): New entry syntax_table.
...
(compile_pattern_1): Set it.
(syms_of_search): Initialize it.
(compile_pattern): Require the syntax_table entry of the cache
element to match the current syntax table entry.
2006-09-19 21:44:52 +00:00
Stefan Monnier
31790df395
(Fwindow_end): Fix recent change.
2006-09-19 16:32:07 +00:00
Kim F. Storm
06e6b4be6c
*** empty log message ***
2006-09-19 13:59:13 +00:00
Kim F. Storm
7bbc67d20f
(Fset_window_hscroll, Fpos_visible_in_window_p):
...
Doc fix. Use "off-screen" instead of "invisible".
(Fwindow_line_height): Make line numbers 0-based. Make line arg
optional; if nil, use current cursor row. Handle text terminals
properly. Return nil if non-interactive or pseudo-window.
2006-09-19 13:12:26 +00:00
Stefan Monnier
08e26e8bfa
Include alloca.h if available.
...
(Fkey_binding): Only use AREF after checking it's a vector.
Remove unused var `window'.
2006-09-19 10:19:34 +00:00
YAMAMOTO Mitsuharu
61973eb68d
*** empty log message ***
2006-09-19 03:19:25 +00:00
YAMAMOTO Mitsuharu
0d3f16e5fe
(struct mac_output): Remove member menubar_active.
...
(do_menu_choice): Remove extern.
(do_apple_menu) [!TARGET_API_MAC_CARBON]: Add extern.
2006-09-19 03:19:05 +00:00
YAMAMOTO Mitsuharu
20a1fc8bd9
(menubar_selection_callback): Remove extern.
...
(M_APPLE): Change to 234.
(do_apple_menu) [!TARGET_API_MAC_CARBON]: Make non-static.
(do_menu_choice): Remove function.
2006-09-19 03:18:46 +00:00
YAMAMOTO Mitsuharu
b0da976d49
(enum mac_menu_kind, min_menu_id): New enumerator and
...
menu ID for Apple menu.
(menubar_selection_callback): Remove function.
(find_and_call_menu_selection): New function from xmenu.c.
(x_activate_menubar): Use it.
(set_frame_menubar): Don't use f->output_data.mac->menubar_active.
2006-09-19 03:18:22 +00:00
YAMAMOTO Mitsuharu
aef12e3acd
[!MAC_OSX] (select): Fix argument name.
2006-09-19 03:18:01 +00:00
YAMAMOTO Mitsuharu
ba7c29f3de
(shut_down_emacs) [!subprocesses]: Don't set inhibit_sentinels.
2006-09-19 03:17:45 +00:00
Jan Djärv
159f8da742
* xfns.c (syms_of_xfns): Rename x_gtk_show_chooser_help_text to
...
x_gtk_file_dialog_help_text.
2006-09-18 16:48:05 +00:00
Jan Djärv
a10fe8349d
* gtkutil.c (xg_get_file_with_chooser): Rename x_gtk_show_chooser_help_text to
...
x_gtk_file_dialog_help_text.
2006-09-18 16:47:46 +00:00
Jan Djärv
1a2b3a9fdf
* xfns.c (syms_of_xfns): Rename x_gtk_show_chooser_help_text to
...
x_gtk_file_dialog_help_text.
* gtkutil.c (xg_get_file_with_chooser): Rename x_gtk_show_chooser_help_text to
x_gtk_file_dialog_help_text.
2006-09-18 16:47:29 +00:00
Jan Djärv
fe2b14b7e8
* xfns.c (syms_of_xfns): Rename x-use-old-gtk-file-dialog
...
to x-gtk-use-old-file-dialog.
2006-09-18 16:42:09 +00:00
Jan Djärv
afd6c41297
* gtkutil.c (xg_uses_old_file_dialog): Rename x-use-old-gtk-file-dialog
...
to x-gtk-use-old-file-dialog.
2006-09-18 16:41:49 +00:00
Jan Djärv
1dd3c9b6b9
* gtkutil.c (xg_uses_old_file_dialog): Rename x-use-old-gtk-file-dialog
...
to x-gtk-use-old-file-dialog.
* xfns.c (syms_of_xfns): Ditto.
2006-09-18 16:41:37 +00:00
Kim F. Storm
661bdc0600
*** empty log message ***
2006-09-18 11:11:36 +00:00
Kim F. Storm
536833ab88
(Fwindow_line_visibility): Remove.
...
(Fwindow_line_height): New defun replacing it.
(syms_of_window): Defsubr it.
2006-09-18 11:11:23 +00:00
YAMAMOTO Mitsuharu
37228c3809
(SELECT_USE_CFSOCKET) [MAC_OSX]: Set default to 1.
...
[MAC_OSX] (sys_select) [SELECT_USE_CFSOCKET]: Fix pointer type.
2006-09-18 07:32:47 +00:00
Jay Belanger
a688d8b547
*** empty log message ***
2006-09-18 03:38:44 +00:00
Jay Belanger
423a1f3c11
Replace "GNU Library General Public License" by "GNU General Public
...
License" throughout.
2006-09-18 03:32:42 +00:00
Kim F. Storm
ac14fd4de8
(update_text_area): Undo 2000-07-18 change.
...
Always redrawing whole row if line has mouse-face in it causes
excessive flickering of the mode line.
2006-09-17 20:57:44 +00:00
Kim F. Storm
059fd1a1b4
*** empty log message ***
2006-09-17 20:56:04 +00:00
Chong Yidong
e5b94d44df
* search.c (clear_regexp_cache): New function.
...
* syntax.c (Fmodify_syntax_entry): Clear regexp cache.
2006-09-17 17:38:59 +00:00
Richard M. Stallman
ddec2286a1
*** empty log message ***
2006-09-16 18:44:45 +00:00
Jan Djärv
641c0105e5
* xfns.c (syms_of_xfns): New variable: x-gtk-show-chooser-help-text.
2006-09-16 17:43:35 +00:00
Jan Djärv
cf1e295ff5
* gtkutil.c (xg_get_file_with_chooser): Check
...
x-gtk-show-chooser-help-text before adding the help text.
2006-09-16 17:43:21 +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
Richard M. Stallman
1208f11ada
(re_compile_pattern): Set gl_state.current_syntax_table.
2006-09-16 15:28:47 +00:00
Kim F. Storm
0c9337fbd8
*** empty log message ***
2006-09-15 21:24:45 +00:00
Kim F. Storm
b3a1034515
(Fwindow_line_visibility): New defun for line-move-partial.
...
(syms_of_window): Defsubr it.
(Fwindow_end): Use window's buffer rather than current buffer.
2006-09-15 21:04:28 +00:00
Jay Belanger
45a2056c56
*** empty log message ***
2006-09-15 17:47:12 +00:00
Jay Belanger
f7e4411110
Replace "Library Public License" by "Lesser Public License" throughout.
2006-09-15 17:19:05 +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
Juanma Barranquero
7bf120f11d
(Fcurrent_column, Findent_to): Fix typos in docstring.
2006-09-15 01:53:18 +00:00
Andreas Schwab
cd3587c125
Whitespace fixup.
2006-09-14 13:12:15 +00:00
Kim F. Storm
50f814f59d
(produce_image_glyph): Automatically crop wide images at
...
right window edge so we can draw the cursor on the same row to
avoid confusing redisplay by placing the cursor outside the visible
window area.
2006-09-14 09:37:44 +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