1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-13 09:32:47 +00:00
Commit Graph

25482 Commits

Author SHA1 Message Date
Dave Love
688953b5fe Make some doc strings obey the make-docfile convention.
(debug-ignored-errors): Remove BBDB ones.
1999-09-04 11:29:26 +00:00
Dave Love
b0f08a24a4 Fix comment about conventions for Lisp files. 1999-09-04 11:25:13 +00:00
Richard M. Stallman
41b9a9887c (mh-forward): Get new subject line from the original,
not from the draft to forward.
1999-09-04 00:08:17 +00:00
Richard M. Stallman
74a28ee2a8 (make-autoload): Handle defun* like defun. 1999-09-03 23:57:31 +00:00
Dave Love
aaaecdf3ea (highlight-changes-mode): Add autoload cookie for variable. 1999-09-03 23:12:57 +00:00
Richard M. Stallman
433d333d70 Include config.h not ../src/config.h.
(main, fopen, chdir): Add #undef.
(read_c_string, scan_c_file, skip_white, read_lisp_symbol)
(scan_lisp_file): Handle \r like \n.
1999-09-03 23:12:27 +00:00
Dave Love
61355f1c86 (double-mode): Customize the variable. 1999-09-03 22:45:43 +00:00
Gerd Moellmann
55115f0920 Change protorype of x_alloc_nearest_color. 1999-09-03 18:50:06 +00:00
Gerd Moellmann
80c32bcc71 (XTset_vertical_scroll_bar): Block input when clearing
under newly created scroll bar.
(expose_window): If window is not yet fully initialized, do
nothing.  This can happen when toolkit scroll bars are used and a
window is split.  Reconfiguring the scroll bars will generate an
expose for a newly created window.
(x_alloc_nearest_color_for_widget) [USE_X_TOOLKIT]:
New.  Allocate color for lwlib widgets.
(x_alloc_nearest_color): Change parameter list include the
frame on which to allocate colors.  Gamma-correct colors.
(x_alloc_lighter_color): Call x_alloc_lighter_color with new
parameter list.
1999-09-03 18:50:00 +00:00
Gerd Moellmann
d62c876925 Include math.h. Add extern declaration for atof in case
we don't see one.
(Qscreen_gamma): New.
(struct x_frame_parm_table): Add prototypes, add
x_set_screen_gamma.
(gamma_correct): New function.
(defined_color): Call it.
(x_set_screen_gamma): New.
(x_set_title): Add parameter old_value.
(RES_TYPE_FLOAT): New.
(x_get_arg): Handle RES_TYPE_FLOAT.
(Fx_create_frame): Call x_default_parameter for `screen-gamma'.
(lookup_pixel_color): Change call to x_alloc_nearest_color to
new prototype.
(lookup_rgb_color): Ditto.
(syms_of_xfns): Initialize Qscreen_gamma.
1999-09-03 18:49:56 +00:00
Gerd Moellmann
b61cbba3c1 (struct frame): New member `gamma'. 1999-09-03 18:49:55 +00:00
Gerd Moellmann
dd7447ccb0 (make_shadow_gcs): Call
x_alloc_nearest_color_for_widget.
1999-09-03 18:49:53 +00:00
Richard M. Stallman
f019cded83 [macintosh]: Set KBD_BUFFER_SIZE to a smaller value
(512) because Mac compilers limit local data of a function to 32K.
1999-09-03 18:48:46 +00:00
Richard M. Stallman
0e01515357 Do nothing if included a second time.
(enum output_method): Add mac_output frame type.
(union output_data): Add new alternative `mac'.
(FRAME_MAC_P): New macro.
1999-09-03 18:44:39 +00:00
Richard M. Stallman
574a1a902e (Fframep) [macintosh]: Handle mac frame type.
(syms_of_frame_1): Initialize Qmac.
(make_terminal_frame) [macintosh]: Initialize output_data.mac fields.
(Fmake_terminal_frame) [macintosh]: Add an alternate error check.
(Fmodify_frame_parameters) [macintosh]: Call
mac_set_frame_parameter in macterm.c.
1999-09-03 18:39:38 +00:00
Richard M. Stallman
052062e0d8 (call-process) [macintosh]: Call mac_run_command in
sysdep.c.  The Mac code is modeled after the DOS code.
1999-09-03 18:29:30 +00:00
Richard M. Stallman
066d59b3d5 Delete the system-independent include of stdlib.h
(leaving only the one in the WINDOWSNT conditional).
1999-09-03 18:26:26 +00:00
Richard M. Stallman
29c42596c4 [macintosh]: Include macterm.h to define substitute X
Window types and macros.
1999-09-03 18:15:24 +00:00
Gerd Moellmann
9472f927f9 Use XCAR and XCDR instead of XCONS.
(Vresize_mini_config, resize_mini_frame,
resize_mini_initial_height): Removed.
(syms_of_xdisp): Remove references to these variables.
(resize_mini_window): Don't save window configuration, freeze
window starts instead.  Enlarge window until displaying an empty
buffer, then shrink it.  Make the function externally visible.
(redisplay_window): Treat frozen window start like forced start,
but accept point outside of the window.
1999-09-03 15:52:16 +00:00
Gerd Moellmann
e9abf3946d New member frozen_window_start_p. 1999-09-03 15:52:15 +00:00
Gerd Moellmann
7bbb5782ca (foreach_window, foreach_window_1): New.
(freeze_window_start, freeze_window_starts): New.
(make_window): Initialize frozen_window_start_p.
(replace_window): Ditto.
(Fset_window_point): Remove references to deleted variables.
(Fset_window_start): Ditto.
1999-09-03 15:52:12 +00:00
Gerd Moellmann
544e358dca (read_minibuf_unwind): Resize mini-window when
reaching minibuf_level 0.
1999-09-03 15:52:10 +00:00
Gerd Moellmann
1784207c0a Remove extern declarations for variables deleted from
xdisp.c.
1999-09-03 15:52:08 +00:00
Gerd Moellmann
f5ec94b634 (adjust_frame_glyphs): Remove reference to
Vresize_mini_config.
1999-09-03 15:52:05 +00:00
Gerd Moellmann
d0623bcd1b Add function prototype for resize_mini_window. 1999-09-03 15:52:01 +00:00
Gerd Moellmann
3c6ede7b91 (x_scroll_bar_create): Don't clear under scroll bar
here.
(XTset_vertical_scroll_bar): Clarify position computations.  Clear
under newly created scroll bar.  Put toolkit scroll bars in the
middle of the area reserved for the scroll bar.
1999-09-03 12:43:32 +00:00
Gerd Moellmann
c6e9d03b5d (x_set_scroll_bar_width): Change conditional compilation
to USE_TOOLKIT_SCROLL_BARS.
1999-09-03 12:43:28 +00:00
Kenichi Handa
0377370fbb (MULTIBYTE_BYTES_WIDTH): Delete the 2nd arg C. Use the
macro STRING_CHAR_AND_LENGTH.  Caller changed.
1999-09-03 01:28:42 +00:00
Kenichi Handa
cae184f227 (count_combining_composition): New function.
(count_combining_before): Adjust the way to check byte-combining
possibility for the new handling of multibyte sequence.  Call
count_combining_composition for a composite character.
(count_combining_after): Likewise.
1999-09-03 01:28:42 +00:00
Kenichi Handa
1be6387dbd Type in comment fixed. 1999-09-03 01:28:42 +00:00
Kenichi Handa
aa801467ea (Fsubst_char_in_region): Adjust the way to check byte-combining
possibility for the new handling of multibyte sequence.
1999-09-03 01:28:42 +00:00
Kenichi Handa
ac4137cca6 (SPLIT_COMPOSITE_SEQ): New macro.
(SPLIT_CHARACTER_SEQ): New macro.
(SPLIT_MULTIBYTE_SEQ): New macro.
(CHAR_COMPONENT_VALID_P): New macro.
(non_ascii_char_to_string): Generate a multibyte sequence as far
as possible.
(string_to_non_ascii_char): The 4th arg exclude_tail_garbage is
deleted.  Caller changed.  Use the macro SPLIT_MULTIBYTE_SEQ.
(split_non_ascii_string): Likewise.
(multibyte_form_length): Use the macro PARSE_MULTIBYTE_SEQ.
(char_printable_p): New function.
(translate_char): Check character by NATNUMP instead of INTEGERP.
(unibyte_char_to_multibyte): Call char_valid_p instead of
VALID_MULTIBYTE_CHAR_P.
(Fmake_char_internal): Check the arguments more rigidly.
(Fcharset_after): Use the macro SPLIT_MULTIBYTE_SEQ.
(char_valid_p): Check the validity by CHAR_COMPONENT_VALID_P.
(Fmultibyte_char_to_unibyte): Check the validity of character by
CHAR_VALID_P.
(chars_in_text): Call multibyte_chars_in_text.
(multibyte_chars_in_text): Use the macro PARSE_MULTIBYTE_SEQ.
(Fcompose_string): Use the macro STRING_CHAR_AND_LENGTH instead of
STRING_CHAR_AND_CHAR_LENGTH (which is obsolete now).
1999-09-03 01:28:42 +00:00
Kenichi Handa
384107f281 (MAKE_NON_ASCII_CHAR): Handle the case that C1 or C2
are negative.
(MAKE_CHAR): Don't set MSBs of C1 and C2 to 0.
(VALID_MULTIBYTE_CHAR_P): This macro deleted.
(PARSE_COMPOSITE_SEQ): New macro.
(PARSE_CHARACTER_SEQ): New macro.
(PARSE_MULTIBYTE_SEQ): New macro.
(CHAR_PRINTABLE_P): New macro.
(STRING_CHAR): Adjusted for the change of string_to_non_ascii_char.
(STRING_CHAR_AND_LENGTH): Likewise.
(STRING_CHAR_AND_CHAR_LENGTH): Define it as STRING_CHAR_AND_LENGTH.
(INC_POS): Use the macro PARSE_MULTIBYTE_SEQ.
(DEC_POS, BUF_INC_POS, BUF_DEC_POS): Likewise,
1999-09-03 01:28:42 +00:00
Kenichi Handa
a260318815 (Faset): Adjust the way to check byte-combining
possibility for the new handling of multibyte sequence.
1999-09-03 01:28:42 +00:00
Kenichi Handa
4659838fc9 (struct it): Change the size of the member `ctl_chars'. 1999-09-03 01:28:42 +00:00
Kenichi Handa
765fe1d0fa (print_string): Use the macro STRING_CHAR_AND_LENGTH.
(print): Likewise.
1999-09-03 01:28:42 +00:00
Kenichi Handa
e50d9192e8 (count_combining): Use the macro PARSE_MULTIBYTE_SEQ.
(string_char_to_byte): Likewise.
(string_byte_to_char): Likewise.
1999-09-03 01:28:42 +00:00
Kenichi Handa
197516c20d (get_next_display_element): Display incomplete multibyte
sequence (e.g. \222\300) by octal form.
1999-09-03 01:28:42 +00:00
Kenichi Handa
665111a638 Delete duplicated code. 1999-09-03 01:28:20 +00:00
Richard M. Stallman
f6f53207b9 (indent-relative): Doc fix. 1999-09-03 01:00:15 +00:00
Richard M. Stallman
e123e0249d (quickurl): Doc fix. 1999-09-03 00:57:50 +00:00
Gerd Moellmann
056e4a0add (VERTICAL_SCROLL_BAR_WIDTH_TRIM): Change from 2 to 0. 1999-09-02 20:52:53 +00:00
Gerd Moellmann
e84b1dea00 (Fhash_table_weakness): Replaces F_hash_table_weak.
(cmpfn_eql, sxhash): Use XFLOAT_DATA.
1999-09-02 20:52:51 +00:00
Gerd Moellmann
84c499c560 (margin): Change background to "gray" for mono (this is
drawn with a stipple pattern).
1999-09-02 20:52:48 +00:00
Gerd Moellmann
ca42b2e80b (try_window_id): Reset first_unchanged_at_end_row
if we have displayed to the bottom of the window.
1999-09-02 20:35:56 +00:00
Gerd Moellmann
ce1dc5105e (Fforward_word): Stop at a mini-buffer prompt end
in both directions.  Extend documentation.
1999-09-02 20:35:55 +00:00
Gerd Moellmann
7ec44ec68f (set_buffer_internal): Never set
windows_or_buffers_changed.
1999-09-02 20:35:53 +00:00
Gerd Moellmann
280decf4d1 (next-history-element): Use minibuffer-prompt-end once
again.  Remove test for minibuffer-prompt-in-buffer.
1999-09-02 20:35:50 +00:00
Dave Love
931d90250e Update Ada, ILISP, GNUPG, MULE_UCS. 1999-09-02 17:06:35 +00:00
Eli Zaretskii
57c298c426 (vc-update-change-log): Use small-temporary-file-directory when non-nil. 1999-09-02 12:50:28 +00:00