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

26840 commits

Author SHA1 Message Date
Richard M. Stallman
07f15dfd8b (describe_map_tree): When inserting TITLE, mention PREFIX.
Insert newline at end, if inserted anything else.
(describe_buffer_bindings): Corresponding changes.
For minor mode maps, build up a title string,
then let describe_map_tree insert it.
1993-07-07 18:40:35 +00:00
Richard M. Stallman
e6a4a267ff (mail-rfc822-time-zone, mail-rfc822-date): New fns. 1993-07-07 17:55:55 +00:00
Richard M. Stallman
f309891747 (mail-do-fcc): Use RFC 822 style date in Resent-Date: line.
Use new `mail-rfc822-time-zone' function to simplify pinhead generation.
1993-07-07 17:55:28 +00:00
Richard M. Stallman
bcf120251a (rmail-resend): Use RFC 822 style date in Resent-Date: line. 1993-07-07 17:54:20 +00:00
Jim Blandy
50aa2f9032 * editfns.c (Fformat): Since floats occupy two elements in the
argument list passed to doprnt, we must use separate indices for
	the array of arguments passed to Fformat, and the array of
	arguments to be passed to doprnt.
1993-07-07 10:22:05 +00:00
Jim Blandy
82a82d4881 * make-dist (tempdir): Don't create lisp/forms-mode directory in
the distribution.  Those files aren't kept in their own
	subdirectory any more.
1993-07-07 09:58:18 +00:00
Roland McGrath
b3c4423b20 (cd-absolute): Use abbreviate-file-name on expansion of DIR. 1993-07-07 06:26:31 +00:00
Roland McGrath
96f4e22e39 Add (provide 'gud). 1993-07-07 05:44:53 +00:00
Roland McGrath
b4e5a3c7c4 (basic-save-buffer): Invoke after-save-hook, not after-save-hooks. 1993-07-07 05:12:29 +00:00
Roland McGrath
2fe4a905f8 (display-time-file-nonempty-p): Use file-chase-links. 1993-07-07 04:31:38 +00:00
Roland McGrath
8ccc377f96 (byte-compile-setq-default): Handle multiple pairs args like setq (as
the setq-default subr does).
1993-07-07 03:06:28 +00:00
Roland McGrath
23de57664f Doc fix. 1993-07-07 02:03:18 +00:00
David J. MacKenzie
fb3ebe6ca6 *** empty log message *** 1993-07-06 23:07:30 +00:00
Richard M. Stallman
6cd37f8f5f (rmail-variables): Compare truename as well as given name
against rmail-file-name.
1993-07-06 22:39:56 +00:00
Richard M. Stallman
056a5ef342 (Man-mode-line-format): Add a space after global-mode-string. 1993-07-06 22:07:27 +00:00
Jim Blandy
312752df3f * b2m.c: #include <sys/types.h>.
(ltoday): Declare this to be time_t.
1993-07-06 16:07:30 +00:00
Jim Blandy
15e4954b14 * textprop.c (copy_text_properties): Pass a copy of POS to
validate_interval_range; that function increments its arguments,
	which isn't what we want.

	* intervals.c (find_interval): Consistently treat POSITION as an
	actual buffer position, i.e. origin 1.  The old code seemed
	undecided on this point.  Treat the end of the buffer as being
	part of the rightmost interval.
	(adjust_intervals_for_insertion): Consistently treat POSITION as
	origin 1.
	(interval_deletion_adjustment): The exception: FROM should be
	origin zero here.  Consistently treat it as such.  Simplify code
	which shrinks and possibly deletes intervals.
	(adjust_intervals_for_deletion): Treat start as origin 1; our
	caller does.
	(set_point): Use buffer positions throughout, not a mix of buffer
	posns and origin zero posns.
	(get_local_map): Remove special case for POSITION at end of buffer;
	find_interval handles that case correctly.
	(verify_interval_modification): Remove special case for START at
	end of buffer.
	* textprop.c (validate_interval_range): End-of-buffer/string
	positions no longer need special handling.

	* textprop.c (copy_text_properties): New function, from David
	Gillespie.
	* intervals.h: Declare copy_text_properties.
	* fns.c: #include "intervals.h".
	(Fsubstring): Copy text properties to result string.
	(concat): Copy text properties to result string.
	* ymakefile (fns.o): Note that this depends on INTERVAL_SRC.
1993-07-06 14:55:20 +00:00
Jim Blandy
15e92abada * textprop.c (copy_text_properties): New function, from David
Gillespie.
	* intervals.h: Declare copy_text_properties.
	* fns.c: #include "intervals.h".
	(Fsubstring): Copy text properties to result string.
	(concat): Copy text properties to result string.
	* ymakefile (fns.o): Note that this depends on INTERVAL_SRC.
1993-07-06 14:54:28 +00:00
Jim Blandy
24e3d3bf9e * intervals.c (find_interval): Doc fixes, computation of
tree->position rearranged for clarity.

	* intervals.c (find_interval): Consistently treat POSITION as an
	actual buffer position, i.e. origin 1.  The old code seemed
	undecided on this point.  Treat the end of the buffer as being
	part of the rightmost interval.
	(adjust_intervals_for_insertion): Consistently treat POSITION as
	origin 1.
	(interval_deletion_adjustment): The exception: FROM should be
	origin zero here.  Consistently treat it as such.  Simplify code
	which shrinks and possibly deletes intervals.
	(adjust_intervals_for_deletion): Treat start as origin 1; our
	caller does.
	(set_point): Use buffer positions throughout, not a mix of buffer
	posns and origin zero posns.
	(get_local_map): Remove special case for POSITION at end of buffer;
	find_interval handles that case correctly.
	(verify_interval_modification): Remove special case for START at
	end of buffer.
	* textprop.c (validate_interval_range): End-of-buffer/string
	positions no longer need special handling.

	* intervals.c (make_new_interval): #if 0 this out.  Nobody calls it.
1993-07-06 14:53:54 +00:00
Jim Blandy
ac811a55ab * fns.c (Fsubstring, concat): Pass all six arguments to
copy_text_properties.

	* textprop.c (copy_text_properties): New function, from David
	Gillespie.
	* intervals.h: Declare copy_text_properties.
	* fns.c: #include "intervals.h".
	(Fsubstring): Copy text properties to result string.
	(concat): Copy text properties to result string.
	* ymakefile (fns.o): Note that this depends on INTERVAL_SRC.
1993-07-06 14:43:32 +00:00
Jim Blandy
30503c0bab * print.c: Get rid of extra space at the end of print syntax for
strings with intervals.
	[USE_TEXT_PROPERTIES] (print): Don't print a space before the
	interval property lists.
	[USE_TEXT_PROPERTIES] (print_interval): Print a space before this
	internal's properties, not after.
1993-07-06 07:44:36 +00:00
Jim Blandy
d902a61114 * man.el (Man-build-man-command): Don't leave a pipe symbol at the
end of the command list if Man-filter-list is nil.
	(Man-default-man-args): Don't write out assq and mapconcat.
	(Man-default-man-entry): Don't default to section 2 for C-mode.
	Call Man-default-man-args, and let people use
	Man-auto-section-alist if this is what they want.
	(manual-entry): Call Man-translate-references, instead of writing
	it out.
	(Man-getpage-in-background): Don't apply Man-default-man-args
	here; manual-entry has already run it, and
	Man-follow-manual-reference provides the sections itself.
1993-07-06 06:59:31 +00:00
Jim Blandy
9b4d86fc62 * m/pmax.h (C_SWITCH_X_MACHINE): Set this to
"-DNeedFunctionPrototypes=0", to avoid lossage in DEC X11 header
	files.
	* ymakefile (really-oldXMenu): Pass C_SWITCH_X_MACHINE to the
	oldXMenu make.
1993-07-06 06:57:49 +00:00
Jim Blandy
cf50f71757 * vc.el (vc-start-entry): Don't call file-name-nondirectory on
FILE before passing it to vc-mode-line.  Everyplace else passes
	vc-mode-line full filenames, and vc-mode-line now needs the real
	file name to decide which version-control system the file is under.
1993-07-06 06:18:50 +00:00
Jim Blandy
fc593b0589 * doc.c (Fsubstitute_command_keys): Pass all five arguments to
describe_map_tree.
1993-07-06 06:16:20 +00:00
Jim Blandy
734c51b2dd Compare the values of text properties using EQ, not Fequal.
* intervals.c (intervals_equal): Call EQ, not Fequal.
	* textprop.c (interval_has_all_properties, add_properties): Same.
1993-07-06 02:23:22 +00:00
Jim Blandy
657070acda * xfaces.c [XOS_NEEDS_TIME_H]: #undef USG while #including
<X11/Xos.h>, so that file doesn't try to define struct timeval and
	struct timezone.
1993-07-05 09:31:36 +00:00
Jim Blandy
b1e94638f6 * textprop.c (validate_interval_range): Don't increment both
*begin and *end if they point to the same thing.
	(validate_plist): Call QUIT while scanning LIST.
1993-07-05 08:13:50 +00:00
Jim Blandy
375aa801ba * intervals.c (intervals_equal): Test the return value of Fequal
against Qnil, not 0.
1993-07-05 07:57:34 +00:00
Jim Blandy
aab06933fa Fix initialization of Vdouble_click_time in syms_of_keyboard. 1993-07-05 07:45:43 +00:00
Jim Blandy
564dc952e9 * keyboard.c (Vdouble_click_time): Renamed from double_click_time,
and made a Lisp_Object instead of an int.
	(make_lispy_event): If Vdouble_click_time is t, impose no time
	limit on double-clicks.
	(syms_of_keyboard): DEFVAR_LISP (not DEFVAR_INT)
	Vdouble_click_time (not double_click_time), and adjust doc string
	to say that `nil' means no double clicks, and `t' means no time
	limit.
1993-07-05 07:18:24 +00:00
Jim Blandy
3eea8aa223 * map-ynp.el (map-y-or-n-p): If we get a switch-frame-event,
save it until we're done asking questions, and then unread it.
1993-07-05 04:50:16 +00:00
Jim Blandy
15db4e0e34 * subr.el (posn-point): Properly extract the BUFFER-POSITION field
of an event when read-key-sequence has placed it in a singleton
	list.
1993-07-05 04:33:42 +00:00
Jim Blandy
6765e5b098 * keyboard.h (EVENT_CLICK_COUNT, POSN_SCROLLBAR_PART): New
accessors.
1993-07-05 04:26:30 +00:00
Paul Eggert
a03140c851 (vc-name): Moved from vc.el; vc-rcs-status now uses it.
(vc-name, vc-backend-deduce): Set both vc-name and vc-backend
properties, to avoid calling vc-registered unnecessarily when
the other property is needed.
(vc-rcs-status): Yield only status of locks; do not try to yield " REV"
if there are no locks, since this cannot be done easily if there are
branches.  Use vc-name instead of duplicating its function incorrectly.
Fix off-by-one bug when inserting master header pieces.  Read headers
8192 bytes at a time instead of 100.  Don't bother to expand-file-name.
(vc-rcs-glean-field): Removed.
1993-07-05 03:20:12 +00:00
Paul Eggert
2bd5041b8e (vc-name): Move to vc-hooks.el. 1993-07-05 03:20:12 +00:00
Richard M. Stallman
ee1a4f843b (outline-mode-map): Add menu bar items.
(outline-minor-mode-map): Copy menu bar submap from outline-mode-map.
1993-07-04 21:44:25 +00:00
Richard M. Stallman
fca4b77513 (describe-key-briefly): Don't set `foo'. 1993-07-04 21:30:15 +00:00
Jim Blandy
41752cf1c4 * comint.el (comint-prompt-regexp): Double the backslashes in the
sample prompt regexps, so that they print properly when unquoted.
1993-07-04 21:02:21 +00:00
Jim Blandy
54a60e143a Doc fix. 1993-07-04 20:03:20 +00:00
Jim Blandy
8b7c3e3a5a * s/sunos4-1.h (LIBS_SYSTEM): Don't link against -lresolv; that's
only needed for some broken systems.
1993-07-04 20:01:21 +00:00
Richard M. Stallman
c7cba9cb35 (describe-prefix-bindings): Doc fix. 1993-07-04 18:55:54 +00:00
Paul Eggert
d64ca902f7 (vc-backend-diff): Undo "-q" change. This was fixed instead by adding
-q support to vcdiff.
1993-07-04 18:54:59 +00:00
Richard M. Stallman
61c6b658a9 (describe-prefix-bindings): New command.
(prefix-help-command): Set it.
1993-07-04 18:53:24 +00:00
Richard M. Stallman
e9b2008b9b (forms-new-record-filter): Correct default value.
(forms-modified-record-filter): Correct default value.
1993-07-04 17:56:40 +00:00
Richard M. Stallman
a836eeaf02 Added a keyword. 1993-07-04 17:56:02 +00:00
Jim Blandy
e4c37df716 *** empty log message *** 1993-07-04 17:52:52 +00:00
Jim Blandy
5e2325c935 *** empty log message *** 1993-07-04 17:41:56 +00:00
Richard M. Stallman
9f315aebf6 (Vmark_even_if_inactive): New var, with Lisp variable.
(check_mark): Use it.
1993-07-04 04:55:03 +00:00
Richard M. Stallman
b45d89b0ef (vc-mode-line): Put RCS' or SCCS' before version num. 1993-07-04 04:53:58 +00:00