1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-15 07:41:09 -08:00
Commit graph

25630 commits

Author SHA1 Message Date
Dave Love
d3d4df42e4 Don't define-widget-keywords.
(multimedia): New group.
(custom-last): Function removed.
(custom-quote): Add vectorp case, comment out characterp case.
(custom-buffer-done-function, custom-raised-buttons): New option.
(Custom-buffer-done): New function.
(custom-buffer-create-internal): Obey custom-raised-buttons,
Custom-buffer-done.
(custom-button-face): Make it `released-button'.
(custom-button-pressed-face): Make it `pressed-button'
(custom-mode-map): Bind "q" to Custom-buffer-done.
(custom-mode): Deal with raised/pressed buttons.

Changes from Didier Verna:
(custom-prompt-variable): Optional third arg makes prompt for a comment
string.
(customize-set-value, customize-set-variable, customize-save-variable):
Optional prefix makes function handle variable comments.
(customize-customized, customize-saved, custom-variable-state-set)
(custom-variable-set, custom-variable-save, custom-face-state-set)
(custom-variable-reset-saved, custom-variable-reset-standard)
(custom-face-set, custom-face-save, custom-face-reset-saved)
(custom-face-reset-standard, customize-save-customized): Handle custom
comments.
(custom-comment-face, custom-comment-tag-face): New face.
(custom-comment): New widget.
(custom-comment-create, custom-comment-delete)
(custom-comment-value-set, custom-comment-show)
()custom-comment-invisible-p): New functions.
(custom-variable-value-create, custom-face-value-create): Create a
comment field widget.
(custom-variable-menu, custom-face-menu): New entry for custom comment.
(custom-face-value-create): Remove compatibility code.
(custom-save-variables, custom-save-faces): Possibly save custom comments.
1999-09-13 13:44:41 +00:00
Dave Love
1743c17a36 (custom-face-attributes): Simplify :underline, :overline,
:inverse-video cases.  Fix up :box case (probably needs more work).
Change from Didier Verna:
(custom-set-faces): The arguments can now have a custom comment as
fourth argument.
1999-09-13 13:09:30 +00:00
Dave Love
70647e337e Don't define-widget-keywords.
Change from Didier Verna:
(custom-set-variables): the arguments can now have a
custom comment as fifth element.
1999-09-13 13:03:05 +00:00
Gerd Moellmann
b86bd3dd37 (XTcursor_to): Change for Lisp_Object selected_frame.
(x_clear_frame, XTring_bell, XTmouse_position, XTread_socket): Ditto.
(XRINGBELL): Removed.
1999-09-13 11:14:29 +00:00
Gerd Moellmann
378c33ca4b (x_own_selection): Change for Lisp_Object selected_frame.
(Fx_store_cut_buffer_internal): Ditto.
(Fx_rotate_cut_buffers_internal): Ditto.
1999-09-13 11:14:26 +00:00
Gerd Moellmann
b404828f5f (Fx_popup_menu): Change for Lisp_Object selected_frame.
(Fx_popup_dialog): Ditto.
1999-09-13 11:14:23 +00:00
Gerd Moellmann
0fe92f72b4 (QCfile): Moved to xdisp.c.
(syms_of_xfns): Don't initialize QCfile.
(check_x_frame): Change for Lisp_Object selected_frame.
(check_x_display_info, x_get_resource_string): Ditto.
1999-09-13 11:14:14 +00:00
Gerd Moellmann
c0617987c6 (frame_or_selected_frame): Change for Lisp_Object
selected_frame.
(Finternal_set_lisp_face_attribute): Ditto.
(Finternal_get_lisp_face_attribute): Ditto.
(Finternal_lisp_face_empty_p): Ditto.
(Fdump_face): Ditto.
1999-09-13 11:14:08 +00:00
Gerd Moellmann
886bd6f211 (QCfile): Move here from xfns.c.
(syms_of_xdisp): Initialize it.
(message2_nolog): Change for Lisp_Object selected_frame.
(message3_nolog, message_with_string, message,
setup_echo_area_for_printing, truncate_echo_area,
prepare_menu_bars, redisplay_internal, Fdump_tool_bar_row): Ditto.
1999-09-13 11:13:59 +00:00
Gerd Moellmann
1ae1a37dc5 (Fminibuffer_window): Change for Lisp_Object
selected_frame.
(Fwindow_at, Fprevious_window, window_loop, select_window_1,
display_buffer_1, Fdisplay_buffer, temp_output_buffer_show,
Fcurrent_window_configuration, init_window_once): Ditto.
1999-09-13 11:13:55 +00:00
Gerd Moellmann
e52f4e084a (OUTPUT): Change for Lisp_Object selected_frame.
(OUTPUT_IF, ring_bell, set_terminal_modes, reset_terminal_modes,
set_terminal_window, set_scroll_region, reassert_line_highlight,
change_line_highlight, cursor_to, raw_cursor_to, clear_to_end,
clear_end_of_line, clear_end_of_line_raw, clear_end_of_line_raw,
encode_terminal_code, write_glyphs, term_init): Ditto.
1999-09-13 11:13:53 +00:00
Gerd Moellmann
2d0641146f (reset_sys_modes): Change for Lisp_Object selected_frame.
(kbd_input_ast, read_input_waiting): Ditto.
1999-09-13 11:13:50 +00:00
Gerd Moellmann
a4aafc5404 (choose_minibuf_frame): Don't try to set the
mini-buffer window's buffer, if the buffer is invalid.
(choose_minibuf_frame): Change for Lisp_Object
selected_frame.
(read_minibuf): Ditto.
1999-09-13 11:13:47 +00:00
Gerd Moellmann
37b793e65b (selected_frame): Add external declaration. 1999-09-13 11:13:45 +00:00
Gerd Moellmann
788f89eb86 (command_loop_1): Change for Lisp_Object
selected_frame.
(cmd_error_internal, command_loop_1, read_char,
kbd_buffer_get_event, read_avail_input,
read_char_minibuf_menu_prompt, read_key_sequence, Fsuspend_emacs,
interrupt_signal, quit_throw_to_read_char): Ditto.
1999-09-13 11:13:36 +00:00
Gerd Moellmann
650afd9463 (SELECTED_FRAME): New. 1999-09-13 11:13:35 +00:00
Gerd Moellmann
8d2666feec (Fmake_terminal_frame): Use SELECTED_FRAME.
(do_switch_frame): Change for Lisp_Object selected_frame.
(Fselected_frame): Ditto.
(Fframe_first_window): Use SELECTED_FRAME.
(Fframe_root_window): Change for Lisp_Object selected_frame.
(Fframe_selected_window, Fset_frame_selected_window, Fnext_frame,
Fprevious_frame, other_visible_frames, Fdelete_frame,
Fmouse_position, Fmouse_pixel_position, Fmake_frame_visible,
Fmake_frame_invisible, Ficonify_frame, Fraise_frame, Flower_frame,
Fframe_parameters, Fmodify_frame_parameters, Fframe_char_height,
Fframe_char_width, Fframe_pixel_height, Fframe_pixel_width,
Fset_frame_height, Fset_frame_width): Ditto.
1999-09-13 11:13:32 +00:00
Gerd Moellmann
18f39d0e20 (Ffont_info): Change for Lisp_Object selected_frame.
(Ffontset_info): DItto.
1999-09-13 11:13:31 +00:00
Gerd Moellmann
74c2d1c65d (handle_USR1_signal): Change for Lisp_Object selected_frame. 1999-09-13 11:13:29 +00:00
Gerd Moellmann
91fb7e1b4a (selected_frame): Make it a Lisp_Object.
(adjust_frame_glyphs_initially): Change for Lisp_Object selected_frame.
(direct_output_for_insert, direct_output_forward_char,
init_display): Ditto.
1999-09-13 11:13:24 +00:00
Gerd Moellmann
1cc04aed1e (swap_in_symval_forwarding): Change for Lisp_Object
selected_frame.
(set_internal): Ditto.
1999-09-13 11:13:22 +00:00
Gerd Moellmann
9ba9623dc3 (Fother_buffer): Change for Lisp_Object selected_frame.
(record_buffer): Ditto.
1999-09-13 11:13:16 +00:00
Ken Raeburn
c1d497be70 Use XCAR and XCDR instead of explicit member access. 1999-09-13 03:35:33 +00:00
Ken Raeburn
03699b140e Use XCAR, XCDR, and XFLOAT_DATA instead of explicit member access. 1999-09-13 02:23:04 +00:00
Gerd Moellmann
926106201f (Fx_family_fonts): Replaces Fx_font_list.
(syms_of_xfaces): Defsubr accordingly.
(lface_from_face_name): Resolve face aliases.
(Qmode_line): Replaces Qmodeline.
(realize_basic_faces): Use Qmode_line.
(syms_of_xfaces): Initialize Qmode_line.
(Qframe_update_face_colors): New.
(syms_of_xfaces): Initialize call.
(update_face_from_frame_parameter): Call that function when
the frame's background changes.
1999-09-12 20:22:02 +00:00
Gerd Moellmann
92a90e893a (resize_mini_window): Add parameter exact_p. Resize
to exact size if exact_p is non-zero.
(display_echo_area_1): Call resize_mini_window with
new parameter.
(redisplay_internal): Ditto.
(resize_echo_area_axactly): New.
(hscroll_window_tree): Choose cursor row from
desired or current matrix.
(redisplay_internal): Hscroll before updating.
1999-09-12 20:21:58 +00:00
Gerd Moellmann
abf4a9f7e0 (Fforward_word): Use prompt_end_charpos instead
of minibuffer_prompt_length.
1999-09-12 20:21:56 +00:00
Gerd Moellmann
1e3f16d5eb (read_minibuf_unwind): Call resize_mini_window with
new parameter.
(read_minibuf): Use prompt_end_charpos instead
of minibuffer_prompt_length.
(read_minibuf_unwind): Ditto.
(Fminibuffer_complete_and_exit): Ditto.
(Fminibuffer_complete_word): Ditto.
(Fminibuffer_prompt_end): Ditto.
(read_minibuf): Return mini-buffer contents
without the prompt.
(read_minibuf): Set minibuf_prompt_width to the
current column after inserting prompt.
(Fminibuffer_prompt_width): Return minibuf_prompt_width.
1999-09-12 20:21:55 +00:00
Gerd Moellmann
8f12e41de7 (command_loop_1): Resize mini-window to the
exact size of a message displayed, if any.
1999-09-12 20:21:53 +00:00
Gerd Moellmann
2da8bf64bd (Fbuffer_string): Use prompt_end_charpos instead
of minibuffer_prompt_length.
(Fline_beginning_position): Ditto.
(make_buffer_string_both): Take out the code
to handle mini-buffer prompts.
(Fbuffer_string): Handle the prompt here, instead.
1999-09-12 20:21:51 +00:00
Gerd Moellmann
c99f608057 Change prototype of resize_mini_window.
Add prototype for resize_echo_area_axactly.
1999-09-12 20:21:50 +00:00
Gerd Moellmann
8ac211e8a5 (prompt_end_charpos): Replaces
minibuffer_prompt_length.
1999-09-12 20:21:49 +00:00
Gerd Moellmann
c8bd802016 (Fget_buffer_create): Use prompt_end_charpos instead
of minibuffer_prompt_length.
(Fmake_indirect_buffer): Ditto.
(Fkill_buffer): Ditto.
(Ferase_buffer): Ditto.
1999-09-12 20:21:48 +00:00
Gerd Moellmann
c1ea301b75 (iswitchb-exhibit): Use buffer-string instead
of buffer-substring because buffer-string doesn't copy the
prompt.
1999-09-12 20:21:47 +00:00
Gerd Moellmann
eabac8252e Change ghostscript' to postscript' in comment. 1999-09-12 20:21:46 +00:00
Gerd Moellmann
3759f14b25 (mode-line): Replaces `modeline'.
(toplevel): Make `modeline' an alias for `mode-line'.
1999-09-12 20:21:44 +00:00
Richard M. Stallman
6719bba65e (tpu-version): New version.
(tpu-search-overlay, tpu-replace-overlay): New variables.
(tpu-search-highlight, tpu-toggle-direction): New functions.
(tpu-lm-replace): Set tpu-replace-overlay.
(tpu-edt-on, tpu-edt-off): Add/remove tpu-search-highlight post command hook.
1999-09-12 19:03:10 +00:00
Richard M. Stallman
a1628e9150 (del_range_1): Don't treat minibuffer prompt specially. 1999-09-12 17:29:24 +00:00
Richard M. Stallman
e2dae3f29f (Fline_beginning_position): Handle minibuffer prompt here. 1999-09-12 17:28:03 +00:00
Ken Raeburn
8e713be64c Use XCAR and XCDR instead of explicit member references. 1999-09-12 07:05:34 +00:00
Ken Raeburn
70949dac51 Use XCAR, XCDR, XFLOAT_DATA instead of explicit member access. 1999-09-12 05:07:01 +00:00
Richard M. Stallman
e952bf4445 (isearch-mode-map): Undo previous change. 1999-09-12 03:40:44 +00:00
Richard M. Stallman
756a3cb656 (run_window_scroll_functions): If hook functions switch
buffers, switch back after.
1999-09-12 02:49:25 +00:00
Richard M. Stallman
19b014e465 (eval-last-sexp): If after ?\LETTER, use all of that as the sexp. 1999-09-12 02:17:20 +00:00
Richard M. Stallman
4adcd90506 (find-file-noselect): Catch errors in file-expand-wildcards,
and use the initial argument as file name directly.
Likewise if nothing matches.
1999-09-11 21:29:11 +00:00
Ken Raeburn
3331fb0688 Use XCAR and XCDR. 1999-09-11 20:42:47 +00:00
Richard M. Stallman
ff287a27b6 Major changes. Avoid changing point and mark.
Save configurations after they change, not before.
1999-09-11 20:40:09 +00:00
Ken Raeburn
ee88f64dad (FOR_EACH_FRAME): Use XCAR and XCDR.
(PIXEL_X_FROM_CANON_X, PIXEL_Y_FROM_CANON_Y): Use XFLOAT_DATA.
1999-09-11 18:40:57 +00:00
Ken Raeburn
e35efe896b (GET_TRANSLATION_TABLE): Use XCDR. 1999-09-11 18:35:57 +00:00
Richard M. Stallman
3606c1c576 (byte-compile-output-docform): Bind print-gensym-alist for compatibility,
and bind print-gensym in the old way for compatibility.
1999-09-11 04:46:31 +00:00