1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-08 00:33:13 -08:00
Commit graph

19977 commits

Author SHA1 Message Date
Paul Eggert
52dbaac8ba Regenerate. 2005-07-26 21:44:41 +00:00
Paul Eggert
9eff9fe3e8 Merge gnulib getopt implementation into Emacs.
* Makefile.in (AUTOCONF_INPUTS): New macro.
($(srcdir)/configure, $(srcdir)/src/stamp-h.in): Depend on it,
so that these files also depend on m4/getopt.m4.
* configure.in: Configure getopt by including m4/getopt.m4,
and configuring a getopt replacement if necessary.
* make-dist: Add m4 subdirectory.  Unlink lib-src/getopt.h.
* m4/getopt.m4: New file.

* lib-src/Makefile.in (mostlyclean): Remove getopt.h, getopt.h-t.
(GETOPT_H): New macro, from gnulib.
(getopt.h): New rule, from gnulib.
(GETOPTOBJS): Now autoconfigured.
(GETOPTDEPS): getopt.h is now autoconfigured.
(getopt.o, getopt1.o): Depend on $(GETOPT_H), not ${srcdir}/getopt.h.
(getopt.o): Depend on ${srcdir}/gettext.h.
(movemail.o): Depend on $(GETOPT_H).
* lib-src/getopt.c, lib-src/getopt1.c: Sync from gnulib.
* lib-src/getopt_.h, lib-src/getopt_int.h, lib-src/gettext.h:
New files, from gnulib.
* lib-src/getopt.h: Removed (now is getopt_.h).

* nt/inc/gettext.h: Remove; no longer needed now that
lib-src/gettext.h exists.

* src/s/cygwin.h (C_SWITCH_SYSTEM): Remove, since gettext.h is
now part of lib-src.
2005-07-26 21:43:13 +00:00
Stefan Monnier
1c9916a1f9 (Fdefvar): Allow (defvar enable-multibyte-characters). 2005-07-26 16:28:44 +00:00
Jason Rumney
94c7f25790 (w32_menu_display_help): Suppress tooltip when navigating menus with
the keyboard.
2005-07-25 22:17:02 +00:00
Richard M. Stallman
bf0bf758f6 (syms_of_insdel): staticpro combine_after_change_buffer. 2005-07-23 19:15:47 +00:00
Richard M. Stallman
3414f2d82b (MAYBE_GC): Test gc_cons_threshold and gc_relative_threshold, one by one. 2005-07-23 19:14:59 +00:00
Richard M. Stallman
c8e16a028e (read_char): Test gc_cons_threshold.
(syms_of_keyboard): staticpro Qecho_area_clear_hook.
2005-07-23 19:09:50 +00:00
Richard M. Stallman
8f6bda75fb (Feval, Ffuncall): Test gc_cons_threshold and
gc_relative_threshold, one by one.
2005-07-23 19:09:09 +00:00
Richard M. Stallman
9bd32d8c95 (gc_cons_threshold, gc_relative_threshold): Declared.
(gc_cons_combined_threshold): Declaration deleted.
2005-07-23 19:08:32 +00:00
Richard M. Stallman
974aae61bb (gc_cons_threshold): Not static.
(gc_cons_combined_threshold): Var deleted.
(gc_relative_threshold): New variable.
(Fgarbage_collect, init_alloc_once): Compute gc_relative_threshold
instead of gc_cons_combined_threshold.
2005-07-23 19:08:06 +00:00
YAMAMOTO Mitsuharu
99f963e4ea (Fx_own_selection_internal): Follow error conventions.
(Fx_get_selection_internal, Fx_selection_owner_p)
(Fx_selection_exists_p): Doc fixes.  (syms_of_macselect)
<selection-converter-alist>: Likewise.
2005-07-23 07:50:27 +00:00
YAMAMOTO Mitsuharu
50971a123a (Fx_popup_menu, Fx_popup_menu): Doc fixes. 2005-07-23 07:48:26 +00:00
YAMAMOTO Mitsuharu
b8ab86c320 Don't include stdlib.h or string.h. Include atimer.h.
(gray_width, gray_height): Remove defines.
(gray_bits, gray_bitmap_width, gray_bitmap_height)
(gray_bitmap_bits): Remove variables.
(lispy_function_keys): Remove extern.
(free_frame_menubar): Add extern.
(x_window_to_frame): Remove function.
(unwind_create_tip_frame): Add declaration.
(x_set_name_internal): New function.
(x_set_name, x_set_title): Use it.
(Fx_create_frame, Fx_display_grayscale_p, Fx_display_pixel_width)
(Fx_display_pixel_height, Fx_display_planes)
(Fx_display_color_cells, Fx_server_max_request_size)
(Fx_server_vendor, Fx_server_version, Fx_display_screens)
(Fx_display_mm_height, Fx_display_mm_width)
(Fx_display_backing_store, Fx_display_visual_class)
(Fx_display_save_under, Fx_synchronize, Fx_show_tip): Doc fixes.
2005-07-23 07:48:10 +00:00
YAMAMOTO Mitsuharu
fc3216cb11 Don't include stdlib.h or string.h.
(Fdo_applescript, Fmac_file_name_to_posix)
(Fmac_file_name_to_posix): Doc fixes.
[TARGET_API_MAC_CARBON] (Fmac_get_preference)
(Fmac_code_convert_string): Likewise.
[MAC_OSX] (init_mac_osx_environment): Fall back on terminal mode
if the executable is not contained in a bundle.
2005-07-23 07:47:51 +00:00
Juanma Barranquero
1d256714e5 (Finternal_lisp_face_p): Doc fix. 2005-07-21 16:38:17 +00:00
Juanma Barranquero
c10ce82e3c (Fset_window_margins, Fset_window_fringes):
Improve argument/docstring consistency.
2005-07-21 16:34:51 +00:00
Juanma Barranquero
a41292c235 (Fnext_char_property_change, Fprevious_char_property_change): Doc fixes. 2005-07-21 16:32:33 +00:00
Juanma Barranquero
eb7c9b64b7 (Fminibuffer_prompt_end, Feval_minibuffer): Fix typos in docstrings. 2005-07-21 16:30:50 +00:00
Juanma Barranquero
d562f8abe7 (Fcompose_region_internal, Fcompose_string_internal):
Improve argument/docstring consistency.
2005-07-21 16:28:00 +00:00
Juanma Barranquero
2a0bd758b7 (Fregister_ccl_program): Fix typos in docstring.
(Fccl_execute_on_string): Likewise; add usage info.
2005-07-21 16:25:59 +00:00
Juanma Barranquero
b8dc613f45 (syms_of_buffer) <cursor-type>: Doc fix. 2005-07-21 16:06:33 +00:00
Andreas Schwab
538f78c3a8 (restore_stack_limits): Return a value. 2005-07-21 15:03:51 +00:00
Stefan Monnier
a4ed715a3d (Fmac_code_convert_string): Add comment about Fstring_as_unibyte. 2005-07-21 05:36:04 +00:00
Juanma Barranquero
a5b5bf445f *** empty log message *** 2005-07-20 15:54:22 +00:00
Juanma Barranquero
2935784733 (Fdefvar): Doc fix. 2005-07-20 15:51:52 +00:00
Kim F. Storm
ebfe97a2d4 (load_unwind): Rework last change. 2005-07-20 14:40:35 +00:00
Kim F. Storm
fff7e9825a (Fdo_auto_save, do_auto_save_unwind):
Use make_save_value to unwind protect stream.
2005-07-20 14:39:35 +00:00
Kim F. Storm
0ed4bf1596 *** empty log message *** 2005-07-20 14:39:13 +00:00
Kim F. Storm
c04d9e7047 (Fload, load_unwind): Use make_save_value to unwind
protect stream.
2005-07-20 14:29:00 +00:00
Kim F. Storm
ae6431236d *** empty log message *** 2005-07-20 14:28:49 +00:00
Juanma Barranquero
82fc29a186 (Fprog2, Fcalled_interactively_p), (syms_of_eval) <debug-on-quit>: Doc fixes.
(Finteractive_p), (syms_of_eval) <max-specpdl-size>: Fix typos in docstrings.
2005-07-19 11:34:17 +00:00
Kim F. Storm
829b13e279 (Vx_hand_shape): Variable removed.
(syms_of_w32fns): Intern and staticpro Qw32_charset_default.
2005-07-19 08:54:45 +00:00
Kim F. Storm
73b90087f4 *** empty log message *** 2005-07-19 08:54:32 +00:00
Kenichi Handa
c061dd8f05 (Fstring_as_multibyte): Escape backslashes in the
docstring.
2005-07-19 02:38:57 +00:00
Stefan Monnier
bcd983312c (Fgenerate_new_buffer_name): Declare (for use in coding.c). 2005-07-18 21:34:41 +00:00
Kim F. Storm
a61fed91f7 (redisplay_internal): Only try to hscroll each frame once
to avoid redisplay looping hscrolling back and forth ad infinitum.
2005-07-18 20:59:41 +00:00
Kim F. Storm
d3378f02fd (struct frame): New member already_hscrolled_p. 2005-07-18 20:59:25 +00:00
Kim F. Storm
2a85a754f5 *** empty log message *** 2005-07-18 20:59:09 +00:00
Juri Linkov
426179e12c *** empty log message *** 2005-07-18 16:39:33 +00:00
Juri Linkov
aff2e1e949 (mac-emulate-three-button-mouse): Delete duplicate words. 2005-07-18 16:34:18 +00:00
Juri Linkov
15fbe81f20 (Fminor_mode_key_binding): Delete duplicate words. 2005-07-18 16:33:00 +00:00
Juri Linkov
e5f95d5ca4 (scroll-up-aggressively, scroll-down-aggressively): Delete duplicate words. 2005-07-18 16:32:35 +00:00
Ken Raeburn
9f4a578d78 (Ftest_completion): Fix odd syntax in test. 2005-07-18 16:31:54 +00:00
YAMAMOTO Mitsuharu
d005338b2a [MAC_OS] (XCreateGC): Remove extern. 2005-07-18 05:42:23 +00:00
YAMAMOTO Mitsuharu
e81a5b61b1 (struct mac_display_info): Change types of scratch_cursor_gc
black_relief.gc, and white_relief.gc to GC.
(XCreateGC, XParseGeometry): Move externs from macgui.h.
2005-07-18 05:41:03 +00:00
YAMAMOTO Mitsuharu
e4f5e01926 (x_bitmap_icon, x_make_frame_visible): Remove declarations.
(XSetFont): Add declaration.
(mac_set_forecolor, mac_set_backcolor, mac_set_colors): Remove
functions.
(GC_FORE_COLOR, GC_BACK_COLOR, GC_FONT, MAC_WINDOW_NORMAL_GC): New
defines.
(XDrawLine, mac_draw_line_to_pixmap, XClearWindow)
(mac_draw_bitmap, XCreatePixmapFromBitmapData, XFillRectangle)
(mac_draw_rectangle, mac_draw_string_common, mac_scroll_area): Use
them.
(mac_erase_rectangle): New function.
(XClearArea, x_draw_fringe_bitmap, x_clear_glyph_string_rect)
(x_draw_stretch_glyph_string): Use it.
(XChangeGC, XCreateGC, XGetGCValues, XSetForeground)
(XSetBackground, XSetFont): Adjust for new GC implementation.
(x_draw_fringe_bitmap, x_draw_box_rect): Use GC to set colors.
(XTset_vertical_scroll_bar): Clear area under scroll bar.
2005-07-18 05:40:30 +00:00
YAMAMOTO Mitsuharu
623cc1d8d7 (struct _XGC): New struct.
(GC): Use it.
(GCForeground, GCBackground, GCFont): Use X11 mask values.
(XCreateGC, XParseGeometry): Move externs to macterm.h.
2005-07-18 05:39:27 +00:00
YAMAMOTO Mitsuharu
88ad5ea792 (x_set_cursor_color): Use XSetBackground and XSetForeground. 2005-07-18 05:38:38 +00:00
Richard M. Stallman
9b0c2c5620 *** empty log message *** 2005-07-17 03:47:36 +00:00
Richard M. Stallman
a625ee20c8 (Fmake_overlay): Doc fix. 2005-07-17 03:47:19 +00:00