Richard M. Stallman
4ff37b0873
(Fload): Cast the args to stat.
1994-02-24 21:50:10 +00:00
Karl Heuer
294634fb26
(direct_output_forward_char): Use Fget_char_property to test for invisibility.
1994-02-24 20:08:54 +00:00
Karl Heuer
ef4d2f9e96
(direct_output_for_insert): Fix comment.
1994-02-24 20:04:27 +00:00
Karl Heuer
67406ef460
(compute_motion, vmotion): Use Fget_char_property to test for invisibility.
1994-02-24 20:01:13 +00:00
Karl Heuer
3ae8ced7cb
(try_window, display_text_line): Use Fget_char_property to test for invisibility.
1994-02-24 20:00:34 +00:00
Karl Heuer
e885523c6e
(try_window): Add #ifdef USE_TEXT_PROPERTIES around call to Fget_text_property.
1994-02-24 19:42:35 +00:00
Karl Heuer
99830d6315
(Fget_char_property): Fix docstring.
1994-02-24 19:24:37 +00:00
Karl Heuer
f5957179cf
(Fget_char_property): New function.
1994-02-24 19:18:32 +00:00
Karl Heuer
0fa767e7a9
(sort_overlays): Allow for null window.
1994-02-24 19:08:19 +00:00
Fred Pierresteguy
31ac8d8c42
(x_window): Call XChangeWindowAttributes with the standard
...
event set to make all these events reach the Emacs frame.
1994-02-24 12:54:54 +00:00
Richard M. Stallman
78589e07a8
(Fx_popup_menu): Allow t as position, meaning use mouse pos.
...
Allow nil as position, meaning just precompute equiv-key data.
Mouse events have coords in pixel units.
(menu_item_equiv_key): Cached equiv-key data is a sublist.
Most of file rewritten.
(menu_items, menu_items_*): New variables.
(MENU_ITEMS_*): New macros.
(init_menu_items, discard_menu_items, push_menu_pane, push_menu_item)
(finish_menu_items): New functions.
(menu_item_enabled_p): New function.
(keymap_panes, single_keymap_panes): Major rewrite; most args changed.
(list_of_panes, list_of_items): Major rewrite; most args changed.
(Fx_popup_menu): Major rewrite. Now independent of display mechanism.
No more conditionals here.
(set_menu_items, free_menu_items): Functions deleted.
(xmenu_show): Both versions rewritten to work from menu_items
and to do all the conditionalized things that were in Fx_popup_menu.
(unread_menu_bar_button, other_menu_bar_item_p): New functions.
(check_mouse_other_menu_bar): New function.
1994-02-24 08:07:16 +00:00
Richard M. Stallman
1db4cfb25b
(Fy_or_n_p): Use a popup menu if reached via mouse command.
...
(Fyes_or_no_p): Likewise.
1994-02-24 08:02:10 +00:00
Richard M. Stallman
411acee307
(mouse_get_pos): Don't convert to glyph units.
1994-02-24 06:22:50 +00:00
Richard M. Stallman
2b5c9e71c3
(construct_mouse_click): Don't convert to glyph units.
...
(XTmouse_position): Don't convert to glyph units.
(XTmouse_position): Use x_any_window_to_frame.
1994-02-24 06:22:23 +00:00
Richard M. Stallman
5384466ade
(Fmouse_position): Convert to glyph units.
1994-02-24 06:20:30 +00:00
Richard M. Stallman
9e20143afc
(make_lispy_movement, make_lispy_event):
...
In non-scrollbar mouse case, return coords in pixel units.
1994-02-24 06:19:34 +00:00
Richard M. Stallman
d8858cfe4a
(ELF_BSS_SECTION_NAME): New macro (config.h may override).
...
(unexec): Use it.
1994-02-24 05:40:30 +00:00
Richard M. Stallman
dcdffbf66a
(Fkill_buffer): Call the Vkill_buffer_query_functions.
...
(syms_of_buffer): Make Lisp var for kill-buffer-query-functions.
1994-02-24 05:34:16 +00:00
Karl Heuer
165c67142a
*** empty log message ***
1994-02-23 23:04:30 +00:00
Richard M. Stallman
1c5ceaf673
Include usg5-4.h.
...
(LIBS_SYSTEM, LINKER, START_FILES, LIB_STANDARD): Definitions moved here.
1994-02-23 19:47:45 +00:00
Richard M. Stallman
7aa5f3bc6d
[NEWSOS5] (C_DEBUG_SWITCH, C_OPTIMIZE_SWITCH)
...
(LD_SWITCH_MACHINE): Definitions moved here.
1994-02-23 19:47:30 +00:00
Richard M. Stallman
fbe92c1d7a
NEWSOS5 conditional deleted.
...
[NEWSOS5] (START_FILES, LIB_STANDARD, C_DEBUG_SWITCH)
(C_OPTIMIZE_SWITCH, LD_SWITCH_MACHINE): Definitions moved away.
1994-02-23 19:47:11 +00:00
Richard M. Stallman
a1d2b64a33
(Finsert_file_contents): If REPLACE, always do lseek.
...
Exit main loop if INSERTED reaches TOTAL.
1994-02-23 00:33:13 +00:00
Karl Heuer
9e7b7d21ec
New path PATH_DOC for doc-directory.
1994-02-22 23:51:48 +00:00
Karl Heuer
35a2f4b8cb
(syms_of_callproc): New variable Vdoc_directory.
...
(init_callproc_1): Initialize it.
1994-02-22 23:50:27 +00:00
Karl Heuer
ba87052134
(get_doc_string, Snarf_documentation): Use new variable doc_directory.
1994-02-22 23:49:01 +00:00
Karl Heuer
c65be0e127
New variable doc_directory.
1994-02-22 23:46:42 +00:00
Karl Heuer
4316524204
Move extern declarations to top of file.
1994-02-22 19:43:28 +00:00
Richard M. Stallman
0aafc97556
(make_lispy_event): For menu bar event in USE_X_TOOLKIT
...
case, convert x position to glyphs after map_event_to_object.
Call window_from_coordinates later on.
1994-02-22 00:45:38 +00:00
Richard M. Stallman
c8dba2407c
(construct_menu_click): Undo previous change.
1994-02-22 00:43:04 +00:00
Richard M. Stallman
b849c41360
(x_had_errors_p): New function.
...
(construct_menu_click): Convert x pos from pixels to glyphs.
Move function after pixel_to_glyph_coords.
[!USE_X_TOOLKIT] (x_any_window_to_frame):
Define as x_window_to_frame.
1994-02-21 21:54:33 +00:00
Richard M. Stallman
c6ec9f6e89
(get_keyelt): Cached equiv-key data is now a sublist.
1994-02-21 21:50:02 +00:00
Richard M. Stallman
0da7cff11d
Whitespace change.
1994-02-21 21:41:01 +00:00
Richard M. Stallman
b5b4d63605
(single_keymap_panes): Properly skip help-string if any.
...
Rename item2 to item_string.
GCPRO some things.
(menu_item_equiv_key): Use either VECTORP or STRINGP, not both.
1994-02-21 06:46:09 +00:00
Roland McGrath
26e0a910b0
Move config.h after system includes.
1994-02-20 19:45:18 +00:00
Roland McGrath
4f480b74d7
[BSD]: #undef WCOREDUMP before defining it.
1994-02-20 19:34:12 +00:00
Richard M. Stallman
e27fc6d3d3
(BSD_PGRPS): Add #undef.
...
(TAB3): Defined.
(NEED_ERRNO, NO_TERMIO, HAVE_TERMIOS, HAVE_UNION_WAIT): Defined.
1994-02-20 07:10:37 +00:00
Richard M. Stallman
5c044f551e
(Fframe_visible_p): Do FRAME_SAMPLE_VISIBILITY first.
1994-02-20 02:50:13 +00:00
Richard M. Stallman
c9fc1599af
(x_window_to_frame): Add parens for clarity.
1994-02-19 22:57:12 +00:00
Richard M. Stallman
1dea5a8319
(XTread_socket--cases KeyPress, EnterNotify, LeaveNotify)
...
(cases FocusIn, FocusOut): Use x_any_window_to_frame.
1994-02-19 22:56:21 +00:00
Richard M. Stallman
ffab2bd62c
(get_keyelt): Discard keyboard equivalents
...
stored in a menu keymap element.
1994-02-19 06:29:30 +00:00
Richard M. Stallman
fa6d54d9a0
Find and display keyboard equivalents of menu items.
...
(menu_item_equiv_key): New function.
(single_keymap_panes): Call it.
1994-02-19 06:29:10 +00:00
Richard M. Stallman
231ce25241
(Fx_parse_geometry): Don't call check_x.
1994-02-18 20:11:20 +00:00
Fred Pierresteguy
def0304293
entered into RCS
1994-02-18 13:38:55 +00:00
Fred Pierresteguy
b3eaa88e04
(popup_selection_callback): Clean up code. Remove code in #if 0 directive.
...
(popup_down_callback): Likewise.
1994-02-18 11:03:38 +00:00
Richard M. Stallman
1b975aff44
(gnu_bits): Use unsigned char.
1994-02-18 06:28:50 +00:00
Richard M. Stallman
573f41aba9
(unshow_buffer): Unconditionally set last_window_start.
1994-02-18 06:10:23 +00:00
Richard M. Stallman
4f2eb61d72
(Fdelete_other_windows): Don't call Frecenter;
...
do it by hand and avoid setting w->force_start.
1994-02-18 01:12:10 +00:00
Richard M. Stallman
df5a440b3b
(dumpglyphs): Try various alternatives for foreground color
...
of a glyph with the cursor on it.
1994-02-18 01:01:51 +00:00
Richard M. Stallman
812361a197
Comment changes.
1994-02-17 23:33:02 +00:00