1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-27 15:52:00 -08:00
Commit graph

10924 commits

Author SHA1 Message Date
Richard M. Stallman
66c75ca5f0 (compute_motion): Call recenter_overlay_lists sooner.
Use Fnext_property_change to get a quick lower bound for
where `invisible' changes.

(compute_motion, vmotion): Check `invisible' prop
using TEXT_PROP_MEANS_INVISIBLE.
1995-03-11 22:32:17 +00:00
Richard M. Stallman
47b4c04d08 (TEXT_PROP_MEANS_INVISIBLE): New macro.
(TEXT_PROP_MEANS_INVISIBLE_WITH_ELLIPSIS): New macro.
1995-03-11 22:30:33 +00:00
Richard M. Stallman
041aa96f12 (Fnext_property_change): Handle LIMIT = t. 1995-03-11 22:03:27 +00:00
Richard M. Stallman
9184aafbcd (server-buffer-done): Return a list
(NEXT-BUFFER KILLED).  KILLED is t if we killed the buffer.
(server-edit): Values from server-done is now list of
args for server-switch-buffer.
(server-switch-buffer): Likewise.

(server-switch-buffer): New optional arg KILLED-ONE.
Avoid the other-buffer at the end in that case.
1995-03-11 20:32:48 +00:00
Richard M. Stallman
4cd51172ca (bookmark-buffer-name): Be smarter about deducing a name.
(bookmark-insert-buffer-name): Use bookmark-buffer-name.
Replaces bookmark-insert-current-file-name.

(bookmark-make-cell): Use set-text-properties,
not format, to clear text properties.
1995-03-11 20:17:37 +00:00
Richard M. Stallman
3f299281ab (completion-setup-function): Set completion-base-size. 1995-03-11 19:13:52 +00:00
Richard M. Stallman
855d862724 (Vsame_window_buffer_names, Vsame_window_regexps): New vars.
(syms_of_window): Set up Lisp vars.
(Fdisplay_buffer): Use those vars--if requested, use current window.
1995-03-11 04:40:18 +00:00
Richard M. Stallman
211d6309ac (Info-menu): Bind beg with let.
(info): Use pop-to-buffer.
(same-window-buffer-names): Add "*info*".
1995-03-11 04:37:47 +00:00
Richard M. Stallman
d440e4741a Comment change. 1995-03-11 03:58:31 +00:00
Richard M. Stallman
20062d6bc8 Initial revision 1995-03-11 03:57:25 +00:00
Richard M. Stallman
6f57a741f9 (add-menu-item-1): Better error message if
a menu not the last in the path does not exist.
1995-03-11 03:55:14 +00:00
Richard M. Stallman
b75f9a7686 (vc-path): Use /usr/sccs only if it is a dir. 1995-03-11 02:17:04 +00:00
Richard M. Stallman
e343798900 Insure that all entry points call `bookmark-maybe-load-default-file'.
Changed format of bookmark-alist and therefore of bookmark files.
Have version stamps in bookmark files.
Automatically upgrade old bookmark files to new format.
Changed name of default bookmark file to ".emacs.bmk".
Replaced "Bookmark-menu" with "bookmark-bmenu".  The
capitalization signified nothing; "bmenu" means "buffer-menu"
-- that is, bmenu code is for the dired-like of bookmarks that
appears when `list-bookmarks' is run, and the "bookmark-menu"
prefix is for the menu-bar.
Internally, use an alist instead of hardcoded list-positions
for storing bookmark information.

Applied <johng@media.mit.edu>'s patches for annotation support:
(bookmark-send-annotation, bookmark-read-annotation-mode)
(bookmark-edit-annotation-mode, bookmark-default-annotation-text)
(bookmark-read-annotation-text-func, bookmark-read-annotation)
(bookmark-send-edited-annotation, bookmark-edit-annotation):
New functions.

(bookmark-get-bookmark, bookmark-get-bookmark-record)
(bookmark-name-from-full-record, bookmark-set-name)
(bookmark-get-annotation, bookmark-set-annotation)
(bookmark-get-info-node, bookmark-set-info-node)
(bookmark-get-filename, bookmark-set-filename)
(bookmark-get-position, bookmark-set-position)
(bookmark-get-front-context-string, bookmark-set-front-context-string)
(bookmark-get-rear-context-string, bookmark-set-rear-context-string):
New subroutines.

(bookmark-file-format-version, bookmark-end-of-version-stamp-marker):
New variables.
(bookmark-grok-file-format-version, bookmark-maybe-upgrade-file-format)
(bookmark-upgrade-version-0-alist, bookmark-upgrade-file-format-from-0)
(bookmark-insert-file-format-version-stamp): New functions.
(bookmark-maybe-load-default-file):
Renamed from bookmark-try-default-file'.
(bookmark-old-default-file): New variable.
(bookmark-default-file): Renamed from `bookmark-file'.
New initial value, ".emacs.bmk".
(bookmark-make-cell): Use backquote.
Produce with the new format (Format Version 1).
Use `format' to strip text-properties.
(bookmark-write-file): Use `pp' instead of `princ'.
Call `bookmark-insert-file-format-version-stamp'.
(bookmark-all-names, bookmark-menu-popup-paned-bookmark-menu)
(bookmark-menu-build-paned-menu, bookmark-menu-popup-paned-menu)
(bookmark-insert-location): New functions.
(bookmark-completing-read): New function.  Everyone who called
`completing-read' in the interactive spec now calls this.
(bookmark-load-hook): New hook.

(bookmark-make-menu-alist): Function deleted.
(bookmark-popup-menu-and-apply-function): replaces
`bookmark-make-menu-with-function'.

(bookmark-load): Use `bookmark-alist-from-buffer'.
Call `bookmark-maybe-upgrade-file-format'.
(bookmark-set): If Info mode, record Info-current-node.
Use `bookmark-bmenu-surreptitiously-rebuild-list'.
(bookmark-buffer-file-name): Handle Info files.
(bookmark-buffer-name): If Info mode, return Info-current-node.
(bookmark-jump-noselect): For info node, use Info-goto-node.
Use the helper functions, don't mess with the raw
alist (except in completion, which we'll take care of later).
Don't count on `bookmark-search-size' being correct; use the
length of `forward-str' and `behind-str' instead.
(bookmark-relocate): Use the helper functions; don't mess
with the raw alist except in completion.
(bookmark-rename): C-o in minibuffer now inserts old name.
(bookmark-delete): New arg BATCH.
(bookmark-bmenu-execute-deletions): Was `bookmark-bmenu-execute'.
Just call bookmark-delete with the BATCH arg.
Set the modification count and maybe save when done.
Save point intuitively.
(bookmark-insert-current-file-name): Just use `file-name-nondirectory'.
(bookmark-location): Made non-interactive.
(bookmark-bmenu-list): Replaces `list-bookmarks'.
Delete arg ANNOTATION.  Use mapcar to simplify.
If not interactive-p, then use `set-buffer' instead of
`switch-to-buffer'.
(bookmark-kill-line): New function, used instead of kill-line.
(bookmark-search-size): Init to 16 instead of 500.
1995-03-11 02:05:20 +00:00
Richard M. Stallman
3d9652eb15 (Fash, Flsh): Change arg names. 1995-03-11 00:50:20 +00:00
Richard M. Stallman
0997c25b91 Initial revision 1995-03-10 04:30:57 +00:00
Richard M. Stallman
098fc1fbf1 (line-move-ignore-invisible): New variable.
(line-move): If that var is set, use vertical-motion.
Skip any extra invis chars beyond where vertical-motion stops.
1995-03-10 03:27:46 +00:00
Richard M. Stallman
c3de2bf001 (hexl-mode): Make after-revert-hook rehexlify.
(hexl-after-revert-hook): New function.
1995-03-09 03:05:51 +00:00
Richard M. Stallman
b7e6e61235 (Fforward_comment): Always clear immediate_quit for return. 1995-03-09 02:58:36 +00:00
Karl Heuer
30bef8ec51 (read_input_waiting): Fix Lisp_Object vs. int problem. 1995-03-08 22:49:11 +00:00
Karl Heuer
4524b161f6 (unlock_display): If adding to kbd_queue, set kbd_queue_has_data.
(read_char): Set and clear kbd_queue_has_data appropriately, but
leave it unset when we push back an incomplete sequence.
(read_char): Take the longjmp even if current_perdisplay was null.
(readable_events): Check kbd_queue_has_data instead of kbd_queue.
(init_perdisplay): Initialize kbd_queue_has_data.
1995-03-08 05:50:47 +00:00
Karl Heuer
6c9f24d901 (struct PERDISPLAY): New member kbd_queue_has_data. 1995-03-08 05:50:24 +00:00
Richard M. Stallman
93b0365362 (indent-new-comment-line): Clean up handling of \(...\) in comment-start-skip. 1995-03-08 03:49:00 +00:00
Richard M. Stallman
65ee6096af (revert-buffer): Doc fix. 1995-03-08 03:43:34 +00:00
Karl Heuer
486a2d0964 Declare new var and functions. 1995-03-08 03:33:23 +00:00
Karl Heuer
1cf9cfc663 (current_prefix_partial): New var.
(Funiversal_argument): New function, formerly inlined in keyboard.c.
(Fnegative_argument, Fdigit_argument): Likewise.
(clear_prefix_arg): Moved here from keyboard.c.
Don't clear the internal state if we're still building a prefix arg.
(finalize_prefix_arg, describe_prefix_arg): Moved from keyboard.c.
(syms_of_callint): defsubr the new lisp-callable functions.
1995-03-08 03:32:30 +00:00
Karl Heuer
5169b66ddc Moved clear_prefix_arg, finalize_prefix_arg, describe_prefix_arg to callint.c.
(command_loop_1): Removed inline code for prefix args.
1995-03-08 03:31:18 +00:00
Richard M. Stallman
8de214e60d (calculate-perl-indent): When backing up over continuations,
don't go to line beg;
perl-backward-to-start-of-continued-exp gives the right place.
1995-03-08 02:22:45 +00:00
Karl Heuer
b2ca5e69c8 (init_perdisplay): Initialize Vlast_kbd_macro. 1995-03-08 01:26:16 +00:00
Karl Heuer
a1a61f977d (mark_perdisplays): Mark Vlast_kbd_macro. 1995-03-08 01:25:19 +00:00
Karl Heuer
9e1ffae242 (Fstart_kbd_macro): Access Vlast_kbd_macro via perdisplay.
(Fend_kbd_macro, Fcall_last_kbd_macro): Likewise.
(init_macros): Delete initialization.
(syms_of_macros): Use DEFVAR_DISPLAY for Vlast_kbd_macro.
Doc fix for executing-macro, executing-kbd-macro, last-kbd-macro.
1995-03-08 01:25:04 +00:00
Karl Heuer
603aaedc7b (struct PERDISPLAY): New member Vlast_kbd_macro. 1995-03-08 01:24:14 +00:00
Per Bothner
624f44f19f * term.el (term-eol-on-send): New variable. Use it.
(term-send-input):  Don't move process-mark until after 'history stuff.
1995-03-08 00:54:20 +00:00
Karl Heuer
a9f16aa986 (cmd_error): Bind Vprint_level and Vprint_length. 1995-03-08 00:45:37 +00:00
Francesco Potortì
521fffcd6f * cmacexp.el (c-macro-expansion): put the unique string before the
first #line directive (instead of after), preceded by a newline.
1995-03-07 15:24:44 +00:00
Karl Heuer
c4288b3aed (command_loop_1): Fix test for prefix arg. 1995-03-07 04:57:02 +00:00
Roland McGrath
347cd536de (find-ls-option): Doc fix: now a cons.
(find-dired): Initialize the process-mark for the filter to use.
Find listing switches in cdr of find-ls-option.
(find-dired-filter): Use dired-insert-set-properties on new text.
1995-03-06 19:55:47 +00:00
Roland McGrath
20c1daecbc (compilation-buffer-p): Fix braino in last change: switch to the buffer first.
(compilation-error-regexp-alist): Doc fix: optional cdrs give
string containing %s to produce the file name from the matched text.
(compilation-find-file): Reorder args: MARKER first, then FILENAME, DIR,
and new arg &rest FORMATS (as they appear in parsed the fileinfo lists).
Try each of the FORMATS in each directory tried.
(compilation-next-error-locus): Apply compilation-find-file to the FILEINFO
list.
(compilation-parse-errors): Instead of a cons (DIR . FILE), make a list
(FILE DIR [FORMATS...]) using the 4th cdr of the matching elt of
regexp-alist.
1995-03-06 15:51:22 +00:00
Boris Goldowsky
70743ff117 (textget): Check default_properties vbl too. 1995-03-06 15:43:56 +00:00
Boris Goldowsky
883b5fa175 Declare Vdefault_properties. 1995-03-06 15:43:56 +00:00
Boris Goldowsky
c7dd82a34d (Vdefault_properties): New vbl. 1995-03-06 15:43:56 +00:00
Richard M. Stallman
889560ede7 (menu-bar-help-menu): Binding for view-emacs-FAQ. 1995-03-06 05:19:05 +00:00
Richard M. Stallman
7ee71cf1bc (view-emacs-FAQ): New function. Bind to C-h F.
(help-for-help): Doc fix.
1995-03-06 05:16:14 +00:00
Richard M. Stallman
6a06ace60b (tar-grind-file-mode): Doc fix. 1995-03-06 04:37:18 +00:00
Richard M. Stallman
f48f33caa6 (x_connection_closed): Ignore non-X frames.
Fix the logic for deleting frames that use separate minibuffers
that are on the dead connection.
1995-03-06 04:35:33 +00:00
Richard M. Stallman
829782956e (defined_color): If colormap is full, find closest match. 1995-03-06 04:33:56 +00:00
Richard M. Stallman
a992f9d90e (load_color): Call defined_color to allocate the color. 1995-03-06 04:32:25 +00:00
Richard M. Stallman
2e52ff59e5 (Info-extract-menu-node-name): Collapse multiple spaces. 1995-03-06 04:25:29 +00:00
Richard M. Stallman
f4c8ded2b0 (Fcall_interactively): Fix Feb 22 change. 1995-03-06 04:17:49 +00:00
Richard M. Stallman
7c2087eea5 (Fpop_to_buffer): Call Fset_buffer_major_mode if we create a buffer. 1995-03-06 04:15:23 +00:00
Richard M. Stallman
a6e0153c17 (read_key_sequence): Update orig_local_map
for some additional gotos to replay_sequence.
1995-03-03 10:32:07 +00:00