Francesco Potortì [Tue, 14 Feb 1995 17:31:55 +0000 (17:31 +0000)]
* etags.c (C_entries): Initialise the new members of TOKEN.
(C_entries): Do not allocate a new space for each token found by
consider_token. Let make_tag do that instead.
(make_tag): Since now TOKEN has memory of where it is taken from,
this new macro substitutes both make_tag_from_new_lb and
make_tag_from_oth_lb. All callers changed.
(TOKEN): Add linepos and buffer members.
(main): Initialise token_str.
(lang_extensions): Recognise .c++ and .h++ as C++ file suffixes.
(token_str): New global variable used by C_entries.
Richard M. Stallman [Tue, 14 Feb 1995 16:33:19 +0000 (16:33 +0000)]
(syms_of_buffer): Set up Lisp var buffer-file-truename.
(init_buffer_once): Set up flag and default value for file_truename.
(reset_buffer): Init file_truename slot.
Richard M. Stallman [Tue, 14 Feb 1995 14:28:44 +0000 (14:28 +0000)]
(ange-ftp-write-region, ange-ftp-insert-file-contents)
(ange-ftp-copy-file-internal): If remote host is unix, use binary mode.
(ange-ftp-file-local-copy): Delete local var bin1.
(ange-ftp-rename-remote-to-remote): Delete arg `binary'.
(ange-ftp-rename-file): Don't pass or compute that arg.
Richard M. Stallman [Tue, 14 Feb 1995 09:08:40 +0000 (09:08 +0000)]
(electric-help-help, electric-help-command-loop):
Mention q and r, not Q and R.
(electric-help-map): Use supress-keymap instead of
filling keymap with undefined commands. Bind R like r.
Substitute electric-command-apropos for command-apropos.
(electric-apropos): New function.
(electric-help-help, electric-help-command-loop):
Mention Q and R in messages.
Richard M. Stallman [Tue, 14 Feb 1995 07:43:44 +0000 (07:43 +0000)]
(speeds): Make it ints. Add some higher speeds.
(tputs) [emacs]: If speed is high, convert to smaller units.
(tputs): Really use SPEED to calculate PADCOUNT.
Richard M. Stallman [Mon, 13 Feb 1995 16:56:19 +0000 (16:56 +0000)]
(facemenu-next): Variable deleted.
(facemenu-self-insert-face): New function.
(facemenu-set-face): Use facemenu-self-insert-face.
(facemenu-set-face-from-menu): Likewise.
(facemenu-after-change): Function deleted. Don't use it as hook.
Richard M. Stallman [Mon, 13 Feb 1995 16:54:58 +0000 (16:54 +0000)]
(Vself_insert_face, Vself_insert_face_command): New variables.
(syms_of_cmds): Set up Lisp variables. Doc syntax fix.
(internal_self_insert): Handle Vself_insert_face.
Richard M. Stallman [Sun, 12 Feb 1995 04:51:42 +0000 (04:51 +0000)]
(mouse-drag-region): Delete the overlay before
calling the terminating event's command binding or making a region.
(mouse-set-region-1): New function.
(mouse-drag-region, mouse-set-region, mouse-save-then-kill): Call it.
(mouse-region-match): New function.
Richard M. Stallman [Wed, 8 Feb 1995 06:09:08 +0000 (06:09 +0000)]
Personal dictionary save forced when called from menu,
Epoch compile support.
(ispell-skip-sgml): Added variable for skipping SGML tags & references.
(ispell-buffer-local-parsing): Hard wire set of ispell-skip-sgml-tags
to sgml-mode.
(ispell-pdict-save): Message improvement.
(ispell-command-loop): Properly adjust screen with different settings
of ispell-choices-win-default-height.
(check-ispell-version): Use fundamental-mode as default-major-mode.
(ispell-change-dictionary): Remove unnecessary process kills
(ispell-region): Fold sgml support in with tib checking.
(ispell-message): Skips checking of forwarded messages.
Karl Heuer [Wed, 8 Feb 1995 00:45:16 +0000 (00:45 +0000)]
(message_log_check_duplicate): New function.
(message_dolog): Delete previous line if the new one is a duplicate. Include
a counter if appropriate.
Don't bother truncating the buffer until after adding newline.
Karl Heuer [Tue, 7 Feb 1995 02:07:03 +0000 (02:07 +0000)]
(internal_last_event_frame, Vlast_event_frame): Deleted; now part of
perdisplay. All uses changed.
(MOUSE_ACTIVITY_AVAILABLE) Deleted.
(find_active_event_queue): New arg check_mouse. All callers changed.
(Vlast_event_frame): Change from DEFVAR_LISP to DEFVAR_DISPLAY.
Karl Heuer [Tue, 7 Feb 1995 01:04:46 +0000 (01:04 +0000)]
(struct PERDISPLAY): Add Vlast_event_frame.
Define internal_last_event_frame only #if MULTI_FRAME.
Add placeholders so we don't need to rebuild every time this struct changes.
Richard M. Stallman [Mon, 6 Feb 1995 22:53:58 +0000 (22:53 +0000)]
(x_get_foreign_selection, x_reply_selection_request):
Use an unwind-protect to call x_stop_queuing_selection_requests.
(some_frame_on_display): New function.
(queue_selection_requests_unwind): New function.
Richard M. Stallman [Mon, 6 Feb 1995 22:52:25 +0000 (22:52 +0000)]
(emacs_blocked_malloc): Set __malloc_extra_blocks here.
(malloc_hysteresis): New variable.
(init_alloc_once): Initialize malloc_hysteresis.
(buffer_memory_full): New function.
(refill_memory_reserve): New function.
(SPARE_MEMORY): New macro.
(emacs_blocked_free): If no spare_memory now, and enough free
space is available, get a new spare.
(__malloc_size_t, _bytes_used): Declared.
(bytes_used_when_full): New variable.
Richard M. Stallman [Mon, 6 Feb 1995 03:26:35 +0000 (03:26 +0000)]
(texinfo-environment-regexp): Match @menu and
@titlepage --- they require @ends. Don't match @defunx commands; they don't.
(texinfo-insert-@end): Don't put a command name after the @end
if we ran off the top of the buffer looking for its mate.
Richard M. Stallman [Sun, 5 Feb 1995 08:52:26 +0000 (08:52 +0000)]
(Fdelete_window, set_window_height, set_window_width)
(Fsplit_window, Fset_window_configuration): Set
FRAME_WINDOW_SIZES_CHANGED to 1 in the frame being changed.
Richard M. Stallman [Sun, 5 Feb 1995 02:46:34 +0000 (02:46 +0000)]
(rmail-summary-next-same-subject): New command.
(rmail-summary-previous-same-subject): Likewise.
(rmail-summary-mode-map): Add bindings for C-c C-n and C-c C-p.
Richard M. Stallman [Sun, 5 Feb 1995 00:25:16 +0000 (00:25 +0000)]
Changes to support filenames as tags too and provided
a drop-in replacement for list-tags.
(find-tag-noselect): Recognize filenames as valid tags too.
(find-tag-file-order): New variable holds function to check for match
for a file name used as a tag.
(last-tag-file): New variable; stores the filename looked for via
find-tag family of functions.
(find-tag-in-order): If the tag is a file name, position at file beg.
(etags-recognize-tags-table): Added new var find-tag-file-order to
tags-table-format variables. Added tag-filename-match-p to the
list for find-tag-tag-order.
(tag-filename-match-p): New function.
(list-tags): Rewritten for speed.
(tags-list-functions-in-file): New subroutine for list-tags.
(tags-locate-file-in-tags-table): New function locates a
file in `tags-table-list'.