aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* (wait_reading_process_input): Do include the keyboardRichard M. Stallman1993-07-021-9/+11
| | | | in the select, if read_kbd was a cons cell.
* (describe_map_tree): Insert key_heading here.Richard M. Stallman1993-07-021-75/+158
| | | | | | | | | | | | | | | | | New arg TITLE. (describe_buffer_bindings): Corresponding changes. (shadow_lookup): New function. (describe_map_2): Call it. SHADOW is now a list of maps. (describe_vector): Likewise. (describe_map): SHADOW is now a list of maps. (describe_map_tree): Likewise. (describe_buffer_bindings): Build suitable list to pass as SHADOW. (Faccessible_keymaps): New arg PREFIX. Callers changed. (describe_map_tree): New arg PREFIX. (Fdescribe_bindings): New arg PREFIX. Pass to describe_buffer_bindings along with buffer. (describe_buffer_bindings): Extract PREFIX and pass along.
* * xterm.c (XTread_socket): When handing non-syntheticJim Blandy1993-07-021-5/+8
| | | | | ConfigureNotify events, don't refer to the parent window descriptor.
* * xterm.c (frame_highlight, frame_unhighlight): Don't testJim Blandy1993-07-011-6/+16
| | | | | Vx_no_window_manager. BLOCK_INPUT around the border manipulation calls.
* * xterm.c (XTread_socket): Initialize event_found to zero, andJim Blandy1993-06-301-3/+4
| | | | | pass a zeroed timeout to select, not a null pointer; the latter means "wait forever".
* * xdisp.c (redisplay): If we're not already showing the region,Jim Blandy1993-06-301-2/+3
| | | | | then don't disable the single-line optimizations just because the mark isn't where we last displayed it.
* (check_memory_limits): Use unsigned long to hold memory size values.Richard M. Stallman1993-06-301-2/+2
|
* (PRIO_PROCESS): Definition deleted.Richard M. Stallman1993-06-302-3/+1
|
* * keyboard.c (kbd_buffer_get_event): Correctly generateJim Blandy1993-06-301-1/+1
| | | | switch-frame events when reading mouse motion events.
* * xterm.c: Add CPP tangle from process.c to get definitions forJim Blandy1993-06-291-3/+24
| | | | | FD_SET, etcetera. (XTread_socket): Use those macros when testing for dropped connection.
* * xfns.c (Fx_create_frame): Check for internalBorder resource, asJim Blandy1993-06-291-1/+13
| | | | well as internalBorderWidth.
* * keyboard.c (read_char): Don't do idle autosaves if we're notJim Blandy1993-06-291-1/+1
| | | | interactive.
* (mark_object): Add aborts in Lisp_Symbol case.Richard M. Stallman1993-06-291-0/+8
|
* (wait_reading_process_input): Use SIGIO only if defined.Richard M. Stallman1993-06-291-0/+2
|
* (describe_map_2): Cleanups.Richard M. Stallman1993-06-281-16/+17
| | | | Check there's no previous definition in same keymap.
* * xterm.c (XTread_socket): Remove #if 0''s around code which testsJim Blandy1993-06-241-6/+8
| | | | for dropped connection (i.e. sigio but no events).
* * commands.h (Vglobal_mouse_map): Removed; unused.Jim Blandy1993-06-221-3/+0
| | | | * xfns.c (Vglobal_mouse_map): Same.
* * keyboard.c (menu_bar_items, read_key_sequence): UseJim Blandy1993-06-221-2/+2
| | | | | | current_global_map, not global_map; the latter is only meant to be used for initial_define_key. * commands.h: Doc fix.
* * keyboard.c (menu_bar_items, read_key_sequence): UseJim Blandy1993-06-221-8/+4
| | | | | | | | | current_global_map, not global_map; the latter is only meant to be used for initial_define_key. * commands.h: Doc fix. * commands.h (Vglobal_mouse_map): Removed; unused. * xfns.c (Vglobal_mouse_map): Same.
* * buffer.c (list_buffers_1): Make desired_point a lisp object; setJim Blandy1993-06-221-9/+12
| | | | | | | it to nil, unless we find the current buffer. (Flist_buffers): Don't try to set point in the buffer list unless list_buffers_1 actually returns an integer. Don't use a full save_excursion; just save and restore the buffer.
* Separate parameter faces (those created and modified by the user)Jim Blandy1993-06-223-29/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from the computed faces (the combinations created by compute_char_face), so that we don't waste global face id's. * xterm.h (struct x_display): Replace the fields faces and n_faces with fields param_faces, n_param_faces, computed_faces, n_computed_faces, and size_computed_faces. (FRAME_FACES, FRAME_N_FACES): Replaced by... (FRAME_COMPUTED_FACES, FRAME_N_COMPUTED_FACES, FRAME_PARAM_FACES, FRAME_N_PARAM_FACES): New macros. * xfaces.c: Doc fixes. (init_frame_faces): Call new_computed_face to create entries for the default and mode line faces. Use the FRAME...PARAM_FACES macros. (free_frame_faces): Use the FRAME...PARAM_FACES and FRAME...COMPUTED_FACES macros. Don't use the copy flag; all parameter faces have real X resources, and all computed faces just have copies. Free both the parameter and computed face arrays. (new_computed_face): New function. (intern_computed_face): Renamed from intern_frame_face; callers changed. Call new_computed_face. (ensure_face_ready, compute_char_face, compute_glyph_face): Use the FRAME...PARAM_FACES macros. (recompute_basic_faces): Use the FRAME...PARAM_FACES and FRAME...COMPUTED_FACES macros. Produce the computed faces by starting with the base faces and merging in the parameter faces. (Fset_face_attribute_internal): Use the FRAME...PARAM_FACES macros. Just call recompute_basic_faces if the default or mode line faces have changed. * xfns.c (Fx_list_fonts): Use the FRAME...PARAM_FACES macros. * xterm.c (dumpglyphs): Use the FRAME...COMPUTED_FACES macros. * dispextern.h (struct face): Remove the copy member. This is no longer necessary; all computed faces are copies, and no parameter faces are.
* Separate parameter faces (those created and modified by the user)Jim Blandy1993-06-221-128/+159
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from the computed faces (the combinations created by compute_char_face), so that we don't waste global face id's. * xterm.h (struct x_display): Replace the fields faces and n_faces with fields param_faces, n_param_faces, computed_faces, n_computed_faces, and size_computed_faces. (FRAME_FACES, FRAME_N_FACES): Replaced by... (FRAME_COMPUTED_FACES, FRAME_N_COMPUTED_FACES, FRAME_PARAM_FACES, FRAME_N_PARAM_FACES): New macros. * xfaces.c: Doc fixes. (init_frame_faces): Call new_computed_face to create entries for the default and mode line faces. Use the FRAME...PARAM_FACES macros. (free_frame_faces): Use the FRAME...PARAM_FACES and FRAME...COMPUTED_FACES macros. Don't use the copy flag; all parameter faces have real X resources, and all computed faces just have copies. Free both the parameter and computed face arrays. (new_computed_face): New function. (intern_computed_face): Renamed from intern_frame_face; callers changed. Call new_computed_face. (ensure_face_ready, compute_char_face, compute_glyph_face): Use the FRAME...PARAM_FACES macros. (recompute_basic_faces): Use the FRAME...PARAM_FACES and FRAME...COMPUTED_FACES macros. Produce the computed faces by starting with the base faces and merging in the parameter faces. (Fset_face_attribute_internal): Use the FRAME...PARAM_FACES macros. Just call recompute_basic_faces if the default or mode line faces have changed. * xfns.c (Fx_list_fonts): Use the FRAME...PARAM_FACES macros. * xterm.c (dumpglyphs): Use the FRAME...COMPUTED_FACES macros. * dispextern.h (struct face): Remove the copy member. This is no longer necessary; all computed faces are copies, and no parameter faces are. * xfaces.c (face_vector, nfaces, nfaces_allocated): Make these static.
* Separate parameter faces (those created and modified by the user)Jim Blandy1993-06-221-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | from the computed faces (the combinations created by compute_char_face), so that we don't waste global face id's. * xterm.h (struct x_display): Replace the fields faces and n_faces with fields param_faces, n_param_faces, computed_faces, n_computed_faces, and size_computed_faces. (FRAME_FACES, FRAME_N_FACES): Replaced by... (FRAME_COMPUTED_FACES, FRAME_N_COMPUTED_FACES, FRAME_PARAM_FACES, FRAME_N_PARAM_FACES): New macros. * xfaces.c: Doc fixes. (init_frame_faces): Call new_computed_face to create entries for the default and mode line faces. Use the FRAME...PARAM_FACES macros. (free_frame_faces): Use the FRAME...PARAM_FACES and FRAME...COMPUTED_FACES macros. Don't use the copy flag; all parameter faces have real X resources, and all computed faces just have copies. Free both the parameter and computed face arrays. (new_computed_face): New function. (intern_computed_face): Renamed from intern_frame_face; callers changed. Call new_computed_face. (ensure_face_ready, compute_char_face, compute_glyph_face): Use the FRAME...PARAM_FACES macros. (recompute_basic_faces): Use the FRAME...PARAM_FACES and FRAME...COMPUTED_FACES macros. Produce the computed faces by starting with the base faces and merging in the parameter faces. (Fset_face_attribute_internal): Use the FRAME...PARAM_FACES macros. Just call recompute_basic_faces if the default or mode line faces have changed. * xfns.c (Fx_list_fonts): Use the FRAME...PARAM_FACES macros. * xterm.c (dumpglyphs): Use the FRAME...COMPUTED_FACES macros. * dispextern.h (struct face): Remove the copy member. This is no longer necessary; all computed faces are copies, and no parameter faces are. * xfns.c (Fx_open_connection): Remember to block input while calling x_load_resources. * xrdb.c: Undo change of June 19th; it was a BLOCK_INPUT problem, not a server-specific bug.
* * xdisp.c (redisplay_window): Remember to compute end relative toJim Blandy1993-06-221-1/+1
| | | | the start of the visible region, too.
* * xrdb.c (get_user_db): Remember to free the screen-local resourceJim Blandy1993-06-221-1/+4
| | | | string after we've merged its data into db.
* * keyboard.c (make_lispy_event): Added detection of double-clickJim Blandy1993-06-222-38/+132
| | | | | | | | | and triple-click events. (parse_modifiers_uncached, apply_modifiers_uncached): Same. (read_key_sequence): Coerce double-clicks to clicks, and triple-clicks to double-clicks or clicks, by analogy with drag events. (double_click_time): Added variable. * termhooks.h: Added multi-click event modifier bits.
* (Fremove_text_properties, Fadd_text_properties):Richard M. Stallman1993-06-211-0/+2
| | | | Really do next_interval when skipping the first interval.
* * alloc.c (Fgarbage_collect): If the minibuffer is active, don'tJim Blandy1993-06-211-1/+1
| | | | display the "...done" message; allow the minibuffer to show again.
* * config.h.in (HAVE_LONG_FILE_NAMES): Add an #undef, for autoconfJim Blandy1993-06-201-8/+19
| | | | | | to chew on. Re-arrange macros to reflect the ordering of the corresponding macros in configure.in, to facilitate this kind of checking.
* (verify_interval_modification): Don't just testRichard M. Stallman1993-06-201-5/+6
| | | | Qread_only prop; use INTERVAL_WRITABLE_P.
* * puresize.h (PURESIZE): Up this to 20500 for MULTI_FRAME Emaces,Jim Blandy1993-06-191-2/+2
| | | | and 190000 for non-MULTI_FRAME Emaces.
* * xfaces.c (recompute_basic_faces): This shouldn't be declared static.Jim Blandy1993-06-191-1/+1
|
* * sysdep.c (rename): Make arguments const. autoconf #definesJim Blandy1993-06-191-2/+2
| | | | | | const away on systems which don't have it; any system with prototypes will declare the arguments const (the ones to which I have access do); and systems without prototypes won't notice.
* * minibuf.c (Fread_minibuffer): Add missing semicolon afterJim Blandy1993-06-191-1/+1
| | | | CHECK_STRING macro.
* * xterm.c (XTread_socket): Never treat a modifier key as aJim Blandy1993-06-191-14/+14
| | | | non_ascii_keystroke.
* * emacs.c (Fkill_emacs): Pass third argument to shut_down_emacs.Jim Blandy1993-06-192-2/+2
| | | | * lisp.h (shut_down_emacs): Doc fix.
* * frame.c (Fmake_frame_visible): Make this interactively callable;Jim Blandy1993-06-191-1/+1
| | | | | frames can accept input while iconified, so it makes sense to put this on a key.
* * xfaces.c: Add forward declaration for recompute_basic_faces.Jim Blandy1993-06-191-4/+5
|
* * fileio.c (Fset_visited_file_modtime): We're only passing twoJim Blandy1993-06-191-1/+1
| | | | arguments to the file name handler; use call2, not call3.
* Changes for Irix 4.0, tested this time:Jim Blandy1993-06-185-8/+16
| | | | | | | | | | | | | | | | * s/irix4-0.h: Get rid of our fake definitions for setpgrp and getpgrp. * callproc.c (Fcall_process): Go ahead and use the USG calling convention for setpgrp. * ymakefile (pre-crt0.o): Add rule for this. Perhaps it will help separate-source-directory compilation. * emacs.c (shut_down_emacs): Some USG systems #define EMACS_HAVE_TTY_PGRP; call getpgrp as appropriate for such systems. * sysdep.c (sys_suspend): Call getpgrp as appropriate for USG and non-USG. * process.c [IRIX] (create_process): Don't put child in process group zero before opening the tty; Irix is like USG in this regard.
* Remove #definition of HAVE_CLOSEDIR; autoconf figures this out.Jim Blandy1993-06-186-6/+0
|
* * xfns.c: Always #include "bitmaps/gray.xbm"; the bitmaps seem toJim Blandy1993-06-181-1/+1
| | | | | be missing on some systems, and there's no point in having configure check; it should work fine to always use our copy.
* Typo.Jim Blandy1993-06-181-2/+2
|
* * m/iris4d.h (LIB_STANDARD): Do *not* include -lbsd. We areJim Blandy1993-06-172-3/+5
| | | | | | | | now calling the BSD[sg]etpgrp functions directly, so this library is not needed; it just provides the BSD[sg]etpgrp functions under the [sg]etpgrp names. * callproc.c [IRIX] (child_setup): Don't call setpgrp this time. It's already been called up in Fcall_process, and create_process.
* * xfaces.c (compute_base_face): Initialize the face's stipple.Jim Blandy1993-06-171-0/+4
| | | | | | | Although we don't use this feature now, face_eql notices it. * xfaces.c (compute_base_face): Set cached_index to an invalid index, to avoid an unnecessary comparison.
* * callproc.c (Fcall_process, child_setup): If IRIX is #defined,Jim Blandy1993-06-172-4/+4
| | | | | | call setpgrp with arguments, even if USG is #defined. * process.c [IRIX] (create_process): Don't call setpgrp before opening the pty. Call it after doing the TIOCNOTTY ioctl.
* * keyboard.c (read_key_sequence): Don't confuse mock input withJim Blandy1993-06-171-20/+32
| | | | | | | | | | | | | | | | | | | function-key-map expansion, and continue reading mock events when the current sequence is unbound. * keyboard.c (read_key_sequence): After providing a prefix symbol for a mouse event, modify the mouse event to indicate that that won't need to be done again, by putting the event's position symbol in a list. * keyboard.c (read_key_sequence): When returning mock input which has run off the end of the current maps, make sure the events get echoed, and make it into this-command-keys. * keyboard.c (read_key_sequence): When re-reading a previously read mouse click which requires a prefix symbol, make sure to set last_real_key_start appropriately, so we can properly drop button-down events.
* Don't let the 'B' interactive spec default to buffers viewed inJim Blandy1993-06-171-11/+5
| | | | | | | | | | | any visible frame. * buffer.c (Fother_buffer): Pass Qt as the second argument to Fget_buffer_window. * window.c (window_loop): In GET_BUFFER_WINDOW case, ignore non-visible frames. (Fget_buffer_window): Change doc string to mention that passing Qt for the FRAME argument returns windows on visible frames only. (Qvisible): Removed.
* Don't let the 'B' interactive spec default to buffers viewed inJim Blandy1993-06-171-1/+1
| | | | | | | | | | any visible frame. * buffer.c (Fother_buffer): Pass Qt as the second argument to Fget_buffer_window. * window.c (window_loop): In GET_BUFFER_WINDOW case, ignore non-visible frames. (Fget_buffer_window): Change doc string to mention that passing Qt for the FRAME argument returns windows on visible frames only.
* Changes for correct pgrp behavior; approach suggested by BobJim Blandy1993-06-172-10/+4
| | | | | | | | | | Glickstein <bobg@zindigo.z-code.com>: * m/iris4d.h (LIB_STANDARD): Do list -lbsd here. * s/irix4-0.h (getpgrp, setpgrp): #define these to call BSDgetpgrp and BSDsetpgrp. (GETPGRP_NO_ARG): Don't #define this. * emacs.c (main): Don't test GETPGRP_NO_ARG. * sysdep.c (sys_suspend): Don't test GETPGRP_NO_ARG.