1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 10:31:37 -08:00
Commit graph

10386 commits

Author SHA1 Message Date
Richard M. Stallman
2a96daeb5d Declare Qrear_nonsticky. 1995-01-13 08:45:30 +00:00
Richard M. Stallman
cbf651156b (Vuse_hard_newlines): New variable.
(Fnewline): If use_hard_newlines is on, mark inserted
newline(s) with `hard' property, marked rear-nonsticky.
1995-01-13 08:45:07 +00:00
Richard M. Stallman
a37669ece7 (forward-paragraph): Notice use-hard-newlines value.
(looking-at-hard): New function.
(paragraph-start, paragraph-separate): Doc fix.
1995-01-13 08:44:43 +00:00
Richard M. Stallman
a098333dae (fill-region-as-paragraph): Don't modify newline
at end of paragraph, to make sure text-properties are preserved.
(fill-paragraph): Call fill-region, not fill-region-as-paragraph,
to avoid clobbering paragraph-internal hard-newlines.
(fill-region): If use-hard-newlines is on, divide into
"paragraphs" by breaking at every hard newline, temporarily
ignoring paragraph-start.
1995-01-13 08:44:26 +00:00
Richard M. Stallman
28191e20b4 (open-line, split-line, next-line): Use `newline'
function to insert newline so it will be marked hard if appropriate.
(indent-new-comment-line): Use `newline' function, unless called
with (new) argument.
(do-auto-fill): Call indent-new-comment-line with argument to
make newline soft.
1995-01-13 08:43:40 +00:00
Richard M. Stallman
e24af5f529 (list-buffers): Fix previous change. 1995-01-13 08:25:52 +00:00
Richard M. Stallman
84b2b0a7f2 Fix previous change. 1995-01-13 08:24:35 +00:00
Richard M. Stallman
0b03ce3a17 (list-buffers): New function.
(ctl-x-map): Define C-x C-b to list-buffers.
1995-01-13 08:14:25 +00:00
Karl Heuer
5259c73786 (printchar, strout): Call message_dolog. 1995-01-13 02:22:54 +00:00
Karl Heuer
3d3938e185 Declare message_dolog. 1995-01-13 02:22:37 +00:00
Karl Heuer
f88eb0b611 (message_log_need_newline): New var.
(message_dolog): New function, extracted from message2.
1995-01-13 02:22:14 +00:00
Karl Heuer
f545df9c63 (easy-menu-define): Doc fix. 1995-01-13 00:35:28 +00:00
Karl Heuer
25be741f21 Don't allow MARKBIT and DONT_COPY_FLAG to be the same bit. 1995-01-13 00:02:43 +00:00
Karl Heuer
1fb577f7e5 (DONT_COPY_FLAG): Default this to 1.
(mark_object): Use the same XOR expression as elsewhere.
(gc_sweep): Don't touch DONT_COPY_FLAG here; this one is a real size field,
not a mangled pointer.
1995-01-13 00:00:23 +00:00
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