Commit graph

14101 commits

Author SHA1 Message Date
Gerd Moellmann
33954c4554 *** empty log message *** 2001-08-24 09:40:55 +00:00
Gerd Moellmann
3ec6401d7b (access_keymap): Return the cdr of the binding of
a generic character instead of its definition (KEY . BINDING).
2001-08-24 08:42:35 +00:00
Gerd Moellmann
e124966678 (Finsert_file_contents): Set coding's dest_multibyte
to 0 also in the REPLACE case.
2001-08-24 08:35:09 +00:00
Andrew Choi
fb4c6c961b 2001-08-24 Andrew Choi <akochoi@cse.cuhk.edu.hk>
* fileio.c (Ffile_readable_p) [macintosh]: Call access instead of
	open to determine whether file is readable (as for DOS_NT).
2001-08-24 07:09:01 +00:00
Gerd Moellmann
59ecf80b92 *** empty log message *** 2001-08-23 14:16:42 +00:00
Gerd Moellmann
1f83434377 (Finsert_file_contents): If VISIT is non-nil, and
coding.type is coding_type_no_conversion or coding_type_raw_text,
use Fset_buffer_multibyte to make the buffer unibyte if REPLACE is
non-nil instead of just setting enable_multibyte_characters in the
buffer to nil.
2001-08-23 13:18:33 +00:00
Gerd Moellmann
374388c39a *** empty log message *** 2001-08-22 09:44:33 +00:00
Gerd Moellmann
ceeda019c0 (menu_face_changed_default): New variable.
(menu_face_changed_count): Variable removed.
(Finternal_set_lisp_face_attribute): Doc fix.  If FRAME is t, set
the menu_face_changed_default flag, otherwise set the FRAME's
menu_face_changed_p flag if the `menu' face has been changed.
Prevent calling set_font_frame_param if FRAME is t.
(make_face_cache): Initialize cache's menu_face_changed_p
from menu_face_changed_default.
(realize_basic_faces): Look into the frame's face cache to
determine if the menu appearance needs updating.
2001-08-22 09:44:15 +00:00
Gerd Moellmann
90893c55a8 (struct face_cache): Add member
menu_face_changed_p.
2001-08-22 09:43:40 +00:00
Gerd Moellmann
40e33037be *** empty log message *** 2001-08-22 08:29:37 +00:00
Gerd Moellmann
62b366ffb3 (access_keymap): Fix last change to not consider
IDX when it has modifiers.
2001-08-22 08:29:20 +00:00
Gerd Moellmann
859ea4b849 (access_keymap): If a binding of the form (GENERIC-CHAR
. BINDING) exists, where GENERIC-CHAR is the generic character of
the charset of IDX, return BINDING, unless there exists or binding
for IDX itself.
2001-08-21 10:42:27 +00:00
Gerd Moellmann
cca1b1d7ca (SYSV): Don't define on Solaris 2.
From Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>.
2001-08-16 12:55:40 +00:00
Gerd Moellmann
e8660d735f (move_it_by_lines) <DVPOS < 0>: Start at the beginning
of the screen line, not text line, containing IT's current
position.
2001-08-16 08:40:36 +00:00
Gerd Moellmann
288d4e0606 (window_scroll_pixel_based): Don't recenter if
PT is partially visible in the window.
2001-08-15 14:57:20 +00:00
Gerd Moellmann
82f053ab59 (expose_window_tree, expose_window, expose_line): Return
1 when overwriting mouse-face.
(expose_frame): If mouse-face was overwritten, redo it.
2001-08-15 14:31:44 +00:00
Gerd Moellmann
93aba6fcd4 *** empty log message *** 2001-08-15 09:31:06 +00:00
Gerd Moellmann
ac17f0bf87 (x_update_menu_appearance): Don't call
set_frame_menubar, let the next redisplay do it.
2001-08-15 08:49:21 +00:00
Andrew Innes
858a55c1e1 Draw relief (if any) before
drawing glyph string.
2001-08-14 11:46:33 +00:00
Eli Zaretskii
3a990b67be *** empty log message *** 2001-08-14 11:44:38 +00:00
Eli Zaretskii
44abba96a5 New file, for building Emacs on hppa1.1-hitachi. 2001-08-14 11:28:17 +00:00
Gerd Moellmann
04386463e8 (x_update_menu_appearance): Save and restore value of
interrupt_input_blocked.
2001-08-14 10:57:25 +00:00
Gerd Moellmann
b0e619b41a (move_it_by_lines) <DVPOS < 0>: If not already on
a line start, move back to the line start.
2001-08-13 12:14:32 +00:00
Gerd Moellmann
0de73d5a41 *** empty log message *** 2001-08-13 10:35:48 +00:00
Gerd Moellmann
3e6385a48a *** empty log message *** 2001-08-13 10:16:42 +00:00
Gerd Moellmann
6d004fea41 (resize_echo_area_exactly): Don't resize the mini-window
exactly when a mini-buffer is active.
2001-08-13 09:52:55 +00:00
Gerd Moellmann
c5cf21093a (make_lispy_event): Interpret double_click_fuzz
in units of 1/8 character on non window-system frames.
(syms_of_keyboard) <double-click-fuzz>: Doc fix.
2001-08-13 09:27:43 +00:00
Eli Zaretskii
d1b5f629ae *** empty log message *** 2001-08-10 09:23:22 +00:00
Eli Zaretskii
805f91e475 (syms_of_keyboard) <double-click-fuzz>: Fix a typo in a doc string. 2001-08-10 09:14:17 +00:00
Gerd Moellmann
3638868e17 *** empty log message *** 2001-08-09 15:50:33 +00:00
Gerd Moellmann
8e3189f0cc *** empty log message *** 2001-08-09 13:45:47 +00:00
Gerd Moellmann
f0c1cc56a0 (Vpre_help_message): New variable.
(syms_of_keyboard): Initialize and staticpro it.
(show_help_echo): Record current message before displaying a
help-echo, and restore that message when clearing the help.
2001-08-09 13:01:38 +00:00
Gerd Moellmann
eaa2319f35 *** empty log message *** 2001-08-09 09:48:24 +00:00
Gerd Moellmann
32dfbf1a8e (x_create_im): Remove prototype. 2001-08-09 09:48:04 +00:00
Gerd Moellmann
2644796711 (adjust_glyph_matrix): Undo last change. 2001-08-09 09:37:50 +00:00
Gerd Moellmann
99332eb693 (mark_window_display_accurate_1): Remove an assertion. 2001-08-09 09:37:32 +00:00
Gerd Moellmann
0f41e9482a (adjust_glyph_matrix): In the optimization for
windows whose height has changed, disable partially visible
lines.
2001-08-08 11:41:07 +00:00
Gerd Moellmann
22d01aed2d *** empty log message *** 2001-08-07 14:53:15 +00:00
Gerd Moellmann
d466fa4dcf (Frecenter): If ARG < 0, and on a window system
frame, count in some empty lines when we can't move -ARG lines
down.
2001-08-07 14:19:26 +00:00
Gerd Moellmann
17fdcfc85d (start_display): Don't try to determine the continuation
lines width if lines are truncated.  It's superfluous and leads to
incorrect results if POS is not visible in the window after
reseating the iterator at the previous line start.
2001-08-07 11:37:10 +00:00
Gerd Moellmann
8e3fe78ee7 *** empty log message *** 2001-08-06 14:28:58 +00:00
Gerd Moellmann
61869b99b4 (x_dump_glyph_string): Put in #if GLYPH_DEBUG. 2001-08-06 13:37:02 +00:00
Gerd Moellmann
98a8938cdd (tool-bar-add-item-from-menu): Handle
old-style menu definitions.
2001-08-06 10:41:52 +00:00
Gerd Moellmann
339607b4a2 Remove init_stack static declaration. 2001-08-06 10:03:40 +00:00
Gerd Moellmann
5e1f85e0af *** empty log message *** 2001-08-03 12:33:41 +00:00
Gerd Moellmann
f4e05d97a8 (read_key_sequence): Check that key is an integer
before comparing it with quit_char.
(add_command_key): Use larger_vector.
(read_char_x_menu_prompt): Instead of converting symbol and
integer events into conses (EVENT . nil), use (EVENT . disabled)
which cannot be confused with legal events.
(read_char): When reading from Vunread_command_events, check for
events of the form (EVENT . disabled) instead of
(EVENT . nil).
2001-08-03 11:36:48 +00:00
Gerd Moellmann
18f9986a54 (resize_mini_window): If Vmax_mini_window_height is
a float, determine the max height from the frame's height.
2001-08-03 09:55:40 +00:00
Gerd Moellmann
fbc7f2a625 *** empty log message *** 2001-08-02 09:04:45 +00:00
Gerd Moellmann
5ae296846a (redisplay_internal): Take message_cleared_p into
account only if minibuf_level == 0.
2001-08-02 08:30:26 +00:00
Gerd Moellmann
e5c60873e7 *** empty log message *** 2001-08-01 13:58:03 +00:00