Kim F. Storm
055d3c98b7
Use generic compute_fringe_widths.
2003-03-12 12:12:26 +00:00
Kim F. Storm
ffbbc941e0
The following changes consolidates the fringe handling from
...
xterm.c, w32term.c, and macterm.c into xdisp.c.
* xdisp.c: Consolidate fringe handling code here.
(left_bits, right_bits, continued_bits, continuation_bits)
(ov_bits, zv_bits): Define fringe bitmaps.
(fringe_bitmaps): New array holding fringe bitmaps.
(draw_fringe_bitmap): Draw a specific bitmap; call display
specific drawing routine via rif->draw_fringe_bitmap.
(draw_row_fringe_bitmaps): Generic replacement for
x_draw_row_fringe_bitmaps; all callers changed.
(compute_fringe_widths): Generic replacement for
x_compute_fringe_widths; all callers changed.
2003-03-12 12:11:00 +00:00
Kim F. Storm
5958f26590
Remove generic fringe code.
...
(x_draw_fringe_bitmap): Only perform actual fringe drawing.
(x_redisplay_interface): Add x_draw_fringe_bitmap member.
2003-03-12 12:10:36 +00:00
Kim F. Storm
b6ae15325f
Remove generic fringe code.
...
(w32_draw_fringe_bitmap): Only perform actual fringe drawing.
(w32_redisplay_interface): Add w32_draw_fringe_bitmap member.
2003-03-12 12:10:19 +00:00
Kim F. Storm
f4e1400d40
(enum fringe_bitmap_type): Define here.
...
(struct fringe_bitmap, struct draw_fringe_bitmap_params): New.
(fringe_bitmaps): Declare extern.
(struct redisplay_interface): New member draw_fringe_bitmap.
(draw_row_fringe_bitmaps, compute_fringe_widths): Declare extern.
2003-03-12 12:09:39 +00:00
Kim F. Storm
9668be7cb0
*** empty log message ***
2003-03-12 12:09:19 +00:00
Stefan Monnier
b51ee1312d
(Fprin1_to_string): Return unibyte string if possible.
2003-03-11 15:52:37 +00:00
David Kastrup
9e25126f0b
(read_process_output): We have allocated enough space
...
for readmax and carryover, so actually use the alloted space.
2003-03-09 22:48:08 +00:00
David Kastrup
1d1de69596
*** empty log message ***
2003-03-09 22:47:22 +00:00
Jan Djärv
257f40f267
Implement Ctrl-Mouse-2 (split vertically) for toolkit scrollbars
2003-03-09 20:43:04 +00:00
Jan Djärv
3a8a22fc3d
Another fix for BadGC.
2003-03-09 20:41:39 +00:00
Jan Djärv
26b74a0bd0
* gtkutil.c (update_frame_tool_bar): Compare pixmap ID instead of
...
struct image* when desciding to update (struct image* may have been
deleted from the image cache).
2003-03-08 15:57:47 +00:00
Jan Djärv
15213141e3
* xterm.c (handle_one_xevent): Pass ReparentNotify to Xt even if
...
the event isn't for a frame (i.e. for dialogs).
2003-03-08 10:16:04 +00:00
Kenichi Handa
b6871cc7dd
(CODING_ADD_COMPOSITION_COMPONENT): If the number of
...
composition components reaches the limit, terminate composing.
(COMPOSITION_OK): New macro.
(detect_coding_iso2022): Use it if an escapse sequence for
composition is found.
(coding_restore_composition): Adjust the number of composition
components if it is not sane.
2003-03-07 02:18:35 +00:00
Kenichi Handa
cb681b3455
*** empty log message ***
2003-03-07 02:13:45 +00:00
Juanma Barranquero
c9029fe54b
(w32_get_rdb_resource): New function.
...
(x_get_string_resource): Use it, so resources passed with -xrm supercede the
ones in the registry.
2003-03-06 13:07:24 +00:00
Juanma Barranquero
e5af3c25c9
(Fx_get_resource, x_get_resource_string): Pass xrdb to check for resources
...
passed on the command line.
2003-03-06 13:01:32 +00:00
Juanma Barranquero
c13a8a91d7
(w32_make_rdb): New function.
...
(w32_term_init): Use it to initialize xrdb member of w32_display_info struct.
Delete leftover code.
2003-03-06 13:00:04 +00:00
Juanma Barranquero
7114765394
(struct w32_display_info): Add xrdb member to support passing resources via -xrm
...
on Windows.
2003-03-06 12:56:56 +00:00
Jan Djärv
9d00001fc6
* xterm.c (x_detect_focus_change): Call x_any_window_to_frame
...
instead of x_top_window_to_frame.
2003-03-04 19:33:04 +00:00
Jan Djärv
ca2417b9b9
xsmfns.c (smc_save_yourself_CB): Add --no-splash to options
...
when restarting Emacs.
2003-03-03 19:55:10 +00:00
Richard M. Stallman
5b20caf08d
(Fkill_buffer): Use Frun_hook_with_args_until_failure
...
to run kill-buffer-query-functions.
(Qkill_buffer_query_functions): New var.
(syms_of_buffer): Init and staticpro it.
2003-03-03 19:09:40 +00:00
Rob Browning
710ee5a968
*** empty log message ***
2003-03-03 18:31:22 +00:00
Stefan Monnier
6bdb309af9
.
2003-03-02 20:02:19 +00:00
Jan Djärv
58e91b7793
* xterm.h (XSync): Define as gdk_window_process_all_updates for GTK.
2003-03-02 13:13:33 +00:00
Jan Djärv
048addecb7
A lot of lines removed at checkin version 1.3108, restore them
2003-03-02 12:45:29 +00:00
Stefan Monnier
6a097c0c18
*** empty log message ***
2003-02-26 16:34:27 +00:00
Kim F. Storm
932357b45c
(redisplay_window): Fix infinite loop in redisplay.
...
If centering point failed to make whole line visible and vscroll
is non-zero, disable vscroll and try centering point again.
2003-02-25 12:33:32 +00:00
Kim F. Storm
b928437175
(read1): Accept `single space' syntax like (? x).
2003-02-25 12:29:03 +00:00
Jan Djärv
bb8db7e1f5
* keyboard.c (cancel_hourglass_unwind): Surround with
...
#ifdef HAVE_X_WINDOWS
2003-02-25 06:00:40 +00:00
Kenichi Handa
47d77aabae
*** empty log message ***
2003-02-25 02:25:58 +00:00
Kenichi Handa
2a2b50a9d8
(Fset_buffer_multibyte): Pay attention to the buffer
...
process only when "subprocesses" is defined.
2003-02-25 02:24:53 +00:00
Stefan Monnier
d070eb221d
(back_comment): Only check nestedness of 2nd char if needed.
2003-02-25 01:36:23 +00:00
Juanma Barranquero
d1135afcd5
(fix_command): Declare as static void and move before Fcall_interactively.
2003-02-24 10:57:59 +00:00
Juanma Barranquero
0b063c2762
(Qwhen): Declare external; it's now defined in callint.c.
...
(syms_of_xdisp): Don't initialize Qwhen.
2003-02-24 07:58:51 +00:00
Jan Djärv
0af912f093
* keyboard.c (cancel_hourglass_unwind): New function.
...
(command_loop_1): Cancel hourglass with unwind-protect.
2003-02-23 22:11:20 +00:00
Jan Djärv
60a653f1cd
Entries between 2002-03-10 and 2002-02-16 was missing, restore them.
2003-02-23 19:26:08 +00:00
Richard M. Stallman
120d0a23ea
(fix_command): New subroutine, from Fcall_interactively.
...
Detect (when ... (region-beginning)) etc.
(Fcall_interactively): Call fix_command.
(Qif, Qwhen): New variables.
(syms_of_callint): Init and staticpro them.
2003-02-23 15:14:08 +00:00
Richard M. Stallman
a1a052dfa5
(print_partial_compiled_pattern): Output to stderr.
2003-02-23 15:00:30 +00:00
Kai Großjohann
4ece81a62f
(directory_files_internal): Don't expand directory.
...
(Fdirectory_files, Fdirectory_files_and_attributes): Do it here
instead. From Lars Hansen <larsh@math.ku.dk>.
2003-02-23 10:48:29 +00:00
Stefan Monnier
e52bd6b740
(string_to_multibyte): Remove unused var i.
...
(Flanginfo): Fix int/Lisp_Object mixup.
(void_call2): New fun.
(Fmap_char_table): Use it in place of call2.
2003-02-22 22:22:27 +00:00
Stefan Monnier
2b47daccff
(x_face_list_fonts): Fix int/Lisp_Object mixup.
2003-02-22 22:20:00 +00:00
Stefan Monnier
3499aebffc
(Fstart_kbd_macro): Remove redundant assignment.
2003-02-22 22:19:31 +00:00
Stefan Monnier
80951487d7
(copy_keymap_1): Make it static.
2003-02-22 22:18:42 +00:00
Stefan Monnier
69ab9f854e
(Fgarbage_collect): Don't use XSETFLOAT.
2003-02-22 22:15:31 +00:00
Juanma Barranquero
c33ef7c46f
2003-02-22 David Ponce <david@dponce.com>
...
(Fload): Don't check STRING_MULTIBYTE.
2003-02-22 18:24:48 +00:00
Jan Djärv
1678225877
Removed subtty, workaround for when TIOCSIGSEND fails.
2003-02-21 18:13:53 +00:00
Kai Großjohann
2d772f45c1
(Fdefine_key): Clarification of formulation.
2003-02-21 16:38:34 +00:00
Kai Großjohann
3abeca61dc
(Fdefine_key): Doc fix.
2003-02-21 16:34:59 +00:00
Juanma Barranquero
92a8ce635f
*** empty log message ***
2003-02-21 08:08:03 +00:00