Richard M. Stallman
933ff4729c
(Fx_popup_menu): Allow a frame instead of a window, in arg.
...
Use Fcar, Fcdr when extracting from event, to check data types.
1993-03-12 10:15:36 +00:00
Richard M. Stallman
12740e58f3
Comment fix.
1993-03-12 06:27:05 +00:00
Richard M. Stallman
9e8a7331f2
(mark_object): Mark the menu_bar_items field.
1993-03-12 06:26:38 +00:00
Richard M. Stallman
7ce2c09547
(display_menu_bar): New function.
...
(redisplay_window): Call display_menu_bar.
1993-03-12 06:26:18 +00:00
Richard M. Stallman
5ec75a5586
(syms_of_keyboard): Set up Qmenu_bar.
...
(menu_bar_items): New function.
(menu_bar_one_keymap, menu_bar_item): New functions.
(make_lispy_event): Handle menu bar events.
(read_key_sequence): Make dummy prefix `menu-bar' for menu bar events.
1993-03-12 06:25:48 +00:00
Richard M. Stallman
6d05db8169
(FRAME_MENU_BAR_ITEMS): New macro (two versions).
...
(struct frame): New field menu_bar_items.
(FRAME_MENU_BAR_LINES): New macro (two versions).
(struct frame): New field menu_bar_lines.
1993-03-12 06:22:11 +00:00
Richard M. Stallman
7da9977744
(Fx_popup_menu): Allow a frame instead of a window, in arg.
1993-03-12 06:20:52 +00:00
Richard M. Stallman
323e7e53e3
(tigetstr): Add dummy definition to make Emacs link again.
1993-03-11 21:36:22 +00:00
Eric S. Raymond
01d8deb089
Added lots more cookies to fkey_table[], and code to do even more.
1993-03-11 08:13:27 +00:00
Richard M. Stallman
d043f1a41b
(x_frame_parms): Add elts for visibility and menu-bar-lines.
...
(enum x_frame_parm): Likewise.
(x_set_menu_bar_lines, x_set_menu_bar_lines_1): New functions.
(x_set_visibility): New function.
(Fx_create_frame): Handle menu-bar-lines parm.
(x_report_frame_params): Report Qvisibility.
(syms_of_xfns): Set up Qvisibility.
1993-03-11 08:10:58 +00:00
Richard M. Stallman
d9dcaf49d9
(syms_of_xmenu): Set up Qmenu_enable.
...
(single_keymap_panes): Test menu-enable property of symbol
to decide whether to include it in the menu.
1993-03-11 08:09:52 +00:00
Richard M. Stallman
06ddfb2441
(command_loop_1): Typo in last change.
1993-03-11 07:54:22 +00:00
Richard M. Stallman
cb470ab168
(change_frame_size): Handle FRAME_MENU_BAR_LINES.
1993-03-11 07:49:34 +00:00
Richard M. Stallman
fa8fdbf9a0
(x_frame_parms): Add elts for visibility and menu-bar-lines.
...
(enum x_frame_parm): Likewise.
(x_set_menu_bar_lines, x_set_menu_bar_lines_1): New functions.
(x_set_visibility): New function.
(Fx_create_frame): Handle menu-bar-lines parm.
(Fframe_parameters): Report menu-bar-lines parm.
(syms_of_frame): Set up Qmenu_bar_lines.
1993-03-11 07:48:36 +00:00
Richard M. Stallman
5bf5416601
(Flogb): Fix arg names. Don't confuse Lisp_Object with integer.
1993-03-11 07:25:50 +00:00
Richard M. Stallman
6628c5eaa0
(Flogb): Fix use of IN_FLOAT.
1993-03-11 07:22:49 +00:00
Jim Blandy
9658a5216e
* xterm.c (x_find_modifier_meanings): XDisplayKeycodes only
...
appeared in X11R4; for earlier versions, just access the members
of the Display directly.
1993-03-11 07:19:36 +00:00
Jim Blandy
2c8d1900af
* xrdb.c (get_user_db): Since xrdb.c doesn't #include xterm.h,
...
we can't test HAVE_X11R4 to see how we should get the resource
manager string; cheat.
1993-03-11 07:18:48 +00:00
Jim Blandy
8116bbb043
* unexec.c (copy_text_and_data): Error message tweaked.
1993-03-11 07:18:15 +00:00
Jim Blandy
caa3156810
* textprop.c (Fadd_text_properties): Initialize the modified flag.
...
Use a "for (;;)" loop at the end of the function, to indicate that
all exiting is taken care of inside the loop.
(Fremove_text_properties): Same.
1993-03-11 07:17:54 +00:00
Jim Blandy
9e70858b73
* systime.h (timezone): Add an explicit declaration for this
...
variable under USG 5-4.
1993-03-11 07:17:15 +00:00
Jim Blandy
985a35a39b
* syssignal.h (sigunblock): Add definition which works under SYSVr4.
...
* emacs.c (fatal_error_signal): Unblock the signal which we're
handling using sigunblock.
1993-03-11 07:16:39 +00:00
Jim Blandy
6c65530f8a
* sysdep.c (read_input_waiting): Set e.frame_or_window, not
...
e.frame; the latter doesn't exist anymore.
* sysdep.c (start_of_data): If ORDINARY_LINK is #defined, we don't
have the data_start symbol defined, so we'll just use the address
of environ.
* sysdep.c (init_baud_rate): Use input_fd, instead of fd; the
latter is undefined.
1993-03-11 07:14:54 +00:00
Jim Blandy
a87b802fe9
* process.c (process_send_signal): In the TERMIOS code for sending
...
control characters to processes, don't try to return Qnil; just
return.
* process.c [! subprocesses] (wait_reading_process_input):
Remember to re-enable polling for input.
1993-03-11 07:14:16 +00:00
Jim Blandy
340176df06
* floatfns.c (Flogb): Undo the change of Feb 22.
1993-03-11 07:13:24 +00:00
Jim Blandy
a90538cbb5
* emacs.c (__do_global_ctors, __do_global_ctors_aux,
...
__do_global_dtors, __CTOR_LIST__, __DTOR_LIST__, __main): Don't
define these if ORDINARY_LINK is #defined; in that case, the
standard linking procedure will find definitions for these.
* emacs.c (main): SIGIOT isn't defined on all systems; don't set
its signal handler unless it is.
1993-03-11 07:13:06 +00:00
Jim Blandy
d6717cdb6d
* dired.c (NAMLEN): Never use d_nameln to get the length of the
...
directory entry's name; it is used inconsistently. Always call
strlen instead.
1993-03-11 07:11:34 +00:00
Jim Blandy
5447018c7b
* s/usg5-4.h: Changes from Eric Raymond:
...
If we're doing ordinary linking, define LIB_STANDARD appropriately.
Give LIBS_DEBUG a null definition; usg5-4 has no -lg.
#define LIBS_STANDARD as "-lc"; usg5-4 has no -lPW.
#define NSIG, if it's not already defined.
#define HAVE_TERMIOS instead of HAVE_TCATTR.
Provide our own definition of LIB_X11_LIB.
1993-03-11 07:11:06 +00:00
Jim Blandy
aee87fc432
* s/usg5-3.h (LIBX11_SYSTEM): Eric Raymond says the libraries here
...
were slightly wrong.
1993-03-11 07:10:34 +00:00
Jim Blandy
00b1a5fb22
* m/template.h, s/template.h: Mention that `etc/MACHINES' and
...
`configure' should be updated whenever support for a configuration
is added or improved.
1993-03-11 07:10:06 +00:00
Jim Blandy
399c3df8eb
* m/intel386.h (LIB_STANDARD): If USG5_4 is #defined, there's no
...
need to include `-lPW'; that has been merged with `-lc'.
1993-03-11 07:08:47 +00:00
Jim Blandy
0f7a8fee2b
* keyboard.c (command_loop_1): Adjust to the fact that display
...
tables are now vectors of vectors, not vectors of strings.
1993-03-11 03:49:34 +00:00
Richard M. Stallman
2182d45996
Define HAVE_TCATTR based on HAVE_TERMIOS earlier.
...
(struct emacs_tty): Separate the struct decl
from the EMACS_..._TTY... macro definitions.
Use HAVE_TCATTR to decide whether to use `struct termios'.
1993-03-10 05:34:06 +00:00
Richard M. Stallman
4b6baf5f45
(FLOAT_CHECK_ERRNO): Define unless NO_FLOAT_CHECK_ERRNO.
...
Changes from Lucid:
(HAVE_MATHERR, FLOAT_CHECK_ERRNO, FLOAT_CATCH_SIGILL): New parm macros.
(FLOAT_CHECK_DOMAIN, HAVE_RINT): New parm macros.
(HAVE_INVERSE_HYPERBOLIC, HAVE_CBRT): New parm macros.
[!HAVE_RINT]: Define rint as macro.
(IN_FLOAT): Major rewrite; several alternate versions.
(IN_FLOAT2): New macro.
(arith_error, range_error, domain_error, domain_error2): New macros.
(Facos, Fasin, Fatan, Fcos, Fsin, Ftan, Fexp, Fexpt, Flog): Changed.
(Flog10, Fsqrt, Fabs, Ffloat, Flogb): Changed.
(Ffloor, Fceiling, Fround, Ftruncate): Changed.
(Fcube_root): Renamed from Fcbrt.
(matherr): New function.
(float_error): Only if FLOAT_CATCH_SIGILL.
1993-03-10 05:33:40 +00:00
Richard M. Stallman
0b8fc2d451
(Fdefine_key): Use proper meta-bit to clear.
...
(access_keymap): Handle ints beyond the ASCII range.
(store_in_keymap): Likewise.
(Faccessible_keymaps): Use meta_modifier.
Use vectors for the key sequences.
(Fwhere_is_internal): Use meta_modifier.
(append_key): Always return a vector.
1993-03-10 05:24:42 +00:00
Richard M. Stallman
6315e7617b
(syms_of_data) [LISP_FLOAT_TYPE]: Define new error conditions:
...
Qarith_error, Qrange_error, Qdomain_error,
Qsingularity_error, Qoverflow_error, Qunderflow_error.
1993-03-10 05:14:04 +00:00
Richard M. Stallman
f5313ed94c
(Fy_or_n_p): Use query-replace-map.
1993-03-10 05:13:24 +00:00
Richard M. Stallman
5cae0ec66c
(set_point): Check invisibility of following character, not previous character.
...
(textget): Handle categories.
(get_local_map): New function.
(verify_interval_modification): Call textget correctly.
1993-03-10 05:12:42 +00:00
Jim Blandy
11a364d9f2
*** empty log message ***
1993-03-09 17:03:08 +00:00
Richard M. Stallman
a26a1f956a
(Fframe_char_height, Fframe_char_width):
...
(Fframe_pixel_height, Fframe_pixel_width):
New functions, two versions of each.
[MULTI_FRAME] (syms_of_frame): Make them Lisp functions.
[!MULTI_FRAME] (syms_of_frame): Likewise. Also Fselected_frame.
1993-03-08 08:08:23 +00:00
Richard M. Stallman
55caf99cb9
(Fx_pixel_width, Fx_pixel_height): Fns deleted.
...
(syms_of_xfns): Don't install them.
(x_user_set_name): Function deleted.
(x_char_height, x_char_width): New functions.
1993-03-08 08:07:52 +00:00
Richard M. Stallman
c581d7100c
(copy_rope): Expect FROM to be a vector.
...
(copy_part_of_rope): New function.
(display_string): Expect display table elts to be vectors.
1993-03-08 06:37:04 +00:00
Richard M. Stallman
10e6549c5f
(XTread_socket):
...
Don't reverse the chars that XLookupString returns. Use all of them.
Save last 100 chars and keysyms in temp_buffer.
1993-03-08 05:38:53 +00:00
Richard M. Stallman
1a7c673b85
Declare Qcategory, Qlocal_map. Declare textget, get_local_map.
1993-03-07 23:45:23 +00:00
Richard M. Stallman
497ba7a108
Include intervals.h.
...
(read_key_sequence): Use get_local_map.
1993-03-07 23:43:52 +00:00
Roland McGrath
188d4d111d
(syms_of_buffer): Make erase-buffer a disabled command.
1993-03-07 23:41:34 +00:00
Richard M. Stallman
6ba6e250c9
Include termhooks.h.
...
(push_key_description): Handle all modifiers.
Handle large character codes.
(Fkey_description): Move the meta bit, if arg is string.
(Fsingle_key_description): Don't alter integer value.
Make tem long enough.
(Flookup_key): Use meta_modifier as meta-bit if from vector.
(Fdefine_key): Likewise.
1993-03-07 23:32:54 +00:00
Richard M. Stallman
dc70cea781
(Fget_text_property): Use textget.
...
(Fnext_single_property_change): Likewise.
(Fprevious_single_property_change): Likewise.
(syms_of_textprop): Set up Qcategory, Qlocal_map.
1993-03-07 23:30:01 +00:00
Richard M. Stallman
d3cc13faac
(read_key_sequence):
...
Use meta_modifier for meta keys when handling function_key_map.
1993-03-07 20:18:52 +00:00
Richard M. Stallman
23ad46587f
(Qmodification_hooks): Renamed from Qmodification.
...
(syms_of_textprop): Changed accordingly.
1993-03-07 09:35:31 +00:00