1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-25 23:10:47 -08:00
Commit graph

18831 commits

Author SHA1 Message Date
Kim F. Storm
546f98b838 (init_iterator): Clear it.max_extra_line_spacing.
(move_it_vertically_backward): Don't recure to move further back.
(move_it_vertically): Remove superfluous condition.
(move_it_by_lines): Clear last_height when moved 0 lines.
(resize_mini_window): use it.max_extra_line_spacing.
(display_tool_bar_line): Clear row->extra_line_spacing.
(try_scrolling): Use move_it_vertically_backward directly.
(redisplay_window): Likewise.
(compute_line_metrics): Set row->extra_line_spacing.
(display_line, display_string): Likewise.
(x_produce_glyphs): Update it->max_extra_line_spacing.
2004-11-12 14:27:07 +00:00
Kim F. Storm
f204989e2e (window_scroll_pixel_based, Frecenter): Use
move_it_vertically_backward directly.
(Frecenter): Fix calculation of new start pos for negative arg.
Before, the new start pos was sometimes chosen too far back, so
the last line became only partially visible, and thus would be
either only semi-visible or automatically scrolled to the middle
of the window by redisplay.
2004-11-12 14:26:53 +00:00
Kim F. Storm
db0c5a7d08 (struct glyph_row): New member extra_line_spacing.
(struct it): New member max_extra_line_spacing.
(MR_PARTIALLY_VISIBLE, MR_PARTIALLY_VISIBLE_AT_TOP)
(MR_PARTIALLY_VISIBLE_AT_BOTTOM): New helper macros.
(MATRIX_ROW_PARTIALLY_VISIBLE_P): Fix to return false if invisible
part of last line is only extra line spacing (so the text on the
line is fully visible). Use helper macros.
Add W arg (to use them).  All callers changed.
(MATRIX_ROW_PARTIALLY_VISIBLE_AT_TOP_P)
(MATRIX_ROW_PARTIALLY_VISIBLE_AT_BOTTOM_P): Use helper macros.
2004-11-12 14:26:34 +00:00
Kim F. Storm
381f7091f6 *** empty log message *** 2004-11-12 14:21:27 +00:00
Kim F. Storm
b9de078aa6 (pop_down_menu): Return nil. 2004-11-12 13:47:13 +00:00
Jan Djärv
f1d1cd24db (pop_down_menu): New function.
(popup_get_selection, popup_widget_loop): Unwind protect to
pop_down_menu.
(popup_widget_loop): Add argument widget.
(create_and_show_popup_menu, create_and_show_dialog): Pass new
argument widget to popup_widget_loop.
2004-11-12 10:34:36 +00:00
Jan Djärv
df00f4364c (popup_widget_loop): Add argument do_timers.
(create_and_show_popup_menu, create_and_show_dialog): Pass 1 for
do_timers to popup_widget_loop.
(create_and_show_popup_menu): Pass 1 for do_timers to
popup_get_selection.
2004-11-12 09:36:55 +00:00
Jan Djärv
c3438661cb * xmenu.c (x_menu_wait_for_event): New function.
(popup_get_selection, popup_widget_loop):  Call x_menu_wait_for_event
to handle timers.
(xmenu_show): Call XMenuActivateSetWaitFunction so that
x_menu_wait_for_event is called by XMenuActivate.
2004-11-12 08:33:51 +00:00
Stefan Monnier
32e2fb0429 (Fkeymap_prompt): Accept symbol keymaps. 2004-11-10 22:35:21 +00:00
Kim F. Storm
678b3958be Include <sys/types.h> and <unistd.h> (for getpid).
Fix various comments referring to XEvents instead of input events.
(x_queue_event): Fix format strings.
(x_stop_queuing_selection_requests): Likewise.
2004-11-09 13:26:58 +00:00
Kim F. Storm
0162fa4ea6 (produce_image_glyph): Remove unused variable 'face_ascent'.
(pint2hrstr): Add extra braces to silence compiler.
2004-11-09 13:26:01 +00:00
Kim F. Storm
44455197d9 (print_object): Fix format string. 2004-11-09 13:24:35 +00:00
Kim F. Storm
95af0924b4 (read1): Fix next_char matching. 2004-11-09 13:24:19 +00:00
Kim F. Storm
e870dd8926 (Fdelete): Add EXFUN.
(replace_range_2): Add prototype.
2004-11-09 13:24:07 +00:00
Kim F. Storm
caa5a925ae (read_avail_input): Remove unused variable 'discard'. 2004-11-09 13:23:55 +00:00
Kim F. Storm
825e0e0b53 (NULL_INTERVAL_P): Add separate version when
ENABLE_CHECKING is not defined to silence compiler.
(compare_string_intervals): Add prototype.
2004-11-09 13:23:42 +00:00
Kim F. Storm
c3c69bb625 (destroy_fringe_bitmap): Fix return type.
(Ffringe_bitmaps_at_pos): Remove unused var 'old_buffer'.
2004-11-09 13:23:32 +00:00
Kim F. Storm
9b33d5960f (Fdump_emacs): Fix format string. 2004-11-09 13:23:13 +00:00
Kim F. Storm
9f77d2aaef Include <ctype.h>.
(Fsubstitute_command_keys): Remove unused variable 'firstkey'.
2004-11-09 13:23:00 +00:00
Kim F. Storm
43e50e40db (store_symval_forwarding): Remove unused variables. 2004-11-09 13:19:11 +00:00
Kim F. Storm
33247f0c3a (Fcall_interactively): Remove unused variable 'funcar'. 2004-11-09 13:18:58 +00:00
Kim F. Storm
0faf68065e *** empty log message *** 2004-11-09 13:18:39 +00:00
Kim F. Storm
d0c38d631d Fix commentary. 2004-11-09 11:16:32 +00:00
Kim F. Storm
eb943af045 (Fmake_network_process): Remove unused var 'retry'. 2004-11-09 11:15:46 +00:00
Jan Djärv
16bf4e3264 * Makefile.in (stamp-oldxmenu): If HAVE_GTK, don't add dependencies
to ${OLDXMENU}.
2004-11-09 10:59:49 +00:00
Kim F. Storm
4e9dd03b8c (Fmake_network_process): Remove kludge for interrupted
connects on BSD.  If connect is interrupted, just close socket and
start over rather than sleeping and retry with same socket.
2004-11-09 09:40:37 +00:00
Kim F. Storm
cdb805a935 *** empty log message *** 2004-11-09 09:40:07 +00:00
Jan Djärv
a8b16c80cd * .cvsignore: Add buildobj.lst. 2004-11-09 08:23:44 +00:00
Jan Djärv
d87a9ab893 * doc.c: New variable Vbuild_files.
(Fsnarf_documentation): If Vbuild_files is nil, populate it with
file names from buildobh.lst.  Only attach docstrings from files
that are in Vbuild_files.
(syms_of_doc): Defvar Vbuild_files.

* Makefile.in (SOME_MACHINE_OBJECTS): Add fringe.o, image.o
and w32*.o.
(temacs${EXEEXT}): Generate buildobj.lst when temacs is linked.
(mostlyclean): rm buildobj.lst

* makefile.w32-in ($(TEMACS)): Generate buildobj.lst when temacs
is linked.
2004-11-09 08:19:51 +00:00
Kim F. Storm
81544a1d14 (update_window_fringes): Update fringe bitmaps if
cur and row ends_at_zv_p differs.  If bitmaps of a row is updated,
also update previous row to get rid of misc. artifacts.
2004-11-08 23:34:12 +00:00
Kim F. Storm
b6709e7744 *** empty log message *** 2004-11-08 23:32:56 +00:00
Kim F. Storm
4674c583e2 (note_mouse_highlight): Clear mouse face if we move out of text area. 2004-11-08 22:25:30 +00:00
Kim F. Storm
b7127aa8d0 *** empty log message *** 2004-11-08 22:24:51 +00:00
Kim F. Storm
a78bc3c08a (fast_find_position): Fix start pos if header line present. 2004-11-08 22:12:13 +00:00
Kim F. Storm
bae9677d95 *** empty log message *** 2004-11-08 22:11:40 +00:00
Eli Zaretskii
3f8ea68c98 *** empty log message *** 2004-11-08 13:02:27 +00:00
Eli Zaretskii
3c14598ca1 Move #include "systime.h" before <sys/resource.h>.
Don't include <sys/time.h> explicitly.
Include <stdio.h> unconditionally, not just on MacOS.
2004-11-08 12:04:07 +00:00
Kenichi Handa
a653f81218 (fontset_pattern_regexp): Cancel my previous change;
don't pay attention to '\' before '*'.
(fontset_pattern_regexp): Change the meaning of the second arg.
(Fnew_fontset): Call fs_query_fontset, not Fquery_fontset.
(check_fontset_name): Try NAME as literal at first, and if it
failes, try NAME as pattern.
2004-11-08 00:38:48 +00:00
Jan Djärv
c37caf9d6b * emacs.c (Fdump_emacs): Only output warning on GNU/Linux. 2004-11-07 21:59:19 +00:00
Andreas Schwab
b72915a740 Don't declare Fmsdos_downcase_filename. 2004-11-07 11:08:45 +00:00
Andreas Schwab
b7f3499735 Declare Fmsdos_downcase_filename. 2004-11-07 11:06:32 +00:00
Jan Djärv
238a44a865 * dosfns.c (Fdos_memget, Fdos_memput): Use integer variable offs in
comparisons with integers instead of Lisp_Object address.
(Fmsdos_set_keyboard): Declare argument allkeys.

* msdos.c (IT_set_frame_parameters): Use EQ, not ==, for Lisp_Object:s.

* dired.c: extern declare Fmsdos_downcase_filename on MSDOS to avoid
int/Lisp_Object mixup.

* fileio.c: Ditto.
2004-11-07 09:13:26 +00:00
Steven Tamm
21acf12465 editfns.c: Adding in better patch 2004-11-07 05:57:58 +00:00
Steven Tamm
31141c132b editfns.c: Need to include sys/time.h before resource.h on darwin. 2004-11-07 05:57:08 +00:00
Richard M. Stallman
f28c1bd9cd (command_loop_1): Change Vtransient_mark_mode
before deciding whether to inctivate mark.
2004-11-07 03:50:11 +00:00
Richard M. Stallman
c9aa6a4184 (Fcall_interactively): Avoid reusing EVENT for other data. 2004-11-07 03:48:56 +00:00
Richard M. Stallman
e1e419ecc6 (merge_named_face): GCPRO the face_name in the
named_merge_point struct that we make.
(merge_face_heights): Eliminate GCPRO arg.  All callers changed.
2004-11-07 03:47:09 +00:00
Andreas Schwab
3b6536b101 Whitespace fixup. 2004-11-07 01:57:27 +00:00
Eli Zaretskii
6159c232a6 *** empty log message *** 2004-11-06 17:04:23 +00:00
Eli Zaretskii
32bfb2d565 (sxhash): As far as possible, merge calculation of
hash code for symbols and strings.
2004-11-06 17:01:27 +00:00