1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-10 00:42:17 -07:00
Commit graph

155589 commits

Author SHA1 Message Date
Richard M. Stallman
0ea48932ec (mail-hist-put-headers-into-history)
(mail-hist-current-header-contents, mail-hist-forward-header)
(mail-hist-current-header-name):
Use regexp-quote on mail-header-separator.
1994-10-11 00:35:42 +00:00
Richard M. Stallman
22486a7f29 Fix typo in previous change. 1994-10-10 21:54:32 +00:00
Richard M. Stallman
c0df1d6180 (calculate-lisp-indent): Local var
last-sexp renamed to calculate-lisp-indent-last-sexp.
(lisp-indent-function): Use new name of var.
(calculate-lisp-indent-last-sexp): Var defined.
1994-10-10 21:53:52 +00:00
Richard M. Stallman
ca1a9692de (menu-bar-file-menu): Don't include the frame
commands in a non-frame version of Emacs.
1994-10-10 21:47:33 +00:00
David J. MacKenzie
1da3ef65ff entered into RCS 1994-10-10 21:35:16 +00:00
Richard M. Stallman
6f27fa9b16 (redisplay_window): Fix Oct 1 change:
don't call cancel_my_columns unless we will call try_window.
1994-10-10 21:30:56 +00:00
Jim Blandy
f0c5b7125a (syms_of_buffer): Doc fix for cache-long-line-scans. 1994-10-10 16:01:58 +00:00
Roland McGrath
86af296ba1 [! SYSVIPC] (main): Fix uses of FD_* macros: fd_set arg is a pointer,
descriptor arg comes first.
1994-10-10 04:55:59 +00:00
Richard M. Stallman
33481b1aec (calendar-holiday-marker): Copy holiday-face from highlight face. 1994-10-10 03:26:28 +00:00
Richard M. Stallman
29aec36676 (ispell-highlight-spelling-error):
Have just one definition, which decides what to do.
(ispell-command-loop): New args START and END.  Do highlighting
and unhighlighting here.
(ispell-word, ispell-region, ispell-complete-word): Not here.
(ispell-highlight-spelling-error-generic): Bind buffer-undo-list to t.
1994-10-10 01:01:20 +00:00
Richard M. Stallman
88b82b3bb6 (emacs-lisp-mode-syntax-table): Don't set syntax of formfeed. 1994-10-09 19:20:02 +00:00
Richard M. Stallman
34791302d4 (byte-compile-insert-header): Use user-mail-address. 1994-10-09 17:23:09 +00:00
Richard M. Stallman
d5b22d8895 (appt-delete-window): Look on all frames for the window.
(appt-disp-window): If frame is unsplittable, use display-buffer.
1994-10-09 09:19:16 +00:00
Jim Blandy
f4faa47c56 * xdisp.c (redisplay_window): Invalidate width_run_cache, if the
buffer's display table doesn't match the width table the cache was
built for.
(display_text_line): Use compute_motion to skip forward to the
left edge of the window when the window is hscrolled; this is
faster than rendering all the characters into the bit bucket when
the hscroll is large.
Doc fixes.
(display_count_lines): Call scan_buffer with new args.
1994-10-08 22:16:04 +00:00
Jim Blandy
be5357e28e * syntax.c (find_defun_start): Call scan_buffer with new args. 1994-10-08 22:15:36 +00:00
Jim Blandy
9169c321e5 * search.c: #include "region-cache.h".
(max, min): Make these functions, not macros; we'd like to pass
them arguments that would be bad to evaluate more than once.
(newline_cache_on_off): New function.
(scan_buffer): New argument END.  Call newline_cache_on_off.  If
this buffer's newline cache is enabled, consult it to see if we
need to scan a region for newlines, and store information in the
cache after doing so.
(find_next_newline): Pass new arg to scan_buffer.
(find_before_next_newline): New function.
1994-10-08 22:15:15 +00:00
Jim Blandy
56e1065ec3 * insdel.c (prepare_to_modify_buffer): Invalidate width run and
newline caches, if they exist.
1994-10-08 22:14:58 +00:00
Jim Blandy
63dec5bd9d * indent.h (disptab_matches_widthtab, recompute_width_table): New
declarations.
1994-10-08 22:14:35 +00:00
Jim Blandy
0aa01123ca * indent.c: #include "region-cache.h".
(character_width, disptab_matches_widthtab, recompute_width_table,
width_run_cache_on_off): New functions.
(compute_motion): Call width_run_cache_on_off.  If this buffer's
width run cache is enabled, consult it to see if we need to
traverse a region character-by-character; store information in the
cache after doing so.  Call find_before_next_newline instead of
writing out an equivalent loop explicitly, to take advantage of
the newline cache.
Doc fixes.
1994-10-08 22:14:04 +00:00
Jim Blandy
ef5623efbd * disptab.h (window_display_table): Doc fix.
(buffer_display_table): New declaration.
1994-10-08 22:13:44 +00:00
Jim Blandy
4f5d0c3c26 * cmds.c (Fforward_line): Call scan_buffer with new args.
(Fend_of_line): Replace call to Fforward_line and search loop with
call to find_before_next_newline.
1994-10-08 22:13:15 +00:00
Jim Blandy
18e9375535 * buffer.h (struct buffer): New members: newline_cache,
width_run_cache, width_table, and cache_long_line_scans.
1994-10-08 22:12:45 +00:00
Jim Blandy
28e969dd70 * buffer.c: #include region-cache.h.
(Fget_buffer_create): Initialize new members of struct buffer.
(Fkill_buffer): Free memory occupied by caches.
(init_buffer_once): Set default value for cache_long_line_scans in
buffer_defaults, and give it a bit in buffer_local_flags.
(syms_of_buffer): Add DEFVAR_PER_BUFFER for cache_long_line_scans.
1994-10-08 22:12:12 +00:00
Jim Blandy
e8951513b6 * Makefile.in.in (obj) Add region-cache.o to the list of files.
(region-cache.o): New target.
(buffer.o, indent.o, search.o): Depend on region-cache.h.
1994-10-08 22:11:16 +00:00
Jim Blandy
788583a16b Document cache-long-line-scans in @node Text Lines.
Cross-reference it in @node Screen Lines.
1994-10-08 22:09:57 +00:00
Jim Blandy
4a40123fc0 Added entry for cache-long-line-scans 1994-10-08 22:06:23 +00:00
Richard M. Stallman
ad456ad421 (file_name_completion): Ignore files "." and ".." in first pass.
(Ffile_name_completion): Perform the completion even if the
name part is empty.
1994-10-08 09:52:08 +00:00
Richard M. Stallman
5d2ca7aec6 (test_completion): New function, extracted from do_completion.
(do_completion): Use test_completion.
(Fminibuffer_complete_and_exit): If completion is already
exact, don't try to complete it.
1994-10-08 09:51:31 +00:00
Richard M. Stallman
3071ee28bb (add-log-current-defun): In texinfo-mode,
handle the case of no commas after @node.
1994-10-08 09:00:51 +00:00
Richard M. Stallman
03361bcc45 (inhibit_local_menu_bar_menus): New variable.
(read_char_x_menu_prompt): Optionally don't use local maps.
(syms_of_keyboard): Set up Lisp variable.
1994-10-08 04:30:15 +00:00
Richard M. Stallman
525b823278 (fit_to_screen): Don't put the menu off the left or top. 1994-10-08 04:16:17 +00:00
Richard M. Stallman
4edaa169d9 (rmail-delete-forward): Use rmail-select-summary. 1994-10-08 04:12:07 +00:00
Richard M. Stallman
8414f615f4 Add a tip about enabling/disabling features. 1994-10-07 23:42:52 +00:00
Karl Heuer
1c4ca5a330 (enum Lisp_Misc_Type): New type.
(struct Lisp_Marker): Add a member of that type.  Delete unused member
`modified'.
1994-10-07 21:44:51 +00:00
Richard M. Stallman
270c21387d (make_gap): Keep input blocked till after we set BEG_ADDR. 1994-10-07 17:40:50 +00:00
Richard M. Stallman
7fd741024b Re-delete code deleted in rms's Oct 5 change. 1994-10-07 17:38:03 +00:00
Richard M. Stallman
a1eb1cf1db (compilation-mode-font-lock-keywords,
rmail-summary-font-lock-keywords, dired-font-lock-keywords,
shell-font-lock-keywords, texi-font-lock-keywords,
perl-font-lock-keywords): Deleted.

(font-lock-mode): Doc fix; use add/remove-hook, not
setq; removed make-local-variable of font-lock-no-comments.
(font-lock-set-defaults): Do it there, and use:
(font-lock-defaults-alist): Use it to set font-lock-keywords,
font-lock-keywords-case-fold-search and font-lock-no-comments.
(turn-on-font-lock): New function.
(font-lock-fontify-buffer): Made interruptible; deleted messages.

(font-lock-fontify-region): Made syntax state reliable
by widening within new restriction; let cstart and cend for speed;
outputs message.
(font-lock-after-change-function): Remove spurious goto-char and use
forward-line, not 1+ end-of-line, for end of fontification region.
(font-lock-any-properties-p): Removed, use text-property-not-all.

(font-lock-*-face): facename values are themselves.
(font-lock-variable-name-face, font-lock-reference-face): New vars.
(font-lock-doc-string-face): Removed.
(font-lock-keywords): Extended value syntax.
(font-lock-hack-keywords): Cope with it; outputs initial message.

Merged in face-lock.el:
(font-lock-display-type, font-lock-background-mode)
(font-lock-face-attributes): New variables, use it.
(font-lock-make-face): New function, use them.
1994-10-07 10:23:26 +00:00
Richard M. Stallman
1a4086d274 (comint-check-proc): Recognise `open'.
(comint-exec): Use open-network-stream if command is a cons pair.
1994-10-07 10:20:37 +00:00
Richard M. Stallman
210cf16d31 (pascal-font-lock-keywords): New variable.
(pascal-mode): Set comment-start-skip and comment-end.
Set font-lock-keywords locally.
1994-10-07 10:10:07 +00:00
Richard M. Stallman
9e55147771 (perl-font-lock-keywords): New variable.
(perl-mode): Set font-lock-keywords locally.
1994-10-07 10:08:48 +00:00
Richard M. Stallman
a4d8ed20e2 (asm-font-lock-keywords): New variable.
(asm-mode): Set font-lock-keywords locally.
1994-10-07 10:07:02 +00:00
Richard M. Stallman
0ece5f43e3 (texinfo-font-lock-keywords): New variable.
(texinfo-mode): Set font-lock-keywords locally.
1994-10-07 10:05:49 +00:00
Richard M. Stallman
5945a1f78f (shell-font-lock-keywords): New variable.
(shell-mode): Set font-lock-keywords locally.
1994-10-07 10:04:06 +00:00
Richard M. Stallman
a1f6b0c60b (dired-font-lock-keywords): New variable.
(dired-mode): Set font-lock-keywords locally.
1994-10-07 10:02:04 +00:00
Richard M. Stallman
8b1f1a0c15 (mail-font-lock-keywords): New variable.
(mail-mode): Set font-lock-keywords locally.
1994-10-07 10:00:00 +00:00
Richard M. Stallman
a95caeed52 (rmail-font-lock-keywords): New variable.
(rmail-variables): Set font-lock-keywords locally.
1994-10-07 09:59:00 +00:00
Richard M. Stallman
1a6bc985cf (rmail-summary-font-lock-keywords): New variable.
(rmail-summary-mode): Set font-lock-keywords locally.
1994-10-07 09:56:40 +00:00
Richard M. Stallman
b9998c334d (outline-font-lock-keywords): New variable.
(outline-mode): Set font-lock-keywords locally.
1994-10-07 09:54:58 +00:00
Richard M. Stallman
5f56271901 (change-log-mode): Set font-lock-keywords locally.
(change-log-font-lock-keywords): New variable.
1994-10-07 09:53:28 +00:00
Richard M. Stallman
9af0d3093f (compilation-mode-font-lock-keywords): New variable.
(compilation-mode): Use kill-all-local-variables.
Set font-lock-keywords locally.
1994-10-07 09:52:36 +00:00