1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-17 16:41:17 -08:00
Commit graph

26840 commits

Author SHA1 Message Date
Richard M. Stallman
230aaa738f (mouse-secondary-save-then-kill): Don't switch windows.
Just set-buffer, and put save-excursion around it.
(mouse-set-secondary, mouse-start-secondary): Likewise.
(mouse-drag-secondary): Switch windows and move point just temporarily.
1993-06-18 17:59:02 +00:00
Jim Blandy
50f747444d * dired.el (dired-summary): dired-do-rename is on "R", not "r". 1993-06-18 17:55:42 +00:00
Jim Blandy
0505a74033 * xfns.c: Always #include "bitmaps/gray.xbm"; the bitmaps seem to
be missing on some systems, and there's no point in having
	configure check; it should work fine to always use our copy.
1993-06-18 16:33:12 +00:00
Jim Blandy
564d75ed21 * configure.in: Only check for -lXbsd once. 1993-06-18 15:59:49 +00:00
Jim Blandy
40166bf181 Typo. 1993-06-18 15:48:31 +00:00
Jim Blandy
0dc610dd35 * make-dist: If using gzip, create distribution with '.gz' extension.
* make-dist (lisp/term): This doesn't have a ChangeLog anymore.
	(lisp/forms-mode): This doesn't exist anymore.
1993-06-18 00:50:11 +00:00
Jim Blandy
3e1fc5a7eb * make-dist (lisp/term): This doesn't have a ChangeLog anymore. 1993-06-18 00:05:16 +00:00
Richard M. Stallman
015c5c5582 (mail-citation-hook): New hook var.
(mail-yank-original): Use that hook if not nil.
1993-06-17 23:44:04 +00:00
Richard M. Stallman
13b68be55f Change usage comment. 1993-06-17 23:41:18 +00:00
Jim Blandy
1319549a9a * m/iris4d.h (LIB_STANDARD): Do *not* include -lbsd. We are
now calling the BSD[sg]etpgrp functions directly, so this library
	is not needed; it just provides the BSD[sg]etpgrp functions under
	the [sg]etpgrp names.
	* callproc.c [IRIX] (child_setup): Don't call setpgrp this time.
	It's already been called up in Fcall_process, and create_process.
1993-06-17 23:25:37 +00:00
Jim Blandy
586388410a * faces.el (make-face-bold, make-face-italic,
make-face-bold-italic, make-face-unbold, make-face-unitalic):
	Always pass the frame parameter to internal-try-face-font; we only
	want to set the face for this frame.

	* faces.el (make-face-bold, make-face-italic,
	make-face-bold-italic, make-face-unbold, make-face-unitalic):
	Fix error messages.
1993-06-17 22:59:49 +00:00
Richard M. Stallman
f0b9055ffa (set-face-background-pixmap, face-background-pixmap): Functions commented out. 1993-06-17 22:07:26 +00:00
Jim Blandy
582080c149 * xfaces.c (compute_base_face): Initialize the face's stipple.
Although we don't use this feature now, face_eql notices it.

	* xfaces.c (compute_base_face): Set cached_index to an invalid
	index, to avoid an unnecessary comparison.
1993-06-17 22:03:40 +00:00
Jim Blandy
b5aaed99d0 * callproc.c (Fcall_process, child_setup): If IRIX is #defined,
call setpgrp with arguments, even if USG is #defined.
	* process.c [IRIX] (create_process): Don't call setpgrp before
	opening the pty.  Call it after doing the TIOCNOTTY ioctl.
1993-06-17 22:03:06 +00:00
Jim Blandy
cca310dacf * keyboard.c (read_key_sequence): Don't confuse mock input with
function-key-map expansion, and continue reading mock events when
	the current sequence is unbound.

	* keyboard.c (read_key_sequence): After providing a prefix symbol
	for a mouse event, modify the mouse event to indicate that that
	won't need to be done again, by putting the event's position
	symbol in a list.

	* keyboard.c (read_key_sequence): When returning mock input which
	has run off the end of the current maps, make sure the events get
	echoed, and make it into this-command-keys.

	* keyboard.c (read_key_sequence): When re-reading a previously
	read mouse click which requires a prefix symbol, make sure to set
	last_real_key_start appropriately, so we can properly drop
	button-down events.
1993-06-17 21:23:29 +00:00
Richard M. Stallman
e66feb07ed (mouse-start-secondary): New function.
(mouse-set-secondary, mouse-drag-secondary): New functions.
(mouse-kill-secondary, mouse-secondary-save-then-kill): New functions.
1993-06-17 18:17:32 +00:00
Richard M. Stallman
1bf41cb0af entered into RCS 1993-06-17 07:31:16 +00:00
Richard M. Stallman
0907bf08cb Comment changes for renaming from c++-mode.el to cplus-md.el. 1993-06-17 07:03:08 +00:00
Richard M. Stallman
c751663136 (generate-file-autoloads): Undo previous change
because make-docfile requires defvar doc string to start on first line.
1993-06-17 06:59:49 +00:00
Richard M. Stallman
590cc44988 (vc-rename-file): Remove periods from error messages.
(vc-backend-logentry-check, vc-revert-buffer): Likewise.
(vc-retrieve-snapshot, vc-create-snapshot): Likewise.
(vc-diff, vc-finish-logentry, vc-steal-lock): Likewise.
(vc-register, vc-next-action-on-file, vc-registration-error): Likewise.
(vc-cancel-version): Add space to end of question.
1993-06-17 05:08:23 +00:00
Jim Blandy
1bc981d2b5 Don't let the 'B' interactive spec default to buffers viewed in
any visible frame.
	* buffer.c (Fother_buffer): Pass Qt as the second argument
	to Fget_buffer_window.
	* window.c (window_loop): In GET_BUFFER_WINDOW case, ignore
	non-visible frames.
	(Fget_buffer_window): Change doc string to mention that passing Qt
	for the FRAME argument returns windows on visible frames only.
	(Qvisible): Removed.
1993-06-17 05:06:36 +00:00
Jim Blandy
db732e5a3d Don't let the 'B' interactive spec default to buffers viewed in
any visible frame.
	* buffer.c (Fother_buffer): Pass Qt as the second argument
	to Fget_buffer_window.
	* window.c (window_loop): In GET_BUFFER_WINDOW case, ignore
	non-visible frames.
	(Fget_buffer_window): Change doc string to mention that passing Qt
	for the FRAME argument returns windows on visible frames only.
1993-06-17 05:05:53 +00:00
Jim Blandy
856a73b38b Changes for correct pgrp behavior; approach suggested by Bob
Glickstein <bobg@zindigo.z-code.com>:
	* m/iris4d.h (LIB_STANDARD): Do list -lbsd here.
	* s/irix4-0.h (getpgrp, setpgrp): #define these to call BSDgetpgrp
	and BSDsetpgrp.
	(GETPGRP_NO_ARG): Don't #define this.
	* emacs.c (main): Don't test GETPGRP_NO_ARG.
	* sysdep.c (sys_suspend): Don't test GETPGRP_NO_ARG.
1993-06-17 05:04:57 +00:00
Jim Blandy
afd0d2375a Remove decl for Qvisible. 1993-06-17 05:03:45 +00:00
Jim Blandy
07f76a1466 * keyboard.c (read_key_sequence): If we add events to a key
sequence that didn't come from the input stream (e.g. `mode-line'
	prefixing a mouse click, or an expansion from function-key-map),
	and end up with a sequence that runs off the end of the current
	maps, return the entire key sequence, not just the initial portion
	which was bound or unbound.
1993-06-17 04:59:35 +00:00
Jim Blandy
5925bf38e1 * config.h.in (HAVE_CLOSEDIR): Add an #undef for autoconf to
change.
	* sysdep.c (closedir): Only define this if autoconf can't find
	HAVE_CLOSEDIR.  If we're running under solaris (defined (sun) &&
	defined (USG5_4)), then don't free the buffer separately.
1993-06-17 04:59:01 +00:00
Jim Blandy
65aa44ac9b Changes for correct pgrp behavior; approach suggested by Bob
Glickstein <bobg@zindigo.z-code.com>:
	* m/iris4d.h (LIB_STANDARD): Do list -lbsd here.
	* s/irix4-0.h (getpgrp, setpgrp): #define these to call BSDgetpgrp
	and BSDsetpgrp.
	(GETPGRP_NO_ARG): Don't #define this.
	* emacs.c (main): Don't test GETPGRP_NO_ARG.
	* sysdep.c (sys_suspend): Don't test GETPGRP_NO_ARG.

	* config.h.in (HAVE_CLOSEDIR): Add an #undef for autoconf to
	change.
	* sysdep.c (closedir): Only define this if autoconf can't find
	HAVE_CLOSEDIR.  If we're running under solaris (defined (sun) &&
	defined (USG5_4)), then don't free the buffer separately.
1993-06-17 04:58:27 +00:00
Jim Blandy
22288fe16c * configure.in: Look for the closedir function. 1993-06-17 04:57:09 +00:00
Richard M. Stallman
2877eac209 (mouse-menu-choose-yank): New function. Put it in the edit menu.
(yank-menu-length): New variable.
1993-06-17 04:17:21 +00:00
Richard M. Stallman
8f9dc2ed1c (scan_lists, Fforward_comment): #if 0 the code
to treat two-character comment enders with a special shortcut.

(scan_sexps_forward): Set state.comstart to before the
comment starter, not after.
1993-06-17 04:09:15 +00:00
Jim Blandy
2ad18bfd26 * lisp.h (CHECK_LIST, CHECK_STRING, CHECK_CONS, CHECK_SYMBOL,
CHECK_VECTOR, CHECK_BUFFER, CHECK_WINDOW, CHECK_LIVE_WINDOW,
	CHECK_PROCESS, CHECK_NUMBER, CHECK_NATNUM, CHECK_MARKER,
	CHECK_NUMBER_COERCE_MARKER, CHECK_FLOAT, CHECK_NUMBER_OR_FLOAT,
	CHECK_NUMBER_OR_FLOAT_COERCE_MARKER, CHECK_OVERLAY): Wrap a do
	... while (0) around these compound statements to make them
	syntactically equivalent to a single statement.
1993-06-17 02:59:54 +00:00
Jim Blandy
0268f19b00 * Makefile.in: Remember, spaces are not tabs. 1993-06-17 02:59:21 +00:00
Jim Blandy
b73fe83930 * configure.in (CPP): Autoconf sets this to a shell variable
reference, which doesn't work when it's edited into a makefile.
	Expand that variable reference.
1993-06-17 02:55:11 +00:00
Jim Blandy
804962796c * Makefile.in (src/Makefile): Don't bother exiting single quotes
and entering double quotes to get the values of LD_SWITCH_X_SITE
	and the other make variables; make substitutes them in anyway.
1993-06-17 02:54:43 +00:00
Jim Blandy
cc2f3b6482 * ls-lisp.el (insert-directory): If no handler, convert SWITCHES
from a string to a list of characters.
1993-06-17 02:53:14 +00:00
Jim Blandy
7eb9ba4137 * xdisp.c (redisplay_window): No need to subtract one from start
before passing it to the set_vertical_scroll_bar_hook.
1993-06-17 02:41:40 +00:00
Jim Blandy
7fded6909e * fileio.c (Finsert_file_contents): Two new args, BEG and END. 1993-06-17 02:28:19 +00:00
Jim Blandy
44257b1a3d * Makefile.in (uninstall): Don't remove the lisp and etc
directories if they're in the source tree.
1993-06-17 00:50:19 +00:00
Jim Blandy
75d8f6686c Don't let the 'B' interactive spec default to buffers viewed in
any visible frame.
	* buffer.c (Fother_buffer): Pass Qvisible as the second argument
	to Fget_buffer_window.
	* window.c (Qvisible): New symbol.
	(window_loop): In GET_BUFFER_WINDOW case, if frames is Qvisible,
	ignore non-visible frames.
	(Fget_buffer_window): Expand doc string to mention that Qvisible
	is an interesting value for FRAME argument.
	(syms_of_window): Init and staticpro Qvisible.
	* lisp.h (Qvisible): New declaration.
1993-06-17 00:39:37 +00:00
Jim Blandy
2b0f4ba538 * subr.el (event-basic-type): Deal with listy events properly. 1993-06-17 00:16:29 +00:00
Jim Blandy
a84281e724 * Makefile.in (CPP): New variable, set by the top-level Makefile. 1993-06-16 23:50:05 +00:00
Jim Blandy
e1c9dcf883 Changes for correct pgrp behavior from Bob Glickstein
<bobg@zindigo.z-code.com>:
	* m/iris4d.h (LIB_STANDARD): Do include -lbsd here.
	* s/irix4-0.h (USE_IRIX_BSDPGRP): #define this.
	(GETPGRP_NO_ARG): Don't #define this.
	* callproc.c [USE_IRIX_BSDPGRP] (Fcall_process): Call BSDsetpgrp
	instead of plain setpgrp.
	[USE_IRIX_BSDPGRP] (child_setup): Same.
	* emacs.c [GETPGRP_NO_ARG] (main, shut_down_emacs): CPP clauses
	deleted; this flag isn't needed anymore.
	[USE_IRIX_BSDPGRP] (main, shut_down_emacs): Call BSDsetpgrp and
	BSDgetpgrp instead of plain setpgrp and getpgrp.
	* process.c [USE_IRIX_BSDPGRP] (create_process): Don't call
	setpgrp before opening the tty.  Call BSDsetpgrp instead of
	setpgrp, after opening the tty.
	* sysdep.c [USE_IRIX_BSDPGRP] (sys_suspend,
	narrow_foreground_group, widen_foreground_group): Call BSDgetpgrp
	and BSDsetpgrp instead of getpgrp and setpgrp.
1993-06-16 23:49:54 +00:00
Jim Blandy
39b649dd44 Bring mumbleclean targets into conformance with GNU coding standards.
* Makefile.in (distclean): Call clean to do most of the work.
	Delete aixcc.c and TAGS.
	(realclean): Just call distclean.
1993-06-16 23:49:07 +00:00
Jim Blandy
d4acf74f7e * Makefile.in (CPP): New variable.
(src/Makefile): Edit CPP into src/Makefile.

        Bring mumbleclean targets into conformance with GNU coding standards.
	* Makefile.in (mostlyclean, clean): Separate these two; just have
	them pass the request to the subdirectory makefiles.
	(distclean): Pass the request down, and then get rid of the
	files configure built, and get rid of the Makefiles.
	(realclean): Pass the request down, and then do the same things
	distclean does.
	(uninstall, info, dvi): New targets.
1993-06-16 23:46:17 +00:00
Jim Blandy
e2fe2f5238 *solar.el (solar-setup, solar-ephemeris-time, sunrise-sunset): Change
Universal Time (UT) to Coordinated Universal Time (UTC).
        (solar-time-string): Use calendar-daylight-time-offset instead of
        1 hr, and use calendar-daylight-savings-switchover-time instead of
        midnight.  Add an optional parameter to allow forcing the use of
        standard or daylight savings time.  Fix code so it works in
        southern hemisphere (start of dst precedes end of dst in a
        calendar year) and when dst either starts or ends in a calendar
        year, but not both.
1993-06-16 23:12:21 +00:00
Jim Blandy
23195d9408 * calendar.el (calendar-current-time-zone): Change variable names
to make them more readable.
        (calendar-time-zone, calendar-standard-time-zone-name,
        calendar-daylight-time-zone-name, calendar-daylight-savings-ends,
        calendar-daylight-savings-starts): Don't autload them.

        * calendar.el (calendar-holidays): Quote it to delay evaluation
        until it's needed.
1993-06-16 23:10:55 +00:00
Roland McGrath
327ab40d47 (make-autoload): Use memq once instead eq twice.
(generate-file-autoloads): For non-autoloads, copy the defn textually
rather than printing it after reading.
1993-06-16 23:06:58 +00:00
Roland McGrath
83ea6fc2b1 (Finsert_buffer_substring): Doc fix. 1993-06-16 22:37:24 +00:00
Jim Blandy
bbe6a8e991 (LIBS_SYSTEM): Don't attempt to #define this if we already have a
definition of LIB_SYSTEM from s/usg5-4.h.
1993-06-16 22:09:24 +00:00
Roland McGrath
d08589bfd1 (generate-autoload-cookie, update-autoloads-here): Doc fixes. 1993-06-16 22:08:23 +00:00