1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-18 18:05:07 +00:00
Commit Graph

1607 Commits

Author SHA1 Message Date
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
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