1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-27 18:30:47 -08:00
Commit graph

173671 commits

Author SHA1 Message Date
Richard M. Stallman
99e0a2e032 (C_entries): New local variable quotednl. Used for
parsing of #define's spanning multiple lines.

(C_entries): Save the definedef status
even when a newline is met inside a string.
1993-03-03 06:20:12 +00:00
Richard M. Stallman
41f48cb1bd (write-file): Handle directory name as arg. 1993-03-03 05:12:05 +00:00
Richard M. Stallman
c751ebb6a3 (S_IFLNK): Add #undef.
(C_SWITCH_SYSTEM): Add conditional definition.
(NO_ASM, USE_UTIME, NO_X_DESTROY_DATABASE): Defined.
(LIB_STANDARD): Alternate definition if __GNUC__.
(SIGTSTP): #undef deleted.
(LIBS_SYSTEM): Define only if HAVE_X_WINDOWS.

(USG_SHARED_LIBRARIES, CLASH_DETECTION, NO_FCHMOD): Define.
(HAVE_TIMEVAL): Do not define.
(NO_ASM): Only define once.
1993-03-02 22:25:16 +00:00
Richard M. Stallman
45cd7208bb entered into RCS 1993-03-02 22:22:13 +00:00
Richard M. Stallman
28059881f3 (defsetf): Use eval-and-compile for self-update-fn. 1993-03-02 19:34:46 +00:00
Richard M. Stallman
716a781e7b (add-change-log-entry): Never move past second hdr line. 1993-03-02 18:39:39 +00:00
Richard M. Stallman
b3cfe0c85a (describe_syntax_1): Delete excess arg to describe_vector.
(check_syntax_table): Delete excess arg to wrong_type_argument.

(Fforward_comment): New function.
1993-03-02 17:21:05 +00:00
Jim Blandy
5b2468369d * make-dist: Don't try to copy the COPYING notice into
external-lisp; we're not distributing that directory any more.
1993-03-02 08:28:38 +00:00
Jim Blandy
c56516d57a * Makefile.in (install, install.aix, install.xenix, install.sysv):
Remove CVS subdirectories from the installed directory trees, as
	well as RCS directories.
1993-03-02 08:28:24 +00:00
Jim Blandy
ca5b61ea67 * timer.c (notify): Initialize waitfor properly. 1993-03-02 08:25:47 +00:00
Jim Blandy
a3c87d4e63 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.
1993-03-02 08:22:42 +00:00
Jim Blandy
ab6482702d 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.

	* 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.
1993-03-02 08:21:49 +00:00
Jim Blandy
88f22aff6a * xdisp.c (redisplay): Protect calls to request_sigio and
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.
1993-03-02 08:20:23 +00:00
Jim Blandy
8b24d146ec * print.c (float_to_string): Define buf to be an unsigned char, to
match the data field of strings.
1993-03-02 08:16:49 +00:00
Jim Blandy
f498e3b2ed 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.

	* 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.
1993-03-02 08:16:00 +00:00
Jim Blandy
fd2777e08f 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.
1993-03-02 08:14:57 +00:00
Jim Blandy
3c37094348 * keyboard.c (kbd_buffer_get_event): Protect assignment to
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.
1993-03-02 08:14:15 +00:00
Jim Blandy
0a3e4d653c * data.c (Fstring_to_number): Declare p to be an unsigned char, to
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>.
1993-03-02 08:11:01 +00:00
Jim Blandy
c39e6cc261 * cmds.c (Fnewline): Doc fix. 1993-03-02 08:10:24 +00:00
Jim Blandy
bec44fd6f6 * buffer.c (buffer-undo-list): Doc fix.
* 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.
1993-03-02 08:09:42 +00:00
Jim Blandy
0a68e87bbd * term/x-win.el (x-switch-definitons): Use the proper names for
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.
1993-03-02 07:35:52 +00:00
Jim Blandy
b6341cd1d2 * timer.el (run-at-time): Doc fix. 1993-03-02 07:33:41 +00:00
Jim Blandy
1537a263af * simple.el (kill-region): If the buffer is read-only, call
`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.
1993-03-02 07:33:17 +00:00
Jim Blandy
bf3c8a7000 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.
1993-03-02 07:29:47 +00:00
Jim Blandy
5ba2dc3fd3 * mouse.el (mouse-split-window-vertically): If the user clicks too
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.
1993-03-02 07:29:05 +00:00
Jim Blandy
44c327f959 * info.el (Info-directory-list): Doc fix; it is set according to
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.
1993-03-02 07:27:17 +00:00
Jim Blandy
b9a4b5011e * hexl.el (hexl-mode-map): When initializing, remember that the
argument to key-binding is a key sequence, not a single key.
1993-03-02 07:26:43 +00:00
Jim Blandy
0ca90494a9 * frame.el (new-frame): Doc fix.
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.
1993-03-02 07:25:44 +00:00
Jim Blandy
4969329862 * etags.el (find-tag-other-window): If another window is already
displaying the tag's buffer, explicitly set that window's point to
	the tag's position.
1993-03-02 07:22:33 +00:00
Jim Blandy
6798a38571 * autoload.el (generate-file-autoloads): Add another
save-excursion so that point is before the generated autoloads
	after we scan the file.
1993-03-02 07:21:44 +00:00
Jim Blandy
eaa974e13b These changes were actually made by Richard; I stole his RCS lock.
* 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.
1993-03-02 07:06:47 +00:00
Jim Blandy
dc14eed224 These are in preparation for a more thorough renaming to occur soon.
* scroll-bar.el: Provide `scroll-bar', not `scrollbar'.
	* term/x-win.el: Require `scroll-bar', not `scrollbar'.
1993-03-02 02:11:18 +00:00
Jim Blandy
b16795eb99 * term/x-win.el: Require scroll-bar', not scrollbar'. 1993-03-02 02:03:41 +00:00
Richard M. Stallman
7ea13762ef (Info-insert-dir): Make menu items in Top node
pointing each of the other nodes.

(Info-insert-dir): New function.
(Info-find-node): Use Info-insert-dir to visit dir file.
1993-03-01 09:25:44 +00:00
Richard M. Stallman
a994e16134 Don't include dispextern.h more than once.
(INTERVAL_VISIBLE_P): NILP test was backwards.
1993-03-01 09:13:26 +00:00
Richard M. Stallman
a7b19b15b3 (syms_of_cmds): Typo in last change. 1993-03-01 09:02:07 +00:00
Richard M. Stallman
da9319d540 (record_property_change): Typo in last change.
(Fprimitive_undo): Handle property-change undo entry.
(record_property_change): New function.
1993-03-01 09:01:13 +00:00
Richard M. Stallman
7651e1f53f (print--string case):
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.
1993-03-01 08:59:36 +00:00
Richard M. Stallman
748ef62fff (read1--strings with properties case):
Detect end of list, and invalid syntax, using recursive read1 calls.

(read1): Handle reading strings with properties.
1993-03-01 08:58:52 +00:00
Richard M. Stallman
d4b530ad2d (Fadd_text_properties, Fremove_text_properties):
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.
1993-03-01 08:57:31 +00:00
Richard M. Stallman
323a7ad4fd (intervals_equal): Handle one arg null and other not.
(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.
1993-03-01 08:56:22 +00:00
Richard M. Stallman
16032db687 (del_range): Update point before offset_intervals. 1993-03-01 08:55:35 +00:00
Richard M. Stallman
75cf385a42 (emacs, temacs): Add @true to prevent Make confusion. 1993-02-28 22:29:46 +00:00
Richard M. Stallman
1f532861cb Error if company name is more than one word.
If $os is `sunos...', don't change it to manufacturer's name.
1993-02-27 21:56:28 +00:00
Richard M. Stallman
1c07d0a634 (syms_of_keyboard): Doc fix. 1993-02-26 21:09:25 +00:00
Richard M. Stallman
f1f2d09afd (walk-windows): Doc fix. 1993-02-26 06:28:04 +00:00
Richard M. Stallman
4a93c90596 (traverse_intervals): New arg ARG. 1993-02-25 20:24:43 +00:00
Richard M. Stallman
d393c06819 (mark_interval): Add ignored arg.
(mark_interval_tree): Pass new arg to traverse_intervals.
1993-02-25 20:24:25 +00:00
Richard M. Stallman
ec367ad6e6 (add-change-log-entry): Find end of first paragraph from after the header line. 1993-02-25 20:23:59 +00:00
Richard M. Stallman
a8a6776b57 (point-to-register): Make arg ARG optional.
(window-configuration-to-register): Likewise.
(frame-configuration-to-register): Likewise.
1993-02-25 06:39:57 +00:00