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.
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.
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.
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.
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.
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.
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.
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.
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.
(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.
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.
(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.
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):
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.
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.
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.