1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-30 19:53:09 +00:00
Commit Graph

25019 Commits

Author SHA1 Message Date
Karl Heuer
de4075cff3 (Fmove_to_column): Extend end of line only if FORCE is t. 1999-07-26 19:05:40 +00:00
Karl Heuer
70492703cb Initial revision 1999-07-26 19:01:27 +00:00
Karl Heuer
2b8503eae9 (Fy_or_n_p): Doc fix. 1999-07-26 16:42:38 +00:00
Gerd Moellmann
3d08948993 (bitmap-area): Change background to white for mono displays. 1999-07-26 13:03:06 +00:00
Kenichi Handa
3545439c0b (w32_find_ccl_program): Get compiled CCL code by just
calling setup_coding_system.
1999-07-26 11:58:24 +00:00
Kenichi Handa
a42f54e697 (x_find_ccl_program): Get compiled CCL code by just
calling setup_coding_system.
1999-07-26 11:57:35 +00:00
Kenichi Handa
ef4ced281f (setup_coding_system): Get compiled CCL code by just
calling setup_coding_system.
1999-07-26 11:56:56 +00:00
Kenichi Handa
5232fa7b78 (ccl_driver) <CCL_Call>: Now CCL program ID to call may be
stored in the following CCL code.  Adjusted for the change of
Vccl_program_table.
(resolve_symbol_ccl_program): Adjusted for the new style of
embedded symbols (SYMBOL . PROP) in CCL compiled code.   Return Qt
is resolving failed.
(ccl_get_compiled_code): New function.
(setup_ccl_program): Function type changed from `void' to `int'.
Resolve symbols in CCL_PROG.
(Fccl_program_p): New function.
(Fccl_execute): Get compiled CCL code by just calling
setup_ccl_program.
(Fccl_execute_on_string): Likewise.
(Fregister_ccl_program): Adjusted for the change of
Vccl_program_table.
1999-07-26 11:56:28 +00:00
Kenichi Handa
e5e6d6fbaf (setup_ccl_program): The type is changed to `int'. 1999-07-26 11:55:53 +00:00
Kenichi Handa
982d26735a (ccl-embed-symbol): New function.
(ccl-program-p): Deleted.  Now it's implemented in C code.
(ccl-compile-call): Use ccl-embed-symbol to embed a symbol.
(ccl-compile-translate-character): Likewise.
(ccl-compile-map-single): Likewise.
(ccl-compile-multiple-map-function): Likewise.
(declare-ccl-program): Doc-string modified.
(check-ccl-program): Check compiled CCL code by ccl-program-p.
1999-07-26 11:54:24 +00:00
Gerd Moellmann
54c85a234b (get_next_display_element): Display DEL as `^?'. 1999-07-26 11:50:17 +00:00
Gerd Moellmann
d6fc0a2255 (load_face_colors): Load background color if setting
stipple, too.
1999-07-26 11:49:43 +00:00
Kenichi Handa
9d289ed7c7 (fill-region-as-paragraph): Fix previous change. 1999-07-26 00:29:37 +00:00
Kenichi Handa
7141e1e0ff (fill-region-as-paragraph): Fix previous change. 1999-07-26 00:14:37 +00:00
Markus Rost
d151422c72 (custom-save-variables, custom-save-faces): Sort
the entries to make custom-file more readable.
1999-07-25 14:29:22 +00:00
Karl Heuer
cbe8bb8e18 (custom-save-delete): Avoid error for empty .emacs. 1999-07-25 05:50:42 +00:00
Karl Heuer
b108eac242 (info-lookup-interactive-arguments): Add optional
argument query for new choice of help mode.
(info-lookup-symbol):  Use it.
(info-lookup-file): Ditto.
(info-lookup): Don't switch to other window, if already in Info buffer.
1999-07-25 05:47:46 +00:00
Karl Heuer
e4773f3943 Delete compatibility code.
(edebug-next-token-class): If . is followed by a digit,
return `symbol' for the token class.
1999-07-25 05:45:50 +00:00
Karl Heuer
694e6b248d (command-line): If we don't find the user's init file,
set user-init-file to nil.
1999-07-25 05:44:56 +00:00
Dave Love
f687a8793d (fortran-mode-syntax-table): Change \' to \'
syntax.
(fortran-fontify-string, fortran-match-!-commen): Deleted.
(fortran-font-lock-syntactic-keywords): New variable.
(fortran-mode): Use it.
(fortran-font-lock-keywords-1): Don't do comments.
(beginning-of-fortran-subprogram, end-of-fortran-subprogram):
Save match data.
1999-07-24 13:11:43 +00:00
Dave Love
2c364380e2 Zap elint URL. 1999-07-24 10:07:45 +00:00
Dave Love
5121371d70 (sgml-validate-command): Use nsgmls. 1999-07-23 23:05:21 +00:00
Dave Love
ceafc2fa34 (hl-line-mode): Add autload cookies. 1999-07-23 23:01:06 +00:00
Dave Love
eed3065994 (msb-menu-bar-update-buffers): Renamed from
menu-bar-update-buffers.
(msb-custom-set, msb--toggle-menu-type): Call
msb-menu-bar-update-buffers.
(msb-mode): Revise the hook setting.
1999-07-23 22:57:32 +00:00
Dave Love
a33209e8ef (turn-on-font-lock): Use tty-display-color-p. 1999-07-23 16:44:54 +00:00
Gerd Moellmann
e7f07c2ccf (top-level): Add jit-lock-mode as new support mode.
(font-lock-fontify-keywords-region): Stop when
reaching end instead of letting re-search-forward signal an error.
(jit-lock-mode): New.
(font-lock-turn-on-thing-lock): Add jit-lock-mode.
(font-lock-turn-off-thing-lock): Ditto.
(font-lock-after-fontify-buffer): Ditto.
(font-lock-after-unfontify-buffer): Ditto.
(font-lock-comment-face): Add spec for color tty.
(font-lock-string-face): Ditto.
(font-lock-keyword-face): Ditto.
(font-lock-builtin-face): Ditto.
(font-lock-function-name-face): Ditto.
(font-lock-variable-name-face): Ditto.
(font-lock-type-face): Ditto.
(font-lock-constant-face): Ditto.
(font-lock-warning-face): Ditto.
(font-lock-comment-face): Use new face attribute names.
(font-lock-string-face): Ditto.
(font-lock-keyword-face): Ditto.
(font-lock-builtin-face): Ditto.
(font-lock-function-name-face): Ditto.
(font-lock-variable-name-face): Ditto.
(font-lock-type-face): Ditto.
(font-lock-reference-face): Ditto.
(font-lock-warning-face): Ditto.
1999-07-23 10:59:35 +00:00
Gerd Moellmann
3583173275 (describe-key-briefly): Handle mode line strings
with local-map properties.
(describe-key): Ditto.
(mode-line-key-binding): New.
1999-07-23 10:59:35 +00:00
Gerd Moellmann
fd6bc60fe4 (next-history-element): Set point to the end of the
prompt if minibuffer-prompt-in-buffer.
1999-07-23 10:59:35 +00:00
Karl Heuer
f56f1421df (lisp-font-lock-keywords-2): Fix regexp. 1999-07-23 08:46:55 +00:00
Karl Heuer
25b332443f (Fsplit_window): For default size, round up for left window. 1999-07-23 08:37:26 +00:00
Kenichi Handa
ca29a33e6a (fill-region-as-paragraph): Avoid backing up
before left margin and fill-prefix by fill-find-break-point.
1999-07-23 07:27:21 +00:00
Kenichi Handa
946fdacfd8 (encoded-kbd-self-insert-iso2022-7bit): Don't insert the character
but push it to unread-command-events.
(encoded-kbd-self-insert-iso2022-8bit): Likewise.
(encoded-kbd-self-insert-sjis): Likewise.
(encoded-kbd-self-insert-big5): Likewise.
1999-07-23 07:20:12 +00:00
Karl Heuer
e12fcc411e (info-lookup-setup-mode): Don't give up, if
info-lookup-make-completions returns an error.
(info-lookup-maybe-add-help :mode 'latex-mode): Use Info file
name latex, not latex2e.
1999-07-22 00:45:00 +00:00
Karl Heuer
5df0b2faaf (lock_if_free): Return -1 if check_lock_owner()
has returned -1 (lockfile exists but is not a symlink?)
1999-07-22 00:41:21 +00:00
Karl Heuer
5a78b47103 (perform-replace): Turn off case-fold-search
if FROM-STRING argument has uppercase in it.
1999-07-21 23:01:38 +00:00
Gerd Moellmann
b412189cca (--with-png, HAVE_PNG): New.
(toplevel): Add checks for machine/soundcard.h and sys/soundcard.h.
(USE_TOOLKIT_SCROLL_BARS): New.
(HAVE_XAW3D): New.
(--with-tiff, HAVE_TIFF): Added.
(HAVE_JPEG, --with-jpeg): Added.
(--with-xpm, HAVE_XPM): New.
1999-07-21 21:43:52 +00:00
Gerd Moellmann
968aa0ada4 Add function prototypes.
(xm_update_label): Use val->name to look up
a label string from resources.
(all_dashes_p): Removed.
(make_menu_in_widget): Use lw_separator_p.  Set Motif separator
type.
(make_menu_in_widget): Set alignment of menu
title after all widgets have been created.
(xm_update_toggle): Add callback xm_generic_callback
instead of xm_internal_update_other_instances.
(make_menu_in_widget): Do help button before managing
children to get it to the right place.
(make_menu_in_widget): Create toggle buttons.
(update_one_menu_entry): Update toggle buttons.
(make_menu_in_widget): Test for menubar widgets
using XmNrowColumnType.
1999-07-21 21:43:52 +00:00
Gerd Moellmann
da88f59218 (lw_separator_p): New.
(merge_widget_value): Handle button_type.
(copy_widget_value_tree): Copy button_type.
1999-07-21 21:43:52 +00:00
Gerd Moellmann
cedccd2efa (enum menu_separator): New.
(enum button_type): New.
(_widget_value): New member button_type.
1999-07-21 21:43:52 +00:00
Gerd Moellmann
be06a3dffa (make_shadow_gcs) ]emacs]: Use x_alloc_nearest_color.
(all_dashes_p): Removed.
(size_menu_item): Call lw_separator_p.
(display_menu_item): Ditto.
(display_menu): Ditto.
(draw_separator): New.
(display_menu_item): Call it.
(separator_height): New.
(size_menu_item): Call it.
(abort_gracefully): New.
(display_menu): Use it instead of abort.
(size_menu): Ditto.
(xlwMenuResources): Change previously unused
XtNmargin to 4.
(size_menu): Take margin into account.
(display_menu_item): Ditto.
(remap_menubar): Ditto.
(draw_arrow): Draw it 3D.
(radio_button_width): New.
(size_menu_item): Use new functions.
(draw_shadow_rhombus): New.
(draw_radio): Use radio_button_width and draw_shadow_rhombus.
(draw_toggle): Use toggle_button_width.
(size_menu_item): Add parameter button_width.
(size_menu): Compute button_width.
(toggle_button_width): New.
(draw_toggle): New.
(draw_radio): New.
(draw_shadow_rectangle): Add parameter `down_p'.
1999-07-21 21:43:52 +00:00
Gerd Moellmann
7c2eb6d1fd (_window_state): Add button_width. 1999-07-21 21:43:52 +00:00
Gerd Moellmann
2327e4a0bc (NARROWPROTO): New. 1999-07-21 21:43:52 +00:00
Gerd Moellmann
e18f992255 (FONT_INFO_ID): Build an ID from a font_info pointer.
(FONT_INFO_FROM_ID): Get a font_info pointer from an ID.
(toplevel): Add extern declarations for Vfontset_alias_alist
and Vglobal_fontset_alist.
1999-07-21 21:43:52 +00:00
Gerd Moellmann
18082e2d15 (make_frame): Set n_current_toolbar_items to 0.
(syms_of_frame_1): Add Qtoolbar_lines.
(make_frame): Initialize toolbar members.
(make_frame): Initialize toolbar_window.
(frame-initialize): Set frame-creation-function to
tty-create-frame-with-faces.
(make_terminal_frame): Call init_frame_faces
unconditionally.
(make_frame): Call set_window_buffer instead of
Fset_window_buffer.
(make_frame): Initialze face cache with null.
(make_frame): Initialize face_cache.
(Fdelete_frame): Free it.
(Fdelete_frame): Use xfree instead of free.
(set_menu_bar_lines): Ditto.
(Fmake_terminal_frame): Ditto.
(make_frame): Initialize menu_bar_window to nil.
(make_frame): Remove CURSOR_X/Y.
(set_menu_bar_lines): Adjust matrices.
(make_frame): Initialize pools.
(make_frame): initialize DECODE_MODE_SPEC_BUFFER.
(Fmake_terminal_frame): Adjust glyphs.
(Fdelete_frame): Free glyphs.
(make_frame): Initialize matrix fields in frame.
1999-07-21 21:43:52 +00:00
Gerd Moellmann
3b83d6312c (FRAME_TOOLBAR_LINES): New.
(FRAME_TOP_MARGIN): New.
(struct frame): Add toolbar-related members.
(FRAME_WINDOW_WIDTH_ARG): Add bitmap area widths.
(CHECK_FRAME): Give this macro a C-statement form!
(CHECK_LIVE_FRAME): Ditto.
(FRAME_FACE_CACHE): New.
(struct frame): Add member face_cache.
(FRAME_FLAGS_AREA_COLS): New.
(FRAME_FLAGS_AREA_WIDTH): New.
(struct frame): New member menu_bar_window.
(struct frame): Add trunc_area_pixel_width, and _cols.
(struct frame): Cursor-related stuff removed.
(FRAME_SCROLL_BAR_WIDTH): Removed.
(FRAME_WINDOW_WIDTH_ARG): Don't add scroll bar width.
(FRAME_CURSOR_X): Removed.
(FRAME_CURSOR_Y): Ditto.
(struct frame): Remove old glyphs, add new.
1999-07-21 21:43:52 +00:00
Gerd Moellmann
8720a429d9 (Fvertical_motion): Rewritten. 1999-07-21 21:43:52 +00:00
Gerd Moellmann
04e209dc56 (ctagsfiles): Split so that files starting
with an `x' are found before files starting with `w32'.
(ctagsfiles1): New.
(ctagsfiles2): New.
(TAGS): Use ctagsfiles[12] instead of ctagsfiles.
Add PNG library.
(obj): Add sound.o.
(LIBW): Use Xaw3d if present.
(LIBTIFF): Added.
(LIBJPEG): Added.
(LIBXPM): If not already defined, define to -lXpm.
(LIBX)[HAVE_X11]: Add LIBXPM.
(term.o): Add dependency on dispextern.h.
(alloc.o): Add dependency to dispextern.h.
(window.o): Depends on dispextern.h.
(alloc.o): Add dependency dispextern.h.
(window.o): Add dependency window.c -> dispextern.h
(term.o): term.c depends on dispextern.h
1999-07-21 21:43:52 +00:00
Gerd Moellmann
d3c92eee39 (toplevel): Add function prototypes. 1999-07-21 21:43:52 +00:00
Gerd Moellmann
2e9f55fde2 (prepare_to_modify_buffer): Set windows_or_buffers_changed,
(del_range_1) [PROMPT_IN_BUFFER]: If start position
is less than mini-buffer prompt width, use prompt width as start.
1999-07-21 21:43:52 +00:00
Gerd Moellmann
41c28a3753 (gc_sweep): Call sweep_weak_hash_tables.
(survives_gc_p): New.
(mark_object): Mark objects referenced from glyphs, hash tables,
toolbar date, toolbar window, face caches, menu bar window.
Mark windows specially.
(Fgarbage_collect): Use message3_nolog.
(mark_face_cache): New.
(NSTATICS): Increased to 1024.
(mark_glyph_matrix): New.
1999-07-21 21:43:52 +00:00