1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-13 06:50:39 -08:00
Commit graph

10372 commits

Author SHA1 Message Date
Richard M. Stallman
ea9e39a024 (revert-buffer): Recompute buffer-file-truename. 1995-01-12 23:45:01 +00:00
Karl Heuer
4cab507406 (internal_equal): Delete redundant tests.
Mask size field when comparing pseudovectors.
(Frandom): Use VALBITS instead of hardcoded constants.
1995-01-12 23:18:19 +00:00
Richard M. Stallman
73dae9a9d5 (indent-c-exp): Handle `{ if (x)\n foo;\n bar;' case. 1995-01-12 22:45:50 +00:00
Richard M. Stallman
1103950c98 (indent-c++-exp): Handle `{ if (x)\n foo;\n bar;' case. 1995-01-12 22:45:24 +00:00
Richard M. Stallman
eb650569ae (find-backup-file-name): Run a file name handler.
(backup-buffer): Do nothing if backup-info is nil.
1995-01-12 21:05:07 +00:00
Richard M. Stallman
dae0ae5d73 (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.
1995-01-12 21:03:32 +00:00
Richard M. Stallman
0c97bd6a43 (unexec): Cast value of sbrk.
(run_time_remap): Cast arg to brk.
(brk_value): Renamed from Brk.
(is_it): Cast 1st arg of mmap.
1995-01-12 21:02:30 +00:00
Richard M. Stallman
4ff1aed96c (internal_equal): Once again use a switch. 1995-01-12 21:01:31 +00:00
Francesco Potortì
55597f9003 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.
1995-01-12 17:05:37 +00:00
Richard M. Stallman
dc3247b34d (mouse-select-buffer) Handle an aborted selection. 1995-01-12 06:59:56 +00:00
Richard M. Stallman
08b894ab8b (etags-goto-tag-location): Add 1 to char positions in TAGS. 1995-01-12 05:50:13 +00:00
Richard M. Stallman
6b410da764 (define-derived-mode): Doc fix. 1995-01-11 17:27:35 +00:00
Richard M. Stallman
e42a4b863a Put height and width from geometry parm into default-frame-alist. 1995-01-11 04:44:10 +00:00
Richard M. Stallman
0c22b79bad (main): Skip past the colon in inname. 1995-01-11 03:36:30 +00:00
Karl Heuer
e19e5a3e16 (DONT_COPY_FLAG): Fix typo. 1995-01-11 03:00:32 +00:00
Karl Heuer
a56687f1c0 (isearch-edit-string): Disable message logging.
(isearch-toggle-case-fold, isearch-message): Likewise.
1995-01-11 02:24:09 +00:00
Karl Heuer
c98adc1b2e Use large constants for Lisp_Misc_Type.
Add some function declarations.
1995-01-11 02:13:20 +00:00
Karl Heuer
691c4285c5 (Fgarbage_collect): Don't log the GC message. 1995-01-11 02:04:58 +00:00
Karl Heuer
0b1005ef3c (message1_nolog): New function. 1995-01-11 02:03:00 +00:00
Karl Heuer
5992c4f725 (Vmessage_log_max): New var.
(syms_of_xdisp): defvar and initialize it.
(message2_nolog): Renamed from message2.
(message2): Log messages, then call message2_nolog.
1995-01-11 01:55:01 +00:00
Karl Heuer
b718c39540 (echo): Don't log the key echoes. 1995-01-11 01:53:36 +00:00
Karl Heuer
c660b094b9 Declare all non-returning functions `void'.
(insert_1): Make non-static.  New arg PREPARE.  All callers changed.
1995-01-11 01:40:25 +00:00
Richard M. Stallman
bc9c99bce3 (dired-insert-directory): Don't call expand-file-name
when dir-or-list is a list.
1995-01-11 01:28:22 +00:00
Richard M. Stallman
155ffe9c93 (DONT_COPY_FLAG): New bit flag.
(mark_object, gc_sweep, compact_strings): Use it.
1995-01-11 01:19:09 +00:00
Richard M. Stallman
99e372cd35 (main): Handle SIGABRT, SIGHWE, SIGPRE, SIGORE, SIGDLK,
SIGCPULIM, if they are defined.
1995-01-11 01:18:41 +00:00
Richard M. Stallman
5bfac5a98e (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.
1995-01-11 01:17:49 +00:00
Karl Heuer
cd9bbed5a2 Don't use go32 for make-docfile; the arg list is too long.
Use coff2exe in lib-src/makefile instead.
1995-01-11 00:22:57 +00:00
Karl Heuer
04993d2714 Use coff2exe on make-docfile, instead of go32 when running it. 1995-01-11 00:21:46 +00:00
Noah Friedman
606679174a 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.
1995-01-10 23:29:27 +00:00
Karl Heuer
b5a6948eea (Fnarrow_to_region): Swap using temp Lisp_Object, not int. 1995-01-10 22:03:13 +00:00
Karl Heuer
83951f1ea4 (Finsert_char): Check inherit flag for long strings too. 1995-01-10 20:37:38 +00:00
Richard M. Stallman
e0dff5f63e (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.
1995-01-10 18:37:06 +00:00
Richard M. Stallman
00b05a4299 (show-paren-command-hook): Don't alter paren-mismatch face
if make-face gives it some contents.
1995-01-10 17:44:28 +00:00
Richard M. Stallman
93d6fcef18 (face-nontrivial-p): New function. 1995-01-10 17:43:59 +00:00
Francesco Potortì
cdc1f6a71f * etags.c (pfatal): New function.
(main, etags_getcwd): Use pfatal.
	(etags_getcwd): Corrected another bug in the HAVE_GETCWD version.
1995-01-10 17:20:39 +00:00
Simon Marshall
e9933cb15c Doc fixes (simon's email address and shell-mode) 1995-01-10 12:08:21 +00:00
Francesco Potortì
aab1fdaecc * 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.
1995-01-10 09:07:15 +00:00
Richard M. Stallman
de52827f3f (face-try-color-list): Treat `underline' as valid. 1995-01-10 06:52:53 +00:00
Noah Friedman
3299201797 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.
1995-01-10 03:14:24 +00:00
Karl Heuer
2f787aa33c (Fscroll_other_window): On small windows, scroll by 1 line. 1995-01-10 00:06:50 +00:00
Karl Heuer
5023d9a008 Fix text punctuation. 1995-01-09 23:10:10 +00:00
Richard M. Stallman
4aa4849be3 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.
1995-01-09 22:16:23 +00:00
Richard M. Stallman
e19bdc1471 (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.
1995-01-09 18:31:22 +00:00
Richard M. Stallman
44dc525292 (mouse-drag-region): As once in the past,
call the binding of the terminating event.
1995-01-09 18:27:32 +00:00
Richard M. Stallman
0055054d0e (listify-key-sequence-1): Update for change in CHAR_META. 1995-01-09 09:47:15 +00:00
Richard M. Stallman
dce4372a8e (store_in_keymap): Copy a cons only if car is a string. 1995-01-08 20:24:36 +00:00
Richard M. Stallman
a0a7635faa Don't include param.h. 1995-01-08 20:19:47 +00:00
Richard M. Stallman
6c0df54af6 (syms_of_buffer): Doc fix. 1995-01-08 19:22:20 +00:00
Richard M. Stallman
d1756ab96e Fix buffer-undo-list. 1995-01-08 19:20:03 +00:00
Roland McGrath
df3dd7d63d Include config.h first. 1995-01-07 16:57:36 +00:00