aboutsummaryrefslogtreecommitdiffstats
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Initial revisionJim Blandy1993-07-141-0/+244
|
* (verify_interval_modification): Use Qinsert_in_front_hooks andRichard M. Stallman1993-07-131-2/+2
| | | | Qinsert_behind_hooks instead of previous names.
* (Qinsert_in_front_hooks, Qinsert_behind_hooks): Declared.Richard M. Stallman1993-07-131-2/+2
| | | | This replaces part of previous change.
* (prepare_to_modify_buffer): Call verify_overlay_modification.Richard M. Stallman1993-07-131-0/+2
|
* (verify_overlay_modification): New function.Richard M. Stallman1993-07-131-0/+95
| | | | (call_overlay_mod_hooks): New function.
* (Qinsert_in_front_hooks, Qinsert_behind_hooks): New vars.Richard M. Stallman1993-07-131-15/+31
| | | | | | | | (syms_of_textprop): Set them up. (set_properties): Call modify_region. (remove_properties): Call modify_region before record_property_change. (add_properties): Likewise.
* *** empty log message ***Jim Meyering1993-07-131-2/+2
|
* (Qinsert_before_hooks, Qinsert_after_hooks): Declared.Richard M. Stallman1993-07-131-0/+4
| | | | (Qmodification_hooks): Declared.
* (verify_interval_modification):Richard M. Stallman1993-07-131-3/+3
| | | | | For insertion, run the insert-before-hooks and insert-after-hooks, not the modification-hooks.
* (Qundefined): New variable.Richard M. Stallman1993-07-121-4/+22
| | | | | | | | (syms_of_keyboard): Set up Qundefined. (menu_bar_items): Don't reverse the items. Process the maps in reverse order. (menu_bar_item): If definition is `undefined', delete any menu bar item already made, and don't make one.
* *** empty log message ***David J. MacKenzie1993-07-121-7/+3
|
* (wait_reading_process_input): If wait_for_cell, do callRichard M. Stallman1993-07-091-2/+3
| | | | swallow_events and do_pending_window_change when appropriate.
* (region_limit): Declare Vmark_even_if_inactive.Roland McGrath1993-07-081-0/+1
|
* (syms_of_callint): Fix DEFVAR_LISP for Vmark_even_if_inactive to use rightRoland McGrath1993-07-081-1/+1
| | | | Lisp symbol name (without V prepended).
* (check_mark): Don't check mark-active unless in transient-mark-mode.Roland McGrath1993-07-081-2/+3
| | | | For inactive mark, signal mark-inactive instead of error with a message.
* (region_limit): Don't error if Vmark_even_if_inactive is set. When theRoland McGrath1993-07-081-2/+3
| | | | | mark is inactive and that is a no-no, signal mark-inactive instead of using error with a message.
* (syms_of_data): Staticpro Qmark_inactive.Roland McGrath1993-07-081-0/+1
|
* Define Qmark_inactive.Roland McGrath1993-07-081-1/+2
| | | | (syms_of_data): Initialize it.
* Declare Qmark_inactive.Roland McGrath1993-07-081-0/+1
|
* (describe_map_tree): When inserting TITLE, mention PREFIX.Richard M. Stallman1993-07-071-12/+39
| | | | | | | Insert newline at end, if inserted anything else. (describe_buffer_bindings): Corresponding changes. For minor mode maps, build up a title string, then let describe_map_tree insert it.
* * editfns.c (Fformat): Since floats occupy two elements in theJim Blandy1993-07-071-7/+12
| | | | | | argument list passed to doprnt, we must use separate indices for the array of arguments passed to Fformat, and the array of arguments to be passed to doprnt.
* *** empty log message ***David J. MacKenzie1993-07-061-2/+6
|
* * textprop.c (copy_text_properties): Pass a copy of POS toJim Blandy1993-07-061-10/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | validate_interval_range; that function increments its arguments, which isn't what we want. * intervals.c (find_interval): Consistently treat POSITION as an actual buffer position, i.e. origin 1. The old code seemed undecided on this point. Treat the end of the buffer as being part of the rightmost interval. (adjust_intervals_for_insertion): Consistently treat POSITION as origin 1. (interval_deletion_adjustment): The exception: FROM should be origin zero here. Consistently treat it as such. Simplify code which shrinks and possibly deletes intervals. (adjust_intervals_for_deletion): Treat start as origin 1; our caller does. (set_point): Use buffer positions throughout, not a mix of buffer posns and origin zero posns. (get_local_map): Remove special case for POSITION at end of buffer; find_interval handles that case correctly. (verify_interval_modification): Remove special case for START at end of buffer. * textprop.c (validate_interval_range): End-of-buffer/string positions no longer need special handling. * textprop.c (copy_text_properties): New function, from David Gillespie. * intervals.h: Declare copy_text_properties. * fns.c: #include "intervals.h". (Fsubstring): Copy text properties to result string. (concat): Copy text properties to result string. * ymakefile (fns.o): Note that this depends on INTERVAL_SRC.
* * textprop.c (copy_text_properties): New function, from DavidJim Blandy1993-07-061-0/+1
| | | | | | | | | Gillespie. * intervals.h: Declare copy_text_properties. * fns.c: #include "intervals.h". (Fsubstring): Copy text properties to result string. (concat): Copy text properties to result string. * ymakefile (fns.o): Note that this depends on INTERVAL_SRC.
* * intervals.c (find_interval): Doc fixes, computation ofJim Blandy1993-07-061-86/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | tree->position rearranged for clarity. * intervals.c (find_interval): Consistently treat POSITION as an actual buffer position, i.e. origin 1. The old code seemed undecided on this point. Treat the end of the buffer as being part of the rightmost interval. (adjust_intervals_for_insertion): Consistently treat POSITION as origin 1. (interval_deletion_adjustment): The exception: FROM should be origin zero here. Consistently treat it as such. Simplify code which shrinks and possibly deletes intervals. (adjust_intervals_for_deletion): Treat start as origin 1; our caller does. (set_point): Use buffer positions throughout, not a mix of buffer posns and origin zero posns. (get_local_map): Remove special case for POSITION at end of buffer; find_interval handles that case correctly. (verify_interval_modification): Remove special case for START at end of buffer. * textprop.c (validate_interval_range): End-of-buffer/string positions no longer need special handling. * intervals.c (make_new_interval): #if 0 this out. Nobody calls it.
* * fns.c (Fsubstring, concat): Pass all six arguments toJim Blandy1993-07-061-3/+16
| | | | | | | | | | | | copy_text_properties. * textprop.c (copy_text_properties): New function, from David Gillespie. * intervals.h: Declare copy_text_properties. * fns.c: #include "intervals.h". (Fsubstring): Copy text properties to result string. (concat): Copy text properties to result string. * ymakefile (fns.o): Note that this depends on INTERVAL_SRC.
* * print.c: Get rid of extra space at the end of print syntax forJim Blandy1993-07-061-2/+1
| | | | | | | | strings with intervals. [USE_TEXT_PROPERTIES] (print): Don't print a space before the interval property lists. [USE_TEXT_PROPERTIES] (print_interval): Print a space before this internal's properties, not after.
* * m/pmax.h (C_SWITCH_X_MACHINE): Set this toJim Blandy1993-07-061-0/+21
| | | | | | | "-DNeedFunctionPrototypes=0", to avoid lossage in DEC X11 header files. * ymakefile (really-oldXMenu): Pass C_SWITCH_X_MACHINE to the oldXMenu make.
* * doc.c (Fsubstitute_command_keys): Pass all five arguments toJim Blandy1993-07-061-1/+1
| | | | describe_map_tree.
* Compare the values of text properties using EQ, not Fequal.Jim Blandy1993-07-062-4/+3
| | | | | * intervals.c (intervals_equal): Call EQ, not Fequal. * textprop.c (interval_has_all_properties, add_properties): Same.
* * xfaces.c [XOS_NEEDS_TIME_H]: #undef USG while #includingJim Blandy1993-07-051-9/+11
| | | | | <X11/Xos.h>, so that file doesn't try to define struct timeval and struct timezone.
* * textprop.c (validate_interval_range): Don't increment bothJim Blandy1993-07-051-2/+6
| | | | | *begin and *end if they point to the same thing. (validate_plist): Call QUIT while scanning LIST.
* * intervals.c (intervals_equal): Test the return value of FequalJim Blandy1993-07-051-1/+1
| | | | against Qnil, not 0.
* Fix initialization of Vdouble_click_time in syms_of_keyboard.Jim Blandy1993-07-051-1/+1
|
* * keyboard.c (Vdouble_click_time): Renamed from double_click_time,Jim Blandy1993-07-051-8/+11
| | | | | | | | | | and made a Lisp_Object instead of an int. (make_lispy_event): If Vdouble_click_time is t, impose no time limit on double-clicks. (syms_of_keyboard): DEFVAR_LISP (not DEFVAR_INT) Vdouble_click_time (not double_click_time), and adjust doc string to say that `nil' means no double clicks, and `t' means no time limit.
* * keyboard.h (EVENT_CLICK_COUNT, POSN_SCROLLBAR_PART): NewJim Blandy1993-07-051-0/+4
| | | | accessors.
* Doc fix.Jim Blandy1993-07-041-1/+1
|
* * s/sunos4-1.h (LIBS_SYSTEM): Don't link against -lresolv; that'sJim Blandy1993-07-041-3/+6
| | | | only needed for some broken systems.
* (Vmark_even_if_inactive): New var, with Lisp variable.Richard M. Stallman1993-07-041-1/+13
| | | | (check_mark): Use it.
* (Fsignal): Clarify error message.Richard M. Stallman1993-07-041-1/+1
|
* (read_char): After Fgarbage_collect, call redisplay.Richard M. Stallman1993-07-041-117/+144
| | | | | | | | | | | | | | | (read_key_sequence): When inserting `menu-bar' prefix, modify the position field to prevent doing so twice. Do all these forms of event expansion after replayed events also. Set last_real_key_start before each key. Use last_real_key_start in criterion for being the first event. (syms_of_keyboard): Doc fix. (Vhelp_char): Renamed from help_char. (Vprefix_help_command): New Lisp variable. (read_key_sequence): Use that, for help char after prefix key. (kbd_buffer_get_event): Clear f before calling mouse_position_hook.
* * frame.c (Fredirect_frame_focus): Allow redirection of focus ofJim Blandy1993-07-041-1/+4
| | | | dead frames.
* * s/sunos4-1.h (LIBS_SYSTEM): Make this be -lresolv, so we get theJim Blandy1993-07-031-0/+4
| | | | versions of gethostbyname and such that use the DNS.
* * s/hpux8.h (random, srandom): No need to define these to beJim Blandy1993-07-031-0/+3
| | | | | foo_random and foo_srandom; autoconf should autodetect when the real random functions are available.
* (Frename_file): After prompting for ok-if-already-exists, pass only nil orRoland McGrath1993-07-031-1/+4
| | | | t to copy-file, never an integer.
* (Faccessible_keymaps): Doc fix.Richard M. Stallman1993-07-031-1/+3
|
* * textprop.c (set_properties): Add undo records to remove entirelyJim Blandy1993-07-021-11/+46
| | | | | | | | new properties. Only record old property values for those properties whose values have changed. * textprop.c (set_properties): Don't try to make undo records if OBJECT is a string.
* (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.