1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-27 07:37:33 +00:00
Commit Graph

10293 Commits

Author SHA1 Message Date
Richard M. Stallman
6a14015905 Use SAVE_MODIFF and BUF_SAVE_MODIFF
instead of direct access to the save_modiff field.
1995-01-04 19:08:56 +00:00
Richard M. Stallman
e343d389ac (store_function_docstring): Arg is now EMACS_INT. 1995-01-04 07:19:10 +00:00
Noah Friedman
ccba0a208c Add autoload cookies. 1995-01-03 23:44:44 +00:00
Noah Friedman
a3039e326d (mail-abbrev-mailrc-file): Variable and macro deleted.
All callers now use `mail-personal-alias-file'.
1995-01-03 23:44:25 +00:00
Noah Friedman
9d73ab0d9d Use `mail-personal-alias-file' globally in place of hardwired "~/.mailrc". 1995-01-03 23:43:47 +00:00
Noah Friedman
8790b6984a (mail-personal-alias-file): New variable.
Use globally in place of hardwired "~/.mailrc".
1995-01-03 23:43:27 +00:00
Richard M. Stallman
c0bcb2393b (tex-mode): Recognize \NeedsTeXFormat{LaTeX2e}. 1995-01-03 22:28:50 +00:00
Richard M. Stallman
eca1cf26c3 (command-line-1): Pause between init file error
and command line option processing.
1995-01-03 07:05:41 +00:00
Richard M. Stallman
9e9c0abe49 (spell-filter): Make it a risky-local-variable. 1995-01-03 06:40:13 +00:00
Karl Heuer
303a5c9357 Use consistent spelling in comments. 1995-01-03 01:45:36 +00:00
Karl Heuer
e2ba196c2a (enum Lisp_Type): Don't use trailing comma.
(VALBITS, GCTYPEBITS): Define these regardless of NO_UNION_TYPE.
[!NO_UNION_TYPE] (union Lisp_Object): Use symbolic constants.
1995-01-03 01:35:49 +00:00
Karl Heuer
04ff97564e (mark_object): Make `else' visible outside MULTI_FRAME. 1995-01-03 01:20:47 +00:00
Richard M. Stallman
7f62925280 (gud-dbx-marker-filter): Use gud-marker-acc like gud-gdb-marker-filter.
(gud-sdb-marker-filter): Use gud-marker-acc.
1995-01-02 23:40:27 +00:00
Richard M. Stallman
e4d02e0473 (tex-mode): \begin at start of file implies Latex. 1995-01-02 23:07:36 +00:00
Richard M. Stallman
13b53275f3 (display-time-string-forms): Fix doc string syntax error. 1995-01-02 23:01:16 +00:00
Richard M. Stallman
99a3d506c1 (enum Lisp_Type): Delete Lisp_Buffer.
(enum Lisp_Misc_Type): Add Lisp_Misc_Float (not yet used).

(XSETBUFFER, BUFFERP, GC_BUFFERP): Rewrite to use pseudovectors.

(PVEC_BUFFER, PVEC_PROCESS, PVEC_FRAME, PVEC_COMPILED)
(PVEC_WINDOW, PVEC_WINDOW_CONFIGURATION, PVEC_SUBR):
Now enumeration constants, not macros.
(PVEC_FLAG): Enumeration alias for PSEUDOVECTOR_FLAG.
1995-01-02 21:58:40 +00:00
Richard M. Stallman
d281a86afb Use BUF_MARKERS throughout. 1995-01-02 21:54:50 +00:00
Richard M. Stallman
336cd05669 (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.
1995-01-02 21:50:28 +00:00
Richard M. Stallman
e5d967c90e Use BUF_INTERVALS throughout.
(temp_set_point, set_point): Use BUF_PT.
(get_local_map): Get keymap from specified buffer, not current one.
1995-01-02 21:38:22 +00:00
Richard M. Stallman
866bf24677 (validate_interval_range): Use BUF_INTERVALS. 1995-01-02 21:32:10 +00:00
Richard M. Stallman
9fbf87cd52 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.
1995-01-02 09:21:30 +00:00
Richard M. Stallman
c1ea566e86 (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):
1995-01-02 09:19:34 +00:00
Richard M. Stallman
4c61f38e78 Use SAVE_MODIFF and BUF_SAVE_MODIFF
instead of direct access to the save_modiff field.
1995-01-02 09:18:07 +00:00
Richard M. Stallman
1e158d254d 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.
1995-01-02 09:16:42 +00:00
Richard M. Stallman
30e3190aac (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.
1995-01-02 09:15:25 +00:00
Richard M. Stallman
8be5e0fcc3 Integers now at least 28 bits. 1995-01-02 06:51:21 +00:00
Richard M. Stallman
32ce36ad51 (store_in_keymap): While dumping, copy DEF if a cons. 1995-01-02 06:42:56 +00:00
Richard M. Stallman
95385625ed 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.
1995-01-02 06:36:56 +00:00
Richard M. Stallman
42640f8319 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.
1995-01-02 06:33:09 +00:00
Richard M. Stallman
c6367666ae (temp_output_buffer_show): Use BUF_SAVE_MODIFF. 1995-01-02 06:30:49 +00:00
Richard M. Stallman
908b0ae5e0 (print): Don't drop thru to error for markers and overlays.
(print): Make buffer case a branch of the Lisp_Vectorlike case.
1995-01-02 06:28:29 +00:00
Richard M. Stallman
ad9cdce411 (Fprimitive_undo): Use base buffer's modtime field.
Use SAVE_MODIFF and BUF_SAVE_MODIFF
instead of direct access to the save_modiff field.
1995-01-02 06:26:46 +00:00
Richard M. Stallman
3fe8bda56f Adapt to new Lisp_Object format.
(xvectype, xmisctype): New commands.
(xtype): Print the misc or vectorlike subtype too.
1995-01-02 05:04:34 +00:00
Richard M. Stallman
c11a94fe53 (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.
1994-12-31 07:49:59 +00:00
Richard M. Stallman
03414ea2b6 (regex_compile): Use putchar, not printchar. 1994-12-30 23:28:45 +00:00
Richard M. Stallman
002b0d0012 (tex-mode-map): Add BibTeX File menu item. 1994-12-30 23:02:43 +00:00
Richard M. Stallman
de3c715dd1 (terminal-emulator): Test system-configuration
to decide on terminfo vs termcap.
(te-terminfo-systems-regexp): Renamed from te-terminfo-systems.
1994-12-30 20:48:30 +00:00
Richard M. Stallman
398e98d1c2 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.
1994-12-30 20:41:25 +00:00
Richard M. Stallman
ca0569ad39 (print): Get size of compiled function as pseudovector.
Use a switch statement again.
1994-12-30 06:50:01 +00:00
Richard M. Stallman
7c06ac2bfa (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.
1994-12-30 01:54:16 +00:00
Richard M. Stallman
169ee24357 (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.
1994-12-30 01:52:37 +00:00
Richard M. Stallman
7f358972bc (Faref): Handle compiled function as pseudovector. 1994-12-30 01:50:01 +00:00
Richard M. Stallman
086234937e (Flength): Handle compiled function as pseudovector. 1994-12-30 01:46:04 +00:00
Richard M. Stallman
aac03ccab4 (XSETFRAME): Use pseudovector. 1994-12-30 01:41:27 +00:00
Richard M. Stallman
0299d313b8 (x_scroll_bar_handle_click): Use GC_WINDOWP.
(XTframe_rehighlight, x_window_to_scroll_bar): Use GC_FRAMEP.
1994-12-30 01:37:53 +00:00
Richard M. Stallman
776332c4a2 Make size field an EMACS_INT. 1994-12-29 19:56:17 +00:00
Richard M. Stallman
1ca92e2614 Fix typo in previous change. 1994-12-29 19:02:16 +00:00
Richard M. Stallman
dde69dbec8 (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.
1994-12-29 18:53:25 +00:00
Richard M. Stallman
6cb26914cc (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.
1994-12-29 04:17:00 +00:00
Richard M. Stallman
a33b76c3eb (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.
1994-12-29 01:46:34 +00:00