1. 02 Mar, 1993 23 commits
    • Jim Blandy's avatar
      Use the term `scroll bar', instead of `scrollbar'. · a3c87d4e
      Jim Blandy authored
      	* alloc.c, frame.c, frame.h, indent.c, keyboard.c, keyboard.h,
      	lisp.h, term.c, termhooks.h, window.c, window.h, xdisp.c, xfns.c,
      	xterm.c, xterm.h: Terminology changed.
      a3c87d4e
    • Jim Blandy's avatar
      Use the term `scroll bar', instead of `scrollbar'. · ab648270
      Jim Blandy authored
      	* alloc.c, frame.c, frame.h, indent.c, keyboard.c, keyboard.h,
      	lisp.h, term.c, termhooks.h, window.c, window.h, xdisp.c, xfns.c,
      	xterm.c, xterm.h: Terminology changed.
      
      	* xterm.c (x_window_to_scrollbar, x_scrollbar_expose,
      	x_scrollbar_handle_click, x_scrollbar_note_movement): Remember
      	that these can be called during GC; we have to ignore mark bits.
      	* lisp.h (GC_NILP, GC_EQ): New macros to help with that.
      ab648270
    • Jim Blandy's avatar
      * xdisp.c (redisplay): Protect calls to request_sigio and · 88f22aff
      Jim Blandy authored
      	unrequest_sigio in "#ifdef SIGIO" clauses; these are not defined
      
      	Use the term `scroll bar', instead of `scrollbar'.
      	* alloc.c, frame.c, frame.h, indent.c, keyboard.c, keyboard.h,
      	lisp.h, term.c, termhooks.h, window.c, window.h, xdisp.c, xfns.c,
      	xterm.c, xterm.h: Terminology changed.
      88f22aff
    • Jim Blandy's avatar
      * print.c (float_to_string): Define buf to be an unsigned char, to · 8b24d146
      Jim Blandy authored
      	match the data field of strings.
      8b24d146
    • Jim Blandy's avatar
      Use the term `scroll bar', instead of `scrollbar'. · f498e3b2
      Jim Blandy authored
      	* alloc.c, frame.c, frame.h, indent.c, keyboard.c, keyboard.h,
      	lisp.h, term.c, termhooks.h, window.c, window.h, xdisp.c, xfns.c,
      	xterm.c, xterm.h: Terminology changed.
      
      	* xterm.c (x_window_to_scrollbar, x_scrollbar_expose,
      	x_scrollbar_handle_click, x_scrollbar_note_movement): Remember
      	that these can be called during GC; we have to ignore mark bits.
      	* lisp.h (GC_NILP, GC_EQ): New macros to help with that.
      
      	* lisp.h (RETURN_UNGCPRO): Remove "do ... while (0)" wrapper
      	around macro.
      f498e3b2
    • Jim Blandy's avatar
      Use the term `scroll bar', instead of `scrollbar'. · fd2777e0
      Jim Blandy authored
      	* alloc.c, frame.c, frame.h, indent.c, keyboard.c, keyboard.h,
      	lisp.h, term.c, termhooks.h, window.c, window.h, xdisp.c, xfns.c,
      	xterm.c, xterm.h: Terminology changed.
      
              Don't generate switch-frame events by checking Vlast_event_frame;
      	use a separate variable for that bookkeeping.  In order to
      	generate them properly, we may need to fiddle with it.
      	* keyboard.c (internal_last_event_frame): New variable.
      	(command_loop_1): Check internal_last_event_frame, not
      	Vlast_event_frame.
      	(read_char, kbd_buffer_store_event): Set both Vlast_event_frame and
      	internal_last_event_frame.
      	(kbd_buffer_get_event): Check internal_last_event_frame to decide
      	whether to generate a switch-frame event.  Set Vlast_event_frame
      	after each event.
      	(init_keyboard): Initialize both Vlast_event_frame and
      	internal_last_event_frame.
      	* keyboard.h (internal_last_event_frame): Add extern declaration
      	for this.
      	* frame.c (Vlast_event_frame): Remove external declaration for
      	this.
      	(Fselect_frame): Set internal_last_event_frame to Qnil to force a
      	switch-frame event, not Vlast_event_frame; the latter is supposed
      	to convey information to the user.
      fd2777e0
    • Jim Blandy's avatar
      * keyboard.c (kbd_buffer_get_event): Protect assignment to · 3c370943
      Jim Blandy authored
      	Vlast_event_frame in a "#ifdef MULTI_FRAME" clause.
      
      	Use the term `scroll bar', instead of `scrollbar'.
      	* alloc.c, frame.c, frame.h, indent.c, keyboard.c, keyboard.h,
      	lisp.h, term.c, termhooks.h, window.c, window.h, xdisp.c, xfns.c,
      	xterm.c, xterm.h: Terminology changed.
      
              Don't generate switch-frame events by checking Vlast_event_frame;
      	use a separate variable for that bookkeeping.  In order to
      	generate them properly, we may need to fiddle with it.
      	* keyboard.c (internal_last_event_frame): New variable.
      	(command_loop_1): Check internal_last_event_frame, not
      	Vlast_event_frame.
      	(read_char, kbd_buffer_store_event): Set both Vlast_event_frame and
      	internal_last_event_frame.
      	(kbd_buffer_get_event): Check internal_last_event_frame to decide
      	whether to generate a switch-frame event.  Set Vlast_event_frame
      	after each event.
      	(init_keyboard): Initialize both Vlast_event_frame and
      	internal_last_event_frame.
      	* keyboard.h (internal_last_event_frame): Add extern declaration
      	for this.
      	* frame.c (Vlast_event_frame): Remove external declaration for
      	this.
      	(Fselect_frame): Set internal_last_event_frame to Qnil to force a
      	switch-frame event, not Vlast_event_frame; the latter is supposed
      	to convey information to the user.
      
      	* keyboard.c (syms_of_keyboard): Doc fix for unread_command_events.
      3c370943
    • Jim Blandy's avatar
      * data.c (Fstring_to_number): Declare p to be an unsigned char, to · 0a3e4d65
      Jim Blandy authored
      	match the data field of strings.
      
      	* data.c (Fstring_to_number): Just skip tabs and spaces; don't use
      	the <ctype.h> macros.  The <ctype.h> stuff apparently varies from
      	locale to locale more than we'd like.  Don't include <ctype.h>.
      0a3e4d65
    • Jim Blandy's avatar
      * cmds.c (Fnewline): Doc fix. · c39e6cc2
      Jim Blandy authored
      c39e6cc2
    • Jim Blandy's avatar
      * buffer.c (buffer-undo-list): Doc fix. · bec44fd6
      Jim Blandy authored
      	* buffer.c (syms_of_buffer): Add the extra argument to the
      	commented-out DEFVAR_PER_BUFFER for `mode-line-format', so
      	make-docfile will find the docstring properly.
      bec44fd6
    • Jim Blandy's avatar
      * term/x-win.el (x-switch-definitons): Use the proper names for · 0a68e87b
      Jim Blandy authored
      	the scroll bar parameters.
      
      	Use the term `scroll bar', instead of `scrollbar'.
      	* term/x-win.el, frame.el, mouse.el: Terminology changed.
      	* scrollbar.el: Renamed to scroll-bar.el.
      0a68e87b
    • Jim Blandy's avatar
      * timer.el (run-at-time): Doc fix. · b6341cd1
      Jim Blandy authored
      b6341cd1
    • Jim Blandy's avatar
      * simple.el (kill-region): If the buffer is read-only, call · 1537a263
      Jim Blandy authored
      	`barf-if-buffer-read-only' instead of just `ding', to get the
      	appropriate error condition and message.
      
      	* simple.el (insert-buffer): Make sure this returns nil.
      
      	* simple.el (quoted-insert): Use insert-char, instead of writing
      	out the loop.
      1537a263
    • Jim Blandy's avatar
      Use the term `scroll bar', instead of `scrollbar'. · bf3c8a70
      Jim Blandy authored
      	* term/x-win.el, frame.el, mouse.el: Terminology changed.
      	* scrollbar.el: Renamed to scroll-bar.el.
      bf3c8a70
    • Jim Blandy's avatar
      * mouse.el (mouse-split-window-vertically): If the user clicks too · 5ba2dc3f
      Jim Blandy authored
      	close to the top or bottom of a window, split at the closest
      	reasonable line.  Give a helpful error message if the window is
      	too small to be split anywhere.
      	(mouse-split-window-horizontally): Similar changes.
      5ba2dc3f
    • Jim Blandy's avatar
      * info.el (Info-directory-list): Doc fix; it is set according to · 44c327f9
      Jim Blandy authored
      	INFOPATH, not INFODIR.
      	(Info-find-node): Don't try to set the info buffer's directory
      	according to Info-directory; that variable doesn't exist any more.
      	Instead, let Info-insert-dir set the current directory.
      	(Info-insert-dir): Properly check for upper- and lower-case forms
      	of "dir", with and without ".info" extension.  Set the buffer's
      	default-directory to the directory containing the first dir file
      	we find, and cache it in Info-dir-contents-directory.
      	(Info-dir-contents-directory): New variable, to cache the
      	directory we decided to use as the merged directory's
      	default-directory.
      44c327f9
    • Jim Blandy's avatar
      * hexl.el (hexl-mode-map): When initializing, remember that the · b9a4b501
      Jim Blandy authored
      	argument to key-binding is a key sequence, not a single key.
      b9a4b501
    • Jim Blandy's avatar
      * frame.el (new-frame): Doc fix. · 0ca90494
      Jim Blandy authored
      	Use the term `scroll bar', instead of `scrollbar'.
      	* term/x-win.el, frame.el, mouse.el: Terminology changed.
      	* scrollbar.el: Renamed to scroll-bar.el.
      0ca90494
    • Jim Blandy's avatar
      * etags.el (find-tag-other-window): If another window is already · 49693298
      Jim Blandy authored
      	displaying the tag's buffer, explicitly set that window's point to
      	the tag's position.
      49693298
    • Jim Blandy's avatar
      * autoload.el (generate-file-autoloads): Add another · 6798a385
      Jim Blandy authored
      	save-excursion so that point is before the generated autoloads
      	after we scan the file.
      6798a385
    • Jim Blandy's avatar
      These changes were actually made by Richard; I stole his RCS lock. · eaa974e1
      Jim Blandy authored
      	* frame.el (initial-frame-alist, minibuffer-frame-alist,
      	pop-up-frame-alist, new-frame): Doc fixes.
      
      	* frame.el (set-pointer-color): Renamed to set-mouse-color.
      
      	* frame.el (set-border-color): New function.
      eaa974e1
    • Jim Blandy's avatar
      These are in preparation for a more thorough renaming to occur soon. · dc14eed2
      Jim Blandy authored
      	* scroll-bar.el: Provide `scroll-bar', not `scrollbar'.
      	* term/x-win.el: Require `scroll-bar', not `scrollbar'.
      dc14eed2
    • Jim Blandy's avatar
      b16795eb
  2. 01 Mar, 1993 9 commits
    • Richard M. Stallman's avatar
      (Info-insert-dir): Make menu items in Top node · 7ea13762
      Richard M. Stallman authored
      pointing each of the other nodes.
      
      (Info-insert-dir): New function.
      (Info-find-node): Use Info-insert-dir to visit dir file.
      7ea13762
    • Richard M. Stallman's avatar
      Don't include dispextern.h more than once. · a994e161
      Richard M. Stallman authored
      (INTERVAL_VISIBLE_P): NILP test was backwards.
      a994e161
    • Richard M. Stallman's avatar
      (syms_of_cmds): Typo in last change. · a7b19b15
      Richard M. Stallman authored
      a7b19b15
    • Richard M. Stallman's avatar
      (record_property_change): Typo in last change. · da9319d5
      Richard M. Stallman authored
      (Fprimitive_undo): Handle property-change undo entry.
      (record_property_change): New function.
      da9319d5
    • Richard M. Stallman's avatar
      (print--string case): · 7651e1f5
      Richard M. Stallman authored
      Any non-null interval means print intervals.
      Get rid of var obj1; just use obj.
      
      (print): Never declare OBJ arg as `register'.
      Special handling for strings with intervals.
      (print_intervals): New function.
      7651e1f5
    • Richard M. Stallman's avatar
      (read1--strings with properties case): · 748ef62f
      Richard M. Stallman authored
      Detect end of list, and invalid syntax, using recursive read1 calls.
      
      (read1): Handle reading strings with properties.
      748ef62f
    • Richard M. Stallman's avatar
      (Fadd_text_properties, Fremove_text_properties): · d4b530ad
      Richard M. Stallman authored
      Add len>0 as condition for main loop.
      Abort if reach a null interval.
      (Fset_text_properties): Abort if reach a null interval.
      (Ftext_properties_at, Fget_text_property):
      Return nil if POS is end of OBJECT.
      (add_properties): Use NILP to test result of Fequal.
      No longer inline.
      (remove_properties): No longer inline.
      (set_properties): Total rewrite as function.
      (validate_interval_range): Don't alter *begin at end of buffer.
      But do search for a position just before the end.
      Return null for an empty string.
      
      (validate_interval_range): Allow 0 as position in string.
      Add 1 to specified string positions.
      (Fprevious_single_property_change): Subtract 1 if object is string.
      (Fnext_single_property_change): Likewise.
      (Fprevious_property_change, Fnext_property_change): Likewise.
      
      (remove_properties): Call modify_buffer.
      (add_properties): Likewise.
      
      (Fadd_text_properties): Pass new arg to add_properties.
      (Fremove_text_properties): Likewise.
      (add_properties, remove_properties): New arg OBJECT.  Record undo info.
      (Fput_text_property): New function.
      d4b530ad
    • Richard M. Stallman's avatar
      (intervals_equal): Handle one arg null and other not. · 323a7ad4
      Richard M. Stallman authored
      (set_point): Considerable rewrite.  Handle intervals both
      before and after the old and new point values.
      Redo handling of invisible intervals, and of motion hooks.
      (textget): New function.
      
      (graft_intervals_into_buffer):
      create_root_interval needs Lisp object arg.
      Set tree to new root interval.
      Don't test TREE_LENGTH if buffer has no intervals.
      Rearrange code to copy properties so that it really
      does merge the inserted ones into the inherited ones.
      (traverse_intervals): Pass `arg' on recursive calls.
      (split_interval_left): Use new_length as basis for length of new.
      
      (traverse_intervals): New arg ARG.
      323a7ad4
    • Richard M. Stallman's avatar
      16032db6
  3. 28 Feb, 1993 1 commit
  4. 27 Feb, 1993 1 commit
  5. 26 Feb, 1993 2 commits
  6. 25 Feb, 1993 4 commits