1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-31 09:20:54 -08:00
Commit graph

2084 commits

Author SHA1 Message Date
Jim Blandy
d6717cdb6d * dired.c (NAMLEN): Never use d_nameln to get the length of the
directory entry's name; it is used inconsistently.  Always call
	strlen instead.
1993-03-11 07:11:34 +00:00
Jim Blandy
5447018c7b * s/usg5-4.h: Changes from Eric Raymond:
If we're doing ordinary linking, define LIB_STANDARD appropriately.
	Give LIBS_DEBUG a null definition; usg5-4 has no -lg.
	#define LIBS_STANDARD as "-lc"; usg5-4 has no -lPW.
	#define NSIG, if it's not already defined.
	#define HAVE_TERMIOS instead of HAVE_TCATTR.
	Provide our own definition of LIB_X11_LIB.
1993-03-11 07:11:06 +00:00
Jim Blandy
aee87fc432 * s/usg5-3.h (LIBX11_SYSTEM): Eric Raymond says the libraries here
were slightly wrong.
1993-03-11 07:10:34 +00:00
Jim Blandy
00b1a5fb22 * m/template.h, s/template.h: Mention that `etc/MACHINES' and
`configure' should be updated whenever support for a configuration
	is added or improved.
1993-03-11 07:10:06 +00:00
Jim Blandy
399c3df8eb * m/intel386.h (LIB_STANDARD): If USG5_4 is #defined, there's no
need to include `-lPW'; that has been merged with `-lc'.
1993-03-11 07:08:47 +00:00
Jim Blandy
7caa87fe89 * sun-mouse.el (suspend-emacstool): Run suspend-hooks, not
suspend-hook.
1993-03-11 07:07:43 +00:00
Jim Blandy
0964e5628e * simple.el (kill-ring-save): Doc fix. 1993-03-11 07:07:17 +00:00
Jim Blandy
ffb34e78e7 * resume.el: Doc fix. 1993-03-11 07:06:01 +00:00
Jim Blandy
9dfcfbc914 * simple.el (yank, yank-pop): Always return nil; don't rely on
exchange-point-and-mark to return nil.
	* fill.el (justify-current-line): Return nil, to be sure to
	conform with documentation.
1993-03-11 07:05:23 +00:00
Jim Blandy
b411d947d8 * files.el (basic-save-buffer): If file-precious-flag is set, and
we write the buffer to a temp file and then rename it, don't
	neglect to set the new file's modes properly.
1993-03-11 07:04:44 +00:00
Jim Blandy
ae39e6673d * calendar.el (hebrew-calendar-yahrzeit): Change reference to
nonexistent function last-month-of-hebrew-year to the correct
        function hebrew-calendar-last-month-of-year.
1993-03-11 07:03:57 +00:00
Jim Blandy
63f7638538 * cal-mayan.el (calendar-mayan-haab-on-or-before,
calendar-mayan-tzolkin-on-or-before): Change `mod' to `%'.

	* cal-mayan.el (calendar-next-tzolkin-date): Delete bogus second
	defun.
1993-03-11 07:03:17 +00:00
Richard M. Stallman
a055a1cd6e (command-line-1): Fix copyright year. 1993-03-11 07:02:13 +00:00
Jim Blandy
be8320a764 * bytecomp.el: Declare suspend-hook to be an obsolete variable. 1993-03-11 07:02:11 +00:00
Jim Blandy
51420cc7c2 * term/x-win.el: Disable suspending under X windows by setting
suspend-hooks, not suspend-hook.  The latter is an obsolete name.
	Use add-hook instead of setting suspend-hooks directly.
1993-03-11 07:01:17 +00:00
Jim Blandy
b183949171 * timer.c (main): Set the ownership of the stdin file descriptor
to the current process.  Print error messages if either of the
	fcntl's fails.

	* timer.c (sigcatch): Declare this to return SIGTYPE (defined in
	../src/config.h), not void.
1993-03-11 07:00:12 +00:00
Jim Blandy
5d13f393f9 * b2m.c (main): Don't exit upon reading a blank line. 1993-03-11 06:59:53 +00:00
Jim Blandy
3647c1717f * configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
* configure: When processing the name of the configure script,
	collapse `././' to `./', but leave a single `./' prefix alone.

	* configure: Doc fix.

	* configure: Handle isc3.0 correctly.
1993-03-11 06:58:58 +00:00
Jim Blandy
2009907027 * Makefile.in (install.sysv): Add a second `$' in front of
`${dest}', so that the shell will expand it, instead of Make.
1993-03-11 06:58:20 +00:00
Jim Blandy
b833a2805d entered into RCS 1993-03-11 06:18:56 +00:00
Jim Blandy
0f7a8fee2b * keyboard.c (command_loop_1): Adjust to the fact that display
tables are now vectors of vectors, not vectors of strings.
1993-03-11 03:49:34 +00:00
Richard M. Stallman
3fd5d5626e (function-key-map): Map key symbols backspace, return... into ASCII chars.
Likewise their Meta versions.
Also add `ascii-character' properties.
1993-03-10 06:31:49 +00:00
Richard M. Stallman
2182d45996 Define HAVE_TCATTR based on HAVE_TERMIOS earlier.
(struct emacs_tty): Separate the struct decl
from the EMACS_..._TTY... macro definitions.
Use HAVE_TCATTR to decide whether to use `struct termios'.
1993-03-10 05:34:06 +00:00
Richard M. Stallman
4b6baf5f45 (FLOAT_CHECK_ERRNO): Define unless NO_FLOAT_CHECK_ERRNO.
Changes from Lucid:
(HAVE_MATHERR, FLOAT_CHECK_ERRNO, FLOAT_CATCH_SIGILL): New parm macros.
(FLOAT_CHECK_DOMAIN, HAVE_RINT): New parm macros.
(HAVE_INVERSE_HYPERBOLIC, HAVE_CBRT): New parm macros.
[!HAVE_RINT]: Define rint as macro.
(IN_FLOAT): Major rewrite; several alternate versions.
(IN_FLOAT2): New macro.
(arith_error, range_error, domain_error, domain_error2): New macros.
(Facos, Fasin, Fatan, Fcos, Fsin, Ftan, Fexp, Fexpt, Flog): Changed.
(Flog10, Fsqrt, Fabs, Ffloat, Flogb): Changed.
(Ffloor, Fceiling, Fround, Ftruncate): Changed.
(Fcube_root): Renamed from Fcbrt.
(matherr): New function.
(float_error): Only if FLOAT_CATCH_SIGILL.
1993-03-10 05:33:40 +00:00
Richard M. Stallman
0b8fc2d451 (Fdefine_key): Use proper meta-bit to clear.
(access_keymap): Handle ints beyond the ASCII range.
(store_in_keymap): Likewise.
(Faccessible_keymaps): Use meta_modifier.
Use vectors for the key sequences.
(Fwhere_is_internal): Use meta_modifier.
(append_key): Always return a vector.
1993-03-10 05:24:42 +00:00
Richard M. Stallman
6315e7617b (syms_of_data) [LISP_FLOAT_TYPE]: Define new error conditions:
Qarith_error, Qrange_error, Qdomain_error,
Qsingularity_error, Qoverflow_error, Qunderflow_error.
1993-03-10 05:14:04 +00:00
Richard M. Stallman
f5313ed94c (Fy_or_n_p): Use query-replace-map. 1993-03-10 05:13:24 +00:00
Richard M. Stallman
5cae0ec66c (set_point): Check invisibility of following character, not previous character.
(textget): Handle categories.
(get_local_map): New function.
(verify_interval_modification): Call textget correctly.
1993-03-10 05:12:42 +00:00
Jim Blandy
330fba95d2 *** empty log message *** 1993-03-09 23:40:36 +00:00
Jim Blandy
92e30bc5e0 Initial revision 1993-03-09 23:02:46 +00:00
Eric S. Raymond
00b3f57b23 Fix typo. 1993-03-09 23:02:40 +00:00
Richard M. Stallman
16ad0a7100 (run-at-time): Allow an integer as TIME.
(cancel-timer): New function.
1993-03-09 22:57:25 +00:00
Eric S. Raymond
3234e2a32f Version 5 baseline. 1993-03-09 22:56:29 +00:00
Richard M. Stallman
17f0e88a1b (c-beginning-of-statement): If next to a comment, use sentence motion. 1993-03-09 22:14:36 +00:00
Richard M. Stallman
bc6312e108 (query-replace-map): Add `quit' bindings. Delete default binding. 1993-03-09 21:18:31 +00:00
Richard M. Stallman
81eb8fcd8d (map-y-or-n-p): Handle `quit' as answer. 1993-03-09 21:17:46 +00:00
Richard M. Stallman
0a2eb25e05 (map-y-or-n-p): Use query-replace-map. 1993-03-09 19:53:06 +00:00
Richard M. Stallman
81bdc14db5 (query-replace-map): New keymap.
(perform-replace): Use query-replace-map.

(query-replace, query-replace-regexp, map-query-replace-regexp):
(replace-string, replace-regexp): Don't print `done' if unread chars.
1993-03-09 19:51:29 +00:00
Richard M. Stallman
78e3ef3ce6 (command-apropos): Print echo area message iff found symbols. 1993-03-09 17:48:56 +00:00
Jim Blandy
11a364d9f2 *** empty log message *** 1993-03-09 17:03:08 +00:00
Richard M. Stallman
d41d75fbe9 (rmail-update-summary): New function.
(rmail-new-summary): New arg redo-form.  Considerable rewrite
of how and when buffers are selected.
(rmail-summary-mode): New local vars rmail-summary-redo,
revert-buffer-function, post-command-hook, rmail-current-message.
(rmail-summary-expunge): Use rmail-update-summary.
(rmail-summary-get-new-mail): Likewise.
(rmail-summary-expunge-and-save): Likewise.
(rmail-summary-input): Don't update summary at all.
(rmail-summary-reply): Do the work inside save-window-excursion,
then switch to the mail buffer.
(rmail-summary-retry-failure): Likewise.
(rmail-summary-edit-current-message): Delete spurious autoload.
(rmail-summary-summary): Function deleted.
Use plain rmail-summary on h and C-M-h.
(rmail-summary-rmail-update): New function.

Big rewrite from weiner@pts.mot.com.
1993-03-09 08:08:52 +00:00
Richard M. Stallman
bd1f0f843f (rmail-delete-forward): Go to summary buf to change D mark.
Always do the motion in the rmail buffer; let that handle summary.
(rmail-undelete-previous-message): Likewise.
(rmail-select-summary): New macro.
(rmail-show-message): Use rmail-select-summary.
(rmail-get-new-mail): Likewise.
(rmail-expunge): Likewise.

(rmail-bury): Record Rmail buffer to bury it later.

Major changes from Bob Weiner <weiner@pts.mot.com>
Handle some Emacs 18 function names to run in 18.
This is to facilitate working with Weiner.
(rmail-reply-prefix): New variable.
(rmail-reply): Use that variable to add to subject.
(rmail-retry-failure): Change binding to M-m.
(rmail-forward): Look for >From as well as for From.
Handle case where neither is found.
(rmail-last-regexp): New variable.
(rmail-mode): Make rmail-last-regexp local.
(rmail): Don't update rmail-mode data for old buffer
if it's not in rmail mode.
Error if in Rmail Edit mode.
(rmail-bury): New command, plus key binding.
(rmail-summary-by-topic): New key binding.
(rmail-insert-inbox-text): Check for pop case earlier.
(rmail-convert-to-babyl-format): Handle Content-Length field.
(rmail-maybe-display-summary): New function.
(rmail-redisplay-summary): New user option.
(rmail-undelete-previous-message, rmail-delete-forward):
(rmail-get-new-mail, rmail-show-message): Update summary buffer if any.
Call rmail-maybe-display-summary to put it back on screen.
(rmail-only-expunge): Renamed from rmail-expunge.
(rmail-expunge): New function.
(rmail-message-recipients-p, rmail-message-regexp-p): New functions.
(rmail-summary-exists, rmail-summary-displayed): New functions.
1993-03-09 08:08:13 +00:00
Richard M. Stallman
af39530ef0 (set-mark): Activate the mark.
(mark): Handle region-active.  New optional arg FORCE.
(exchange-point-and-mark, push_mark): Pass FORCE.
(set-mark-command): Likewise.
1993-03-09 05:40:33 +00:00
Richard M. Stallman
af9157b9bc entered into RCS 1993-03-09 05:37:50 +00:00
Richard M. Stallman
b0dbaa217b Initial revision 1993-03-09 05:27:35 +00:00
Richard M. Stallman
e31b61e614 Add autoload comments.
(rope-to-vector): Deleted.
(describe-display-table): Don't use rope-to-vector.
1993-03-08 08:11:01 +00:00
Richard M. Stallman
0f03054a85 (posn-timestamp, posn-col-row, posn-point, posn-window):
(event-end, event-start, mouse-movement-p): Moved from mouse.el.
1993-03-08 08:10:13 +00:00
Richard M. Stallman
9a408b1d63 (posn-timestamp, posn-col-row, posn-point, posn-window):
(event-end, event-start, mouse-movement-p): Moved to subr.el.
1993-03-08 08:09:54 +00:00
Richard M. Stallman
c0f864088b Comment change. 1993-03-08 08:08:51 +00:00
Richard M. Stallman
a26a1f956a (Fframe_char_height, Fframe_char_width):
(Fframe_pixel_height, Fframe_pixel_width):
New functions, two versions of each.
[MULTI_FRAME] (syms_of_frame): Make them Lisp functions.
[!MULTI_FRAME] (syms_of_frame): Likewise.  Also Fselected_frame.
1993-03-08 08:08:23 +00:00