]> code.delx.au - gnu-emacs/log
gnu-emacs
31 years ago* xterm.c (x_find_modifier_meanings): XDisplayKeycodes only
Jim Blandy [Thu, 11 Mar 1993 07:19:36 +0000 (07:19 +0000)]
* xterm.c (x_find_modifier_meanings): XDisplayKeycodes only
appeared in X11R4; for earlier versions, just access the members
of the Display directly.

31 years ago* xrdb.c (get_user_db): Since xrdb.c doesn't #include xterm.h,
Jim Blandy [Thu, 11 Mar 1993 07:18:48 +0000 (07:18 +0000)]
* xrdb.c (get_user_db): Since xrdb.c doesn't #include xterm.h,
we can't test HAVE_X11R4 to see how we should get the resource
manager string; cheat.

31 years ago* unexec.c (copy_text_and_data): Error message tweaked.
Jim Blandy [Thu, 11 Mar 1993 07:18:15 +0000 (07:18 +0000)]
* unexec.c (copy_text_and_data): Error message tweaked.

31 years ago* textprop.c (Fadd_text_properties): Initialize the modified flag.
Jim Blandy [Thu, 11 Mar 1993 07:17:54 +0000 (07:17 +0000)]
* textprop.c (Fadd_text_properties): Initialize the modified flag.
Use a "for (;;)" loop at the end of the function, to indicate that
all exiting is taken care of inside the loop.
(Fremove_text_properties): Same.

31 years ago* systime.h (timezone): Add an explicit declaration for this
Jim Blandy [Thu, 11 Mar 1993 07:17:15 +0000 (07:17 +0000)]
* systime.h (timezone): Add an explicit declaration for this
variable under USG 5-4.

31 years ago* syssignal.h (sigunblock): Add definition which works under SYSVr4.
Jim Blandy [Thu, 11 Mar 1993 07:16:39 +0000 (07:16 +0000)]
* syssignal.h (sigunblock): Add definition which works under SYSVr4.
* emacs.c (fatal_error_signal): Unblock the signal which we're
handling using sigunblock.

31 years ago* sysdep.c (read_input_waiting): Set e.frame_or_window, not
Jim Blandy [Thu, 11 Mar 1993 07:14:54 +0000 (07:14 +0000)]
* sysdep.c (read_input_waiting): Set e.frame_or_window, not
e.frame; the latter doesn't exist anymore.

* sysdep.c (start_of_data): If ORDINARY_LINK is #defined, we don't
have the data_start symbol defined, so we'll just use the address
of environ.

* sysdep.c (init_baud_rate): Use input_fd, instead of fd; the
latter is undefined.

31 years ago* process.c (process_send_signal): In the TERMIOS code for sending
Jim Blandy [Thu, 11 Mar 1993 07:14:16 +0000 (07:14 +0000)]
* process.c (process_send_signal): In the TERMIOS code for sending
control characters to processes, don't try to return Qnil; just
return.

* process.c [! subprocesses] (wait_reading_process_input):
Remember to re-enable polling for input.

31 years ago* floatfns.c (Flogb): Undo the change of Feb 22.
Jim Blandy [Thu, 11 Mar 1993 07:13:24 +0000 (07:13 +0000)]
* floatfns.c (Flogb): Undo the change of Feb 22.

31 years ago* emacs.c (__do_global_ctors, __do_global_ctors_aux,
Jim Blandy [Thu, 11 Mar 1993 07:13:06 +0000 (07:13 +0000)]
* emacs.c (__do_global_ctors, __do_global_ctors_aux,
__do_global_dtors, __CTOR_LIST__, __DTOR_LIST__, __main): Don't
define these if ORDINARY_LINK is #defined; in that case, the
standard linking procedure will find definitions for these.

* emacs.c (main): SIGIOT isn't defined on all systems; don't set
its signal handler unless it is.

31 years ago* dired.c (NAMLEN): Never use d_nameln to get the length of the
Jim Blandy [Thu, 11 Mar 1993 07:11:34 +0000 (07:11 +0000)]
* 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.

31 years ago* s/usg5-4.h: Changes from Eric Raymond:
Jim Blandy [Thu, 11 Mar 1993 07:11:06 +0000 (07:11 +0000)]
* 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.

31 years ago* s/usg5-3.h (LIBX11_SYSTEM): Eric Raymond says the libraries here
Jim Blandy [Thu, 11 Mar 1993 07:10:34 +0000 (07:10 +0000)]
* s/usg5-3.h (LIBX11_SYSTEM): Eric Raymond says the libraries here
were slightly wrong.

31 years ago* m/template.h, s/template.h: Mention that `etc/MACHINES' and
Jim Blandy [Thu, 11 Mar 1993 07:10:06 +0000 (07:10 +0000)]
* m/template.h, s/template.h: Mention that `etc/MACHINES' and
`configure' should be updated whenever support for a configuration
is added or improved.

31 years ago* m/intel386.h (LIB_STANDARD): If USG5_4 is #defined, there's no
Jim Blandy [Thu, 11 Mar 1993 07:08:47 +0000 (07:08 +0000)]
* m/intel386.h (LIB_STANDARD): If USG5_4 is #defined, there's no
need to include `-lPW'; that has been merged with `-lc'.

31 years ago* sun-mouse.el (suspend-emacstool): Run suspend-hooks, not
Jim Blandy [Thu, 11 Mar 1993 07:07:43 +0000 (07:07 +0000)]
* sun-mouse.el (suspend-emacstool): Run suspend-hooks, not
suspend-hook.

31 years ago* simple.el (kill-ring-save): Doc fix.
Jim Blandy [Thu, 11 Mar 1993 07:07:17 +0000 (07:07 +0000)]
* simple.el (kill-ring-save): Doc fix.

31 years ago* resume.el: Doc fix.
Jim Blandy [Thu, 11 Mar 1993 07:06:01 +0000 (07:06 +0000)]
* resume.el: Doc fix.

31 years ago* simple.el (yank, yank-pop): Always return nil; don't rely on
Jim Blandy [Thu, 11 Mar 1993 07:05:23 +0000 (07:05 +0000)]
* 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.

31 years ago* files.el (basic-save-buffer): If file-precious-flag is set, and
Jim Blandy [Thu, 11 Mar 1993 07:04:44 +0000 (07:04 +0000)]
* 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.

31 years ago* calendar.el (hebrew-calendar-yahrzeit): Change reference to
Jim Blandy [Thu, 11 Mar 1993 07:03:57 +0000 (07:03 +0000)]
* 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.

31 years ago* cal-mayan.el (calendar-mayan-haab-on-or-before,
Jim Blandy [Thu, 11 Mar 1993 07:03:17 +0000 (07:03 +0000)]
* 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.

31 years ago(command-line-1): Fix copyright year.
Richard M. Stallman [Thu, 11 Mar 1993 07:02:13 +0000 (07:02 +0000)]
(command-line-1): Fix copyright year.

31 years ago* bytecomp.el: Declare suspend-hook to be an obsolete variable.
Jim Blandy [Thu, 11 Mar 1993 07:02:11 +0000 (07:02 +0000)]
* bytecomp.el: Declare suspend-hook to be an obsolete variable.

31 years ago* term/x-win.el: Disable suspending under X windows by setting
Jim Blandy [Thu, 11 Mar 1993 07:01:17 +0000 (07:01 +0000)]
* 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.

31 years ago* timer.c (main): Set the ownership of the stdin file descriptor
Jim Blandy [Thu, 11 Mar 1993 07:00:12 +0000 (07:00 +0000)]
* 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.

31 years ago* b2m.c (main): Don't exit upon reading a blank line.
Jim Blandy [Thu, 11 Mar 1993 06:59:53 +0000 (06:59 +0000)]
* b2m.c (main): Don't exit upon reading a blank line.

31 years ago* configure: Recognize strings like "sysvr0" or "sysvr1" as System V.
Jim Blandy [Thu, 11 Mar 1993 06:58:58 +0000 (06:58 +0000)]
* 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.

31 years ago* Makefile.in (install.sysv): Add a second `$' in front of
Jim Blandy [Thu, 11 Mar 1993 06:58:20 +0000 (06:58 +0000)]
* Makefile.in (install.sysv): Add a second `$' in front of
`${dest}', so that the shell will expand it, instead of Make.

31 years agoentered into RCS
Jim Blandy [Thu, 11 Mar 1993 06:18:56 +0000 (06:18 +0000)]
entered into RCS

31 years ago* keyboard.c (command_loop_1): Adjust to the fact that display
Jim Blandy [Thu, 11 Mar 1993 03:49:34 +0000 (03:49 +0000)]
* keyboard.c (command_loop_1): Adjust to the fact that display
tables are now vectors of vectors, not vectors of strings.

31 years ago(function-key-map): Map key symbols backspace, return... into ASCII chars.
Richard M. Stallman [Wed, 10 Mar 1993 06:31:49 +0000 (06:31 +0000)]
(function-key-map): Map key symbols backspace, return... into ASCII chars.
Likewise their Meta versions.
Also add `ascii-character' properties.

31 years agoDefine HAVE_TCATTR based on HAVE_TERMIOS earlier.
Richard M. Stallman [Wed, 10 Mar 1993 05:34:06 +0000 (05:34 +0000)]
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'.

31 years ago(FLOAT_CHECK_ERRNO): Define unless NO_FLOAT_CHECK_ERRNO.
Richard M. Stallman [Wed, 10 Mar 1993 05:33:40 +0000 (05:33 +0000)]
(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.

31 years ago(Fdefine_key): Use proper meta-bit to clear.
Richard M. Stallman [Wed, 10 Mar 1993 05:24:42 +0000 (05:24 +0000)]
(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.

31 years ago(syms_of_data) [LISP_FLOAT_TYPE]: Define new error conditions:
Richard M. Stallman [Wed, 10 Mar 1993 05:14:04 +0000 (05:14 +0000)]
(syms_of_data) [LISP_FLOAT_TYPE]: Define new error conditions:
Qarith_error, Qrange_error, Qdomain_error,
Qsingularity_error, Qoverflow_error, Qunderflow_error.

31 years ago(Fy_or_n_p): Use query-replace-map.
Richard M. Stallman [Wed, 10 Mar 1993 05:13:24 +0000 (05:13 +0000)]
(Fy_or_n_p): Use query-replace-map.

31 years ago(set_point): Check invisibility of following character, not previous character.
Richard M. Stallman [Wed, 10 Mar 1993 05:12:42 +0000 (05:12 +0000)]
(set_point): Check invisibility of following character, not previous character.

(textget): Handle categories.
(get_local_map): New function.
(verify_interval_modification): Call textget correctly.

31 years ago*** empty log message ***
Jim Blandy [Tue, 9 Mar 1993 23:40:36 +0000 (23:40 +0000)]
*** empty log message ***

31 years agoInitial revision
Jim Blandy [Tue, 9 Mar 1993 23:02:46 +0000 (23:02 +0000)]
Initial revision

31 years agoFix typo.
Eric S. Raymond [Tue, 9 Mar 1993 23:02:40 +0000 (23:02 +0000)]
Fix typo.

31 years ago(run-at-time): Allow an integer as TIME.
Richard M. Stallman [Tue, 9 Mar 1993 22:57:25 +0000 (22:57 +0000)]
(run-at-time): Allow an integer as TIME.
(cancel-timer): New function.

31 years agoVersion 5 baseline.
Eric S. Raymond [Tue, 9 Mar 1993 22:56:29 +0000 (22:56 +0000)]
Version 5 baseline.

31 years ago(c-beginning-of-statement): If next to a comment, use sentence motion.
Richard M. Stallman [Tue, 9 Mar 1993 22:14:36 +0000 (22:14 +0000)]
(c-beginning-of-statement): If next to a comment, use sentence motion.

31 years ago(query-replace-map): Add `quit' bindings. Delete default binding.
Richard M. Stallman [Tue, 9 Mar 1993 21:18:31 +0000 (21:18 +0000)]
(query-replace-map): Add `quit' bindings.  Delete default binding.

31 years ago(map-y-or-n-p): Handle `quit' as answer.
Richard M. Stallman [Tue, 9 Mar 1993 21:17:46 +0000 (21:17 +0000)]
(map-y-or-n-p): Handle `quit' as answer.

31 years ago(map-y-or-n-p): Use query-replace-map.
Richard M. Stallman [Tue, 9 Mar 1993 19:53:06 +0000 (19:53 +0000)]
(map-y-or-n-p): Use query-replace-map.

31 years ago(query-replace-map): New keymap.
Richard M. Stallman [Tue, 9 Mar 1993 19:51:29 +0000 (19:51 +0000)]
(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.

31 years ago(command-apropos): Print echo area message iff found symbols.
Richard M. Stallman [Tue, 9 Mar 1993 17:48:56 +0000 (17:48 +0000)]
(command-apropos): Print echo area message iff found symbols.

31 years ago*** empty log message ***
Jim Blandy [Tue, 9 Mar 1993 17:03:08 +0000 (17:03 +0000)]
*** empty log message ***

31 years ago(rmail-update-summary): New function.
Richard M. Stallman [Tue, 9 Mar 1993 08:08:52 +0000 (08:08 +0000)]
(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.

31 years ago(rmail-delete-forward): Go to summary buf to change D mark.
Richard M. Stallman [Tue, 9 Mar 1993 08:08:13 +0000 (08:08 +0000)]
(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.

31 years ago(set-mark): Activate the mark.
Richard M. Stallman [Tue, 9 Mar 1993 05:40:33 +0000 (05:40 +0000)]
(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.

31 years agoentered into RCS
Richard M. Stallman [Tue, 9 Mar 1993 05:37:50 +0000 (05:37 +0000)]
entered into RCS

31 years agoInitial revision
Richard M. Stallman [Tue, 9 Mar 1993 05:27:35 +0000 (05:27 +0000)]
Initial revision

31 years agoAdd autoload comments.
Richard M. Stallman [Mon, 8 Mar 1993 08:11:01 +0000 (08:11 +0000)]
Add autoload comments.
(rope-to-vector): Deleted.
(describe-display-table): Don't use rope-to-vector.

31 years ago(posn-timestamp, posn-col-row, posn-point, posn-window):
Richard M. Stallman [Mon, 8 Mar 1993 08:10:13 +0000 (08:10 +0000)]
(posn-timestamp, posn-col-row, posn-point, posn-window):
(event-end, event-start, mouse-movement-p): Moved from mouse.el.

31 years ago(posn-timestamp, posn-col-row, posn-point, posn-window):
Richard M. Stallman [Mon, 8 Mar 1993 08:09:54 +0000 (08:09 +0000)]
(posn-timestamp, posn-col-row, posn-point, posn-window):
(event-end, event-start, mouse-movement-p): Moved to subr.el.

31 years agoComment change.
Richard M. Stallman [Mon, 8 Mar 1993 08:08:51 +0000 (08:08 +0000)]
Comment change.

31 years ago(Fframe_char_height, Fframe_char_width):
Richard M. Stallman [Mon, 8 Mar 1993 08:08:23 +0000 (08:08 +0000)]
(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.

31 years ago(Fx_pixel_width, Fx_pixel_height): Fns deleted.
Richard M. Stallman [Mon, 8 Mar 1993 08:07:52 +0000 (08:07 +0000)]
(Fx_pixel_width, Fx_pixel_height): Fns deleted.
(syms_of_xfns): Don't install them.
(x_user_set_name): Function deleted.
(x_char_height, x_char_width): New functions.

31 years agoentered into RCS
Richard M. Stallman [Mon, 8 Mar 1993 07:44:39 +0000 (07:44 +0000)]
entered into RCS

31 years ago(copy_rope): Expect FROM to be a vector.
Richard M. Stallman [Mon, 8 Mar 1993 06:37:04 +0000 (06:37 +0000)]
(copy_rope): Expect FROM to be a vector.
(copy_part_of_rope): New function.
(display_string): Expect display table elts to be vectors.

31 years ago(XTread_socket):
Richard M. Stallman [Mon, 8 Mar 1993 05:38:53 +0000 (05:38 +0000)]
(XTread_socket):
Don't reverse the chars that XLookupString returns.  Use all of them.
Save last 100 chars and keysyms in temp_buffer.

31 years ago(event-basic-type): New function.
Richard M. Stallman [Mon, 8 Mar 1993 00:07:53 +0000 (00:07 +0000)]
(event-basic-type): New function.

31 years agoDeclare Qcategory, Qlocal_map. Declare textget, get_local_map.
Richard M. Stallman [Sun, 7 Mar 1993 23:45:23 +0000 (23:45 +0000)]
Declare Qcategory, Qlocal_map.  Declare textget, get_local_map.

31 years agoInclude intervals.h.
Richard M. Stallman [Sun, 7 Mar 1993 23:43:52 +0000 (23:43 +0000)]
Include intervals.h.
(read_key_sequence): Use get_local_map.

31 years ago(syms_of_buffer): Make erase-buffer a disabled command.
Roland McGrath [Sun, 7 Mar 1993 23:41:34 +0000 (23:41 +0000)]
(syms_of_buffer): Make erase-buffer a disabled command.

31 years agoInclude termhooks.h.
Richard M. Stallman [Sun, 7 Mar 1993 23:32:54 +0000 (23:32 +0000)]
Include termhooks.h.
(push_key_description): Handle all modifiers.
Handle large character codes.
(Fkey_description): Move the meta bit, if arg is string.
(Fsingle_key_description): Don't alter integer value.
Make tem long enough.

(Flookup_key): Use meta_modifier as meta-bit if from vector.
(Fdefine_key): Likewise.

31 years ago(Fget_text_property): Use textget.
Richard M. Stallman [Sun, 7 Mar 1993 23:30:01 +0000 (23:30 +0000)]
(Fget_text_property): Use textget.
(Fnext_single_property_change): Likewise.
(Fprevious_single_property_change): Likewise.

(syms_of_textprop): Set up Qcategory, Qlocal_map.

31 years ago*** empty log message ***
Richard M. Stallman [Sun, 7 Mar 1993 20:57:30 +0000 (20:57 +0000)]
*** empty log message ***

31 years ago(read_key_sequence):
Richard M. Stallman [Sun, 7 Mar 1993 20:18:52 +0000 (20:18 +0000)]
(read_key_sequence):
Use meta_modifier for meta keys when handling function_key_map.

31 years ago(isearch-other-meta-char): Call listify-key-sequence.
Richard M. Stallman [Sun, 7 Mar 1993 20:17:27 +0000 (20:17 +0000)]
(isearch-other-meta-char): Call listify-key-sequence.
(isearch-unread): Don't call it here.
(isearch-mode-map): Bind the ASCII-equivalent function keys.

31 years ago(vc-update-change-log): Check that ChangeLog is writable
Paul Eggert [Sun, 7 Mar 1993 18:20:54 +0000 (18:20 +0000)]
(vc-update-change-log): Check that ChangeLog is writable
before starting the expensive rcs2log process.
Use call-process instead of shell-command to invoke rcs2log;
this avoids undesired shell escapes and is more robust about errors.
Put mark at point-min, so that the new insertion is in the region.
(vc-checkin-hook): Fix `runs-hooks' typo.
(vc-checkout-writeable-buffer-hook): New var.
(vc-next-action): Fix bug: initial checkin was botched when C-x v v
was applied to a new file while vc-initial-comment was non-nil.
(vc-register): Don't barf when registering a new, empty buffer.
(vc-directory): The `No files are currently registered'
message was wrongly worded, because sometimes the message talks
about locked files, not registered files.
(vc-file-tree-walk): Change (apply 'funcall ...) to (apply
...), since the 'funcall is redundant.
When traversing a directory tree, message
"Traversing directory XXX" so that the user can see what progress is
being made.  Traversal can take a long time.  Omit first argument,
since it is always the current directory.  All callers changed.
(vc-file-tree-walk-internal): New function.
(vc-do-command, vc-diff, vc-version-diff, vc-backend-diff):
Remove redundant calls to `format'.
(vc-diff): Remove unused variable `old'.
(vc-version-diff): When recursively generating a difference
listing, don't append the latest output unless diff was actually run;
otherwise, you'll get the output from the previous file by mistake.

31 years ago(Qmodification_hooks): Renamed from Qmodification.
Richard M. Stallman [Sun, 7 Mar 1993 09:35:31 +0000 (09:35 +0000)]
(Qmodification_hooks): Renamed from Qmodification.
(syms_of_textprop): Changed accordingly.

31 years ago(verify_interval_modification): Handle insertions
Richard M. Stallman [Sun, 7 Mar 1993 09:34:39 +0000 (09:34 +0000)]
(verify_interval_modification): Handle insertions
specially.  For non-insertions, check only the chars being changed.
`modification-hooks' property is now a list of functions.
(set_point): Ignore chars outside current restriction.

31 years ago(struct buffer): New field mark_active.
Richard M. Stallman [Sun, 7 Mar 1993 09:33:43 +0000 (09:33 +0000)]
(struct buffer): New field mark_active.

31 years ago(prepare_to_modify_buffer): Set Vdeactivate_mark.
Richard M. Stallman [Sun, 7 Mar 1993 09:33:13 +0000 (09:33 +0000)]
(prepare_to_modify_buffer): Set Vdeactivate_mark.

31 years ago(save_excursion_save): Save mark_active of buffer.
Richard M. Stallman [Sun, 7 Mar 1993 09:32:22 +0000 (09:32 +0000)]
(save_excursion_save): Save mark_active of buffer.
(save_excursion_restore): Restore mark_active of buffer.
Run activate-mark-hook if it's on, or deactivate-mark-hook if it turns off.
(region_limit): Error if mark inactive, if transient-mark-mode.

31 years ago(check_mark): Error if mark is not active.
Richard M. Stallman [Sun, 7 Mar 1993 09:31:37 +0000 (09:31 +0000)]
(check_mark): Error if mark is not active.

31 years ago(x_alt_mod_mask, x_super_mod_mask, x_hyper_mod_mask): New variables.
Richard M. Stallman [Sun, 7 Mar 1993 09:30:31 +0000 (09:30 +0000)]
(x_alt_mod_mask, x_super_mod_mask, x_hyper_mod_mask): New variables.
(x_find_modifier_meanings): Set them.
(x_convert_modifiers): Check for them.
(XTread_socket): Handle BackSpace, etc, function keys.

31 years ago(alt_modifier, super_modifier, hyper_modifier):
Richard M. Stallman [Sun, 7 Mar 1993 09:29:36 +0000 (09:29 +0000)]
(alt_modifier, super_modifier, hyper_modifier):
(shift_modifier, ctrl_modifier, meta_modifier):
Renumber the bits.

31 years ago(follow_key): Downcase shift_modifier as well as ASCII.
Richard M. Stallman [Sun, 7 Mar 1993 09:27:28 +0000 (09:27 +0000)]
(follow_key): Downcase shift_modifier as well as ASCII.
(command_loop_1): Run pre-command-hook and post-command-hook.
Set this_command before running pre-command-hook.
(syms_of_keyboard): Set up vars for those hooks.

(syms_of_keyboard): Handle gaps in modifier_names.
(modifier_names): Reorder to match termhooks.h.

(parse_modifiers_uncached): Detect `s-', not `super-'.
(apply_modifiers_uncached): Make `s-', not `super-'.

(lispy_function_keys): Add codes starting at 0xff00
and running through 0xffff.

(read_char): Move metabit when fetching from string macro.

(command_loop_1): Clear Vdeactivate_mark before cmd.
Clear mark_active if command set Vdeactivate_mark.
Run deactivate-mark-hook at that time, or activate-mark-hook.
(syms_of_keyboard): Define variable deactivate-mark.

(syms_of_keyboard): New lisp var unread-command-char.
(Finput_pending_p): Test unread_command_char.
(Fdiscard_input, quit_throw_to_read_char, init_keyboard): Set it.
(read_char): Fetch from it.

(Fthis_command_keys, Fread_key_sequence):
Fix calls to make_event_array.

(make_lispy_event): Put meta and shift modifiers
into an integer.
(read_avail_input): Set the modifiers field in the events read.
(kbd_buffer_get_event): Pass thru integer event untruncated.
(read_char): Likewise.
(read_key_sequence, read_char): Only -1 means EOF.
(kbd_buffer_store_event): Don't ignore 0200 bit in quit char.
(follow_key): Use new meta bit flag.

31 years ago(syms_of_lread): Set up Qascii_character.
Richard M. Stallman [Sun, 7 Mar 1993 09:25:28 +0000 (09:25 +0000)]
(syms_of_lread): Set up Qascii_character.
(Fread_char, Fread_char_exclusive): Use that property
to convert symbols like tab, return, M-return,... to ASCII.

Include termhooks.h.
(read_escape): Handle \H, \A, \s.  Use ..._modifier.

31 years ago(reset_buffer_local_variables): Reset mark_active.
Richard M. Stallman [Sun, 7 Mar 1993 09:24:18 +0000 (09:24 +0000)]
(reset_buffer_local_variables): Reset mark_active.

(syms_of_buffer): New buffer-local var `mark-active'.
(init_buffer_once): Initialize mechanism for it.

31 years ago(isearch-mode): Don't make a pre-command-hook.
Richard M. Stallman [Sun, 7 Mar 1993 08:43:57 +0000 (08:43 +0000)]
(isearch-mode): Don't make a pre-command-hook.

31 years ago(vc-revert-buffer1): Use mark-marker; don't alter mark-active.
Richard M. Stallman [Sun, 7 Mar 1993 07:44:46 +0000 (07:44 +0000)]
(vc-revert-buffer1): Use mark-marker; don't alter mark-active.

31 years ago(event-modifiers): New function.
Richard M. Stallman [Sun, 7 Mar 1993 07:35:57 +0000 (07:35 +0000)]
(event-modifiers): New function.
(eventp): New function.

31 years ago*** empty log message ***
Richard M. Stallman [Sun, 7 Mar 1993 07:32:47 +0000 (07:32 +0000)]
*** empty log message ***

31 years ago(Info-insert-dir): Fix typo.
Richard M. Stallman [Sun, 7 Mar 1993 04:25:47 +0000 (04:25 +0000)]
(Info-insert-dir): Fix typo.

31 years ago(function-key-map): Map key symbols backspace, return... into ASCII chars.
Richard M. Stallman [Sun, 7 Mar 1993 04:22:37 +0000 (04:22 +0000)]
(function-key-map): Map key symbols backspace, return... into ASCII chars.

31 years ago(Info-forward-node): Properly go to first menu item.
Richard M. Stallman [Sun, 7 Mar 1993 04:22:15 +0000 (04:22 +0000)]
(Info-forward-node): Properly go to first menu item.
(Info-insert-dir): Bind temp wider, around use.

31 years ago(isearch-unread): Find last list element by hand.
Richard M. Stallman [Sun, 7 Mar 1993 04:22:00 +0000 (04:22 +0000)]
(isearch-unread): Find last list element by hand.

31 years agoInitial revision
Richard M. Stallman [Sun, 7 Mar 1993 04:10:02 +0000 (04:10 +0000)]
Initial revision

31 years ago(momentary-string-display): Handle any event when flushing the display.
Richard M. Stallman [Sat, 6 Mar 1993 06:16:06 +0000 (06:16 +0000)]
(momentary-string-display): Handle any event when flushing the display.

31 years ago(Info-summary): Handle any event when flushing the display.
Richard M. Stallman [Sat, 6 Mar 1993 06:15:39 +0000 (06:15 +0000)]
(Info-summary): Handle any event when flushing the display.

31 years ago(isearch-unread): Handle multiple args.
Richard M. Stallman [Sat, 6 Mar 1993 06:15:05 +0000 (06:15 +0000)]
(isearch-unread): Handle multiple args.
For Emacs 19, use listify-key-sequence.
If not Emacs 19, assume they are a meta sequence.
(isearch-other-meta-char): Pass the whole key sequence.
(isearch-other-control-char): Make this alias for ...-meta-char.

31 years ago(te-escape-extended-command-unread): Handle any key sequence.
Richard M. Stallman [Sat, 6 Mar 1993 06:13:50 +0000 (06:13 +0000)]
(te-escape-extended-command-unread): Handle any key sequence.

31 years ago(emerge-show-file-name): Handle any kind of event.
Richard M. Stallman [Sat, 6 Mar 1993 06:10:05 +0000 (06:10 +0000)]
(emerge-show-file-name): Handle any kind of event.

31 years ago(fortran-abbrev-start): Handle any kind of event.
Richard M. Stallman [Sat, 6 Mar 1993 06:08:40 +0000 (06:08 +0000)]
(fortran-abbrev-start): Handle any kind of event.
(fortran-window-create-momentarily): Likewise.