aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Added lots more cookies to fkey_table[], and code to do even more.Eric S. Raymond1993-03-111-36/+126
|
* (x_frame_parms): Add elts for visibility and menu-bar-lines.Richard M. Stallman1993-03-111-34/+91
| | | | | | | | | (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.
* (syms_of_xmenu): Set up Qmenu_enable.Richard M. Stallman1993-03-111-7/+37
| | | | | (single_keymap_panes): Test menu-enable property of symbol to decide whether to include it in the menu.
* (command_loop_1): Typo in last change.Richard M. Stallman1993-03-111-2/+2
|
* (change_frame_size): Handle FRAME_MENU_BAR_LINES.Richard M. Stallman1993-03-111-2/+3
|
* (x_frame_parms): Add elts for visibility and menu-bar-lines.Richard M. Stallman1993-03-111-0/+4
| | | | | | | | | (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.
* (Flogb): Fix arg names. Don't confuse Lisp_Object with integer.Richard M. Stallman1993-03-111-3/+4
|
* (Flogb): Fix use of IN_FLOAT.Richard M. Stallman1993-03-111-1/+1
|
* * xterm.c (x_find_modifier_meanings): XDisplayKeycodes onlyJim Blandy1993-03-111-0/+6
| | | | | appeared in X11R4; for earlier versions, just access the members of the Display directly.
* * xrdb.c (get_user_db): Since xrdb.c doesn't #include xterm.h,Jim Blandy1993-03-111-1/+1
| | | | | we can't test HAVE_X11R4 to see how we should get the resource manager string; cheat.
* * unexec.c (copy_text_and_data): Error message tweaked.Jim Blandy1993-03-111-1/+1
|
* * textprop.c (Fadd_text_properties): Initialize the modified flag.Jim Blandy1993-03-111-4/+4
| | | | | | 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.
* * systime.h (timezone): Add an explicit declaration for thisJim Blandy1993-03-111-0/+5
| | | | variable under USG 5-4.
* * syssignal.h (sigunblock): Add definition which works under SYSVr4.Jim Blandy1993-03-111-9/+21
| | | | | * emacs.c (fatal_error_signal): Unblock the signal which we're handling using sigunblock.
* * sysdep.c (read_input_waiting): Set e.frame_or_window, notJim Blandy1993-03-111-3/+15
| | | | | | | | | | | 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.
* * process.c (process_send_signal): In the TERMIOS code for sendingJim Blandy1993-03-111-3/+5
| | | | | | | | 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.
* * floatfns.c (Flogb): Undo the change of Feb 22.Jim Blandy1993-03-111-5/+11
|
* * emacs.c (__do_global_ctors, __do_global_ctors_aux,Jim Blandy1993-03-111-1/+6
| | | | | | | | | __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.
* * dired.c (NAMLEN): Never use d_nameln to get the length of theJim Blandy1993-03-111-2/+12
| | | | | directory entry's name; it is used inconsistently. Always call strlen instead.
* * s/usg5-4.h: Changes from Eric Raymond:Jim Blandy1993-03-111-3/+23
| | | | | | | | | 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.
* * s/usg5-3.h (LIBX11_SYSTEM): Eric Raymond says the libraries hereJim Blandy1993-03-111-1/+1
| | | | were slightly wrong.
* * m/template.h, s/template.h: Mention that `etc/MACHINES' andJim Blandy1993-03-112-0/+21
| | | | | `configure' should be updated whenever support for a configuration is added or improved.
* * m/intel386.h (LIB_STANDARD): If USG5_4 is #defined, there's noJim Blandy1993-03-111-2/+8
| | | | need to include `-lPW'; that has been merged with `-lc'.
* * keyboard.c (command_loop_1): Adjust to the fact that displayJim Blandy1993-03-111-14/+25
| | | | tables are now vectors of vectors, not vectors of strings.
* Define HAVE_TCATTR based on HAVE_TERMIOS earlier.Richard M. Stallman1993-03-101-11/+16
| | | | | | (struct emacs_tty): Separate the struct decl from the EMACS_..._TTY... macro definitions. Use HAVE_TCATTR to decide whether to use `struct termios'.
* (FLOAT_CHECK_ERRNO): Define unless NO_FLOAT_CHECK_ERRNO.Richard M. Stallman1993-03-101-184/+447
| | | | | | | | | | | | | | | | | 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.
* (Fdefine_key): Use proper meta-bit to clear.Richard M. Stallman1993-03-101-33/+23
| | | | | | | | | (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.
* (syms_of_data) [LISP_FLOAT_TYPE]: Define new error conditions:Richard M. Stallman1993-03-101-16/+63
| | | | | Qarith_error, Qrange_error, Qdomain_error, Qsingularity_error, Qoverflow_error, Qunderflow_error.
* (Fy_or_n_p): Use query-replace-map.Richard M. Stallman1993-03-101-16/+23
|
* (set_point): Check invisibility of following character, not previous character.Richard M. Stallman1993-03-101-15/+60
| | | | | | (textget): Handle categories. (get_local_map): New function. (verify_interval_modification): Call textget correctly.
* *** empty log message ***Jim Blandy1993-03-091-1/+2
|
* (Fframe_char_height, Fframe_char_width):Richard M. Stallman1993-03-081-90/+151
| | | | | | | (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.
* (Fx_pixel_width, Fx_pixel_height): Fns deleted.Richard M. Stallman1993-03-081-32/+18
| | | | | | (syms_of_xfns): Don't install them. (x_user_set_name): Function deleted. (x_char_height, x_char_width): New functions.
* (copy_rope): Expect FROM to be a vector.Richard M. Stallman1993-03-081-21/+44
| | | | | (copy_part_of_rope): New function. (display_string): Expect display table elts to be vectors.
* (XTread_socket):Richard M. Stallman1993-03-081-12/+17
| | | | | Don't reverse the chars that XLookupString returns. Use all of them. Save last 100 chars and keysyms in temp_buffer.
* Declare Qcategory, Qlocal_map. Declare textget, get_local_map.Richard M. Stallman1993-03-071-1/+5
|
* Include intervals.h.Richard M. Stallman1993-03-071-1/+6
| | | | (read_key_sequence): Use get_local_map.
* (syms_of_buffer): Make erase-buffer a disabled command.Roland McGrath1993-03-071-0/+4
|
* Include termhooks.h.Richard M. Stallman1993-03-071-11/+78
| | | | | | | | | | | (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.
* (Fget_text_property): Use textget.Richard M. Stallman1993-03-071-12/+11
| | | | | | | (Fnext_single_property_change): Likewise. (Fprevious_single_property_change): Likewise. (syms_of_textprop): Set up Qcategory, Qlocal_map.
* (read_key_sequence):Richard M. Stallman1993-03-071-2/+2
| | | | Use meta_modifier for meta keys when handling function_key_map.
* (Qmodification_hooks): Renamed from Qmodification.Richard M. Stallman1993-03-071-4/+4
| | | | (syms_of_textprop): Changed accordingly.
* (verify_interval_modification): Handle insertionsRichard M. Stallman1993-03-071-39/+113
| | | | | | specially. For non-insertions, check only the chars being changed. `modification-hooks' property is now a list of functions. (set_point): Ignore chars outside current restriction.
* (struct buffer): New field mark_active.Richard M. Stallman1993-03-071-1/+6
|
* (prepare_to_modify_buffer): Set Vdeactivate_mark.Richard M. Stallman1993-03-071-1/+3
|
* (save_excursion_save): Save mark_active of buffer.Richard M. Stallman1993-03-071-5/+17
| | | | | | (save_excursion_restore): Restore mark_active of buffer. Run activate-mark-hook if it's on, or deactivate-mark-hook if it turns off. (region_limit): Error if mark inactive, if transient-mark-mode.
* (check_mark): Error if mark is not active.Richard M. Stallman1993-03-071-4/+6
|
* (x_alt_mod_mask, x_super_mod_mask, x_hyper_mod_mask): New variables.Richard M. Stallman1993-03-071-6/+29
| | | | | | (x_find_modifier_meanings): Set them. (x_convert_modifiers): Check for them. (XTread_socket): Handle BackSpace, etc, function keys.
* (alt_modifier, super_modifier, hyper_modifier):Richard M. Stallman1993-03-071-9/+10
| | | | | (shift_modifier, ctrl_modifier, meta_modifier): Renumber the bits.
* (follow_key): Downcase shift_modifier as well as ASCII.Richard M. Stallman1993-03-071-41/+159
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (command_loop_1): Run pre-command-hook and post-command-hook. Set this_command before running pre-command-hook. (syms_of_keyboard): Set up vars for those hooks. (syms_of_keyboard): Handle gaps in modifier_names. (modifier_names): Reorder to match termhooks.h. (parse_modifiers_uncached): Detect `s-', not `super-'. (apply_modifiers_uncached): Make `s-', not `super-'. (lispy_function_keys): Add codes starting at 0xff00 and running through 0xffff. (read_char): Move metabit when fetching from string macro. (command_loop_1): Clear Vdeactivate_mark before cmd. Clear mark_active if command set Vdeactivate_mark. Run deactivate-mark-hook at that time, or activate-mark-hook. (syms_of_keyboard): Define variable deactivate-mark. (syms_of_keyboard): New lisp var unread-command-char. (Finput_pending_p): Test unread_command_char. (Fdiscard_input, quit_throw_to_read_char, init_keyboard): Set it. (read_char): Fetch from it. (Fthis_command_keys, Fread_key_sequence): Fix calls to make_event_array. (make_lispy_event): Put meta and shift modifiers into an integer. (read_avail_input): Set the modifiers field in the events read. (kbd_buffer_get_event): Pass thru integer event untruncated. (read_char): Likewise. (read_key_sequence, read_char): Only -1 means EOF. (kbd_buffer_store_event): Don't ignore 0200 bit in quit char. (follow_key): Use new meta bit flag.