1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-11 14:01:43 -08:00
Commit graph

11905 commits

Author SHA1 Message Date
Gerd Moellmann
23a96c7762 (with_echo_area_buffer): Take additional EMACS_INT
parameters instead of using int parameters.  Expect FN to accept
EMACS_INT parameters.
(display_echo_area, resize_echo_area_axactly, current_message)
(truncate_echo_area, set_message_1): Call with_echo_area_buffer
with new argument list.
(resize_mini_window_1): New callback function.
(current_message_1, truncate_message_1, set_message_1): Change
parameter lists to the new format expected by
with_echo_area_buffer.
2000-07-24 12:22:54 +00:00
Kenichi Handa
afe93d01f2 (fontset_ref): Remove INLINE declaration.
(fontset_ref_via_base): Likewise.
(Fset_fontset_font): Convert FAMILY and REGISTRY specifications
to downcase.
2000-07-24 11:07:23 +00:00
Kenichi Handa
25c1a9ce6d *** empty log message *** 2000-07-24 11:06:27 +00:00
Eli Zaretskii
e215fa58c7 (syms_of_coding): Doc fix for inhibit-iso-escape-detection. 2000-07-23 14:53:26 +00:00
Eli Zaretskii
3a258507e1 Correct typo in a comment. 2000-07-23 13:05:44 +00:00
Eli Zaretskii
7f987ac094 *** empty log message *** 2000-07-23 13:04:40 +00:00
Eli Zaretskii
f0a4139c76 (IT_note_mouse_highlight): Process overlays in the
correct order of priority.  If help echo was found in an overlay,
use that overlay as the object in which the help echo was found.
2000-07-23 13:03:16 +00:00
Miles Bader
ce6b02e050 (Fprevious_single_char_property_change):
The initial property value should be from the position preceding
  POSITION, not following it.
2000-07-22 13:37:47 +00:00
Miles Bader
e2db306902 *** empty log message *** 2000-07-22 13:36:08 +00:00
Eli Zaretskii
5e3203e4bc *** empty log message *** 2000-07-22 10:23:38 +00:00
Eli Zaretskii
bc77278f53 (syms_of_coding): Doc fix for inhibit-iso-escape-detection. 2000-07-22 10:17:50 +00:00
Gerd Moellmann
c20aeb834d *** empty log message *** 2000-07-21 15:54:52 +00:00
Gerd Moellmann
f83490015c (note_mouse_highlight): Process overlays in the right
order of priority.
2000-07-21 15:54:14 +00:00
Gerd Moellmann
743934dbc8 (note_mouse_highlight): If help-echo was found in an
overlay, use that overlay as the object in which the help was
found.
2000-07-21 15:38:39 +00:00
Gerd Moellmann
5b2ec2d060 (show_help_echo, gen_help_event): Extend comments. 2000-07-21 15:37:33 +00:00
Gerd Moellmann
d1dc7e43b8 *** empty log message *** 2000-07-21 15:00:08 +00:00
Gerd Moellmann
0f532a9a24 (foreach_window_1): Fix typo reversing an if-condition. 2000-07-21 14:59:18 +00:00
Gerd Moellmann
6214507352 (menu_help_callback): Call show_help_echo with
additional arguments OBJECT and POS.
2000-07-21 14:35:53 +00:00
Gerd Moellmann
f95464e470 (foreach_window): Instead of a fake variable argument
list, take one USER_DATA argument.
(foreach_window_1): Likewise, and call callback functions with two
args, the window and USER_DATA.
(struct check_window_data): New struct.
(check_window_containing): Use it.
(window_from_coordinates): Set up a struct check_window_data for
foreach_window.
(add_window_to_list, freeze_window_start): Change parameters
according to new calling convention.
2000-07-21 14:34:08 +00:00
Gerd Moellmann
f5588a407c (foreach_window): Change prototype. 2000-07-21 14:33:46 +00:00
Gerd Moellmann
017f053958 (Fprevious_overlay_change): Avoid memory leak. 2000-07-21 14:33:35 +00:00
Kenichi Handa
07b1485745 *** empty log message *** 2000-07-21 06:59:01 +00:00
Kenichi Handa
3c9de1afcd (Faset): Allow storing any multibyte character in a string. Convert
unibyte string to multibyte if necessary.
2000-07-21 06:45:30 +00:00
Kenichi Handa
11270583fe *** empty log message *** 2000-07-21 02:39:45 +00:00
Kenichi Handa
d60660d6e9 *** empty log message *** 2000-07-21 02:32:21 +00:00
Kenichi Handa
0b8c21c2ef (x_encode_text): Add prototype. 2000-07-21 02:07:35 +00:00
Kenichi Handa
2b38b37ef7 (lisp_data_to_selection_data): Use x_encode_text. 2000-07-21 02:07:14 +00:00
Kenichi Handa
96db09e410 (x_encode_text): New function.
(x_set_name): Use x_encode_text.
(x_set_title): Likewise.
2000-07-21 02:06:49 +00:00
Dave Love
bc75b4fd46 *** empty log message *** 2000-07-20 17:31:18 +00:00
Dave Love
157f852b76 (Fccl_execute_on_string): Don't check xmalloc return. Use xfree, not
free.
2000-07-20 12:50:09 +00:00
Eli Zaretskii
ec68e3237e Correct a typo in a comment. 2000-07-20 11:17:16 +00:00
Eli Zaretskii
48c14970c5 (IT_note_mode_line_highlight, IT_note_mouse_highlight):
Record the object that generated the help echo and the position of
that object in help_echo_object and help_echo_pos.  Record that
some glyphs in a row are displayed in mouse-face.
(IT_update_begin): Don't clear mouse highlight unless one of the
enabled glyph rows is marked as being displayed in mouse-face.
(dos_rawgetc): Generate 2 events for HELP_EVENT.  Pass the object
and position recorded in help_echo_object and help_echo_pos to the
event queue.
(IT_menu_display): Accept a new argument PN: the pane number of
the current menu pane.  Record the pane number and the item
number of the item which has associated help string.
(XMenuActivate): Update the prototype for help_callback in
function declaration.  Call IT_menu_display with the current menu
pane number as an additional argument.  Call help_callback with
two additional arguments: the pane number and the item number of
the menu item associated with the help text.
(help_echo_object, help_echo_pos): New variables.
(syms_of_msdos): Initialize them and staticpro help_echo_object.
(help_echo_window): New variable.
(syms_of_msdos): Initialize and staticpro it.
(IT_note_mode_line_highlight): Set help_echo_window.
(IT_note_mouse_highlight): Ditto.
(dos_rawgetc): Store help_echo_window in the second event produced
for HELP_EVENTs.
2000-07-20 11:09:12 +00:00
Eli Zaretskii
f5c322fcb1 (XMenuActivate): Update prototype. 2000-07-20 11:04:07 +00:00
Richard M. Stallman
18e21ce839 *** empty log message *** 2000-07-19 22:05:09 +00:00
Gerd Moellmann
47db06aae4 *** empty log message *** 2000-07-19 15:52:13 +00:00
Gerd Moellmann
9339e87f34 (direct_output_for_insert): Remove confusing
outer local variable mouse_face_overwritten_p.
(glyph_row_slice_p): Put in #ifdef GLYPH_DEBUG.
2000-07-19 15:47:52 +00:00
Gerd Moellmann
5433ffa54f (Fnext_single_char_property_change): Add prototype. 2000-07-19 15:47:31 +00:00
Gerd Moellmann
952291d9f6 Add some more prototypes. 2000-07-19 15:47:10 +00:00
Gerd Moellmann
2e62122589 (with_echo_area_buffer): Call FN with more arguments.
Add some more prototypes.
2000-07-19 15:46:20 +00:00
Gerd Moellmann
4279296d21 *** empty log message *** 2000-07-19 11:06:09 +00:00
Gerd Moellmann
00c9c33c29 (allocate_string_data): Don't copy old string contents. 2000-07-19 11:05:32 +00:00
Kenichi Handa
e077cc80af (code_convert_region): Delete text properties before shrinking the
conversion region.
2000-07-19 03:44:55 +00:00
Kenichi Handa
670acd6287 *** empty log message *** 2000-07-19 03:44:17 +00:00
Gerd Moellmann
dc1cac5985 *** empty log message *** 2000-07-18 19:43:58 +00:00
Gerd Moellmann
62ba722af5 (update_text_area): Write the whole row if it
has mouse-face in it.
2000-07-18 19:43:04 +00:00
Gerd Moellmann
85a8aca9a7 *** empty log message *** 2000-07-18 19:04:00 +00:00
Gerd Moellmann
434b9cc52c (face-alternative-font-family-alist): Remove
DEFVAR_LISP; staticpro instead.
2000-07-18 19:03:13 +00:00
Gerd Moellmann
7cea38bcc8 (help_echo_window): New variable.
(note_mouse_highlight, note_tool_bar_highlight): Set
help_echo_window.
(XTread_socket): Pass help_echo_window to gen_help_event.
(syms_of_xterm): Initialize and staticpro help_echo_window.
2000-07-18 18:23:29 +00:00
Gerd Moellmann
8d7268b43e (show_help_echo, gen_help_event): Change prototypes. 2000-07-18 18:20:16 +00:00
Gerd Moellmann
2190735a33 (show_help_echo): Add parameter WINDOW.
(read_char): Call show_help_echo with window extracted from Lisp
help event.
(gen_help_event): Add parameter WINDOW.
2000-07-18 18:20:04 +00:00