]> code.delx.au - gnu-emacs/log
gnu-emacs
29 years ago(find-backup-file-name): Run a file name handler.
Richard M. Stallman [Thu, 12 Jan 1995 21:05:07 +0000 (21:05 +0000)]
(find-backup-file-name): Run a file name handler.
(backup-buffer): Do nothing if backup-info is nil.

29 years ago(ange-ftp-set-buffer-mode): Don't set make-backup-files.
Richard M. Stallman [Thu, 12 Jan 1995 21:03:32 +0000 (21:03 +0000)]
(ange-ftp-set-buffer-mode): Don't set make-backup-files.
(ange-ftp-real-find-backup-file-name): New function.
(ange-ftp-find-backup-file-name): New function.
Use it to handle find-backup-file-name.

29 years ago(unexec): Cast value of sbrk.
Richard M. Stallman [Thu, 12 Jan 1995 21:02:30 +0000 (21:02 +0000)]
(unexec): Cast value of sbrk.
(run_time_remap): Cast arg to brk.
(brk_value): Renamed from Brk.
(is_it): Cast 1st arg of mmap.

29 years ago(internal_equal): Once again use a switch.
Richard M. Stallman [Thu, 12 Jan 1995 21:01:31 +0000 (21:01 +0000)]
(internal_equal): Once again use a switch.

29 years agoGlobal polishing, some bugs corrected, dynamic allocation used instead
Francesco Potortì [Thu, 12 Jan 1995 17:05:37 +0000 (17:05 +0000)]
Global polishing, some bugs corrected, dynamic allocation used instead
of fixed length static buffers in many places.
* etags.c (FILEPOS, GET_CHARNO, GET_FILEPOS, max, LINENO): Deleted.
(append_to_tagfile, typedefs, typedefs_and_cplusplus,
 constantypedefs, update, vgrind_style, no_warnings,
 cxref_style, cplusplus, noindentypedefs): Were int, now logical.
(permit_duplicates): Was a var, now a #define.
(filename_lb): Was global, now local to main.
(main): Open the tag file when in cxref mode.
Use a BUFSIZ size buffer for making the shell commands.
Look at the return value from the system routine.
Exit when cannot open the tag file.
(process_file): Open the file and pass the FILE* to find_entries.
(find_entries): Now void, because does not open the file itself.
(pfnote): Recovering from lack of memory does not work.  Removed.
Use savenstr and simplify the code.
(free_tree): Only free the name space if node is named.
(structtag): Now a pointer, not a fixed length array of chars.
(consider_token): Don't take a token as argument.  Use savenstr
when saving a tag in structtag.  Callers changed.
(TOKEN): Structure changed.  Now used only in C_entries.
(TOKEN_SAVED_P, SAVE_TOKEN, RESTORE_TOKEN): Deleted.
(C_entries): nameb and savenameb deleted.  Use dinamic allocation.
(pfcnt): Deleted.  Users updated.
(getit, Asm_labels, Pascal_functions, L_getit, get_scheme,
 TEX_getit, prolog_getit): Use dinamic allocation for storing
the tag instead of a fixed size buffer.

29 years ago(mouse-select-buffer) Handle an aborted selection.
Richard M. Stallman [Thu, 12 Jan 1995 06:59:56 +0000 (06:59 +0000)]
(mouse-select-buffer) Handle an aborted selection.

29 years ago(etags-goto-tag-location): Add 1 to char positions in TAGS.
Richard M. Stallman [Thu, 12 Jan 1995 05:50:13 +0000 (05:50 +0000)]
(etags-goto-tag-location): Add 1 to char positions in TAGS.

29 years ago(define-derived-mode): Doc fix.
Richard M. Stallman [Wed, 11 Jan 1995 17:27:35 +0000 (17:27 +0000)]
(define-derived-mode): Doc fix.

29 years agoPut height and width from geometry parm into default-frame-alist.
Richard M. Stallman [Wed, 11 Jan 1995 04:44:10 +0000 (04:44 +0000)]
Put height and width from geometry parm into default-frame-alist.

29 years ago(main): Skip past the colon in inname.
Richard M. Stallman [Wed, 11 Jan 1995 03:36:30 +0000 (03:36 +0000)]
(main): Skip past the colon in inname.

29 years ago(DONT_COPY_FLAG): Fix typo.
Karl Heuer [Wed, 11 Jan 1995 03:00:32 +0000 (03:00 +0000)]
(DONT_COPY_FLAG): Fix typo.

29 years ago(isearch-edit-string): Disable message logging.
Karl Heuer [Wed, 11 Jan 1995 02:24:09 +0000 (02:24 +0000)]
(isearch-edit-string): Disable message logging.
(isearch-toggle-case-fold, isearch-message): Likewise.

29 years agoUse large constants for Lisp_Misc_Type.
Karl Heuer [Wed, 11 Jan 1995 02:13:20 +0000 (02:13 +0000)]
Use large constants for Lisp_Misc_Type.
Add some function declarations.

29 years ago(Fgarbage_collect): Don't log the GC message.
Karl Heuer [Wed, 11 Jan 1995 02:04:58 +0000 (02:04 +0000)]
(Fgarbage_collect): Don't log the GC message.

29 years ago(message1_nolog): New function.
Karl Heuer [Wed, 11 Jan 1995 02:03:00 +0000 (02:03 +0000)]
(message1_nolog): New function.

29 years ago(Vmessage_log_max): New var.
Karl Heuer [Wed, 11 Jan 1995 01:55:01 +0000 (01:55 +0000)]
(Vmessage_log_max): New var.
(syms_of_xdisp): defvar and initialize it.
(message2_nolog): Renamed from message2.
(message2): Log messages, then call message2_nolog.

29 years ago(echo): Don't log the key echoes.
Karl Heuer [Wed, 11 Jan 1995 01:53:36 +0000 (01:53 +0000)]
(echo): Don't log the key echoes.

29 years agoDeclare all non-returning functions `void'.
Karl Heuer [Wed, 11 Jan 1995 01:40:25 +0000 (01:40 +0000)]
Declare all non-returning functions `void'.
(insert_1): Make non-static.  New arg PREPARE.  All callers changed.

29 years ago(dired-insert-directory): Don't call expand-file-name
Richard M. Stallman [Wed, 11 Jan 1995 01:28:22 +0000 (01:28 +0000)]
(dired-insert-directory): Don't call expand-file-name
when dir-or-list is a list.

29 years ago(DONT_COPY_FLAG): New bit flag.
Richard M. Stallman [Wed, 11 Jan 1995 01:19:09 +0000 (01:19 +0000)]
(DONT_COPY_FLAG): New bit flag.
(mark_object, gc_sweep, compact_strings): Use it.

29 years ago(main): Handle SIGABRT, SIGHWE, SIGPRE, SIGORE, SIGDLK,
Richard M. Stallman [Wed, 11 Jan 1995 01:18:41 +0000 (01:18 +0000)]
(main): Handle SIGABRT, SIGHWE, SIGPRE, SIGORE, SIGDLK,
       SIGCPULIM, if they are defined.

29 years ago(struct Lisp_Free, struct Lisp_Marker, etc.):
Richard M. Stallman [Wed, 11 Jan 1995 01:17:49 +0000 (01:17 +0000)]
(struct Lisp_Free, struct Lisp_Marker, etc.):
Make the `type' field just 16 bits, and declare as int.
Add explicit spacer field after it.
(struct Lisp_Marker): New field insertion_type.

29 years agoDon't use go32 for make-docfile; the arg list is too long.
Karl Heuer [Wed, 11 Jan 1995 00:22:57 +0000 (00:22 +0000)]
Don't use go32 for make-docfile; the arg list is too long.
Use coff2exe in lib-src/makefile instead.

29 years agoUse coff2exe on make-docfile, instead of go32 when running it.
Karl Heuer [Wed, 11 Jan 1995 00:21:46 +0000 (00:21 +0000)]
Use coff2exe on make-docfile, instead of go32 when running it.

29 years agorlogin-tab-or-complete: insert tab in buffer, don't send directly to process.
Noah Friedman [Tue, 10 Jan 1995 23:29:27 +0000 (23:29 +0000)]
rlogin-tab-or-complete: insert tab in buffer, don't send directly to process.

rlogin, rlogin-directory-tracking-mode: use rlogin-remote-user,
not rlogin-user.

29 years ago(Fnarrow_to_region): Swap using temp Lisp_Object, not int.
Karl Heuer [Tue, 10 Jan 1995 22:03:13 +0000 (22:03 +0000)]
(Fnarrow_to_region): Swap using temp Lisp_Object, not int.

29 years ago(Finsert_char): Check inherit flag for long strings too.
Karl Heuer [Tue, 10 Jan 1995 20:37:38 +0000 (20:37 +0000)]
(Finsert_char): Check inherit flag for long strings too.

29 years ago(syms_of_keyboard): Doc fix.
Richard M. Stallman [Tue, 10 Jan 1995 18:37:06 +0000 (18:37 +0000)]
(syms_of_keyboard): Doc fix.

(read_key_sequence): If first event is mouse click,
use the text property keymap from where the click was.
New local var orig_local_map.

29 years ago(show-paren-command-hook): Don't alter paren-mismatch face
Richard M. Stallman [Tue, 10 Jan 1995 17:44:28 +0000 (17:44 +0000)]
(show-paren-command-hook): Don't alter paren-mismatch face
if make-face gives it some contents.

29 years ago(face-nontrivial-p): New function.
Richard M. Stallman [Tue, 10 Jan 1995 17:43:59 +0000 (17:43 +0000)]
(face-nontrivial-p): New function.

29 years ago* etags.c (pfatal): New function.
Francesco Potortì [Tue, 10 Jan 1995 17:20:39 +0000 (17:20 +0000)]
* etags.c (pfatal): New function.
(main, etags_getcwd): Use pfatal.
(etags_getcwd): Corrected another bug in the HAVE_GETCWD version.

29 years agoDoc fixes (simon's email address and shell-mode)
Simon Marshall [Tue, 10 Jan 1995 12:08:21 +0000 (12:08 +0000)]
Doc fixes (simon's email address and shell-mode)

29 years ago* etags.c (Lang_function): Use void instead to declare the
Francesco Potortì [Tue, 10 Jan 1995 09:07:15 +0000 (09:07 +0000)]
* etags.c (Lang_function): Use void instead to declare the
language functions, because many compilers are buggy.
(etags_getcwd): Fix the previous fix on the #else branch.
(readline_internal): Discard possible \r before \n here.
(C_entries): Do not deal with \r here: undo previous fix.

29 years ago(face-try-color-list): Treat `underline' as valid.
Richard M. Stallman [Tue, 10 Jan 1995 06:52:53 +0000 (06:52 +0000)]
(face-try-color-list): Treat `underline' as valid.

29 years agoRemoved several more gratuitous autoload cookies.
Noah Friedman [Tue, 10 Jan 1995 03:14:24 +0000 (03:14 +0000)]
Removed several more gratuitous autoload cookies.
rlogin-initially-track-cwd: Variable deleted.

rlogin-directory-tracking-mode: New variable and function.
Default to 'local.

rlogin-host, rlogin-remote-user: New variables.
rlogin: Set them appropriately.

rlogin-mode-map: Copy shell-mode-map fully if not a list
(in lucid emacs, keymaps are opaque objects).

rlogin-tab-or-complete: New function.
Bind C-i to it.

rlogin-carriage-filter: New function.
rlogin: Add it to comint-output-filter-functions.

rlogin-parse-words: New function.

rlogin: Make buffer name "*rlogin-USER@HOST* if remote user differs from local.
Simplify initialization of local variables, using rlogin-parse-words.
Do not call comint-mode directly.
Doc fixes.

29 years ago(Fscroll_other_window): On small windows, scroll by 1 line.
Karl Heuer [Tue, 10 Jan 1995 00:06:50 +0000 (00:06 +0000)]
(Fscroll_other_window): On small windows, scroll by 1 line.

29 years agoFix text punctuation.
Karl Heuer [Mon, 9 Jan 1995 23:10:10 +0000 (23:10 +0000)]
Fix text punctuation.

29 years agoBetter format of files-by-directory menus.
Richard M. Stallman [Mon, 9 Jan 1995 22:16:23 +0000 (22:16 +0000)]
Better format of files-by-directory menus.
Split big menus into sub-menus.
(msb-max-menu-items): Changed default value.  This variable
now depicts the maximum number of items in a sub-menu.
(msb-display-most-recently-used): Changed default value.
(mouse-select-buffer): Now handles several levels of
sub-menus.  New format on return value.

29 years ago(concat, xmalloc, xrealloc, readline, xnew): Four new
Richard M. Stallman [Mon, 9 Jan 1995 18:31:22 +0000 (18:31 +0000)]
(concat, xmalloc, xrealloc, readline, xnew): Four new
functions and a macro that allow the program to work on input
lines of whatever length.  Copied from etags.c.
(fatal): Print a fatal error message and exit.
(main): Use the new functions.  Fixed a bug that made a \037 char
appear at the end of the output.

29 years ago(mouse-drag-region): As once in the past,
Richard M. Stallman [Mon, 9 Jan 1995 18:27:32 +0000 (18:27 +0000)]
(mouse-drag-region): As once in the past,
call the binding of the terminating event.

29 years ago(listify-key-sequence-1): Update for change in CHAR_META.
Richard M. Stallman [Mon, 9 Jan 1995 09:47:15 +0000 (09:47 +0000)]
(listify-key-sequence-1): Update for change in CHAR_META.

29 years ago(store_in_keymap): Copy a cons only if car is a string.
Richard M. Stallman [Sun, 8 Jan 1995 20:24:36 +0000 (20:24 +0000)]
(store_in_keymap): Copy a cons only if car is a string.

29 years agoDon't include param.h.
Richard M. Stallman [Sun, 8 Jan 1995 20:19:47 +0000 (20:19 +0000)]
Don't include param.h.

29 years ago(syms_of_buffer): Doc fix.
Richard M. Stallman [Sun, 8 Jan 1995 19:22:20 +0000 (19:22 +0000)]
(syms_of_buffer): Doc fix.

29 years agoFix buffer-undo-list.
Richard M. Stallman [Sun, 8 Jan 1995 19:20:03 +0000 (19:20 +0000)]
Fix buffer-undo-list.

29 years agoInclude config.h first.
Roland McGrath [Sat, 7 Jan 1995 16:57:36 +0000 (16:57 +0000)]
Include config.h first.

29 years ago(VALBITS, GCTYPEBITS): Deleted; default is better.
Karl Heuer [Sat, 7 Jan 1995 00:23:16 +0000 (00:23 +0000)]
(VALBITS, GCTYPEBITS): Deleted; default is better.

29 years ago(VALBITS): Adjust for new bit layout.
Karl Heuer [Sat, 7 Jan 1995 00:22:49 +0000 (00:22 +0000)]
(VALBITS): Adjust for new bit layout.

29 years ago[XENIX|SOLARIS2] (VALBITS, GCTYPEBITS): Deleted; default is better.
Karl Heuer [Sat, 7 Jan 1995 00:19:51 +0000 (00:19 +0000)]
[XENIX|SOLARIS2] (VALBITS, GCTYPEBITS): Deleted; default is better.

29 years ago(VALBITS, XTYPE): Adjust for new bit layout.
Karl Heuer [Sat, 7 Jan 1995 00:18:38 +0000 (00:18 +0000)]
(VALBITS, XTYPE): Adjust for new bit layout.

29 years agoFix comment.
Karl Heuer [Sat, 7 Jan 1995 00:14:11 +0000 (00:14 +0000)]
Fix comment.

29 years agoDelete obsolete comment.
Karl Heuer [Fri, 6 Jan 1995 23:23:38 +0000 (23:23 +0000)]
Delete obsolete comment.

29 years ago(C_entries): Ignore carriage return at end of line.
Richard M. Stallman [Fri, 6 Jan 1995 22:30:26 +0000 (22:30 +0000)]
(C_entries): Ignore carriage return at end of line.

29 years ago(te-terminfo-systems-regexp): Variable deleted.
Richard M. Stallman [Fri, 6 Jan 1995 22:08:23 +0000 (22:08 +0000)]
(te-terminfo-systems-regexp): Variable deleted.
(te-create-terminfo): Use system-uses-terminfo.

29 years ago(bibtex-clean-entry): Killing text while editing
Richard M. Stallman [Fri, 6 Jan 1995 21:48:36 +0000 (21:48 +0000)]
(bibtex-clean-entry): Killing text while editing
the autogenerated label in the minibuffer caused the killed text
to appear in front of the bibtex entry.

29 years ago(what-cursor-position): Show char in decimal, hex, octal.
Richard M. Stallman [Fri, 6 Jan 1995 20:48:57 +0000 (20:48 +0000)]
(what-cursor-position): Show char in decimal, hex, octal.

29 years ago(pop-global-mark): Make pop-global-mark treat
Richard M. Stallman [Thu, 5 Jan 1995 23:53:01 +0000 (23:53 +0000)]
(pop-global-mark): Make pop-global-mark treat
global-mark-ring as a ring.

29 years ago[!MULTI_FRAME] (window_frame): New function.
Richard M. Stallman [Thu, 5 Jan 1995 22:19:54 +0000 (22:19 +0000)]
[!MULTI_FRAME] (window_frame): New function.
[!MULTI_FRAME] (syms_of_frame): defsubr it.

29 years ago(vc-do-command): Change RCS handling so rcsdiff won't strip
Richard M. Stallman [Thu, 5 Jan 1995 22:11:35 +0000 (22:11 +0000)]
(vc-do-command): Change RCS handling so rcsdiff won't strip
away relative-pathname information.  This function no longer sets the
default directory.  Also, mark the *vc* output buffer unmodified.
(vc-revert-buffer1): Handle font-lock mode correctly.
(vc-diff, vc-print-log): vc-do-command no longer sets the default
directory, but doing so is advantageous for these cases.
(file-executable-p-18): Better portability to Emacs 18.
(vc-directory-exclusion-list, vc-file-tree-walk-internal):
Implement the new variable vc-directory-exclusion-list to prune
tree walks.  Initial value tells it to ignore SCCS and RCS subdirectories.

29 years agoBump version.
Johan Vromans [Thu, 5 Jan 1995 12:32:54 +0000 (12:32 +0000)]
Bump version.

29 years agoChange forms-search to forms-search-forward, and add
Johan Vromans [Thu, 5 Jan 1995 11:54:18 +0000 (11:54 +0000)]
Change forms-search to forms-search-forward, and add
forms-search-backward.
(forms--mode-menu-ro, forms--mode-menu-edit): New
functions to create a pulldown menu in the menubar.
(forms--mode-commands): Call them for the edit and view mode.
(forms-print): New function.

29 years agoFix typo in last change.
Roland McGrath [Thu, 5 Jan 1995 07:45:50 +0000 (07:45 +0000)]
Fix typo in last change.

29 years ago(store_function_docstring, Fdocumentation): Use & PSEUDOVECTOR_SIZE_MASK on
Roland McGrath [Thu, 5 Jan 1995 07:11:54 +0000 (07:11 +0000)]
(store_function_docstring, Fdocumentation): Use & PSEUDOVECTOR_SIZE_MASK on
`size' field of compiled byte-code object.

29 years ago(Fcall_interactively): Use & PSEUDOVECTOR_SIZE_MASK on `size' field of
Roland McGrath [Thu, 5 Jan 1995 07:06:19 +0000 (07:06 +0000)]
(Fcall_interactively): Use & PSEUDOVECTOR_SIZE_MASK on `size' field of
compiled byte-code object.

29 years ago(Fcommandp): Use & PSEUDOVECTOR_SIZE_MASK on `size' field of compiled
Roland McGrath [Thu, 5 Jan 1995 07:05:16 +0000 (07:05 +0000)]
(Fcommandp): Use & PSEUDOVECTOR_SIZE_MASK on `size' field of compiled
byte-code object.

29 years ago(tex-print): Better check for when to print current
Richard M. Stallman [Thu, 5 Jan 1995 00:23:50 +0000 (00:23 +0000)]
(tex-print): Better check for when to print current
buffer's file over last processed file.

29 years ago(mark_object, mark_buffer): Don't mark buffer twice.
Karl Heuer [Wed, 4 Jan 1995 22:43:47 +0000 (22:43 +0000)]
(mark_object, mark_buffer): Don't mark buffer twice.

29 years ago[EXPLICIT_SIGN_EXTEND] (XINT): Use symbolic constants.
Karl Heuer [Wed, 4 Jan 1995 22:41:16 +0000 (22:41 +0000)]
[EXPLICIT_SIGN_EXTEND] (XINT): Use symbolic constants.

29 years ago(auto-mode-alist): Add entries for .cls files, and for /drafts/.
Richard M. Stallman [Wed, 4 Jan 1995 22:02:59 +0000 (22:02 +0000)]
(auto-mode-alist): Add entries for .cls files, and for /drafts/.

29 years ago(xcar, xcdr): Use correct shift and mask values.
Karl Heuer [Wed, 4 Jan 1995 21:31:58 +0000 (21:31 +0000)]
(xcar, xcdr): Use correct shift and mask values.

29 years ago(xint): Use correct mask.
Karl Heuer [Wed, 4 Jan 1995 21:28:53 +0000 (21:28 +0000)]
(xint): Use correct mask.

29 years agoUpdate copyright notice.
Per Bothner [Wed, 4 Jan 1995 20:57:31 +0000 (20:57 +0000)]
Update copyright notice.

29 years agoRecognize BSD/OS as bsdi. Patch from Chris Torek <torek@BSDI.COM>.
Per Bothner [Wed, 4 Jan 1995 20:54:24 +0000 (20:54 +0000)]
Recognize BSD/OS as bsdi.  Patch from Chris Torek <torek@BSDI.COM>.

29 years agoOn sunos4.1.3 and sunus4shr, set NON_GNU_CPP.
Richard M. Stallman [Wed, 4 Jan 1995 19:10:22 +0000 (19:10 +0000)]
On sunos4.1.3 and sunus4shr, set NON_GNU_CPP.

Handle isc 4.1 operating system.

29 years ago(term_init): Fatal error if screen is too small.
Richard M. Stallman [Wed, 4 Jan 1995 19:09:36 +0000 (19:09 +0000)]
(term_init): Fatal error if screen is too small.

29 years agoUse SAVE_MODIFF and BUF_SAVE_MODIFF
Richard M. Stallman [Wed, 4 Jan 1995 19:08:56 +0000 (19:08 +0000)]
Use SAVE_MODIFF and BUF_SAVE_MODIFF
instead of direct access to the save_modiff field.

29 years ago(store_function_docstring): Arg is now EMACS_INT.
Richard M. Stallman [Wed, 4 Jan 1995 07:19:10 +0000 (07:19 +0000)]
(store_function_docstring): Arg is now EMACS_INT.

29 years agoAdd autoload cookies.
Noah Friedman [Tue, 3 Jan 1995 23:44:44 +0000 (23:44 +0000)]
Add autoload cookies.

29 years ago(mail-abbrev-mailrc-file): Variable and macro deleted.
Noah Friedman [Tue, 3 Jan 1995 23:44:25 +0000 (23:44 +0000)]
(mail-abbrev-mailrc-file): Variable and macro deleted.
All callers now use `mail-personal-alias-file'.

29 years agoUse `mail-personal-alias-file' globally in place of hardwired "~/.mailrc".
Noah Friedman [Tue, 3 Jan 1995 23:43:47 +0000 (23:43 +0000)]
Use `mail-personal-alias-file' globally in place of hardwired "~/.mailrc".

29 years ago(mail-personal-alias-file): New variable.
Noah Friedman [Tue, 3 Jan 1995 23:43:27 +0000 (23:43 +0000)]
(mail-personal-alias-file): New variable.
Use globally in place of hardwired "~/.mailrc".

29 years ago(tex-mode): Recognize \NeedsTeXFormat{LaTeX2e}.
Richard M. Stallman [Tue, 3 Jan 1995 22:28:50 +0000 (22:28 +0000)]
(tex-mode): Recognize \NeedsTeXFormat{LaTeX2e}.

29 years ago(command-line-1): Pause between init file error
Richard M. Stallman [Tue, 3 Jan 1995 07:05:41 +0000 (07:05 +0000)]
(command-line-1): Pause between init file error
and command line option processing.

29 years ago(spell-filter): Make it a risky-local-variable.
Richard M. Stallman [Tue, 3 Jan 1995 06:40:13 +0000 (06:40 +0000)]
(spell-filter): Make it a risky-local-variable.

29 years agoUse consistent spelling in comments.
Karl Heuer [Tue, 3 Jan 1995 01:45:36 +0000 (01:45 +0000)]
Use consistent spelling in comments.

29 years ago(enum Lisp_Type): Don't use trailing comma.
Karl Heuer [Tue, 3 Jan 1995 01:35:49 +0000 (01:35 +0000)]
(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.

29 years ago(mark_object): Make `else' visible outside MULTI_FRAME.
Karl Heuer [Tue, 3 Jan 1995 01:20:47 +0000 (01:20 +0000)]
(mark_object): Make `else' visible outside MULTI_FRAME.

29 years ago(gud-dbx-marker-filter): Use gud-marker-acc like gud-gdb-marker-filter.
Richard M. Stallman [Mon, 2 Jan 1995 23:40:27 +0000 (23:40 +0000)]
(gud-dbx-marker-filter): Use gud-marker-acc like gud-gdb-marker-filter.
(gud-sdb-marker-filter): Use gud-marker-acc.

29 years ago(tex-mode): \begin at start of file implies Latex.
Richard M. Stallman [Mon, 2 Jan 1995 23:07:36 +0000 (23:07 +0000)]
(tex-mode): \begin at start of file implies Latex.

29 years ago(display-time-string-forms): Fix doc string syntax error.
Richard M. Stallman [Mon, 2 Jan 1995 23:01:16 +0000 (23:01 +0000)]
(display-time-string-forms): Fix doc string syntax error.

29 years ago(enum Lisp_Type): Delete Lisp_Buffer.
Richard M. Stallman [Mon, 2 Jan 1995 21:58:40 +0000 (21:58 +0000)]
(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.

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.