1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-31 17:30:54 -08:00
Commit graph

5968 commits

Author SHA1 Message Date
Stefan Monnier
99784d6399 * xselect.c (x_own_selection, x_handle_selection_clear)
(x_clear_frame_selections):
* w32menu.c (list_of_panes, list_of_items):
* w32fns.c (w32_color_map_lookup, Fx_create_frame, Fx_display_list):
* textprop.c (validate_plist, interval_has_all_properties)
(interval_has_some_properties, interval_has_some_properties_list)
(add_properties, text_property_list):
* process.c (Fget_buffer_process, list_processes_1, status_notify):
* minibuf.c (Fassoc_string):
* macselect.c (x_own_selection, x_clear_frame_selections)
(Fx_disown_selection_internal):
* keymap.c (Fcommand_remapping, where_is_internal, describe_map_tree):
Use CONSP rather than !NILP and XC[AD]R rather than Fc[ad]r.
2007-10-17 23:43:52 +00:00
Chong Yidong
44bb704d64 * process.c: Link to libs for calling res_init() if available.
(Fmake_network_process): Call res_init() before getaddrinfo or
gethostbyname, if possible.
2007-10-17 15:57:17 +00:00
Stefan Monnier
2504022a91 (read1): Set pvectype for char_tables. 2007-10-17 14:12:59 +00:00
Stefan Monnier
19fa82b957 (XMISCANY, XMARKER, XINTFWD, XBOOLFWD, XOBJFWD, XOVERLAY, XBUFFER_OBJFWD)
(XBUFFER_LOCAL_VALUE, XKBOARD_OBJFWD, XSAVE_VALUE): Add type checks.
(SOME_BUFFER_LOCAL_VALUEP, GC_SOME_BUFFER_LOCAL_VALUEP): Remove.
2007-10-17 02:13:01 +00:00
Stefan Monnier
d314756ea8 (free_misc): Use XMISCTYPE.
(live_misc_p, gc_sweep): Use Lisp_Misc_Any.
2007-10-17 02:10:38 +00:00
Glenn Morris
94b9aaa27d (Qcompletion_ignore_case): New external Lisp_Object.
(Fread_file_name): Use it rather than intern'ing.
2007-10-17 01:32:19 +00:00
Miles Bader
81d3d428c6 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-892
2007-10-16 22:39:24 +00:00
Stefan Monnier
9beb8baa1f * xfns.c (Fx_create_frame, Fx_display_list):
* window.c (window_fixed_size_p, enlarge_window, shrink_window_lowest_first):
* macterm.c (init_font_name_table):
* macfns.c (Fx_create_frame, Fx_display_list):
* lread.c (close_load_descs):
* keyboard.c (read_char_x_menu_prompt):
* fns.c (Fmember, Fmemql, Fdelete, Fset_char_table_parent):
* coding.c (code_convert_region_unwind): Test the type of an object
rather than just !NILP before extracting data from it.
2007-10-16 16:28:39 +00:00
Stefan Monnier
d3f41ff555 (Fpurecopy): Set the pvec tag on pseudo vectors. 2007-10-16 15:49:43 +00:00
Stefan Monnier
67ee9f6e91 * lisp.h (enum Lisp_Misc_Type): Del Lisp_Misc_Some_Buffer_Local_Value.
(XMISCANY): New macro.
(XMISCTYPE): Use it.
(struct Lisp_Misc_Any): New type.
(union Lisp_Misc): Use it.
(struct Lisp_Buffer_Local_Value): Add `local_if_set' bit.
* data.c (Fboundp, store_symval_forwarding, swap_in_global_binding)
(find_symbol_value, set_internal, default_value, Fset_default)
(Fmake_variable_buffer_local, Fmake_local_variable)
(Fkill_local_variable, Fmake_variable_frame_local, Flocal_variable_p)
(Flocal_variable_if_set_p, Fvariable_binding_locus):
The SOME_BUFFER_LOCAL_VALUEP distinction is replaced by local_if_set.
* alloc.c (allocate_buffer): Set the size and tag.
(allocate_misc, mark_maybe_object, mark_object, survives_gc_p):
Use XMISCANY.
(die): Follow the GNU convention for error messages.
* print.c (print_object): SOME_BUFFER_LOCAL_VALUEP -> local_if_set.
* buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Don't set the
tag any more.
(set_buffer_internal_1):
* frame.c (store_frame_param):
* eval.c (specbind):
* xdisp.c (select_frame_for_redisplay): Drop SOME_BUFFER_LOCAL_VALUEP.
2007-10-16 15:42:58 +00:00
YAMAMOTO Mitsuharu
da6658e85d (handle_display_prop): Ignore display specs after
replacing one when string text is being replaced.
(handle_single_display_spec): Pretend as if characters with display
property haven't been consumed only when buffer text is being replaced.
2007-10-16 09:00:09 +00:00
Stefan Monnier
11fb4bdbbd (Fsnarf_documentation): Simplify. 2007-10-16 03:28:43 +00:00
Juanma Barranquero
decb374a42 (w32_font_is_double_byte, my_create_scrollbar): Make static.
(syms_of_w32term) <w32-enable-unicode-output>: Fix typo in docstring.
2007-10-15 00:23:32 +00:00
Stefan Monnier
b5a40ee7a9 (Fmake_indirect_buffer): Set the buffer's tag. 2007-10-14 19:45:17 +00:00
Juanma Barranquero
fe4cd268c7 (Ffset): Save autoload of the function being set. 2007-10-14 18:02:05 +00:00
Juanma Barranquero
35277b034b *** empty log message *** 2007-10-14 17:30:48 +00:00
Glenn Morris
7663ea748d John Paul Wallington <jpw at pobox.com>
(x_create_tip_frame): Set the `display-type' frame parameter before
setting up faces.
2007-10-14 02:50:11 +00:00
Glenn Morris
35fdaa62d7 John Paul Wallington <jpw at pobox.com>
(x_create_tip_frame): Set the `display-type' frame parameter before
setting up faces.
2007-10-14 02:46:53 +00:00
Eli Zaretskii
96a5affbc9 (append_tool_bar_item): Reformat last change. 2007-10-13 20:49:53 +00:00
Eli Zaretskii
1ea40aa2f3 Replace abs' with eabs'. 2007-10-13 12:48:57 +00:00
Eli Zaretskii
71d00ce4ae (grow_menu_items): Use larger_vector. 2007-10-13 12:11:14 +00:00
Eli Zaretskii
bc82f12000 (dos_rawgetc): Undo last change (there's no ``leaving selected frame''
on MSDOS).
2007-10-13 11:54:57 +00:00
Eli Zaretskii
543bb3689e (dos_rawgetc): Undo last change (there's no ``leaving selected frame''
on MSDOS).
2007-10-13 11:25:52 +00:00
Martin Rudalics
5839d7e85c (Qexplicit_name): New variable.
(x_report_frame_params): Report it in parameter alist.
(syms_of_frame): Intern and staticpro it.
2007-10-12 08:36:47 +00:00
Jason Rumney
4413314af4 Fix attribution 2007-10-10 22:02:47 +00:00
Jason Rumney
04710ebdcc (x_create_tip_frame): Set terminal for frame. 2007-10-10 21:52:29 +00:00
Stefan Monnier
26f9c7b74b * frame.c (Qenvironment): Remove.
(syms_of_frame) <Qenvironment>: Don't initialize.
(Fdelete_frame): Don't treat the `environment' param specially.
* frame.h (Qenvironment): Don't declare.
* callproc.c (set_initial_environment): Don't set unused frame param.
2007-10-10 20:24:19 +00:00
Stefan Monnier
c7a4b95b75 * frame.c (Fframe_with_environment): Remove.
(syms_of_frame) <Sframe_with_environment>: Don't declare.
* lisp.h (Fframe_with_environment): Don't declare.
2007-10-10 20:01:26 +00:00
Juanma Barranquero
c86f737748 (indent_tabs_mode, last_known_column, last_known_column_modified): Make static.
(syms_of_indent) <indent-tabs-mode>: Remove redundant info in docstring.
2007-10-10 08:53:30 +00:00
Katsumi Yamaoka
d1b3a12299 (BASE_PURESIZE): Increase to 1170000. 2007-10-10 01:14:25 +00:00
Jason Rumney
f8d1a163bd (x_set_window_size): Disable code that attempts to tell
Lisp code about a size change before it actually happens.
2007-10-09 11:24:40 +00:00
Miles Bader
1af74d06e5 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-875
2007-10-09 08:52:57 +00:00
Stefan Monnier
4f4a84ec80 Add new `input-decode-map' keymap and use it for temrinal
escape sequences.
* keyboard.h (struct kboard): Add Vinput_decode_map.
Remove Vlocal_key_translation_map.
* keyboard.c (read_key_sequence): Add support for input-decode-map.
(init_kboard): Init input-decode-map.
Replace local-key-translation-map back with key-translation-map.
(syms_of_keyboard): Declare input-decode-map.
Remove local-key-translation-map.  Update docstrings.
(mark_kboards): Mark Vinput_decode_map.
Don't mark Vlocal_key_translation_map.
* keymap.c (Fdescribe_buffer_bindings): Describe input-decode-map.
Replace local-key-translation-map back with key-translation-map.
* term.c (term_get_fkeys_1, CONDITIONAL_REASSIGN):
Bind in input-decode-map rather than function-key-map.
2007-10-09 05:05:39 +00:00
Stefan Monnier
beb9f7453a (XSETPSEUDOVECTOR): Don't set the tag anymore.
This was made redundant by the previous introduction of XSETPVECTYPE.
2007-10-09 04:28:00 +00:00
Richard M. Stallman
65342ae385 (free_bitmap_record): Renamed from Free_Bitmap_Record. 2007-10-09 01:40:05 +00:00
Richard M. Stallman
ec406436ee (handle_invisible_prop): After setting up an ellipsis, return HANDLED_RETURN. 2007-10-09 01:32:25 +00:00
Martin Rudalics
cb94103f17 *** empty log message *** 2007-10-06 10:01:37 +00:00
Andreas Schwab
41618deb16 (Fwrite_region): Ignore EINVAL error from fsync. 2007-10-06 08:18:03 +00:00
Andreas Schwab
6cff77fd8a (Fwrite_region): Ignore EINVAL error from fsync. 2007-10-06 08:15:26 +00:00
Juanma Barranquero
4024ec3a26 (syms_of_image) <image-types>: Fix typo in docstring. 2007-10-05 09:00:38 +00:00
YAMAMOTO Mitsuharu
cb91e86ae5 (mac_load_query_font): Fix missing return value.
[USE_CG_DRAWING] (mac_define_fringe_bitmap, mac_destroy_fringe_bitmap):
Add BLOCK_INPUT.
2007-10-05 08:15:48 +00:00
Jason Rumney
b380e47ee3 *** empty log message *** 2007-10-05 00:31:33 +00:00
Juanma Barranquero
bbe6f2aa11 (syms_of_image) <image-types>: Fix typo in docstring. 2007-10-04 16:57:53 +00:00
Stefan Monnier
a390930c45 (struct frame): Don't try to GC-mark menu_bar_items_used. 2007-10-03 23:18:18 +00:00
Stefan Monnier
d0fdb6daae * window.h (struct window):
* window.c (struct save_window_data, struct saved_window):
* termhooks.h (struct terminal):
* process.h (struct Lisp_Process):
* frame.h (struct frame):
* buffer.h (struct buffer):
* lisp.h (struct Lisp_Vector, struct Lisp_Char_Table)
(struct Lisp_Bool_Vector, struct Lisp_Subr, struct Lisp_Hash_Table):
The size field of (pseudo)vectors is now unsigned.
(ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG): Simplify accordingly.
2007-10-02 21:55:27 +00:00
Stefan Monnier
878f97ffed * lisp.h (struct Lisp_Hash_Table): Move non-traced elements at the end.
Turn `count' into an integer.
* fns.c (make_hash_table, hash_put, hash_remove, hash_clear)
(sweep_weak_table, sweep_weak_hash_tables, Fhash_table_count):
* print.c (print_object) <HASH_TABLE_P>: `count' is an int.
* alloc.c (allocate_hash_table): Use ALLOCATE_PSEUDOVECTOR.
(mark_object) <HASH_TABLE_P>: Use mark_vectorlike.
2007-10-02 21:24:47 +00:00
Stefan Monnier
d2029e5b81 (allocate_pseudovector): New fun.
(ALLOCATE_PSEUDOVECTOR): New macro.
(allocate_window, allocate_terminal, allocate_frame)
(allocate_process): Use it.
(mark_vectorlike): New function.
(mark_object) <FRAMEP, WINDOWP, BOOL_VECTOR_P, VECTORP>: Use it.
(mark_terminals): Use it.
(Fmake_bool_vector, Fmake_char_table, make_sub_char_table)
(Fmake_byte_code): Use XSETPVECTYPE.
2007-10-02 21:16:53 +00:00
Stefan Monnier
d6aa1876eb * buffer.c (syms_of_buffer) <local-abbrev-table>: Move from abbrev.c.
(DEFVAR_PER_BUFFER, defvar_per_buffer): Move from lisp.h and lread.c.
* lisp.h (defvar_per_buffer, DEFVAR_PER_BUFFER):
* lread.c (defvar_per_buffer):
* abbrev.c (syms_of_abbrev) <local-abbrev-tabl>: Move to buffer.c.
2007-10-02 20:51:02 +00:00
Richard M. Stallman
87ef89380c *** empty log message *** 2007-10-02 19:26:50 +00:00
Richard M. Stallman
65dad34af6 (get_window_cursor_type): Implement documented behavior
for cursor-in-non-selected-windows = t.
2007-10-02 02:13:15 +00:00