1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-08 20:50:52 -08:00
Commit graph

1572 commits

Author SHA1 Message Date
Jim Blandy
35d56dcf9a * bytecomp.el: Declare unread-command-char an obsolete variable.
* vip.el (vip-escape-to-emacs, vip-prefix-arg-value,
	vip-prefix-arg-com): Use unread-command-event instead of
	unread-command-char; respect its new semantics.
	* comint.el (comint-dynamic-list-completions): Same.
1992-11-16 01:28:14 +00:00
Jim Blandy
79d52eea3e * bytecomp.el: Declare unread-command-char an obsolete variable.
* bytecomp.el: (require 'backquote).
1992-11-16 01:21:50 +00:00
Jim Blandy
2495e5f477 * ange-ftp.el (ange-ftp-repaint-buffer): Give this a non-hacky
definition using (message nil).
	(ange-ftp-read-passwd, ange-ftp-process-filter): Uncomment out the
	calls to ange-ftp-repaint-buffer.
1992-11-16 01:20:29 +00:00
Jim Blandy
8e6bef18a1 * xselect.c (Fx_get_cut_buffer): Correct check for buf_num in
range.

	* xselect.c (Fx_get_cut_buffer, Fx_set_cut_buffer): Fix error
	message format; use NUM_CUT_BUFFERS instead of literal 7.
1992-11-16 01:04:24 +00:00
Jim Blandy
b4f5687cd4 * xfns.c (unread_command_char): Change name in extern declaration
to unread_command_event.
1992-11-16 01:03:16 +00:00
Jim Blandy
253c7d2f32 * xdisp.c (display_string): Use w's buffer's value of
tab-width to display the string, instead of the current buffer's,
	which could be anything.
1992-11-16 00:58:49 +00:00
Jim Blandy
7104f9b06c * vmspaths.h: New version from Roland Roberts. 1992-11-16 00:58:28 +00:00
Jim Blandy
e6dd60805c * undo.c (Fprimitive_undo): Remove whitespace in front of #ifdef
and #endif.
1992-11-16 00:57:54 +00:00
Jim Blandy
a04c953598 * systty.h: Doc fix.
* systty.h, process.c, buffer.h, callproc.c, sysdep.c, dired.c:
	Added VMS changes from Roland Roberts.
1992-11-16 00:55:34 +00:00
Jim Blandy
986ffb2446 * systty.h, process.c, buffer.h, callproc.c, sysdep.c, dired.c:
Added VMS changes from Roland Roberts.
1992-11-16 00:54:53 +00:00
Jim Blandy
ad3bb3d260 * ralloc.c (relocate_some_blocs): Handle BLOC == NIL_BLOC.
(free_bloc): This can now be simplified.

	* ralloc.c (r_alloc_sbrk): When we allocate new space for the
	malloc heap, zero it out even if we don't have any blocs in the
	free list.
1992-11-16 00:54:08 +00:00
Jim Blandy
b0310da46a * systty.h, process.c, buffer.h, callproc.c, sysdep.c, dired.c:
Added VMS changes from Roland Roberts.

	* process.c (read_process_output): Save, widen, insert the process
	output, and then restore the restriction if inserting text outside
	the visible region.

	* process.c (Fstart_process): Establish an unwind-protect to
	remove PROC from the process list if an error occurs while
	starting it.
	(start_process_unwind): New function to help with that.
	(create_process): There's no need to explicitly call
	remove_process if the fork fails; the record_unwind_protect in
	Fstart_process will take care of it.

	* process.c (wait_reading_process_input): Test the C preprocessor
	symbol "ultrix", not "__ultrix__" to see if we should ignore
	ENOMEM errors from select.

	* process.c (process_send_signal): On systems which have both
	the TIOCGETC and TCGETA ioctls, just use the former.

	* s/bsd4-2.h, s/bsd4-3.h: #define SIGNALS_VIA_CHARACTERS.
	* process.c (process_send_signal): Put all the code for sending
	signals via characters in a #ifdef SIGNALS_VIA_CHARACTERS.  Decide
	whether to use the Berkeley-style or SYSV-style ioctls by seeing
	which ioctl commands are #defined.

	* process.c (process_send_signal): Doc fix.
1992-11-16 00:53:26 +00:00
Jim Blandy
64a3a3c0b4 * minibuf.c (temp_echo_area_glyphs): Change reference to
unread_command_char to unread_command_event.

	* minibuf.c (read_minibuf): If get_minibuffer gives the
	new minibuffer a nil default directory, find another buffer with a
	better default directory and use that one's instead.
1992-11-16 00:46:19 +00:00
Jim Blandy
2705099422 * mem-limits.h [DATA_SEG_BITS] (EXCEEDS_LISP_PTR): Remember to
remove DATA_SEG_BITS from the pointer before testing if the
	pointer fits in VALBITS.
1992-11-16 00:45:34 +00:00
Jim Blandy
e37c080581 * lread.c: #include "keyboard.h".
(Fread_char, Fread_char_exclusive): Don't signal an
	error for or throw away switch-frame events; instead, put them off
	until after we've found a character we can respond to.

	Rename unread_command_char to unread_command_event; it has
	subtly different semantics now, and we should use
	`make-obsolete-variable' to warn people.
	* lread.c (Fread_char): Change reference.
1992-11-16 00:45:02 +00:00
Jim Blandy
8f805655d5 * keyboard.c (unread_switch_frame): Don't declare this static.
* keyboard.c (Vlast_event_frame): Doc fix.

	* keyboard.c (read_char): Write composite events to the dribble
	file properly.

	* keyboard.c (init_keyboard): Initialize Vlast_event_frame to
	Qnil, rather than the selected frame.

	* keyboard.c (lispy_modifier_list): Added sanity check before
	indexing into modifier_symbols.

	* keyboard.c (add_command_key): When copying the contents of the
	old this_command_keys to new_keys, remember to multiply size by
	sizeof (Lisp_Object) to get the amount we really need to copy.

	Rename unread_command_char to unread_command_event; it has
	subtly different semantics now, and we should use
	`make-obsolete-variable' to warn people.
	* keyboard.c (unread_command_char): Rename.
	(command_loop_1, read_char, Finput_pending, Fdiscard_input,
	quit_throw_to_read_char, init_keyboard, syms_of_keyboard): Change
	references.

	* keyboard.c (read_key_sequence): Don't use
	save_excursion_{save,restore} to protect the caller against buffer
	switches; use Fset_buffer and Fcurrent_buffer; redisplay might
	change point, and we don't want to undo that.

	* keyboard.c (kbd_buffer_get_event): When checking a mouse
	movement for a frame switch, don't assume Vlast_event_frame
	contains a Lisp_Frame object.
1992-11-16 00:44:13 +00:00
Jim Blandy
c77d647ec8 * fileio.c (Fexpand_file_name): Don't fiddle with "/." if it's the
entire string.
1992-11-16 00:42:52 +00:00
Jim Blandy
b5c685f402 * dispnew.c [not MULTI_FRAME] (Fredraw_display): Pass the correct
number of arguments to mark_window_display_accurate.

	* dispnew.c (safe_bcopy): Use the right terminating condition in
	the loop which uses multiple bcopy calls to transfer a block to an
	overlapping higher block.
1992-11-16 00:42:24 +00:00
Jim Blandy
ef733244bb * commands.h (unread_command_event): Doc fix.
* commands.h (unread_switch_frame): Declare this extern.
1992-11-16 00:41:30 +00:00
Jim Blandy
a56118855c * buffer.c (Ferase_buffer): Doc fix.
* buffer.c (Fbury_buffer): Make this behave as in 18.59, although
that behavior is very odd - only remove the buffer from the
selected window if BUFFER was nil or omitted.
1992-11-16 00:33:17 +00:00
Jim Blandy
82d3f7435f * Makefile.in (doxemacs, dotemacs): Explicitly pass along the CC
variable in these rules, just as in the `doall' rule.
1992-11-16 00:32:56 +00:00
Jim Blandy
edaf4ff544 * s/sol2.h (LD_SWITCH_SYSTEM): Add -R option. 1992-11-16 00:31:04 +00:00
Jim Blandy
4968c1026f * s/bsd4-2.h, s/bsd4-3.h: #define SIGNALS_VIA_CHARACTERS.
* process.c (process_send_signal): Put all the code for sending
	signals via characters in a #ifdef SIGNALS_VIA_CHARACTERS.  Decide
	whether to use the Berkeley-style or SYSV-style ioctls by seeing
	which ioctl commands are #defined.
1992-11-16 00:30:10 +00:00
Jim Blandy
dc9d84de6a * m/pmax.h: Don't define SYSTEM_MALLOC; this was only necessary
for Ultrix version 4.1, and the current version is 4.3.
1992-11-16 00:27:51 +00:00
Jim Blandy
8a8fa7233d * simple.el (comment-column): Doc fix.
* bytecomp.el: Declare unread-command-char an obsolete variable.
	* vip.el (vip-escape-to-emacs, vip-prefix-arg-value,
	vip-prefix-arg-com): Use unread-command-event instead of
	unread-command-char; respect its new semantics.
	* simula.el (simula-electric-label): Same.
	* comint.el (comint-dynamic-list-completions): Same.
	* ebuff-menu.el (electric-buffer-list, Electric-buffer-menu-exit):
	Same.
	* ehelp.el (electric-help-command-loop): Same.
	* electric.el (Electric-command-loop): Same.
	* emerge.el (emerge-show-file-name): Same.
	* fortran.el (fortran-abbrev-start, fortran-window-create-momentarily):
	Same.
	* gnus.el (gnus-Subject-next-article): Same.
	* info.el (Info-summary): Same.
	* isearch-mode.el (isearch-update, isearch-unread): Same.
	* map-ynp.el (map-y-or-n-p): Same.
	* mlsupport.el (push-back-character): Same.
	* replace.el (perform-replace): Same.
	* simple.el (prefix-arg-internal): Same.
	* subr.el (read-quoted-char, momentary-string-display): Same.
	* sun-mouse.el (mouse-second-hit): Same.
	* terminal.el (te-escape-extended-command-unread): Same.
1992-11-15 23:57:39 +00:00
Jim Blandy
64d8c7fb28 *** empty log message *** 1992-11-15 23:44:05 +00:00
Jim Blandy
d074788d47 *** empty log message *** 1992-11-15 10:30:58 +00:00
Jim Blandy
c9874e0423 Sat Nov 7 15:11:39 1992 Jim Blandy (jimb@wookumz.gnu.ai.mit.edu)
* make-dist: Don't forget that the way to avoid filenames starting
	with `=' is to use the pattern `[a-zA-Z0-9]*.h', not
	`[a-zA-Z0-9].h'.  Add a new section for dealing with files that we
	couldn't make hard links to, since we have two already, and
	perhaps more to come.
1992-11-10 23:12:23 +00:00
Christopher Zaborsky
1433a22243 Doc fix. 1992-11-10 20:01:10 +00:00
Christopher Zaborsky
d367fa7149 Dox fix. 1992-11-10 19:51:29 +00:00
Richard M. Stallman
13b705c88d (vc-cancel-version): Use yes-or-no-p. 1992-11-08 18:58:17 +00:00
Jim Blandy
1dce54a11a * make-dist: Don't forget that the way to avoid filenames starting
with `=' is to use the pattern `[a-zA-Z0-9]*.h', not
	`[a-zA-Z0-9].h'.  Add a new section for dealing with files that we
	couldn't make hard links to, since we have two already, and
	perhaps more to come.
1992-11-07 20:36:45 +00:00
Jim Blandy
43bf8b0ee3 * Makefile.in (getdate.o): Added explicit target for this, so we
can indicate that it depends on ../src/config.h.

	* Makefile.in (CONFIG_CFLAGS): Let the configure script edit this
	instead of CFLAGS.
	(CFLAGS): Add -Demacs and -I../src to CONFIG_CFLAGS to produce this.
1992-11-07 07:39:11 +00:00
Jim Blandy
ad85424916 * window.c (Fset_window_configuration): Protect call to
Fselect_frame with a #ifdef MULTI_FRAME.
	[not MULTI_FRAME] (Fcurrent_window_configuration): Don't bother
	setting the window configuration's selected_frame member.
1992-11-07 07:37:42 +00:00
Jim Blandy
92ce5d32cd * systime.h [USG] (EMACS_GET_TZ_OFFSET): Assign to *(offset), not
(offset).  Don't forget the while corresponding to the do.
	Include USG in the list of systems that have a tzname array.
1992-11-07 07:37:08 +00:00
Jim Blandy
2507ce20cd * sysdep.c (init_baud_rate) [HAVE_TERMIO, not HAVE_TCATTR]: Use
TCGETA, not TIOCGETP.
1992-11-07 07:36:36 +00:00
Jim Blandy
7d79e3b431 * process.c [SYSV]: Don't include <termios.h>, <termio.h>, or
<fcntl.h>.
	(process_send_signal): Don't try to send SIGTSTP
	unless SIGTSTP is defined.
1992-11-07 07:36:10 +00:00
Jim Blandy
33b1baf632 * minibuf.c (read_minibuf): Protect call to Fredirect_frame_focus
with a #ifdef MULTI_FRAME.
1992-11-07 07:35:49 +00:00
Jim Blandy
f1b76ec09b * lisp.h [not MULTI_FRAME]: Don't declare the Lisp_Frame tag. 1992-11-07 07:35:20 +00:00
Jim Blandy
8e4dfd5403 * keymap.c (get_keymap_1): Don't try to autoload OBJECT's function
unless the autoload form indicates that it's a keymap.
1992-11-07 07:34:58 +00:00
Jim Blandy
07d2b8de62 * keyboard.c (read_key_sequence): Removed the
replay_sequence_new_buffer label; replay_sequence should be here
	instead.

	* keyboard.c (Vlast_event_frame): Arrange for this to exist iff
	MULTI_FRAME is defined.
	[not MULTI_FRAME] (syms_of_keyboard): Don't DEFVAR Vlast_event_frame.
	[not MULTI_FRAME] (read_char): Don't try to set Vlast_event_frame.
	[not MULTI_FRAME] (kbd_buffer_store_event): Don't try to set
	Vlast_event_frame for quit characters.
	[not MULTI_FRAME] (kbd_buffer_get_event): Don't try to generate
	switch-frame events.
1992-11-07 07:07:16 +00:00
Jim Blandy
ee9ee63cfa * eval.c (Fautoload): Renamed fifth argument TYPE. Document the
fact that (eq TYPE 'keymap) means FUNCTION will become a keymap
	when loaded.
	(Fmacroexpand): Instead of assuming that every autoload
	form with a fifth element is a macro, actually check the fifth
	element against t and `macro', which are the only values which
	denote macroness.
1992-11-07 07:00:37 +00:00
Jim Blandy
2381d13338 * buffer.c (init_buffer): If PWD is accurate, use it instead of
calling getwd.
	#include <sys/types.h> and <sys/stat.h>, for the call to stat.
1992-11-07 07:00:04 +00:00
Jim Blandy
d0f7e1511e * alloc.c: #include "frame.h" unconditionally. frame.h does the
right thing when MULTI_FRAME isn't defined.
1992-11-07 06:59:38 +00:00
Jim Blandy
43a904c120 * Makefile.in: Rearrange dependencies to make sure that xmakefile
is built before we try to use it, even using a parallel make.
1992-11-07 06:59:14 +00:00
Jim Blandy
2e0e5cb7e5 * make-dist: Don't distribute files in src/m and src/s whose names
begin with `='.
1992-11-07 06:34:20 +00:00
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