1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-04 11:00:45 -08:00
Commit graph

1526 commits

Author SHA1 Message Date
Jim Blandy
3a2308a0ae Wed Nov 4 15:09:07 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
* configure: When editing parameters into lib-src/Makefile, change
	the definition of CONFIG_CFLAGS instead of CFLAGS itself; CFLAGS
	needs some other flags too.
1992-11-07 06:33:57 +00:00
Jim Blandy
a4b3389645 * startup.el (normal-top-level): Don't worry about setting
default-directory to PWD if PWD is shorter.  And, if PWD isn't
	accurate, delete it.
1992-11-07 06:20:15 +00:00
Jim Blandy
1a3a670724 * isearch.el (isearch-frames-exist): This isn't what we want -
replaced by...
	(isearch-gnu-emacs-events): non-nil if should expect events in the
	style generated by GNU Emacs 19.  Set if set-frame-height is
	fboundp; this is true on any GNU Emacs 19, whether or not it was
	compiled with multiple frame support.
	(isearch-mode-map): Test isearch-gnu-emacs-events instead of
	isearch-frames-exist to see if we should bind switch-frame events.
	(isearch-update): Test isearch-gnu-emacs-events instead of
	isearch-frames-exist to see if unread-command-char's quiescent
	value is nil or -1.
1992-11-07 06:17:04 +00:00
Jim Blandy
c2e8a01234 * simple.el (previous-line): Doc fix.
* simple.el (kill-line): Don't shift point before doing the
	delete.
1992-11-07 06:13:23 +00:00
Jim Blandy
f90a6155a9 * etags.el (find-tag-noselect): Doc fix. 1992-11-07 06:12:42 +00:00
Jim Blandy
bea1d57a78 * compile.el (compile-internal): Use NAME-OF-MODE in the prompt
when offering to kill an existing process.
1992-11-07 06:12:11 +00:00
Jim Blandy
0761aafc45 * cl.el: New version - 3.0 - from Cesar Quiroz. 1992-11-07 06:11:16 +00:00
Jim Blandy
4489336084 * autoload.el (make-autoload): When creating an autoload
invocation for a macro, pass (list 'quote 'macro) as the sixth
	argument, not just t.  autoload's sixth argument is now a type
	instead of just a boolean value, so we should use a value which
	reflects that.
1992-11-07 06:10:53 +00:00
Jim Blandy
45c18993b7 Added `mips' command. 1992-11-07 05:29:26 +00:00
Richard M. Stallman
a096560567 Doc fix. 1992-11-07 04:05:32 +00:00
Richard M. Stallman
93ae3cfe70 (SYSTEM_TYPE): Use berkeley-unix. 1992-11-06 22:49:53 +00:00
Richard M. Stallman
b8cbdf43f9 version 1.28.8
(fortran-indent-to-column): Make turning of lines that begin with
`fortran-continuation-string' into properly formated continuation
lines work for fortran TAB mode.

Cleaned up some doc strings.

(fortran-abbrev-help, fortran-prepare-abbrev-list-buffer): Use
`insert-abbrev-table-description' and make buffer in abbrevs-mode.

Many changes since version 1.28.3.   Added auto-fill-mode, support
for some Fortran 90 statements.  Adjust comments to conform to new
gnu conventions.

(fortran-mode): Fix `comment-line-start-skip' by changing \\1 to
\\2 and include cpp statements in matching.  Changes for auto fill.

(fortran-auto-fill-mode, fortran-do-auto-fill,
fortran-break-line): New functions to implement auto fill.

(fortran-indent-line, fortran-reindent-then-newline-and-indent):
Added auto fill support.

(find-comment-start-skip, is-in-fortran-string-p): New functions.

(fortran-electric-line-number): Works better in overwrite mode.

(fortran-indent-comment, fortran-indent-line,
fortran-indent-to-column):  Use find-comment-start-skip instead of
searching for `comment-start-skip'.

(fortran-mode, calculate-fortran-indent): Added indentation
for fortran 90 statements.

(fortran-next-statement, fortran-previous-statement): Bug fixes.

(fortran-mode, calculate-fortran-indent,
fortran-setup-tab-format-style, fortran-setup-fixed-format-style):
`fortran-comment-line-column' meaning changed.  Now defaults to 0.
1992-11-05 20:25:10 +00:00
Richard M. Stallman
7b937caffb (command-switch-alist, x-switch-definitions):
-ib was used for two things.  Use -itype for icon type.
1992-11-05 05:00:28 +00:00
Jim Blandy
2fb263f61e *** empty log message *** 1992-11-05 04:28:10 +00:00
Richard M. Stallman
cf7a78db1d Don't discard SCO version number if it's 3.2v4. 1992-11-05 03:15:24 +00:00
Karl Berry
26a7e2e7a5 *** empty log message *** 1992-11-04 20:39:56 +00:00
Christopher Zaborsky
f7644ea33d Doc fix. 1992-11-03 22:47:23 +00:00
Richard M. Stallman
23317eaca1 (insert-rectangle): Put mark at upper left corner. 1992-11-03 22:25:28 +00:00
Christopher Zaborsky
fcec83fbc8 Dox fix. 1992-11-03 21:33:58 +00:00
Christopher Zaborsky
cc9875f9f5 Doc fix. 1992-11-03 21:08:55 +00:00
Christopher Zaborsky
33b4a308e6 Dox fix. 1992-11-03 19:47:32 +00:00
Richard M. Stallman
2de735de75 (dired-mark-confirm): For compress', say Compress or uncompress'.
(dired-map-over-marks-check): Likewise.
1992-11-03 09:25:26 +00:00
Richard M. Stallman
4e43240ad3 (make-directory): Renamed from make-directory-path.
Optional argument says whether to create parent dirs.
Invoke file-name handler here.
(after-find-file): Delete code that offers to create dir.
Instead, just print a message.
1992-11-03 07:07:02 +00:00
Jim Blandy
353cfc1998 * fileio.c (Fmake_directory_internal): Remove extra paren before the
doc string in this function's DEFUN.
1992-11-03 02:24:05 +00:00
Jim Blandy
6067ebef9a * ange-ftp.el: Tighten the regular expression used in
file-name-handler-alist to recognized ange-ftp filenames; the
	slash, username and hostname must be at the start of the filename,
	not just anywhere in the filename.
1992-11-03 02:00:50 +00:00
Richard M. Stallman
f1c0312591 (isearch-search): Handle all sorts of errors from regexp search. 1992-11-01 22:10:59 +00:00
Richard M. Stallman
9bbe01fb87 (Fmake_directory_internal): Renamed from Fmake_directory.
Pass nil as third arg to handler.
Lisp function `make-directory' is now in files.el.
1992-10-31 23:27:11 +00:00
Richard M. Stallman
ffc394dd58 (byte-compile-lambda):
Don't compile the interactive spec if it is a call to `list'.
1992-10-31 09:27:47 +00:00
Jim Blandy
259c5af9d8 * xterm.h (x_screen_count, x_release, x_screen_height,
x_screen_height_mm, x_screen_width, x_screen_width_mm,
	x_save_under, x_screen_planes): Declare this as ints, to match
	their definitions in xterm.c.
1992-10-31 05:43:42 +00:00
Jim Blandy
7c5283e4d7 * xterm.c (x_convert_modifiers): Declare this to return an
unsigned int, not a Lisp_Object.  Remember that the quiescent
	value for part is Qnil, not zero, that x_mouse_x and x_mouse_y
	are ints, not Lisp_Objects, and that RESULT->x and RESULT->y are
	Lisp_Objects, not ints.
	(XTread_socket): Declare this to return int, not Lisp_Object.
	When calling construct_mouse_click on a non-scrollbar click, pass
	PART as Qnil, not zero.
	(x_calc_absolute_position): Remember that x_screen_width and
	x_screen_height are ints, not Lisp_Objects.
e
1992-10-31 05:43:00 +00:00
Jim Blandy
de02ad0bc7 * xselect.c (own_selection): selection_type is an X Atom value,
not a Lisp_Object.
	(x_selection_arrival): Declare this static, and add a forward
	declaration at the top of the page.
1992-10-31 05:42:28 +00:00
Jim Blandy
a6605e5cca * xfns.c (x_decode_color, Fx_color_display_p): x_screen_planes is
an int, not a Lisp_Object.
	(x_set_mouse_color): Give separate error messages for the
	different cursors we try to set.
	(Fx_geometry): Declare STRING to be a Lisp_Object.
	(Fx_create_frame): No need to use XSET to assign NAME to f->name;
	they're both Lisp_Objects.
	(adjust_scrollbars): Use XINT to access w->hscroll.
	(Fx_open_connection): x_screen_count, x_release, x_screen_height,
	x_screen_height_mm, x_screen_width, x_screen_width_mm,
	x_save_under, and x_screen_planes are integers, not Lisp_Objects.
	(syms_of_xfns): x_mouse_x, x_mouse_y, and mouse_buffer_offset are
	integers, not Lisp_Objects.
1992-10-31 05:41:49 +00:00
Jim Blandy
ded34426d5 * xdisp.c (redisplay): Use ! EQ to compare the old and new arrow
positions, not !=.
	(mark_window_display_accurate): Barf if WINDOW isn't a window.
	(display_string): Test buffer_defaults.ctl_arrow using NILP,
	instead of comparing it with zero.

	* xdisp.c (last_arrow_position, last_arrow_string): Make these
	static.

	* xdisp.c (message): Re-write this in terms of message1.
	(message1): Move code to clear out echo_area_glyphs and
	previous_echo_glyphs from message to here.
1992-10-31 05:41:20 +00:00
Jim Blandy
77511369af * window.h (make_window, window_from_coordinates,
Fwindow_dedicated_p): Add extern declarations for these.
1992-10-31 05:40:28 +00:00
Jim Blandy
7f4161e011 * window.c (Fwindow_width, Fset_window_hscroll): Use accessors on
w->width, w->left, w->hscroll, and arguments.
	(replace_window): Use EQ, not ==.
	(Fdelete_window): p->top and p->left are not C integers.
	(Fnext_window, Fprevious_window): Use EQ, not ==.
1992-10-31 05:39:49 +00:00
Jim Blandy
213861c758 * undo.c (record_insert): Use accessors on BEG and LENGTH.
(truncate_undo_list): Use NILP, not == Qnil.
1992-10-31 05:39:17 +00:00
Jim Blandy
d084e9427f * search.c (Fstore_match_data): Don't assume Flength returns an
integer.
1992-10-31 05:38:19 +00:00
Jim Blandy
f97388409e * process.c: (status_convert): Declare this to return a
Lisp_Object at the top of the file.
	(decode_status): Don't untag XCONS (tem)->cdr before storing it in
	tem; tem is a Lisp_Object, too.
	(process_send_signal): Declare this to be static void.  Don't
	return Qnil; nobody cares.
	(sigchld_handler): Use XFASTINT to manipulate p->infd.

	* process.c (pty_process): Variable deleted; it's no longer used.
	(syms_of_process): Don't initialize it.
1992-10-31 05:27:42 +00:00
Jim Blandy
8caf6c73d7 * print.c (print): Cast the frame's address to an integer before
passing it to sprintf to form the frame's printed form.
1992-10-31 05:27:05 +00:00
Jim Blandy
fe0a572112 * minibuf.c (read_minibuf): Use EQ to compare, not ==.
(temp_echo_area_glyphs): Use XFASTINT to assign to
	unread_command_char.
1992-10-31 05:26:29 +00:00
Jim Blandy
3d9b22be4c * lread.c (read_char): Add an extern declaration for this,
indicating that it returns a Lisp_Object.
1992-10-31 05:26:04 +00:00
Jim Blandy
d20c2151e8 * lisp.h (Fdefault_boundp, make_float, Ffloat, Fnth, Fcopy_alist,
Fmake_byte_code, Fverify_visited_file_modtime, Ffile_exists_p,
	Fdirectory_file_name, Ffile_name_directory,
	expand_and_dir_to_file, Ffile_accessible_directory_p, Fbyte_code,
	Fundo_boundary, truncate_undo_list): Add extern declarations for
	these.

	* lisp.h (DEFVARLISP, DEFVARBOOL, DEFVARINT, DEFVARPERBUFFER):
	Removed these definitions; we should be using the versions whose
	names use underscores.
1992-10-31 05:25:29 +00:00
Jim Blandy
d09b20248d * keymap.c (Fdefine_key, Flookup_key, describe_map): Don't assume
that Flength returns an integer.

	* keymap.c: Deal with autoloaded keymaps properly.
        (get_keymap_1): Renamed to inner_get_keymap; made
	static.  New argument AUTOLOAD says to pursue autoloads if
	non-zero.
	(Fkeymapp, get_keymap, get_keyelt, Flookup_key): Ask get_keymap_1
	not to perform autoloads.
	(Fdefine_key): Ask get_keymap_1 to perform autoloads.  Since
	autoloading may GC, remember that we have to GCPRO our local
	variables now.
	(Fminor_mode_key_binding): Call get_keymap instead of calling
	get_keymap_1 with equivalent arguments.
1992-10-31 05:24:47 +00:00
Jim Blandy
5bb46ecf6c * keyboard.h (get_keymap_1, Fkeymapp, reorder_modifiers,
Fmouse_click_p, read_char): Add external declarations for these.
1992-10-31 05:24:03 +00:00
Jim Blandy
f4255cd148 * keyboard.c: #include dispextern.h.
(recursive_edit_unwind, command_loop, Fthis_command_keys): Declare
	these to return Lisp_Objects at the very top of the file, to avoid
	having them implicitly declared as ints.
	(echo_char): Use EQ to compare C to help_char.
	(read_char): Remember to apply XFASTINT to the return value of
	Flength before using it.  Apply XINT to c when clearing its high
	bits and meta bits, and when writing it to the dribble file.
	(read_char_menu_prompt): Use EQ to compare obj with
	menu_prompt_more_char and its control-character analog.
	(read_key_sequence): Declare PROMPT to be char *, not a
	Lisp_Object.  Use the appropriate accessors on keybuf when looking
	for ASCII function key sequences.

	* keyboard.c (echobuf): Make this 300 characters, not 100.  This
	isn't a real fix, but it's quick.

	* keyboard.c (read_char): When returning an unread switch-frame
	event, jump to reread_first to return it, rather than reread; this
	makes sure the event gets echoed (if appropriate) and goes into
	this_command_keys.

	* keyboard.c (read_key_sequence): If the key sequence starts with
	a mouse click, read the key sequence using the keymaps of the
	buffer clicked on, not the current buffer.

	* keyboard.c (unread_switch_frame): Make this static, to indicate
	that nobody outside of this file uses it.

	* keyboard.c (follow_key): Ask get_keymap_1 to perform autoloads.
	(read_key_sequence): When pursuing potential bindings in the
	function key map, ask get_keymap_1 to perform autoloading.  This
	is hardly important, but it's consistent.
1992-10-31 05:21:45 +00:00
Jim Blandy
bff19c8dd1 * frame.c: #include buffer.h. 1992-10-31 05:20:51 +00:00
Jim Blandy
f812877e01 * fns.c: #include keyboard.h.
(Fdelete): Check if Fequal returns Qnil, not zero.
1992-10-31 05:20:23 +00:00
Jim Blandy
1cee204565 * floatfns.c (Flog): Don't forget to declare the BASE argument a
Lisp_Object.

	* floatfns.c (Fexpt): Don't return the value of the XSET function
	call; that's not guaranteed to be the value assigned.
1992-10-31 05:19:58 +00:00
Jim Blandy
665d304655 * doc.c: #include keyboard.h.
* doc.c (Fsubstitute_command_keys): Ask get_keymap_1 to
	perform autoloads.  Autoloading might GC; we need to GCPRO our
	local variables now.
	(Fdocumentation, Fdocumentation_property): Autoloading in
	Fsubstitute_command_keys might GC; we need to GCPRO our
	local variables now.
1992-10-31 05:18:48 +00:00
Jim Blandy
bf34ebcf25 * dispextern.h (sit_for): Declare this extern. 1992-10-31 05:18:16 +00:00