1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-04 19:10:37 -08:00
Commit graph

5170 commits

Author SHA1 Message Date
Eli Zaretskii
ebc80ddf5f *** empty log message *** 2006-09-02 11:35:46 +00:00
Romain Francoise
5deb7a514b Whitespace fixes. 2006-09-01 20:49:06 +00:00
Chong Yidong
eddc765847 Fix typo. 2006-09-01 13:30:05 +00:00
Chong Yidong
3e1451520b * buffer.h (struct buffer_text): New field chars_modiff.
(CHARS_MODIFF, BUF_CHARS_MODIFF): New macros.
        * buffer.c (Fbuffer_chars_modified_tick): New function returning
        value of BUF_CHARS_MODIFF.
        (syms_of_buffer): Defsubr it.
        (Fget_buffer_create): Initialize BUF_CHARS_MODIFF.
        * insdel.c (modify_region): New argument preserve_chars_modiff.
        Set CHARS_MODIFF to MODIFF provided preserve_chars_modiff is zero.
        (insert_1_both, insert_from_string_1, insert_from_buffer_1)
        (adjust_after_replace, adjust_after_replace_noundo)
        (replace_range, replace_range_2, del_range_2): Reset CHARS_MODIFF.
        * lisp.h (modify_region): Add fourth argument in extern.
        * casefiddle.c (casify_region): Call modify_region with fourth
        argument zero to assert that CHARS_MODIFF is updated.
        * editfns.c (Fsubst_char_in_region, Ftranslate_region_internal)
        (Ftranspose_regions): Likewise.
        * textprop.c (Fadd_text_properties, Fset_text_properties)
        (Fremove_text_properties, Fremove_list_of_text_properties):
        Call modify_region with fourth argument 1 to avoid that
        CHARS_MODIFF is updated.
2006-09-01 13:28:13 +00:00
Richard M. Stallman
80e0572b0e *** empty log message *** 2006-08-31 23:08:08 +00:00
Chong Yidong
41d24b39c7 * indent.c (Fvertical_motion): Don't move back if we were
displaying a Lisp string, either.
2006-08-29 22:17:05 +00:00
Kim F. Storm
62d108d4b9 *** empty log message *** 2006-08-28 12:03:03 +00:00
Richard M. Stallman
24d8984e70 *** empty log message *** 2006-08-28 10:01:29 +00:00
Kenichi Handa
c6f8bb3abb *** empty log message *** 2006-08-28 04:19:27 +00:00
Kim F. Storm
7b9c9125c1 *** empty log message *** 2006-08-27 22:22:38 +00:00
YAMAMOTO Mitsuharu
eb41104943 *** empty log message *** 2006-08-27 07:10:26 +00:00
Kim F. Storm
d489b9c5be *** empty log message *** 2006-08-25 23:32:17 +00:00
Stefan Monnier
d0f891a742 (url-file-local-copy): Tell url-copy-file that the dest file will already exist. 2006-08-25 20:44:49 +00:00
Kim F. Storm
16fb6ded70 *** empty log message *** 2006-08-25 10:05:41 +00:00
Richard M. Stallman
3e04a8fc9f *** empty log message *** 2006-08-25 07:51:57 +00:00
Kim F. Storm
8d8dafebb3 *** empty log message *** 2006-08-24 21:18:13 +00:00
Nick Roberts
6410aac93b *** empty log message *** 2006-08-24 20:40:26 +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
Jan Djärv
f73858ce4d * keyboard.c: Clarify difference between in_sighandler and
handling_signal.
2006-08-21 12:55:20 +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
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
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
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
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
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
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
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
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
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
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
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
0885202f72 *** empty log message *** 2006-08-01 00:12:55 +00:00