Stefan Monnier
12270607de
(map_keymap_internal): New fun.
...
(map_keymap): Use it.
(Fmap_keymap_internal): New fun.
(Fmap_keymap): Remove left-out test from before make_save_value.
2008-03-25 20:12:54 +00:00
Stefan Monnier
a10cca6c90
* subr.el (map-keymap-sorted): Rename from map-keymap-internal.
...
Remove `sort-first' argument.
* keymap.c (Fmap_keymap): Use `map-keymap-sorted.
2008-03-25 19:42:34 +00:00
Stefan Monnier
d7b10f4c2e
(Fmodify_frame_parameters, x_set_frame_parameters): Use XCAR/XCDR.
2008-03-25 18:31:36 +00:00
Stefan Monnier
5431bd6a78
* process.h (struct Lisp_Process): Remove filter_multibyte.
...
* process.c (QCfilter_multibyte): Remove.
(setup_process_coding_systems): Don't use filter_multibyte.
(Fstart_process, Fmake_network_process): Don't set filter_multibyte.
(read_process_output): Don't adjust multibyteness to filter_multibyte.
(Fset_process_filter_multibyte): Change the coding-system to
approximate the previous behavior.
(Fprocess_filter_multibyte_p): Get the multibyteness straight from the
coding-system.
2008-03-25 17:35:48 +00:00
Stefan Monnier
72d5003de7
(decode_coding_object): When not decoding into a buffer,
...
obey the coding system's preference of (uni|multi)byte.
2008-03-25 16:02:32 +00:00
Stefan Monnier
438eba3c1e
(casify_object): Avoid pathological N^2 worst case if
...
every char is changed and has a different byte-length.
(Fupcase_word, Fdowncase_word, Fcapitalize_word, operate_on_word):
Fix int -> EMACS_INT.
2008-03-24 19:42:12 +00:00
Michael Albinus
a8e72f4f9b
* dbusbind.c (xd_read_message): Removed extra copying of message
...
strings. Check for NULL `interface' or `member'.
2008-03-23 16:46:08 +00:00
Eli Zaretskii
b07103dc2b
(readdir): If FindFirstFile/FindNextFile return in cFileName a file name that
...
includes `?' characters, use the 8+3 alias in cAlternateFileName instead.
2008-03-22 11:53:40 +00:00
Stefan Monnier
5371d722ec
(enlarge_buffer_text): Fix int -> EMACS_INT.
2008-03-21 01:49:18 +00:00
Stefan Monnier
6ba7f443e9
* intervals.c (temp_set_point, temp_set_point_both): Use EMACS_INT.
...
(set_point, set_point_both): Use EMACS_INT. Remove `buffer' arg,
work on current_buffer only instead (that was already the case
for some of the code anyway).
* buffer.h (set_point, set_point_both): Remove buffer arg, use long int.
(temp_set_point, temp_set_point_both): Use EMACS_INT.
(SET_PT, SET_PT_BOTH): Adjust.
* intervals.h (set_point, temp_set_point, set_point_both)
(temp_set_point_both): Remove redundant declarations.
2008-03-20 18:38:34 +00:00
Stefan Monnier
bf1c0f2730
* fileio.c (Finsert_file_contents):
...
* lread.c (Feval_buffer): Use BUF_TEMP_SET_PT.
* buffer.h (BUF_SET_PT): Remove. set_point_both doesn't work right
when buffer != current_buffer anyway.
2008-03-20 18:13:12 +00:00
Andreas Schwab
acab783e7f
(Fcall_interactively) [case 'B']: Use other-buffer
...
as default.
2008-03-20 17:21:16 +00:00
Juanma Barranquero
a5c5407715
Revert accidental deletion of an entry.
2008-03-19 18:26:51 +00:00
Jason Rumney
d148e14dc5
* w32fns.c (hourglass_timer, hourglass_hwnd): New variables.
...
(syms_of_w32fns): Initialize them.
(HOURGLASS_ID): New constant.
(x_window_to_frame): Don't check hourglass_window.
(w32_wnd_proc) <WM_TIMER>: Handle hourglass_timer.
(w32_wnd_proc) <WM_EXITMENULOOP>: Set pending hourglass cursor.
(w32_wnd_proc) <WM_SETCURSOR>: Set the hourglass or current cursor.
(w32_wnd_proc) <WM_EMACS_SETCURSOR>: Set frame's current_cursor.
Only change the cursor if hourglass is not active.
(Fx_create_frame): Initialize frame's current_cursor.
(hourglass_atimer): Remove.
(hourglass_started): New function.
(start_hourglass, cancel_hourglass, hide_hourglass): Adapt to w32.
(show_hourglass): Adapt to w32, changing argument to frame.
* w32term.h (struct w32_output): Remove hourglass_window.
Add current_cursor.
* eval.c (call_debugger, Fsignal):
* keyboard.c (recursive_edit_1, cmd_error, Ftop_level)
(command_loop_1, Fread_key_sequence, Fread_key_sequence_vector)
(Fexecute_extended_command, cancel_hourglass_unwind):
* minibuf.c (read_minibuf):
* fns.c (Fy_or_n_p): Enable hourglass when HAVE_WINDOW_SYSTEM.
2008-03-19 17:04:18 +00:00
Stefan Monnier
6a44ffb3b4
(run_funs): New fun.
...
(run_window_configuration_change_hook): Use it to run the buffer-local
and the global part of the hook.
2008-03-19 15:18:30 +00:00
Stefan Monnier
6355802033
(format_mode_line_unwind_data): Add window argument.
...
(unwind_format_mode_line): Restore selected window.
(x_consider_frame_title, Fformat_mode_line): Set selected window.
2008-03-19 15:02:00 +00:00
Stefan Monnier
253c3c8280
(Fchar_equal): Check they are valid characters.
2008-03-17 20:23:06 +00:00
Stefan Monnier
f9f3238f99
(Fbuffer_list): Declare (for use in callint.c).
2008-03-17 20:21:12 +00:00
Andreas Schwab
0b8be006c6
(re_match_2_internal): Properly match raw 8-bit bytes
...
against a charset.
2008-03-17 14:52:34 +00:00
Andreas Schwab
065a118d49
(Fbuffer_list): Declare.
2008-03-17 14:32:31 +00:00
Jan Djärv
d3b2a6dae8
(free_frame_tool_bar): Only call gtk_container_remove if
...
handlebox_widget is != 0.
2008-03-17 07:18:57 +00:00
Kenichi Handa
87b8ce92db
*** empty log message ***
2008-03-17 00:48:03 +00:00
Juri Linkov
6206d6c282
(Fcall_interactively): For interactive code letters
...
'b' and 'B' put the buffer list into the list of default "future"
values of the minibuffer.
2008-03-16 17:46:19 +00:00
Andreas Schwab
a864f6d690
(read_key_sequence): Fix downcasing of letters with
...
modifiers.
2008-03-16 11:24:35 +00:00
Andreas Schwab
f50201817b
(re_match_2_internal): Correct matching of a charset
...
against latin-1 characters.
2008-03-16 10:45:53 +00:00
Kenichi Handa
03f244e255
(auto-coding-alist): Use
...
no-conversion-multibyte for archive files.
2008-03-16 01:54:07 +00:00
Kenichi Handa
db274c7a06
(CHAR_STRING_ADVANCE_NO_UNIFY)
...
(STRING_CHAR_ADVANCE_NO_UNIFY): New macros.
(coding_alloc_by_making_gap): Fix the way to preserve data in the
gap.
(alloc_destination): Fix the 2nd arg to
coding_alloc_by_making_gap.
(encode_coding_utf_8): Use CHAR_STRING_ADVANCE_NO_UNIFY instead of
CHAR_STRING_ADVANCE.
(produce_chars): Fix for the case that the source and the
destination are the same buffer. Use CHAR_STRING_ADVANCE_NO_UNIFY
instead of CHAR_STRING_ADVANCE.
(consume_chars): Use STRING_CHAR_ADVANCE_NO_UNIFY instead of
STRING_CHAR_ADVANCE.
2008-03-16 01:24:55 +00:00
Andreas Schwab
0e2501ed34
(re_match_2_internal): Correct matching of eight bit
...
characters in unibyte strings.
2008-03-15 14:21:08 +00:00
Martin Rudalics
7723e095a7
(overlays_in, Foverlays_in): Include empty overlays
...
at end of range when it coincides with the end of the buffer.
2008-03-15 09:14:40 +00:00
Jason Rumney
956ae531fc
*** empty log message ***
2008-03-14 23:43:02 +00:00
Jason Rumney
a03fc5a6e0
(initial_tz): New variable.
...
(syms_of_editfns): Initialize it.
(Fset_time_zone_rule): Set it when first called.
Use it when TZSTRING is nil.
2008-03-14 23:36:58 +00:00
Eli Zaretskii
294f1153b5
(Ffile_attributes) [WINDOWSNT]: Force inode be positive.
2008-03-14 17:31:09 +00:00
Eli Zaretskii
f507f365a7
(globals_of_w32fns, Fx_create_frame): Fix last change.
2008-03-14 16:22:38 +00:00
Jason Rumney
64f0809df4
(MONITOR_DEFAULT_TO_NEAREST, struct MONITOR_INFO)
...
(MonitorFromPoint_Proc, GetMonitorInfo_Proc): New definitions.
(monitor_from_point_fn, get_monitor_info_fn): New globals.
(globals_of_w32fns): Initialize them.
(compute_tip_xy): Use them to position tooltips.
2008-03-14 15:53:46 +00:00
Glenn Morris
21a4ff8e39
(main): Revert previous change.
...
(standard_args): Revert -internal-script back to -scriptload,
and remove the long-option form.
2008-03-14 02:40:21 +00:00
Glenn Morris
a09a5b5bf7
(main, standard_args): Rename -scriptload to -internal-script.
...
Remove option -enable-font-backend.
2008-03-13 03:04:04 +00:00
Stefan Monnier
1c55ebd109
(Fswitch_to_buffer): Fall back on pop-to-buffer.
2008-03-12 18:13:23 +00:00
Jan Djärv
9a09351550
Fix previous change.
2008-03-11 15:54:05 +00:00
Jan Djärv
c523e161a2
(x_connection_closed): For GTK: If this is the last
...
terminal just exit without closing the display.
2008-03-11 07:35:20 +00:00
Jason Rumney
7145be810c
(w32font_full_name): Use floor to round.
2008-03-11 00:37:21 +00:00
Juanma Barranquero
e6201af3d8
*** empty log message ***
2008-03-10 12:24:38 +00:00
Jan Djärv
ce9033f853
(Ffontset_info): Remove extra ;
2008-03-10 08:11:30 +00:00
Jan Djärv
646d0d127f
(alsa_configure): Declare vol at beginning of block.
2008-03-10 08:10:51 +00:00
Miles Bader
390b81fa98
Fix merged ChangeLog dates
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1096
2008-03-10 00:50:06 +00:00
Miles Bader
56388398e7
Merge from emacs--rel--22
...
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1095
2008-03-10 00:49:47 +00:00
Kim F. Storm
7027c07b6c
(GET_NEXT_DISPLAY_ELEMENT): New macro.
...
(get_next_display_element, next_element_from_string)
(next_element_from_ellipsis, next_element_from_buffer): Use it.
2008-03-08 22:39:56 +00:00
Kim F. Storm
223ed6dbac
*** empty log message ***
2008-03-08 22:39:09 +00:00
Andreas Schwab
f2549aa023
(struct Lisp_Process): Declare bit field as unsigned.
2008-03-08 15:55:51 +00:00
Andreas Schwab
28545f7cd8
(struct Lisp_Process): Declare bit fields as unsigned.
2008-03-08 15:53:51 +00:00
Stefan Monnier
3efaadb7b2
(Fsubstitute_in_file_name): Fix up computation of maximum
...
size of resulting string.
2008-03-07 15:42:30 +00:00