Richard M. Stallman
11f56bbcfe
(sxhash_string): Rotate properly; don't lose bits.
2006-08-25 07:47:12 +00:00
Kim F. Storm
8d8dafebb3
*** empty log message ***
2006-08-24 21:18:13 +00:00
Kim F. Storm
30f2752356
(x_underline_at_descent_line): New variable.
...
(syms_of_xterm): DEFVAR_BOOL it.
(x_draw_glyph_string): Use it.
Draw underline and overline up to the end of line if the face
extends to the end of line.
2006-08-24 20:52:00 +00:00
Kim F. Storm
daa0e79b0a
(overline_margin): New variable.
...
(x_produce_glyphs): Use it.
(syms_of_xdisp): DEFVAR_INT it.
2006-08-24 20:51:17 +00:00
Nick Roberts
fab45703d3
(Fswitch_to_buffer): Move buffer to front of
...
buffer-alist if necessary.
2006-08-24 20:40:53 +00:00
Nick Roberts
6410aac93b
*** empty log message ***
2006-08-24 20:40:26 +00:00
Kim F. Storm
462eca8fcf
(update_tool_bar): Redisplay toolbar also when only
...
number of items changes.
2006-08-22 21:32:04 +00:00
Kim F. Storm
6b4d876273
*** empty log message ***
2006-08-22 21:31:50 +00:00
Kim F. Storm
7e1de68d27
*** empty log message ***
2006-08-22 09:45:04 +00:00
Kim F. Storm
38babc072d
2006-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
...
(Fset_buffer_multibyte): Record proper undo entry.
2006-08-22 09:25:59 +00:00
Jan Djärv
f73858ce4d
* keyboard.c: Clarify difference between in_sighandler and
...
handling_signal.
2006-08-21 12:55:20 +00:00
Jan Djärv
922fd3cb7b
Clarify difference between in_sighandler and handling_signal.
2006-08-21 12:54:47 +00:00
Kim F. Storm
6c69392936
(x_draw_stretch_glyph_string): It is ok to draw a
...
stretch glyph in left marginal areas on header and mode lines.
2006-08-21 08:53:32 +00:00
Kim F. Storm
c58790e68a
*** empty log message ***
2006-08-21 08:52:54 +00:00
Kenichi Handa
748726f4d0
(syms_of_keyboard): Docstring of
...
Vunread_post_input_method_events and Vunread_input_method_events
fixed.
2006-08-21 02:09:31 +00:00
Chong Yidong
c5b76d6cf7
* keyboard.c (show_help_echo): Preserve mouse movement flag if
...
tracking mouse.
2006-08-20 17:58:09 +00:00
Richard M. Stallman
ce6297137d
*** empty log message ***
2006-08-20 12:19:33 +00:00
Richard M. Stallman
2eb582aeac
(load_pixmap): Add quotes in error message.
2006-08-20 12:06:59 +00:00
Richard M. Stallman
ff458d812f
(Fcurrent_idle_time): New function.
...
(syms_of_keyboard): defsubr it.
2006-08-20 12:06:20 +00:00
Richard M. Stallman
017e297ea9
Comment change.
2006-08-18 01:52:19 +00:00
Nick Roberts
d46c6df554
(Fset_window_fringes): Do nothing on a tty.
...
(Fwindow_fringes): Put ? operator after the line break.
2006-08-17 21:00:44 +00:00
Nick Roberts
454e31b372
*** empty log message ***
2006-08-17 21:00:13 +00:00
Andreas Schwab
dae581bf8d
(debug_output_compilation_hack): Fix return type.
2006-08-16 12:33:12 +00:00
Richard M. Stallman
3cb74cd127
*** empty log message ***
2006-08-16 05:17:30 +00:00
Richard M. Stallman
c33f894897
(debug_output_compilation_hack): New function.
2006-08-16 05:15:25 +00:00
Kenichi Handa
29cbc48294
(choose_write_coding_system): Use LF for end-of-line
...
in auto-saving.
2006-08-16 00:20:53 +00:00
Chong Yidong
3236e6b849
* keyboard.c (read_char): Don't change idle timer state at all if
...
end_time is supplied.
2006-08-15 17:39:21 +00:00
Kenichi Handa
8db1f9fa0c
(ONE_MORE_BYTE_CHECK_MULTIBYTE): New arg RET. If SRC
...
is exhausted, return with RET.
(detect_coding_emacs_mule, detect_coding_iso2022)
(detect_coding_sjis, detect_coding_big5, detect_coding_utf_8)
(detect_coding_utf_16, detect_coding_ccl): Adjusted for the above
change.
2006-08-15 02:42:21 +00:00
Chong Yidong
70282fce62
* keyboard.c (read_char): Don't reset idle timers if a time limit
...
is supplied.
2006-08-14 18:32:23 +00:00
Kim F. Storm
82d59cb0ca
(pitx): Print iterator position.
...
Limit stack dump in case iterator is not initialized.
2006-08-14 09:58:12 +00:00
Kim F. Storm
9bdc2a5d70
*** empty log message ***
2006-08-14 09:58:03 +00:00
Eli Zaretskii
e6b8d66282
*** empty log message ***
2006-08-12 12:34:47 +00:00
Eli Zaretskii
d0cd961e58
(Fmouse_position, Fmouse_pixel_position)
...
(Fset_mouse_position, Fset_mouse_pixel_position): Doc fix.
2006-08-12 11:36:15 +00:00
Jan Djärv
0c584069b6
* xselect.c (Fx_register_dnd_atom): New function.
...
(syms_of_xselect): Defsubr it.
(x_handle_dnd_message): Check that message_type is in
dpyinfo->x_dnd_atoms before generating lisp event.
* xterm.h (struct x_display_info): Add x_dnd_atoms* to keep track
of drag and drop Atoms.
* xterm.c (x_term_init): Initialize dpyinfo->x_dnd_atoms*
2006-08-11 07:31:14 +00:00
Jan Djärv
93acf8f34d
* xterm.c (x_term_init): Initialize dpyinfo->x_dnd_atoms*
2006-08-11 07:30:56 +00:00
Jan Djärv
9f562c51d6
* xterm.h (struct x_display_info): Add x_dnd_atoms* to keep track
...
of drag and drop Atoms.
2006-08-11 07:30:36 +00:00
Jan Djärv
9fc68699c6
* xselect.c (Fx_register_dnd_atom): New function.
...
(syms_of_xselect): Defsubr it.
(x_handle_dnd_message): Check that message_type is in
dpyinfo->x_dnd_atoms before generating lisp event.
2006-08-11 07:30:14 +00:00
Jan Djärv
abef1dd799
* keyboard.c: Define in_sighandler.
...
(input_available_signal): Set in_sighandler.
(init_keyboard): Initialize in_sighandler.
* keyboard.h: Declare in_sighandler.
* alloc.c (UNBLOCK_INPUT_ALLOC, BLOCK_INPUT_ALLOC): Use in_sighandler
to check if mutex should be locked or not.
2006-08-10 06:09:57 +00:00
Jan Djärv
0d3e774694
* alloc.c (UNBLOCK_INPUT_ALLOC, BLOCK_INPUT_ALLOC): Use in_sighandler
...
to check if mutex should be locked or not.
2006-08-10 06:09:30 +00:00
Jan Djärv
90b03d5896
* keyboard.c: Define in_sighandler.
...
(input_available_signal): Set in_sighandler.
2006-08-10 06:07:15 +00:00
Jan Djärv
0e94a24a87
* keyboard.h: Declare in_sighandler.
2006-08-10 06:06:48 +00:00
Richard M. Stallman
c2028ac64f
(keyremap_step): No-op if fkey->parent = nil.
...
(read_key_sequence): Always start fkey.start and fkey.end at 0,
and likewise for keytran.
2006-08-09 04:55:10 +00:00
Kenichi Handa
bb0825cb7d
*** empty log message ***
2006-08-09 01:25:59 +00:00
Kenichi Handa
2c53e699a1
(syms_of_coding): Improve the docstring
...
file-coding-system-alist.
2006-08-09 01:25:03 +00:00
Andreas Schwab
6148699930
(BASE_PURESIZE): Increase to 1120000.
2006-08-07 16:39:36 +00:00
Chong Yidong
43ed3b8da0
* buffer.c (Vchange_major_mode_hook, Qchange_major_mode_hook): New vars.
...
(Fkill_all_local_variables): Use it.
(syms_of_buffer): Defvar it.
2006-08-06 14:22:24 +00:00
Eli Zaretskii
0a3297f7bb
*** empty log message ***
2006-08-05 13:31:11 +00:00
Eli Zaretskii
f892cf9c9d
Include w32.h.
...
(valid_lisp_object_p) [WINDOWSNT]: Call w32_valid_pointer_p to do the job.
2006-08-05 13:01:50 +00:00
Eli Zaretskii
0c5c0e3dfe
Add prototype for w32_valid_pointer_p.
2006-08-05 13:01:25 +00:00
Eli Zaretskii
ed91b2add3
(w32_valid_pointer_p): New function.
2006-08-05 13:01:10 +00:00
Eli Zaretskii
6b657e423e
(kbd_buffer_get_event): Return Qnil when current time is exactly equal to
...
end_time, not only when it is past that.
2006-08-05 12:00:32 +00:00
Chong Yidong
42ec1561cf
* process.c: Reapply 2006-08-01 change.
2006-08-05 01:38:42 +00:00
Chong Yidong
092869b973
* keyboard.c (read_char): Rebalance specpdl after receiving jump.
2006-08-05 01:38:21 +00:00
Eli Zaretskii
3046c3f924
(w32_query_font): Fix last change: use stricmp.
2006-08-04 17:22:18 +00:00
Stefan Monnier
0f2e2a3bbc
(Fsubst_char_in_region): Redo the setup work after running
...
the before-change-functions since they may have altered the buffer.
2006-08-04 15:22:09 +00:00
Eli Zaretskii
316a275a1e
*** empty log message ***
2006-08-04 11:43:45 +00:00
Eli Zaretskii
df70725f7a
(w32_createwindow): Handle -geometry command line option and the geometry
...
settings in the Registry.
2006-08-04 11:36:02 +00:00
Kenichi Handa
6f64cebf16
(w32_query_font): Compare names by ignoring case.
2006-08-04 02:50:10 +00:00
Kenichi Handa
ef8f7cddb3
*** empty log message ***
2006-08-04 01:49:05 +00:00
Kenichi Handa
dc3ca1078f
(x_query_font): Compare names by ignoring case.
2006-08-04 01:41:14 +00:00
Jason Rumney
f3e0a6de08
(w32_menu_show, w32_dialog_show): Call Fsignal to quit
...
when no option selected except when for_click.
2006-08-03 22:08:09 +00:00
Chong Yidong
d634a67054
* process.c: Revert last change.
2006-08-03 15:19:20 +00:00
Kim F. Storm
2beb96f9cc
(wait_reading_process_output_unwind): New function.
...
Restores waiting_for_user_input_p to saved value.
(wait_reading_process_output): Unwind protect waiting_for_user_input_p
instead of save/restore old value on stack.
2006-08-01 00:13:08 +00:00
Kim F. Storm
0885202f72
*** empty log message ***
2006-08-01 00:12:55 +00:00
Thien-Thi Nguyen
0f42ea765f
*** empty log message ***
2006-07-30 12:45:36 +00:00
Thien-Thi Nguyen
f554db0f96
Undo 2006-06-28 change.
2006-07-30 12:43:09 +00:00
Richard M. Stallman
4f213bd48d
Comment change.
2006-07-29 22:03:14 +00:00
Eli Zaretskii
cfb37af8b1
*** empty log message ***
2006-07-29 11:20:42 +00:00
Eli Zaretskii
0ef973bb13
(Ffind_operation_coding_system): Revert the change from 2006-05-29.
2006-07-29 10:59:50 +00:00
Eli Zaretskii
69666f776a
[WINDOWSNT]: Include fcntl.h, to fix last change.
2006-07-29 10:18:48 +00:00
Richard M. Stallman
0de8dcc977
*** empty log message ***
2006-07-29 02:27:00 +00:00
Richard M. Stallman
418ca4d22a
(lookup_named_face, Fdisplay_supports_face_attributes_p):
...
Add conditional aborts for clarity.
2006-07-29 01:57:38 +00:00
Richard M. Stallman
9e62c96292
(update_menu_bar): New arg HOOKS_RUN. Callers changed.
...
Used to avoid running the hooks over and over for each frame.
(prepare_menu_bars): Pass value from update_menu_bar as HOOKS_RUN of next call.
2006-07-29 01:56:35 +00:00
Richard M. Stallman
5e093f4432
(safe_run_hooks_1): Don't crash if Vrun_hooks is nil.
2006-07-29 01:54:16 +00:00
Richard M. Stallman
69b9efaa09
Whitespace change.
2006-07-29 01:53:31 +00:00
Kim F. Storm
7ffb6955ce
(valid_pointer_p): New function (from valid_lisp_object_p).
...
(valid_lisp_object_p): Use it to check for valid SUBRP obj.
2006-07-28 11:12:23 +00:00
Kim F. Storm
4dbdb9eb93
*** empty log message ***
2006-07-28 11:11:51 +00:00
Chong Yidong
2f1950bfb6
* keyboard.c (read_char): New arg END_TIME specifying timeout.
...
All callers changed. Turn off echoing if END_TIME is non-NULL.
(kbd_buffer_get_event): New arg END_TIME.
* lread.c (read_filtered_event): New arg SECONDS to wait until.
(Fread_char, Fread_event, Fread_char_exclusive): New arg SECONDS.
* lisp.h: Update read-char, read-event, and read_filtered_event
prototypes.
* keyboard.h: Include systime.h. Update read_char prototype.
2006-07-26 18:16:32 +00:00
Chong Yidong
d5f1215543
(Fy_or_n_p): Change call to read_filtered_event to use new arg.
2006-07-26 18:16:14 +00:00
Chong Yidong
43811b4e74
Change callers of read_char.
2006-07-26 18:15:08 +00:00
Chong Yidong
4392dfe315
* keyboard.h: Include systime.h. Update read_char prototype.
2006-07-26 18:14:16 +00:00
Chong Yidong
0601ad0f12
* lisp.h: Update read-char, read-event, and read_filtered_event
...
prototypes.
2006-07-26 18:14:05 +00:00
Chong Yidong
50e48299ca
* lread.c (read_filtered_event): New arg SECONDS to wait until.
...
(Fread_char, Fread_event, Fread_char_exclusive): New arg SECONDS.
2006-07-26 18:13:49 +00:00
Chong Yidong
179f689c0a
* keyboard.c (read_char): New arg END_TIME specifying timeout.
...
All callers changed. Turn off echoing if END_TIME is non-NULL.
(kbd_buffer_get_event): New arg END_TIME.
2006-07-26 18:13:33 +00:00
YAMAMOTO Mitsuharu
55a905016c
(BASE_PURESIZE): Decrease to 1102000.
2006-07-25 10:10:41 +00:00
YAMAMOTO Mitsuharu
79fd0489dd
(find_string_data_in_pure): New function.
...
(make_pure_string): Use it to reuse existing string data if possible.
2006-07-25 10:10:19 +00:00
Stefan Monnier
2db8f17387
(Fdefine_key): If the key binding definition looks like an
...
XEmacs-style key sequence, convert it to Emacs's format.
2006-07-22 21:22:52 +00:00
Eli Zaretskii
272f22ebb0
*** empty log message ***
2006-07-22 11:32:46 +00:00
Eli Zaretskii
48b62d105b
(w32_createwindow): If left' and/or top' frame parameters are bound to some
...
values, use that instead of CW_USEDEFAULT.
2006-07-22 11:31:55 +00:00
Eli Zaretskii
69b72317ae
(convert_time): Use explicit long double constants to ensure long double
...
arithmetics is used throughout.
2006-07-21 17:28:23 +00:00
YAMAMOTO Mitsuharu
14eee5020b
*** empty log message ***
2006-07-20 01:01:40 +00:00
YAMAMOTO Mitsuharu
8579fe482e
(BASE_PURESIZE): Decrease to 1141000.
2006-07-20 01:01:18 +00:00
YAMAMOTO Mitsuharu
e5bc14d4b6
(pure_bytes_used_lisp, pure_bytes_used_non_lisp): New vars.
...
(init_alloc_once): Initialize them.
(pure_alloc): Allocate non-Lisp objects from the end of pure storage
without alignment.
2006-07-20 01:01:04 +00:00
Kim F. Storm
83676aa2e3
(x_calc_absolute_position): Fix frame positioning
...
with negative X/Y coordinates.
From Francis Litterio <franl@world.std.com>
2006-07-18 23:04:12 +00:00
Kim F. Storm
eeeda6f14d
*** empty log message ***
2006-07-18 23:03:17 +00:00
Dan Nicolaescu
2381d38d0a
* ebrowse.c (usage, version): Mark as NO_RETURN.
...
* emacsclient.c (print_help_and_exit): Likewise.
* xterm.c (x_connection_closed, x_error_quitter): Mark as NO_RETURN.
* textprop.c (text_read_only): Likewise.
* lread.c (end_of_file_error): Likewise.
* lisp.h (circular_list_error, memory_full, buffer_memory_full):
Likewise.
* eval.c (unwind_to_catch): Likewise.
* buffer.h (buffer_slot_type_mismatch): Likewise.
2006-07-18 16:33:45 +00:00
Kim F. Storm
5b5fca2805
*** empty log message ***
2006-07-18 14:06:39 +00:00
Kim F. Storm
4d30ce50e9
(x_get_local_selection, copy_multiple_data)
...
(x_get_window_property_as_lisp_data)
(lisp_data_to_selection_data, CHECK_CUT_BUFFER)
(Fx_get_cut_buffer_internal): Use signal_error.
2006-07-18 13:30:20 +00:00
Kim F. Storm
93217cef09
(x_decode_color): Use signal_error.
2006-07-18 13:30:13 +00:00
Kim F. Storm
8009eb445e
* xfaces.c (signal_error): Move to eval.c.
...
(resolve_face_name): Use xsignal1.
2006-07-18 13:30:04 +00:00