Karl Fogel [Wed, 15 Mar 1995 14:47:09 +0000 (14:47 +0000)]
(bookmark-bmenu-2-window): go to correct position as well as
correct buffer.
(bookmark-bmenu-other-window): same.
(bookmark-bmenu-switch-other-window): same.
Karl Heuer [Wed, 15 Mar 1995 01:55:24 +0000 (01:55 +0000)]
(unlock_kboard): Renamed from unlock_display.
(wrong_kboard_jmpbuf): Renamed from wrong_display_jmpbuf.
(event_to_kboard): Renamed from event_to_perdisplay.
(kbd_buffer_get_event): If no associated kboard, store
current_kboard rather than the first kboard in the global list.
(init_kboard): Renamed from init_perdisplay. Initialize reference count.
(wipe_kboard): Renamed from wipe_perdisplay.
Karl Heuer [Wed, 15 Mar 1995 01:54:19 +0000 (01:54 +0000)]
(get_perdisplay): Deleted.
(same_x_server): New function.
(x_term_init): If this display shares a keyboard with one we've
already opened, then share the structure.
(x_delete_display): Don't delete the kboard until the reference
count becomes zero.
Karl Heuer [Tue, 14 Mar 1995 04:25:37 +0000 (04:25 +0000)]
(event_to_perdisplay): New function.
(kbd_buffer_get_event): Use event_to_perdisplay.
(kbd_buffer_store_event): If C-g arrives while we're in the run state on
behalf of another display, just clear the queue and deposit the C-g to be read
later.
(read_key_sequence): After a throw, unwind delayed_switch_frame as well as
keybuf. Don't insert an extra switch-frame if empty.
Karl Fogel [Mon, 13 Mar 1995 22:50:35 +0000 (22:50 +0000)]
Removed C-v bindings; they were inconsistent.
Defvarred some variables to nil, solely to avoid compilation warnings.
Use "Author's Update Number:" instead of "Version:".
(bookmark-history): new var.
(bookmark-completing-read): use `bookmark-history'.
(bookmark-historicize-string): new macro.
Use this everywhere `bookmark-completing-read' is used, because
`completing-read' won't get a chance to add to `bookmark-history' if
we were invoked via a menu.
(bookmark-rename): use `bookmark-history' when reading the new name.
No need for the strange C-o binding anymore.
Karl Heuer [Mon, 13 Mar 1995 03:09:40 +0000 (03:09 +0000)]
(unlock_display): current_perdisplay now is never null.
(cmd_error, command_loop_1, read_char): Likewise.
(kbd_buffer_get_event, read_key_sequence): Likewise.
(read_char): Handle synchronous quit_char on a different display.
(read_char): Rewrite queue-searching code.
(read_key_sequence): Save selected_frame.
(init_keyboard): Initialize current_perdisplay.
Richard M. Stallman [Sun, 12 Mar 1995 21:30:35 +0000 (21:30 +0000)]
(parse_modifiers_uncached): Delete the code for
multi-character modifiers and for recognizing a modifier alone.
(parse_solitary_modifier): New function.
(convert_event_type_list): Use parse_solitary_modifier.
Also convert symbol A to character A.
Handle shift modifier with lower-case letters.
Richard M. Stallman [Sun, 12 Mar 1995 09:15:08 +0000 (09:15 +0000)]
Unconditionally add to comint-output-filter-functions.
(auto-show-mode): Command renamed from auto-show-toggle.
Handle an arg in the standard way.
(auto-show-mode): Variable renamed from auto-show-enable.
Richard M. Stallman [Sat, 11 Mar 1995 22:36:29 +0000 (22:36 +0000)]
(reset_buffer_local_variables): Init invisibility.
(init_buffer_once): Set up buffer_local_flags for it.
(syms_of_buffer): New variable `buffer-invisibility-spec'.
Richard M. Stallman [Sat, 11 Mar 1995 22:34:35 +0000 (22:34 +0000)]
(display_text_line): When setting selective_rlen,
ignore whether selective display is on or off.
(display_text_line, try_window): Check `invisible' prop
using TEXT_PROP_MEANS_INVISIBLE.
(display_text_line): Check TEXT_PROP_MEANS_INVISIBLE_WITH_ELLIPSIS;
if it says so, use ellipses after invisible text.
(invisible_p, invisible_ellipsis_p): New functions.
Richard M. Stallman [Sat, 11 Mar 1995 20:32:48 +0000 (20:32 +0000)]
(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.
Richard M. Stallman [Sat, 11 Mar 1995 20:17:37 +0000 (20:17 +0000)]
(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.
Richard M. Stallman [Sat, 11 Mar 1995 04:40:18 +0000 (04:40 +0000)]
(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.