Commit graph

25643 commits

Author SHA1 Message Date
Glenn Morris
be61736756 (Finternal_char_font): Fix compilation warning. 2008-02-16 22:33:01 +00:00
Eli Zaretskii
634d3003f7 (init_user_info): Use TOKEN_USER and TOKEN_PRIMARY_GROUP instead of
char arrays.  Enlarge the size of array passed to get_token_information.
2008-02-16 17:05:24 +00:00
Eli Zaretskii
2930d11791 (Ffont_fill_gstring, Fget_font_glyphs): Fix compilation warnings. 2008-02-16 14:51:05 +00:00
Kenichi Handa
4cc1c8060a (ftfont_shape): Return Lispy number. 2008-02-16 12:40:42 +00:00
Dan Nicolaescu
792140469d Don't set `args', it breaks gdb --args. 2008-02-15 22:42:02 +00:00
Stefan Monnier
7f5d2c7241 (Finsert_file_contents): Adjust offsets when replacing
within a narrowed buffer.
2008-02-14 19:41:43 +00:00
Juanma Barranquero
b270d6afc0 *** empty log message *** 2008-02-14 12:35:01 +00:00
Kenichi Handa
b3bfad50d9 (decode_coding_object, encode_coding_object): Preserve
Vdeactivate_mark.  Delete unnecessary call of Fcurrnet_buffer.
2008-02-14 12:24:15 +00:00
Kenichi Handa
6edacc4375 *** empty log message *** 2008-02-14 12:21:58 +00:00
Juanma Barranquero
04e05596eb Use AREF, not ASLOT. 2008-02-14 01:05:46 +00:00
Stefan Monnier
915b2a6aa8 Undo last mistakenly commited change. 2008-02-13 22:39:30 +00:00
Stefan Monnier
02dfeba8a4 (smerge-auto-combine-max-separation): New var.
(smerge-auto-combine): New fun.
2008-02-13 15:10:57 +00:00
Stefan Monnier
13818c3078 * coding.c (coding_set_destination): Use BEG_BYTE rather than hardcoding 1.
(detect_coding_system):
* lisp.h (detect_coding_system, chars_in_text, multibyte_chars_in_text)
(string_char_to_byte, string_byte_to_char, insert_from_gap):
* insdel.c (insert_from_gap):
* fns.c (string_char_byte_cache_charpos, string_char_byte_cache_bytepos)
(string_char_to_byte, string_byte_to_char, string_make_multibyte)
(string_to_multibyte):
* character.c (chars_in_text, multibyte_chars_in_text):
* fileio.c (Finsert_file_contents): Use EMACS_INT for buffer positions.
2008-02-12 21:35:15 +00:00
Stefan Monnier
8b8bf8e68f (scan_lists): Follow coding convention. 2008-02-12 21:29:33 +00:00
Stefan Monnier
f1c9962838 (FETCH_STRING_CHAR_ADVANCE, FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE)
(FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Use SDATA and SREF.
(DEC_POS, BUF_DEC_POS): Use BEG_BYTE rather than hardcoding 1.
2008-02-12 21:27:54 +00:00
Stefan Monnier
fff23de29a Update copyrights. 2008-02-12 21:26:23 +00:00
Stefan Monnier
7927d8e343 (casify_region): Only call after-change and composition
functions on the part of the region that was changed.
2008-02-12 21:25:45 +00:00
Stefan Monnier
adf6a42938 (read_avail_input): Call Fdelete_terminal. 2008-02-12 04:05:29 +00:00
Stefan Monnier
174105f789 (Fdelete_frame): Call Fdelete_terminal. 2008-02-12 04:03:17 +00:00
Stefan Monnier
3ee24aecf6 (clone_per_buffer_values, reset_buffer_local_variables)
(Fbuffer_local_value, Fbuffer_local_variables): Don't forget undo_list.
2008-02-11 17:56:13 +00:00
Stefan Monnier
9ce376f9de (mark_buffer): Comment fix to clarify the status of Lisp fields. 2008-02-11 17:54:46 +00:00
Stefan Monnier
ccaf15bd0c (struct buffer): Comment fix to clarify the status of Lisp fields. 2008-02-11 17:54:15 +00:00
Juanma Barranquero
4ed4b97572 (read_key_sequence): Don't pass args with side effects to AREF,
it fails when compiling with -DENABLE_CHECKING.
2008-02-11 11:31:13 +00:00
Juanma Barranquero
0f71cdf20b (push_submenu_start, push_submenu_end, push_left_right_boundary, push_menu_pane,
push_menu_item): Don't pass args with side effects to AREF, it fails when
compiling with -DENABLE_CHECKING.
2008-02-11 11:28:35 +00:00
Kenichi Handa
6e76043fb4 (${lispsource}international/charprop.el): Delete
this target.
2008-02-11 05:34:40 +00:00
Kenichi Handa
79e3bfb824 *** empty log message *** 2008-02-11 05:30:24 +00:00
Kenichi Handa
f51995fa92 (boyer_moore): Fix incorrect synching of the trunk and
emacs-unicode-2.
2008-02-11 05:25:24 +00:00
Stefan Monnier
5897f44055 (Fdelete_frame): Fix stupid typo. 2008-02-11 05:25:15 +00:00
Stefan Monnier
5b8de9c5e6 (Fdelete_terminal): Clean up the `force' path. 2008-02-11 03:51:39 +00:00
Glenn Morris
ae845655a2 Regenerate. 2008-02-11 00:30:48 +00:00
Stefan Monnier
c53956fead * frame.c (Qnoelisp): New symbol.
(syms_of_frame): Initialize it.
(Fdelete_frame): Use it to distinguish a mere `force' passed from
someharmles Elisp code, from a strong `force' from x_connection_closed.
* frame.h (Qnoelisp): Declare.
* xterm.c (x_connection_closed): Pass `noelisp'.
2008-02-10 21:56:38 +00:00
Stefan Monnier
eac1939a47 (struct Lisp_Misc_Any, struct Lisp_Marker)
(struct Lisp_Overlay, struct Lisp_Kboard_Objfwd)
(struct Lisp_Save_Value, struct Lisp_Free): Use enum Lisp_Misc_Type
rather than `int' for the type of `type'.
2008-02-10 20:09:38 +00:00
Dan Nicolaescu
13f6772b12 * s/gnu-linux.h: Remove support for non-ELF and linux-1.x.
* Makefile.in (GNUC): Remove support for gcc-1.x.
2008-02-10 17:01:47 +00:00
Richard M. Stallman
e8455367a4 (ASET): Use AREF, not ASLOT. 2008-02-10 14:01:52 +00:00
Stefan Monnier
4b75ffab30 (ASET): Check bounds. 2008-02-10 03:20:40 +00:00
Glenn Morris
d224e8c251 (mode-name): Doc fix. 2008-02-10 02:14:20 +00:00
Glenn Morris
1c8658b995 (find-word-boundary-function-table): Add missing entry for this
unicode change, in approximately the right place (after the end of
emacs-unicode branch, before the start of emacs-unicode-2).
2008-02-10 02:01:47 +00:00
Dan Nicolaescu
4624371d9a * configure.in (LIBX11_MACHINE, HAVE_XFREE386): Remove code
dealing with obsolete variables.

* fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional.
(main): Replace MAIL_PROGRAM_NAME with its value.

* src/Makefile.in:
* src/emacs.c:
* src/gmalloc.c:
* src/keyboard.c:
* src/lisp.h:
* src/m/ibm370aix.h:
* src/process.c:
* src/regex.c:
* src/s/hpux.h:
* src/sysdep.c:
* src/sysselect.h:
* src/systty.h:
* src/unexec.c:
* src/w32term.c:
* src/xsmfns.c:
* src/xterm.c: Remove code that deals with obsolete variables.

* s/msdos.h (DONT_NEED_ENVIRON): Don't define.

* ecrt0.c: Replace the DONT_NEED_ENVIRON test with MSDOS test,
nothing else needs it anymore.
2008-02-09 18:03:10 +00:00
Eli Zaretskii
274ec34ba7 (FETCH_CHAR_AS_MULTIBYTE): Use unibyte_to_multibyte_table instead of
unibyte_char_to_multibyte.
2008-02-09 10:53:10 +00:00
Dan Nicolaescu
deeaffe11d * Makefile.in (REGEXP_IN_LIBC): Remove reference to obsolete
variable.

* s/gnu-linux.h: Remove commented out code.

* unexec.c: Remove references to obsolete variable
COFF_ENCAPSULATE.

* Makefile.in: Update what RMS says about using autoconf.
(C_COMPILER):
(COFF_ENCAPSULATE):
(MAKE_PARALLEL): Remove obsolete variable.
(C_SWITCH_MACHINE_1, C_SWITCH_SYSTEM_1, C_SWITCH_SITE_1):
(C_SWITCH_X_SITE_1, C_SWITCH_X_MACHINE_1)
(C_SWITCH_X_SYSTEM_1): Move invariant code outside conditional.
2008-02-09 07:42:06 +00:00
Stefan Monnier
dfae5f9a12 * xfaces.c (Finternal_make_lisp_face): Use ASET. 2008-02-08 16:24:46 +00:00
Stefan Monnier
9141ca5e7d (Fkey_description): Move side effect outside of macro call. 2008-02-08 16:23:19 +00:00
Stefan Monnier
b1ebcadbe2 (add_command_key, parse_menu_item): Use ASET. 2008-02-08 16:22:36 +00:00
Stefan Monnier
ff7a222357 (free_face_fontset): Use FONTSET_FROM_ID.
(syms_of_fontset): Use ASET.
2008-02-08 16:20:29 +00:00
Stefan Monnier
68b587a6ea (concat): Move side effect outside of macro call.
(hash_clear): Use ASET.
2008-02-08 16:18:45 +00:00
Richard M. Stallman
a31787b1e9 (Fdelete_frame): If FORCE, don't call hooks.
If FORCE, and frame has a surrogate minibuffer for another frame,
delete the other frame first.
2008-02-08 02:38:15 +00:00
Romain Francoise
987be29bac Whitespace changes. 2008-02-07 19:12:05 +00:00
Jan Djärv
1540a61a8b (USAGE3): Add --parent-id
(standard_args): Ditto.
2008-02-07 14:08:56 +00:00
Jan Djärv
2532f20ce7 (Fx_create_frame): Do not override the explicitly set parent
window ID of a frame.
(x_window): Reparent frame if embedded.
(Fx_create_frame): Don't set border width if embedded.
2008-02-07 14:08:07 +00:00
Jan Djärv
0f0d223bea (xg_create_frame_widgets): If frame is embedded, call
gtk_plug_new.
2008-02-07 14:07:55 +00:00