bpt/emacs.git
29 years agoUse BUF_MARKERS throughout.
Richard M. Stallman [Mon, 2 Jan 1995 21:54:50 +0000 (21:54 +0000)]
Use BUF_MARKERS throughout.

29 years ago(Fmake_indirect_buffer): New function.
Richard M. Stallman [Mon, 2 Jan 1995 21:50:28 +0000 (21:50 +0000)]
(Fmake_indirect_buffer): New function.
(Fbuffer_base_buffer): New function.
(syms_of_buffer): defsubr them.

(reset_buffer): Don't alter intervals here.
(Fget_buffer_create): Use BUF_MARKERS.  Init BUF_INTERVALS here.
(Fkill_buffer): Use BUF_MARKERS; but don't touch it in indir buf.
Likewise BUF_INTERVALS.
(init_buffer_once): Set up .text and BUF_INTERVALS
in buffer_local_symbols and buffer_defaults.

(Fkill_buffer): Don't free the text in indirect buffer.
When killing a base buffer, kill its indirect buffers first.

(set_buffer_temp): New function.

(reset_buffer_local_variables): Initialize buffer_file_type field.

(Fget_buffer_create): Initialize pt_marker, begv/zv_marker.
(set_buffer_internal): Use and update these markers.
Copy undo_list in and out of the base buffer.

(Fget_buffer_create): Init save_modiff field here.
(reset_buffer): Not here.
(Fbuffer_modified_p): Use BUF_SAVE_MODIFF.
(Fset_buffer_modified_p): Use SAVE_MODIFF.
(Fkill_buffer, list_buffers_1): Use BUF_SAVE_MODIFF.

(Fget_buffer_create): Initialize the size and text fields.

29 years agoUse BUF_INTERVALS throughout.
Richard M. Stallman [Mon, 2 Jan 1995 21:38:22 +0000 (21:38 +0000)]
Use BUF_INTERVALS throughout.

(temp_set_point, set_point): Use BUF_PT.
(get_local_map): Get keymap from specified buffer, not current one.

29 years ago(validate_interval_range): Use BUF_INTERVALS.
Richard M. Stallman [Mon, 2 Jan 1995 21:32:10 +0000 (21:32 +0000)]
(validate_interval_range): Use BUF_INTERVALS.

29 years agoUse SAVE_MODIFF and BUF_SAVE_MODIFF
Richard M. Stallman [Mon, 2 Jan 1995 09:21:30 +0000 (09:21 +0000)]
Use SAVE_MODIFF and BUF_SAVE_MODIFF
instead of direct access to the save_modiff field.

(insert_1, prepare_to_modify_buffer, insert_from_buffer_1): Use BUF_INTERVALS.
(adjust_markers): Use BUF_MARKERS.

(adjust_point): Use BUF_PT.

29 years ago(struct buffer): Fields markers and intervals moved out.
Richard M. Stallman [Mon, 2 Jan 1995 09:19:34 +0000 (09:19 +0000)]
(struct buffer): Fields markers and intervals moved out.
(struct buffer_text): Fields markers and intervals moved here.
(BUF_MARKERS, BUF_INTERVALS): New macros.

(struct buffer): Make buffer_file_type field unconditional.

(struct buffer): New field pt_marker.
save_modiff field deleted.
(struct buffer_text): save_modiff field moved here.
(SAVE_MODIFF, BUF_SAVE_MODIFF): New macros.
Use them instead of direct access to save_modiff field.

(struct buffer): New fields begv_marker, zv_marker.

(struct buffer): Make text field be a pointer.
The struct buffer_text field renamed to own_text.
Add fields indirect_to_buffer and size.
Move pt, begv and zv fields here.
(struct buffer_text): Moved from here.
(BEGV, PT, ZV, BEGV_ADDR, PT_ADDR, ZV_ADDR): Corresponding changes.
(BUF_BEGV, BUF_PT, BUF_ZV): Corresponding changes.
(SET_BUF_ZV, SET_BUF_PT, point):

29 years agoUse SAVE_MODIFF and BUF_SAVE_MODIFF
Richard M. Stallman [Mon, 2 Jan 1995 09:18:07 +0000 (09:18 +0000)]
Use SAVE_MODIFF and BUF_SAVE_MODIFF
instead of direct access to the save_modiff field.

29 years agoUse SAVE_MODIFF and BUF_SAVE_MODIFF
Richard M. Stallman [Mon, 2 Jan 1995 09:16:42 +0000 (09:16 +0000)]
Use SAVE_MODIFF and BUF_SAVE_MODIFF
instead of direct access to the save_modiff field.

(Ftranspose_regions): Use BUF_INTERVALS.
(transpose_markers): Use BUF_MARKERS.

29 years ago(mark_buffer, gc_sweep): Use BUF_INTERVALS.
Richard M. Stallman [Mon, 2 Jan 1995 09:15:25 +0000 (09:15 +0000)]
(mark_buffer, gc_sweep): Use BUF_INTERVALS.

(mark_buffer): In indirect buffer, mark the base buffer.

(mark_object): Make buffer case a branch of the Lisp_Vectorlike case.

29 years agoIntegers now at least 28 bits.
Richard M. Stallman [Mon, 2 Jan 1995 06:51:21 +0000 (06:51 +0000)]
Integers now at least 28 bits.

29 years ago(store_in_keymap): While dumping, copy DEF if a cons.
Richard M. Stallman [Mon, 2 Jan 1995 06:42:56 +0000 (06:42 +0000)]
(store_in_keymap): While dumping, copy DEF if a cons.

29 years agoUse SAVE_MODIFF and BUF_SAVE_MODIFF
Richard M. Stallman [Mon, 2 Jan 1995 06:36:56 +0000 (06:36 +0000)]
Use SAVE_MODIFF and BUF_SAVE_MODIFF
instead of direct access to the save_modiff field.

(Finsert_file_contents, Fwrite_region): Error if buffer is indirect.
(Fdo_auto_save): Do nothing for an indirect buffer.

29 years agoUse SAVE_MODIFF and BUF_SAVE_MODIFF
Richard M. Stallman [Mon, 2 Jan 1995 06:33:09 +0000 (06:33 +0000)]
Use SAVE_MODIFF and BUF_SAVE_MODIFF
instead of direct access to the save_modiff field.

(redisplay_window): Call set_buffer_temp.

(redisplay_window): For buffer_shared count,
treat an indirect buffer as equivalent to its base.

29 years ago(temp_output_buffer_show): Use BUF_SAVE_MODIFF.
Richard M. Stallman [Mon, 2 Jan 1995 06:30:49 +0000 (06:30 +0000)]
(temp_output_buffer_show): Use BUF_SAVE_MODIFF.

29 years ago(print): Don't drop thru to error for markers and overlays.
Richard M. Stallman [Mon, 2 Jan 1995 06:28:29 +0000 (06:28 +0000)]
(print): Don't drop thru to error for markers and overlays.

(print): Make buffer case a branch of the Lisp_Vectorlike case.

29 years ago(Fprimitive_undo): Use base buffer's modtime field.
Richard M. Stallman [Mon, 2 Jan 1995 06:26:46 +0000 (06:26 +0000)]
(Fprimitive_undo): Use base buffer's modtime field.

Use SAVE_MODIFF and BUF_SAVE_MODIFF
instead of direct access to the save_modiff field.

29 years agoAdapt to new Lisp_Object format.
Richard M. Stallman [Mon, 2 Jan 1995 05:04:34 +0000 (05:04 +0000)]
Adapt to new Lisp_Object format.
(xvectype, xmisctype): New commands.
(xtype): Print the misc or vectorlike subtype too.

29 years ago(auto-mode-alist): Add entries for .cls files,
Richard M. Stallman [Sat, 31 Dec 1994 07:49:59 +0000 (07:49 +0000)]
(auto-mode-alist): Add entries for .cls files,
and for /drafts/.  Put tex-mode and latex-mode in lower case.

(set-visited-file-name): Error if buffer is indirect.
(basic-save-buffer): For indirect buffer, save the base buffer.
(save-some-buffers): Ignore indirect buffers.

29 years ago(regex_compile): Use putchar, not printchar.
Richard M. Stallman [Fri, 30 Dec 1994 23:28:45 +0000 (23:28 +0000)]
(regex_compile): Use putchar, not printchar.

29 years ago(tex-mode-map): Add BibTeX File menu item.
Richard M. Stallman [Fri, 30 Dec 1994 23:02:43 +0000 (23:02 +0000)]
(tex-mode-map): Add BibTeX File menu item.

29 years ago(terminal-emulator): Test system-configuration
Richard M. Stallman [Fri, 30 Dec 1994 20:48:30 +0000 (20:48 +0000)]
(terminal-emulator): Test system-configuration
to decide on terminfo vs termcap.
(te-terminfo-systems-regexp): Renamed from te-terminfo-systems.

29 years agoAdded terminfo support.
Richard M. Stallman [Fri, 30 Dec 1994 20:41:25 +0000 (20:41 +0000)]
Added terminfo support.
(te-terminal-name-prefix, te-terminal-name, te-terminfo-systems):
New variables.
(terminal-emulator): Handle termcap or terminfo.
(te-create-terminfo, te-create-termcap): New subroutines.
(te-tic-sentinel): New subroutine.

29 years ago(print): Get size of compiled function as pseudovector.
Richard M. Stallman [Fri, 30 Dec 1994 06:50:01 +0000 (06:50 +0000)]
(print): Get size of compiled function as pseudovector.
Use a switch statement again.

29 years ago(VALBITS): Default now 28.
Richard M. Stallman [Fri, 30 Dec 1994 01:54:16 +0000 (01:54 +0000)]
(VALBITS): Default now 28.
(GCTYPEBITS): Default now 3.

(enum Lisp_Type): Lisp_Process, Lisp_Window, Lisp_Frame, Lisp_Subr deleted.
(PSEUDOVECTORP, GC_PSEUDOVECTORP):  Add paren for proper nesting.
(PROCESSP, GC_PROCESSP, XSETPROCESS): Rewrite to use pseudovectors.
(WINDOWP, GC_WINDOWP, XSETWINDOW): Likewise.
(FRAMEP, GC_FRAMEP): Likewise.
(SUBRP, GC_SUBRP, XSETSUBR): Likewise.
(PVEC_SUBR): New macro.
(struct Lisp_Subr): Add a size field.
(DEFUN (both definitions)): Store that size field.

29 years ago(mark_object): Don't use Lisp_Process, Lisp_Window.
Richard M. Stallman [Fri, 30 Dec 1994 01:52:37 +0000 (01:52 +0000)]
(mark_object): Don't use Lisp_Process, Lisp_Window.
Handle frames, compileds and subrs as branch of Lisp_Vectorlike case.
(Fmake_byte_code): Use XSETCOMPILED.

29 years ago(Faref): Handle compiled function as pseudovector.
Richard M. Stallman [Fri, 30 Dec 1994 01:50:01 +0000 (01:50 +0000)]
(Faref): Handle compiled function as pseudovector.

29 years ago(Flength): Handle compiled function as pseudovector.
Richard M. Stallman [Fri, 30 Dec 1994 01:46:04 +0000 (01:46 +0000)]
(Flength): Handle compiled function as pseudovector.

29 years ago(XSETFRAME): Use pseudovector.
Richard M. Stallman [Fri, 30 Dec 1994 01:41:27 +0000 (01:41 +0000)]
(XSETFRAME): Use pseudovector.

29 years ago(x_scroll_bar_handle_click): Use GC_WINDOWP.
Richard M. Stallman [Fri, 30 Dec 1994 01:37:53 +0000 (01:37 +0000)]
(x_scroll_bar_handle_click): Use GC_WINDOWP.
(XTframe_rehighlight, x_window_to_scroll_bar): Use GC_FRAMEP.

29 years agoMake size field an EMACS_INT.
Richard M. Stallman [Thu, 29 Dec 1994 19:56:17 +0000 (19:56 +0000)]
Make size field an EMACS_INT.

29 years agoFix typo in previous change.
Richard M. Stallman [Thu, 29 Dec 1994 19:02:16 +0000 (19:02 +0000)]
Fix typo in previous change.

29 years ago(switch-to-completions): New command, with bindings in minibuf completion maps.
Richard M. Stallman [Thu, 29 Dec 1994 18:53:25 +0000 (18:53 +0000)]
(switch-to-completions): New command, with bindings in minibuf completion maps.

(next-completion, previous-completion): New commands.
(completion-list-mode-map): Put them on left, right arrows.

(completion-list-mode-map): Don't bind return, just C-m.

29 years ago(super-apropos-check-elc-file): New function.
Richard M. Stallman [Thu, 29 Dec 1994 04:17:00 +0000 (04:17 +0000)]
(super-apropos-check-elc-file): New function.
specifies which file to search.
(apropos-files-scanned): New variable.
(super-apropos): Bind apropos-files-scanned.
Update apropos-accumulate from apropos-print-matches.
Call super-apropos-accumulate before checking for no matches.
(super-apropos-check-doc-file): Don't visit the file, just insert it.
(super-apropos-accumulate): When doc string is in a file, scan that file.
(apropos-print-matches): Return the sorted list.
(safe-documentation): Handle compiled files.

29 years ago(super-apropos, super-apropos-check-doc-file)
Richard M. Stallman [Thu, 29 Dec 1994 01:46:34 +0000 (01:46 +0000)]
(super-apropos, super-apropos-check-doc-file)
(super-apropos-accumulate): Vars item, fn-doc and var-doc renamed
to apropos-item, apropos-fn-doc and apropos-var-doc.
(apropos-item, apropos-var-doc, apropos-fn-doc)
(apropos-accumulate, apropos-regexp): New defvars.
(super-apropos): Bind apropos-regexp to regexp.
(super-apropos-accumulate): Use apropos-regexp.

29 years ago(server-process-filter): Process each line separately.
Richard M. Stallman [Thu, 29 Dec 1994 01:43:50 +0000 (01:43 +0000)]
(server-process-filter): Process each line separately.
(server-buffer-done): Delete dead buffers from CLIENT list.
Wait a while after sending a command to emacsclient.
Verify that BUFFER is a buffer.

29 years agoComment changes.
Richard M. Stallman [Thu, 29 Dec 1994 00:11:46 +0000 (00:11 +0000)]
Comment changes.

29 years ago(Vmouse_leave_buffer_hook, Qmouse_leave_buffer_hook): New variables.
Richard M. Stallman [Wed, 28 Dec 1994 23:28:10 +0000 (23:28 +0000)]
(Vmouse_leave_buffer_hook, Qmouse_leave_buffer_hook): New variables.
(syms_of_callint): Set them up.
(Fcall_interactively): Run the hook, for `@'.

29 years ago[! sparc] (REL_INFO_TYPE): Use `struct relocation_info'.
Richard M. Stallman [Wed, 28 Dec 1994 18:00:52 +0000 (18:00 +0000)]
[! sparc] (REL_INFO_TYPE): Use `struct relocation_info'.

29 years ago(find-tag-in-order): Don't set buffer-local value of tags-file-name.
Roland McGrath [Wed, 28 Dec 1994 08:12:25 +0000 (08:12 +0000)]
(find-tag-in-order): Don't set buffer-local value of tags-file-name.

29 years agoInitial revision
Thien-Thi Nguyen [Tue, 27 Dec 1994 23:28:51 +0000 (23:28 +0000)]
Initial revision

29 years ago(make_lispy_event) [USE_X_TOOLKIT]: Turn off
Richard M. Stallman [Tue, 27 Dec 1994 21:50:22 +0000 (21:50 +0000)]
(make_lispy_event) [USE_X_TOOLKIT]: Turn off
special handling of menu bar mouse events.
(make_lispy_event): Tell pixel_to_glyph_coords not to clip.

29 years ago(XTupdate_begin): Fix backward test in previous change.
Richard M. Stallman [Tue, 27 Dec 1994 21:45:06 +0000 (21:45 +0000)]
(XTupdate_begin): Fix backward test in previous change.

(x_display_box_cursor): Don't redraw old cursor spot in mouse face
if cursor was on a newline.

(XTread_socket): Handle button events from outside
the frame, received due to grabbing the mouse with a button.

29 years ago(run-hook-with-args-until-failure):
Richard M. Stallman [Tue, 27 Dec 1994 20:14:13 +0000 (20:14 +0000)]
(run-hook-with-args-until-failure):
Return non-nil if no hook functions.

29 years ago(command-line-1): Split startup msg into two parts.
Richard M. Stallman [Tue, 27 Dec 1994 04:01:02 +0000 (04:01 +0000)]
(command-line-1): Split startup msg into two parts.
Add something about C-mouse-3 when on a window system.

(command-line-1): If help-command has no key binding,
say `M-x help', not `M-x help-command'.

29 years ago(tar-mode-map): Bind C-m to tar-extract.
Richard M. Stallman [Tue, 27 Dec 1994 03:49:57 +0000 (03:49 +0000)]
(tar-mode-map): Bind C-m to tar-extract.

29 years ago(dired-mode-map): Bind C-m to dired-advertised-find-file.
Richard M. Stallman [Tue, 27 Dec 1994 03:49:30 +0000 (03:49 +0000)]
(dired-mode-map): Bind C-m to dired-advertised-find-file.
Change f to dired-find-file.

29 years ago(Buffer-menu-mode-map): Bind C-m to Buffer-menu-this-window.
Richard M. Stallman [Tue, 27 Dec 1994 03:48:03 +0000 (03:48 +0000)]
(Buffer-menu-mode-map): Bind C-m to Buffer-menu-this-window.

29 years ago(compilation-minor-mode-map): Bind C-m to compilation-goto-error.
Richard M. Stallman [Tue, 27 Dec 1994 03:47:06 +0000 (03:47 +0000)]
(compilation-minor-mode-map): Bind C-m to compilation-goto-error.

29 years agoDon't bind `return'.
Richard M. Stallman [Tue, 27 Dec 1994 03:45:46 +0000 (03:45 +0000)]
Don't bind `return'.

29 years ago(occur-mode-map): Bind C-m and `return' to occur-mode-goto-occurrence.
Richard M. Stallman [Tue, 27 Dec 1994 03:41:48 +0000 (03:41 +0000)]
(occur-mode-map): Bind C-m and `return' to occur-mode-goto-occurrence.
(occur-mode): Doc fix.

29 years ago(xmalloc, xrealloc): Add casts.
Richard M. Stallman [Mon, 26 Dec 1994 23:48:27 +0000 (23:48 +0000)]
(xmalloc, xrealloc): Add casts.
(add_field): Handle <...> and "..." syntax.
(setup_files, get_keyword): Clean up parens and line breaks.
(args_size): Likewise.

29 years ago(x_figure_window_size): Treat missing user-position parm as nil.
Richard M. Stallman [Mon, 26 Dec 1994 15:50:39 +0000 (15:50 +0000)]
(x_figure_window_size): Treat missing user-position parm as nil.

29 years agoComment changes.
Richard M. Stallman [Mon, 26 Dec 1994 15:49:29 +0000 (15:49 +0000)]
Comment changes.

29 years ago(scrolling_1): When scroll_region_ok is set, use a
Richard M. Stallman [Mon, 26 Dec 1994 15:38:56 +0000 (15:38 +0000)]
(scrolling_1): When scroll_region_ok is set, use a
new scrolling method which scrolls groups of lines directly
to their final vertical positions.
(struct matrix_elt): New field writecount.
(calculate_direct_scrolling): New function.
(do_direct_scrolling): New function.

29 years ago(scroll_region_cost): New variable.
Richard M. Stallman [Mon, 26 Dec 1994 15:37:22 +0000 (15:37 +0000)]
(scroll_region_cost): New variable.
(calculate_costs): Put scroll region overhead in scroll_region_cost.

29 years ago(scroll_region_cost): Declared.
Richard M. Stallman [Mon, 26 Dec 1994 15:36:56 +0000 (15:36 +0000)]
(scroll_region_cost): Declared.

29 years ago(scrolling): Fewer restrictions if scroll_region_ok is
Richard M. Stallman [Mon, 26 Dec 1994 15:35:48 +0000 (15:35 +0000)]
(scrolling): Fewer restrictions if scroll_region_ok is
set.  New vector old_draw_cost for direct scrolling method.

29 years ago(mouse-minibuffer-check, mouse-drag-mode-line)
Richard M. Stallman [Mon, 26 Dec 1994 05:09:41 +0000 (05:09 +0000)]
(mouse-minibuffer-check, mouse-drag-mode-line)
(mouse-yank-at-click, mouse-yank-secondary, mouse-choose-completion):
Run mouse-leave-buffer-hook.

29 years ago(isearch-mode): Set mouse-leave-buffer-hook.
Richard M. Stallman [Mon, 26 Dec 1994 05:09:07 +0000 (05:09 +0000)]
(isearch-mode): Set mouse-leave-buffer-hook.
(isearch-done): Clear it.

29 years ago(byte-compile-warning-types): Add obsolete.
Richard M. Stallman [Mon, 26 Dec 1994 01:28:59 +0000 (01:28 +0000)]
(byte-compile-warning-types): Add obsolete.
(byte-compile-warnings): Doc fix.
(byte-compile-obsolete): Check for obsolete in byte-compile-warnings.
(byte-compile-variable-ref): Likewise.

29 years ago(timezone-fix-time): For year values < 50, add 2000.
Richard M. Stallman [Mon, 26 Dec 1994 01:24:38 +0000 (01:24 +0000)]
(timezone-fix-time): For year values < 50, add 2000.

29 years ago(font-lock-defaults): Add defvar.
Richard M. Stallman [Sun, 25 Dec 1994 22:20:06 +0000 (22:20 +0000)]
(font-lock-defaults): Add defvar.
(buffer-file-type): Add defvar.

29 years ago(syms_of_buffer): Doc fix for buffer-file-type.
Richard M. Stallman [Sun, 25 Dec 1994 22:19:45 +0000 (22:19 +0000)]
(syms_of_buffer): Doc fix for buffer-file-type.

29 years ago(completion-reference-buffer): Initialize to nil.
Richard M. Stallman [Sun, 25 Dec 1994 22:09:46 +0000 (22:09 +0000)]
(completion-reference-buffer): Initialize to nil.

29 years ago(esc-map): Delete excess closeparen.
Richard M. Stallman [Sun, 25 Dec 1994 22:05:30 +0000 (22:05 +0000)]
(esc-map): Delete excess closeparen.

29 years ago(set_search_regs): Really set search_regs.start and .end.
Richard M. Stallman [Sun, 25 Dec 1994 21:15:07 +0000 (21:15 +0000)]
(set_search_regs): Really set search_regs.start and .end.
(save_search_regs): Set them to 0 here.

29 years ago(read_minibuf): GCPRO things.
Richard M. Stallman [Sun, 25 Dec 1994 21:14:46 +0000 (21:14 +0000)]
(read_minibuf): GCPRO things.

29 years ago(wrong_type_argument): Use Lisp_Type_Limit.
Richard M. Stallman [Sun, 25 Dec 1994 17:49:39 +0000 (17:49 +0000)]
(wrong_type_argument): Use Lisp_Type_Limit.

29 years ago(enum Lisp_Type): Rename Max_Lisp_Type to Lisp_Type_Limit.
Richard M. Stallman [Sun, 25 Dec 1994 17:49:06 +0000 (17:49 +0000)]
(enum Lisp_Type): Rename Max_Lisp_Type to Lisp_Type_Limit.

29 years ago(enum Lisp_Type): Add Max_Lisp_Type.
Richard M. Stallman [Sun, 25 Dec 1994 17:47:27 +0000 (17:47 +0000)]
(enum Lisp_Type): Add Max_Lisp_Type.

29 years ago(wrong_type_argument): Abort if VALUE is invalid Lisp object.
Richard M. Stallman [Sun, 25 Dec 1994 17:28:51 +0000 (17:28 +0000)]
(wrong_type_argument): Abort if VALUE is invalid Lisp object.

29 years ago(ange-ftp-save-match-data): Macro deleted.
Richard M. Stallman [Sun, 25 Dec 1994 14:35:19 +0000 (14:35 +0000)]
(ange-ftp-save-match-data): Macro deleted.
Most callers use save-match-data.
(ange-ftp-process-filter, ange-ftp-process-sentinel)
(ange-ftp-gwp-filter): Don't save the match data explicitly.

(ange-ftp-process-filter, ange-ftp-gwp-filter):
After comint output processing, update STR.

29 years agoInitial revision
Richard M. Stallman [Sun, 25 Dec 1994 04:33:23 +0000 (04:33 +0000)]
Initial revision

29 years ago(SET_REGS_MATCHED): Do nothing if set_regs_matched_done is 1.
Richard M. Stallman [Sat, 24 Dec 1994 23:40:43 +0000 (23:40 +0000)]
(SET_REGS_MATCHED): Do nothing if set_regs_matched_done is 1.
Set set_regs_matched_done to 1.
(re_match_2_internal): New local var set_regs_matched_done.
Set it to 0 when appropriate.
(POP_FAILURE_POINT): Set set_regs_matched_done to 0.

(re_match_2_internal, case duplicate): Call SET_REGS_MATCHED.

29 years ago(dabbrev-abbrev-char-regexp): Accept symbol chars
Richard M. Stallman [Sat, 24 Dec 1994 21:39:16 +0000 (21:39 +0000)]
(dabbrev-abbrev-char-regexp): Accept symbol chars
as well as word constituent chars.

29 years agoInitial revision
Richard M. Stallman [Sat, 24 Dec 1994 16:49:59 +0000 (16:49 +0000)]
Initial revision

29 years agoFix quoting conventions and spaces at end of sentence.
Richard M. Stallman [Sat, 24 Dec 1994 16:47:58 +0000 (16:47 +0000)]
Fix quoting conventions and spaces at end of sentence.

29 years ago(facemenu-key): Change to M-g.
Richard M. Stallman [Sat, 24 Dec 1994 16:43:16 +0000 (16:43 +0000)]
(facemenu-key): Change to M-g.

29 years ago(BASE_PURESIZE): Incremented by 20k.
Richard M. Stallman [Sat, 24 Dec 1994 16:42:33 +0000 (16:42 +0000)]
(BASE_PURESIZE): Incremented by 20k.

29 years ago(save-buffers-kill-emacs): Fix backward test of value of
Richard M. Stallman [Sat, 24 Dec 1994 16:41:31 +0000 (16:41 +0000)]
(save-buffers-kill-emacs): Fix backward test of value of
run-hook-with-args-until-failure.

29 years ago(byte-compile-dest-file): New variable.
Richard M. Stallman [Sat, 24 Dec 1994 05:58:05 +0000 (05:58 +0000)]
(byte-compile-dest-file): New variable.
(byte-compile-file): Bind that var, early on.
(byte-compile-dynamic): New variable.
(byte-compile-dynamic-docstrings): New variable.
(byte-compile-close-variables): Bind byte-compile-dynamic,
byte-compile-dynamic-docstrings, and byte-compiler-compatibility.
(byte-compile-file): Call normal-mode, not set-auto-mode.
(byte-compile-output-docform): New arguments PREFACE, NAME, SPECINDEX,
QUOTED.  Callers changed.  Output doc strings as references to the .elc
file itself, using #@ and #$ constructs.
(byte-compile-output-as-comment): New function.

(byte-compile-insert-header): Don't save-excursion.
Insert at point, and move point.  Insert extra newline at end.
(byte-compile-from-buffer): Insert the header before compilation.

29 years ago(elp-pack-number): New function.
Richard M. Stallman [Sat, 24 Dec 1994 04:27:01 +0000 (04:27 +0000)]
(elp-pack-number): New function.
(elp-output-results): Use elp-pack-number to truncate time strings,
watching out for very small or very large numbers.

(elp-unset-master): Make it an interactive command.

29 years ago(read_char): Don't echo keys when echo_keystrokes is 0.
Richard M. Stallman [Sat, 24 Dec 1994 01:53:16 +0000 (01:53 +0000)]
(read_char): Don't echo keys when echo_keystrokes is 0.

29 years ago(dabbrev-completion): Now searches all buffers when given prefix arg 16.
Richard M. Stallman [Sat, 24 Dec 1994 01:35:28 +0000 (01:35 +0000)]
(dabbrev-completion): Now searches all buffers when given prefix arg 16.
(dabbrev--version): Variable deleted.

29 years agoDon't require cl, picture, or reporter.
Richard M. Stallman [Sat, 24 Dec 1994 01:30:55 +0000 (01:30 +0000)]
Don't require cl, picture, or reporter.
Don't provide new-dabbrev.
(dabbrev--try-find): Don't use `loop'.
Don't create or kill local bindings.
(dabbrev-completion): Use key-description to say what to type.
Fix style of "done" message.
(dabbrev-submit-feedback): Function deleted.
(dabbrev--same-major-mode-p): Simplify.
(dabbrev-completion, dabbrev--abbrev-at-point): Fix error msg style.

(dabbrev-filter-elements): New macro.
(dabbrev--select-buffers, dabbrev--find-expansion): Use that.
(dabbrev--search): Use that.

29 years agoComplete rewrite by Lars.Lindberg@sypro.cap.se.
Richard M. Stallman [Sat, 24 Dec 1994 01:26:51 +0000 (01:26 +0000)]
Complete rewrite by Lars.Lindberg@sypro.cap.se.

29 years agoGive syntax of keywords.
Richard M. Stallman [Fri, 23 Dec 1994 18:03:42 +0000 (18:03 +0000)]
Give syntax of keywords.

29 years agoInitial revision
Richard M. Stallman [Fri, 23 Dec 1994 17:58:46 +0000 (17:58 +0000)]
Initial revision

29 years ago(reporter-submit-bug-report): Set up for status messages.
Richard M. Stallman [Fri, 23 Dec 1994 17:33:21 +0000 (17:33 +0000)]
(reporter-submit-bug-report): Set up for status messages.
Use mail-text to position point to the body of the message.

(reporter-beautify-list): Complete rewrite.
Optional nocompact-p argument.

(reporter-dump-variable): Invert the test and
passing of compact-p argument to reporter-beautify-list.  List
values are not printed as defuns or function calls.

Updated package list.

(reporter-lisp-indent): New defun.

(reporter-dont-compact-list)
(reporter-status-message, reporter-status-count): New variables.

(reporter-update-status, reporter-beautify-list)
reporter-dump-variable): Now smarter about formating variables
with list values.  Checks the value of reporter-dont-compact-list.

29 years ago(next-line, previous-line): If interactive and not in
Richard M. Stallman [Fri, 23 Dec 1994 17:25:50 +0000 (17:25 +0000)]
(next-line, previous-line): If interactive and not in
kbd macro, catch the error and beep instead.

29 years agoRecommend doc strings for all functions and variables.
Richard M. Stallman [Fri, 23 Dec 1994 15:11:57 +0000 (15:11 +0000)]
Recommend doc strings for all functions and variables.

29 years agoentered into RCS
Richard M. Stallman [Fri, 23 Dec 1994 15:06:14 +0000 (15:06 +0000)]
entered into RCS

29 years ago(XTupdate_begin): Discard records of prior mouse highlight
Richard M. Stallman [Fri, 23 Dec 1994 05:12:32 +0000 (05:12 +0000)]
(XTupdate_begin): Discard records of prior mouse highlight
when frame must be redrawn.

(x_make_frame_visible, x_make_frame_invisible)
(x_iconify_frame): Give error if frame has explicit_parent.
(x_new_font): Don't set window height if frame has explicit_parent.

(x_mouse_leave): New function broken out of XTread_socket.
When x_focus_event_frame is nonzero, assume that frame gets focus.
(XTread_socket): Use x_mouse_leave for LeaveNotify.

29 years ago(x_set_frame_parameters): Handle icon-left, icon-top parms.
Richard M. Stallman [Fri, 23 Dec 1994 05:11:11 +0000 (05:11 +0000)]
(x_set_frame_parameters): Handle icon-left, icon-top parms.

(Fx_color_values): Doc fix.

(Fx_create_frame): Check for parent-id parameter.
Set explicit_parent and parent fields.
Don't set visibility if explicit_parent.
[! USE_X_TOOLKIT] (x_window): Specify parent window.

29 years ago(imenu-always-use-completion-buffer-p): A value of
Richard M. Stallman [Fri, 23 Dec 1994 05:05:22 +0000 (05:05 +0000)]
(imenu-always-use-completion-buffer-p): A value of
`never' now means never display a completion buffer.
(imenu--completion-buffer): implement 'never behaviour.

29 years agoAdd icon-left and icon-top frame parameters.
Richard M. Stallman [Fri, 23 Dec 1994 04:21:11 +0000 (04:21 +0000)]
Add icon-left and icon-top frame parameters.

29 years ago(bibtex-string, bibtex-preamble): Use forward-line.
Richard M. Stallman [Fri, 23 Dec 1994 04:18:29 +0000 (04:18 +0000)]
(bibtex-string, bibtex-preamble): Use forward-line.
(sort-subr): Don't call autload for this--that's done in loaddefs.el.
(bibtex-mode): Add autoload cookie.

Changed keybinding for bibtex-print-help-message
(from \C-ch to \C-c?). Therefore, describe-mode is not longer on
\C-c?. Also, changed prefix \C-cn for bibtex-narrow functions to
\C-c\C-r.
(bibtex-string-files): Changed documentation.
(bibtex-mode-map): Inscriptions of menu bar changed from "Entry
Types" to "Entry-Types" and "Bibtex Edit" to "BibTeX-Edit".
(bibtex-string-files): Changed documentation.
(bibtex-mode): If environment variable BIBINPUTS isn't defined,
string files are searched in the current directory.
(bibtex-completion-candidates): Now buffer-local to allow
evaluation of different bibtex-string-files in different buffers.
(bibtex-autokey-edit-before-use, bibtex-clean-entry): New variable
that determines, if the user is allowed to edit auto-generated
reference keys before they are used.
(bibtex-generate-autokey, bibtex-clean-entry): New function to
generate an autokey if necessary.
(bibtex-autokey-names, bibtex-autokey-name-change-strings,
bibtex-autokey-name-length, bibtex-autokey-name-separator,
bibtex-autokey-year-length, bibtex-autokey-titlewords,
bibtex-autokey-title-terminators,
bibtex-autokey-titlewords-stretch,
bibtex-autokey-titleword-first-ignore,
bibtex-autokey-titleword-abbrevs,
bibtex-autokey-titleword-change-strings,
bibtex-autokey-titleword-length,
bibtex-autokey-titleword-separator,
bibtex-autokey-name-year-separator,
bibtex-autokey-year-title-separator): New variables related to
bibtex-generate-autokey.
(bibtex-find-entry-location): Optional second parameter maybedup
to tell it that entering a duplicate entry isn't to report by an
error but by the return value of the function (necessary for
bibtex-clean-entry to find the correct position of an entry with
an autogenerated key without disturbing the user with unwanted
messages).
(bibtex-help-message): New variable to avoid printing of help
messages in the echo area.
(assoc-of-regexp): New function to match an alist of regexps.
(bibtex-string-files, bibtex-completion-candidates, bibtex-mode):
New variables to allow bibtex-complete-string to work on strings
initialized from a variable and from @String definitions in a list
of files, too.
(bibtex-predefined-strings, bibtex-entry-field-alist): Changed to
user options.
(bibtex-mode): Changed doc string.
(many functions and variables): Changed documentation strings of
variables and functions to hold a complete sentence in the first
line.
(bibtex-print-help-message): Now line dependent and reports if it
is called outside a BibTeX field.
(validate-bibtex-buffer): Completely rewritten to validate, if
buffer is syntactically correct.
(find-bibtex-duplicates): Moved into validate-bibtex-buffer.
(ispell-abstract, bibtex-ispell-abstract, ispell-bibtex-entry,
bibtex-ispell-entry, beginning-of-bibtex-entry,
bibtex-beginning-of-entry, end-of-bibtex-entry,
bibtex-end-of-entry, hide-bibtex-entry-bodies,
bibtex-hide-entry-bodies, narrow-to-bibtex-entry,
bibtex-narrow-to-entry, sort-bibtex-entries, bibtex-sort-entries,
validate-bibtex-buffer, bibtex-validate-buffer,
find-bibtex-entry-location, bibtex-find-entry-location): All
interactive functions are renamed, so that any interface function
begins with "bibtex-". Mapping:
ispell-abstract            --> bibtex-ispell-abstract
ispell-bibtex-entry        --> bibtex-ispell-entry
beginning-of-bibtex-entry  --> bibtex-beginning-of-entry
end-of-bibtex-entry        --> bibtex-end-of-entry
hide-bibtex-entry-bodies   --> bibtex-hide-entry-bodies
narrow-to-bibtex-entry     --> bibtex-narrow-to-entry
sort-bibtex-entries        --> bibtex-sort-entries
validate-bibtex-buffer     --> bibtex-validate-buffer
find-bibtex-entry-location --> bibtex-find-entry-location
(bibtex-maintain-sorted-entries,
bibtex-sort-ignore-string-entries): Default is now t.
(bibtex-complete-string): String list is built from additional
string list bibtex-predefined-string and current strings in file.
(string-equalp): Deleted and substituted by string-equal.
(assoc-string-equalp): Renamed to assoc-ignore-case.
(bibtex-entry): Reference key can be entered with completion. All
reference keys that are defined in buffer and all labels that
appear in crossreference entries are object to completion.
(Entry types): Changed order of entries in menu "entry types".
(bibtex-entry-field-alist): Changed order of entries slightly to
be more conform with standard BibTeX style layouts.
(bibtex-mode-map): Uniform keybindings for \C-c\C-e prefix (often
used types on control keys, sometimes used types on normal keys,
rarely used types on shift keys, almost never used types on meta
keys).
(bibtex-mode-map): Function narrow-to-bibtex-entry and counterpart
widen and function hide-bibtex-entry-bodies and counterpart
show-all bounded to appropriate local keys.
(bibtex-abbrev-table): Deleted
(bibtex-current-entry-label, put-string-on-kill-ring): Deleted
(AUCTeX provides all the functionality needed for citation
completion).
(bibtex-enclosing-reference, bibtex-pop-previous, bibtex-pop-next,
bibtex-clean-entry): Hacked for speed (bibtex-pop-previous and
bibtex-pop-next were to slow for larger BibTeX files).
(bibtex-pop-previous, bibtex-pop-next): Delimiters from previous
or next entry are changed to actual delimters if necessary.
(bibtex-entry): Fixed bug (False entry wasn't reported in error
message if bibtex-entry was called with undefined reference name).
(bibtex-entry-field-alist, bibtex-entry, bibtex-make-field,
bibtex-next-field, bibtex-clean-entry): Every reference entry now
contains a comment in addition to the name of the reference. This
comment appears in the echo area if you start editing that field
(after calling bibtex-next-field).
(bibtex-include-OPTcrossref, bibtex-entry): Changed
bibtex-include-OPTcrossref from single boolean variable to hold a
list of reference names which should have a crossref field.
(bibtex-complete-word): New function, which completes word
fragment before point to the longest prefix of predefined strings
in the buffer in the same way that ispell-complete-word operates
for words found in the dictionary.
(bibtex-reference-head): Start of bibtex-reference-head changed
from "^[ \t]*\\(" to "^\\( \\|\t\\)*\\(" (bibtex-pop-previous and
bibtex-pop-next didn't work, probably due to a bug in
re-search-forward).
(several functions): Added support for {} as field delimiters
(better than '"' for accented characters.
(bibtex-clean-entry): If optional field crossref is empty or
missing, former optional fields (if bibtex-include-OPTcrossref was
t) are necessary again. bibtex-clean-entry complains if they are
empty but not if they are missing, so you can intenionally omit
them, e. g. for a pseudo @Journal entry (needed for
crossreferences) made out of an @article with missing non-optional
fields.
Menu bar entries aren't centered anymore.

29 years ago(server-switch-buffer): Cope with dead frames and windows.
Richard M. Stallman [Fri, 23 Dec 1994 03:30:53 +0000 (03:30 +0000)]
(server-switch-buffer): Cope with dead frames and windows.

29 years ago(gdb): Correct tbreak doc string.
Richard M. Stallman [Thu, 22 Dec 1994 23:22:32 +0000 (23:22 +0000)]
(gdb): Correct tbreak doc string.
(gud-mode): Define a Gud menu.
(gdb): Set debugger-specific menu entries.
(sdb) (dbx) (xdb): Likewise.

29 years ago(enable-command): Always insert code to enable.
Richard M. Stallman [Thu, 22 Dec 1994 22:53:34 +0000 (22:53 +0000)]
(enable-command): Always insert code to enable.
(disable-command): Insert newline before as well as after.