diff options
| author | Karoly Lorentey | 2004-10-14 14:42:03 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2004-10-14 14:42:03 +0000 |
| commit | 60126205ad630dd474129c0218eb48bb19630915 (patch) | |
| tree | bfa772f981149384008bbf3efaba712445275afb /src | |
| parent | 684c64437d4bcdea90b1a922d557477b7cff1084 (diff) | |
| parent | ebbeed623cb9902e520fc67d6d271e222e16867f (diff) | |
| download | emacs-60126205ad630dd474129c0218eb48bb19630915.tar.gz emacs-60126205ad630dd474129c0218eb48bb19630915.zip | |
Merged in changes from CVS trunk.
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-611
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-612
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-613
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-614
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-615
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-46
Update from CVS
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-47
Merge from emacs--cvs-trunk--0
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-48
Update from CVS
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-49
Add {arch}/=commit-merge-make-log
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-50
{arch}/=commit-merge-make-log: Don't die if there are no ChangeLog changes
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-259
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 86 | ||||
| -rw-r--r-- | src/callproc.c | 20 | ||||
| -rw-r--r-- | src/dispextern.h | 4 | ||||
| -rw-r--r-- | src/fns.c | 9 | ||||
| -rw-r--r-- | src/keymap.c | 3 | ||||
| -rw-r--r-- | src/textprop.c | 6 | ||||
| -rw-r--r-- | src/xdisp.c | 10 | ||||
| -rw-r--r-- | src/xterm.c | 2 | ||||
| -rw-r--r-- | src/xterm.h | 2 |
9 files changed, 98 insertions, 44 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 1a513d0194e..9fedb52f42c 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,35 @@ | |||
| 1 | 2004-10-14 Kim F. Storm <storm@cua.dk> | ||
| 2 | |||
| 3 | * xterm.h: Include Xutil.h after keysym.h to work around bug | ||
| 4 | (incorrectly recognising AltGr key) in some X versions. | ||
| 5 | |||
| 6 | 2004-10-13 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 7 | |||
| 8 | * keymap.c (get_keymap): An autoload form is not a keymap. | ||
| 9 | |||
| 10 | * textprop.c (syms_of_textprop): Make `syntax-table' nonsticky. | ||
| 11 | |||
| 12 | 2004-10-13 Kim F. Storm <storm@cua.dk> | ||
| 13 | |||
| 14 | * callproc.c (Fcall_process): Simplify handling of display arg. | ||
| 15 | Resume `display_on_the_fly' once a coding system is determined. | ||
| 16 | |||
| 17 | * xdisp.c (redisplay_preserve_echo_area): Fix last change. | ||
| 18 | |||
| 19 | 2004-10-12 Kim F. Storm <storm@cua.dk> | ||
| 20 | |||
| 21 | * xdisp.c (redisplay_preserve_echo_area): Flush display in case | ||
| 22 | caller, such as call-process, is not going to poll for input. | ||
| 23 | (calc_line_height_property): Handle case where it->object is nil. | ||
| 24 | |||
| 25 | * xterm.c (x_redisplay_interface): Fix flush_display_optional. | ||
| 26 | |||
| 27 | 2004-10-12 Kenichi Handa <handa@m17n.org> | ||
| 28 | |||
| 29 | * xdisp.c (get_next_display_element): | ||
| 30 | If unibyte_display_via_language_environment is zero, display 8-bit | ||
| 31 | chars in octal in unibyte buffer. | ||
| 32 | |||
| 1 | 2004-10-12 Kim F. Storm <storm@cua.dk> | 33 | 2004-10-12 Kim F. Storm <storm@cua.dk> |
| 2 | 34 | ||
| 3 | * doc.c (Fsubstitute_command_keys): Ignore remappings unless there | 35 | * doc.c (Fsubstitute_command_keys): Ignore remappings unless there |
| @@ -5,22 +37,21 @@ | |||
| 5 | 37 | ||
| 6 | 2004-10-11 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | 38 | 2004-10-11 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> |
| 7 | 39 | ||
| 8 | * xfns.c (syms_of_xfns): defsubr x-file-dialog for GTK also. | 40 | * xfns.c (syms_of_xfns): Defsubr x-file-dialog for GTK also. |
| 9 | 41 | ||
| 10 | 2004-10-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 42 | 2004-10-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
| 11 | 43 | ||
| 12 | * macterm.c (x_raise_frame): Add BLOCK_INPUT around SelectWindow | 44 | * macterm.c (x_raise_frame): Add BLOCK_INPUT around SelectWindow. |
| 13 | (x_lower_frame): Add BLOCK_INPUT around SendBehind | 45 | (x_lower_frame): Add BLOCK_INPUT around SendBehind. |
| 14 | (make_mac_frame): Add BLOCK_INPUT around the making of a | 46 | (make_mac_frame): Add BLOCK_INPUT around the making of a |
| 15 | terminal frame | 47 | terminal frame. |
| 16 | (mac_initialize): Add BLOCK_INPUT around carbon initialization | 48 | (mac_initialize): Add BLOCK_INPUT around carbon initialization. |
| 17 | * macgui.h (mktime): Use emacs_mktime | 49 | * macgui.h (mktime): Use emacs_mktime. |
| 18 | * macfns.c (Fx_file_dialog): Add BLOCK_INPUT around more code. | 50 | * macfns.c (Fx_file_dialog): Add BLOCK_INPUT around more code. |
| 19 | Make a cancel file-open dialog be like C-g. | 51 | Make a cancel file-open dialog be like C-g. |
| 20 | * mac.c (mktime): Use emacs_mktime | 52 | * mac.c (mktime): Use emacs_mktime. |
| 21 | (Fdo_applescript): Add BLOCK_INPUT around do_applescript | 53 | (Fdo_applescript): Add BLOCK_INPUT around do_applescript. |
| 22 | (Fmac_paste_function): Add better error handling for carbon | 54 | (Fmac_paste_function): Add better error handling for carbon cut/paste. |
| 23 | cut/paste | ||
| 24 | 55 | ||
| 25 | 2004-10-10 Kim F. Storm <storm@cua.dk> | 56 | 2004-10-10 Kim F. Storm <storm@cua.dk> |
| 26 | 57 | ||
| @@ -34,12 +65,12 @@ | |||
| 34 | 65 | ||
| 35 | 2004-10-08 Steven Tamm <steventamm@mac.com> | 66 | 2004-10-08 Steven Tamm <steventamm@mac.com> |
| 36 | 67 | ||
| 37 | * config.in (HAVE_MALLOC_MALLOC_H): Regenerate | 68 | * config.in (HAVE_MALLOC_MALLOC_H): Regenerate. |
| 38 | * macterm.c (mac_check_for_quit_char): Remove warning for using | 69 | * macterm.c (mac_check_for_quit_char): Remove warning for using |
| 39 | NULL where 0 should be used | 70 | NULL where 0 should be used. |
| 40 | * unexmacosx.c: Use malloc/malloc.h on Tiger instead of | 71 | * unexmacosx.c: Use malloc/malloc.h on Tiger instead of |
| 41 | objc/malloc.h | 72 | objc/malloc.h |
| 42 | * mac.c: Include time.h for Tiger compatibility | 73 | * mac.c: Include time.h for Tiger compatibility. |
| 43 | 74 | ||
| 44 | 2004-10-07 Kim F. Storm <storm@cua.dk> | 75 | 2004-10-07 Kim F. Storm <storm@cua.dk> |
| 45 | 76 | ||
| @@ -185,8 +216,8 @@ | |||
| 185 | Change arg to Lisp_Object and fail if not an integer. | 216 | Change arg to Lisp_Object and fail if not an integer. |
| 186 | (get_fringe_bitmap_name, resolve_fringe_bitmap) | 217 | (get_fringe_bitmap_name, resolve_fringe_bitmap) |
| 187 | (destroy_fringe_bitmap): New functions. | 218 | (destroy_fringe_bitmap): New functions. |
| 188 | (Fdestroy_fringe_bitmap): Change arg to bitmap symbol. Use | 219 | (Fdestroy_fringe_bitmap): Change arg to bitmap symbol. |
| 189 | destroy_fringe_bitmap. Remove symbol from Vfringe_bitmaps and | 220 | Use destroy_fringe_bitmap. Remove symbol from Vfringe_bitmaps and |
| 190 | clear its fringe property. | 221 | clear its fringe property. |
| 191 | (init_fringe_bitmap): Use destroy_fringe_bitmap instead of | 222 | (init_fringe_bitmap): Use destroy_fringe_bitmap instead of |
| 192 | Fdestroy_fringe_bitmap. | 223 | Fdestroy_fringe_bitmap. |
| @@ -211,7 +242,7 @@ | |||
| 211 | 242 | ||
| 212 | 2004-09-25 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | 243 | 2004-09-25 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> |
| 213 | 244 | ||
| 214 | * config.in: Rebuild | 245 | * config.in: Rebuild. |
| 215 | 246 | ||
| 216 | 2004-09-24 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | 247 | 2004-09-24 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> |
| 217 | 248 | ||
| @@ -231,7 +262,7 @@ | |||
| 231 | Handle the case where we reach the old displayed text, | 262 | Handle the case where we reach the old displayed text, |
| 232 | out of sync with the old line boundary. | 263 | out of sync with the old line boundary. |
| 233 | 264 | ||
| 234 | 2004-09-14 Stefan <monnier@iro.umontreal.ca> | 265 | 2004-09-14 Stefan Monnier <monnier@iro.umontreal.ca> |
| 235 | 266 | ||
| 236 | * fileio.c (Finsert_file_contents): Fix case of replacement in a | 267 | * fileio.c (Finsert_file_contents): Fix case of replacement in a |
| 237 | narrowed buffer. | 268 | narrowed buffer. |
| @@ -253,7 +284,7 @@ | |||
| 253 | (Fbyte_code): Remove dead code after `wrong_type_argument'. | 284 | (Fbyte_code): Remove dead code after `wrong_type_argument'. |
| 254 | 285 | ||
| 255 | * alloc.c (Fgarbage_collect): Mark keyboards, gtk data, and specpdl | 286 | * alloc.c (Fgarbage_collect): Mark keyboards, gtk data, and specpdl |
| 256 | before doing the mark_stack_check_gcpros since they are not on the stack. | 287 | before doing the mark_stack_check_gcpros since they're not on the stack. |
| 257 | 288 | ||
| 258 | 2004-09-12 Kim F. Storm <storm@cua.dk> | 289 | 2004-09-12 Kim F. Storm <storm@cua.dk> |
| 259 | 290 | ||
| @@ -272,8 +303,7 @@ | |||
| 272 | blockinput.h. | 303 | blockinput.h. |
| 273 | (dosfns.o): Depend on blockinput.h, window.h, dispextern.h, | 304 | (dosfns.o): Depend on blockinput.h, window.h, dispextern.h, |
| 274 | charset.h, and coding.h | 305 | charset.h, and coding.h |
| 275 | (w16select.o): Depend on buffer.h, charset.h, coding.h, and | 306 | (w16select.o): Depend on buffer.h, charset.h, coding.h, and composite.h. |
| 276 | composite.h. | ||
| 277 | (term.o): Depend on window.h and keymap.h. | 307 | (term.o): Depend on window.h and keymap.h. |
| 278 | (abbrev.o): Depend on syntax.h. | 308 | (abbrev.o): Depend on syntax.h. |
| 279 | (callint.o): Depend on keymap.h. | 309 | (callint.o): Depend on keymap.h. |
| @@ -306,8 +336,8 @@ | |||
| 306 | (lread.o): Depend on $(INTERVALS_SRC), termhooks.h, and coding.h. | 336 | (lread.o): Depend on $(INTERVALS_SRC), termhooks.h, and coding.h. |
| 307 | (intervals.o): Depend on keymap.h. | 337 | (intervals.o): Depend on keymap.h. |
| 308 | 338 | ||
| 309 | * msdos.c (msdos_set_cursor_shape, IT_display_cursor): Add | 339 | * msdos.c (msdos_set_cursor_shape, IT_display_cursor): |
| 310 | debugging print-out to termscript. | 340 | Add debugging print-out to termscript. |
| 311 | 341 | ||
| 312 | 2004-09-09 Richard M. Stallman <rms@gnu.org> | 342 | 2004-09-09 Richard M. Stallman <rms@gnu.org> |
| 313 | 343 | ||
| @@ -333,8 +363,8 @@ | |||
| 333 | 2004-09-07 Luc Teirlinck <teirllm@auburn.edu> | 363 | 2004-09-07 Luc Teirlinck <teirllm@auburn.edu> |
| 334 | 364 | ||
| 335 | * buffer.h (struct buffer): Add auto_save_file_format field. | 365 | * buffer.h (struct buffer): Add auto_save_file_format field. |
| 336 | * buffer.c (reset_buffer, init_buffer_once): Handle | 366 | * buffer.c (reset_buffer, init_buffer_once): |
| 337 | auto_save_file_format field. | 367 | Handle auto_save_file_format field. |
| 338 | (syms_of_buffer): Add DEFVAR_PER_BUFFER for | 368 | (syms_of_buffer): Add DEFVAR_PER_BUFFER for |
| 339 | `buffer-auto-save-file-format'. | 369 | `buffer-auto-save-file-format'. |
| 340 | * fileio.c: Delete declaration for removed Vauto_save_file_format. | 370 | * fileio.c: Delete declaration for removed Vauto_save_file_format. |
| @@ -347,15 +377,15 @@ | |||
| 347 | 377 | ||
| 348 | * w32term.h (AppendMenuW_Proc): Move declaration from w32menu.c. | 378 | * w32term.h (AppendMenuW_Proc): Move declaration from w32menu.c. |
| 349 | 379 | ||
| 350 | * w32fns.c (w32_wnd_proc) [WM_MEASUREITEM, WM_DRAWITEM]: Handle | 380 | * w32fns.c (w32_wnd_proc) [WM_MEASUREITEM, WM_DRAWITEM]: |
| 351 | Unicode menu titles. | 381 | Handle Unicode menu titles. |
| 352 | 382 | ||
| 353 | 2004-09-07 Kim F. Storm <storm@cua.dk> | 383 | 2004-09-07 Kim F. Storm <storm@cua.dk> |
| 354 | 384 | ||
| 355 | * xdisp.c (set_cursor_from_row): Fix last change. Only use 'cursor' | 385 | * xdisp.c (set_cursor_from_row): Fix last change. Only use 'cursor' |
| 356 | property from text property or overlay strings at point. | 386 | property from text property or overlay strings at point. |
| 357 | 387 | ||
| 358 | 2004-09-07 Stefan <monnier@iro.umontreal.ca> | 388 | 2004-09-07 Stefan Monnier <monnier@iro.umontreal.ca> |
| 359 | 389 | ||
| 360 | * xmenu.c (update_submenu_strings): YAILOM. | 390 | * xmenu.c (update_submenu_strings): YAILOM. |
| 361 | (set_frame_menubar): Make sure last_i is initialized. | 391 | (set_frame_menubar): Make sure last_i is initialized. |
| @@ -844,7 +874,7 @@ | |||
| 844 | * w32select.c (Fw32_set_clipboard_data): Update `nbytes' correctly | 874 | * w32select.c (Fw32_set_clipboard_data): Update `nbytes' correctly |
| 845 | after getting a new string by pre-write-conversion. | 875 | after getting a new string by pre-write-conversion. |
| 846 | 876 | ||
| 847 | 2004-06-30 Stefan <monnier@iro.umontreal.ca> | 877 | 2004-06-30 Stefan Monnier <monnier@iro.umontreal.ca> |
| 848 | 878 | ||
| 849 | * xterm.c (x_detect_focus_change): Remove unused var `nr_events'. | 879 | * xterm.c (x_detect_focus_change): Remove unused var `nr_events'. |
| 850 | (x_calc_absolute_position): Remove unused var `child'. | 880 | (x_calc_absolute_position): Remove unused var `child'. |
diff --git a/src/callproc.c b/src/callproc.c index effd7ecbb14..5d7447d94f2 100644 --- a/src/callproc.c +++ b/src/callproc.c | |||
| @@ -216,7 +216,8 @@ usage: (call-process PROGRAM &optional INFILE BUFFER DISPLAY &rest ARGS) */) | |||
| 216 | int nargs; | 216 | int nargs; |
| 217 | register Lisp_Object *args; | 217 | register Lisp_Object *args; |
| 218 | { | 218 | { |
| 219 | Lisp_Object infile, buffer, current_dir, display, path; | 219 | Lisp_Object infile, buffer, current_dir, path; |
| 220 | int display_p; | ||
| 220 | int fd[2]; | 221 | int fd[2]; |
| 221 | int filefd; | 222 | int filefd; |
| 222 | register int pid; | 223 | register int pid; |
| @@ -372,7 +373,7 @@ usage: (call-process PROGRAM &optional INFILE BUFFER DISPLAY &rest ARGS) */) | |||
| 372 | UNGCPRO; | 373 | UNGCPRO; |
| 373 | } | 374 | } |
| 374 | 375 | ||
| 375 | display = nargs >= 4 ? args[3] : Qnil; | 376 | display_p = INTERACTIVE && nargs >= 4 && !NILP (args[3]); |
| 376 | 377 | ||
| 377 | filefd = emacs_open (SDATA (infile), O_RDONLY, 0); | 378 | filefd = emacs_open (SDATA (infile), O_RDONLY, 0); |
| 378 | if (filefd < 0) | 379 | if (filefd < 0) |
| @@ -747,7 +748,7 @@ usage: (call-process PROGRAM &optional INFILE BUFFER DISPLAY &rest ARGS) */) | |||
| 747 | int first = 1; | 748 | int first = 1; |
| 748 | int total_read = 0; | 749 | int total_read = 0; |
| 749 | int carryover = 0; | 750 | int carryover = 0; |
| 750 | int display_on_the_fly = !NILP (display) && INTERACTIVE; | 751 | int display_on_the_fly = display_p; |
| 751 | struct coding_system saved_coding; | 752 | struct coding_system saved_coding; |
| 752 | int pt_orig = PT, pt_byte_orig = PT_BYTE; | 753 | int pt_orig = PT, pt_byte_orig = PT_BYTE; |
| 753 | int inserted; | 754 | int inserted; |
| @@ -823,12 +824,15 @@ usage: (call-process PROGRAM &optional INFILE BUFFER DISPLAY &rest ARGS) */) | |||
| 823 | { | 824 | { |
| 824 | /* We have detected some coding system. But, | 825 | /* We have detected some coding system. But, |
| 825 | there's a possibility that the detection was | 826 | there's a possibility that the detection was |
| 826 | done by insufficient data. So, we give up | 827 | done by insufficient data. So, we try the code |
| 827 | displaying on the fly. */ | 828 | detection again with more data. */ |
| 828 | xfree (decoding_buf); | 829 | xfree (decoding_buf); |
| 829 | display_on_the_fly = 0; | 830 | display_on_the_fly = 0; |
| 830 | process_coding = saved_coding; | 831 | process_coding = saved_coding; |
| 831 | carryover = nread; | 832 | carryover = nread; |
| 833 | /* This is to make the above condition always | ||
| 834 | fails in the future. */ | ||
| 835 | saved_coding.type = coding_type_no_conversion; | ||
| 832 | continue; | 836 | continue; |
| 833 | } | 837 | } |
| 834 | 838 | ||
| @@ -929,12 +933,16 @@ usage: (call-process PROGRAM &optional INFILE BUFFER DISPLAY &rest ARGS) */) | |||
| 929 | bufptr = tempptr; | 933 | bufptr = tempptr; |
| 930 | } | 934 | } |
| 931 | 935 | ||
| 932 | if (!NILP (display) && INTERACTIVE) | 936 | if (display_p) |
| 933 | { | 937 | { |
| 934 | if (first) | 938 | if (first) |
| 935 | prepare_menu_bars (); | 939 | prepare_menu_bars (); |
| 936 | first = 0; | 940 | first = 0; |
| 937 | redisplay_preserve_echo_area (1); | 941 | redisplay_preserve_echo_area (1); |
| 942 | /* This variable might have been set to 0 for code | ||
| 943 | detection. In that case, we set it back to 1 because | ||
| 944 | we should have already detected a coding system. */ | ||
| 945 | display_on_the_fly = 1; | ||
| 938 | } | 946 | } |
| 939 | immediate_quit = 1; | 947 | immediate_quit = 1; |
| 940 | QUIT; | 948 | QUIT; |
diff --git a/src/dispextern.h b/src/dispextern.h index ecdb760e302..166d420d857 100644 --- a/src/dispextern.h +++ b/src/dispextern.h | |||
| @@ -1963,8 +1963,8 @@ struct it | |||
| 1963 | 1963 | ||
| 1964 | /* Object and position where the current display element came from. | 1964 | /* Object and position where the current display element came from. |
| 1965 | Object can be a Lisp string in case the current display element | 1965 | Object can be a Lisp string in case the current display element |
| 1966 | comes from an overlay string, or it is buffer. Position is | 1966 | comes from an overlay string, or it is buffer. It may also be nil |
| 1967 | a position in object. */ | 1967 | during mode-line update. Position is a position in object. */ |
| 1968 | Lisp_Object object; | 1968 | Lisp_Object object; |
| 1969 | struct text_pos position; | 1969 | struct text_pos position; |
| 1970 | 1970 | ||
| @@ -2705,6 +2705,9 @@ map_char_table (c_function, function, table, subtable, arg, depth, indices) | |||
| 2705 | int depth; | 2705 | int depth; |
| 2706 | { | 2706 | { |
| 2707 | int i, to; | 2707 | int i, to; |
| 2708 | struct gcpro gcpro1, gcpro2, gcpro3, gcpro4; | ||
| 2709 | |||
| 2710 | GCPRO4 (arg, table, subtable, function); | ||
| 2708 | 2711 | ||
| 2709 | if (depth == 0) | 2712 | if (depth == 0) |
| 2710 | { | 2713 | { |
| @@ -2724,7 +2727,10 @@ map_char_table (c_function, function, table, subtable, arg, depth, indices) | |||
| 2724 | #if 0 /* If the char table has entries for higher characters, | 2727 | #if 0 /* If the char table has entries for higher characters, |
| 2725 | we should report them. */ | 2728 | we should report them. */ |
| 2726 | if (NILP (current_buffer->enable_multibyte_characters)) | 2729 | if (NILP (current_buffer->enable_multibyte_characters)) |
| 2727 | return; | 2730 | { |
| 2731 | UNGCPRO; | ||
| 2732 | return; | ||
| 2733 | } | ||
| 2728 | #endif | 2734 | #endif |
| 2729 | to = CHAR_TABLE_ORDINARY_SLOTS; | 2735 | to = CHAR_TABLE_ORDINARY_SLOTS; |
| 2730 | } | 2736 | } |
| @@ -2777,6 +2783,7 @@ map_char_table (c_function, function, table, subtable, arg, depth, indices) | |||
| 2777 | call2 (function, make_number (c), elt); | 2783 | call2 (function, make_number (c), elt); |
| 2778 | } | 2784 | } |
| 2779 | } | 2785 | } |
| 2786 | UNGCPRO; | ||
| 2780 | } | 2787 | } |
| 2781 | 2788 | ||
| 2782 | static void void_call2 P_ ((Lisp_Object a, Lisp_Object b, Lisp_Object c)); | 2789 | static void void_call2 P_ ((Lisp_Object a, Lisp_Object b, Lisp_Object c)); |
diff --git a/src/keymap.c b/src/keymap.c index 484f08b9077..256485079c1 100644 --- a/src/keymap.c +++ b/src/keymap.c | |||
| @@ -268,7 +268,8 @@ get_keymap (object, error, autoload) | |||
| 268 | 268 | ||
| 269 | /* Should we do an autoload? Autoload forms for keymaps have | 269 | /* Should we do an autoload? Autoload forms for keymaps have |
| 270 | Qkeymap as their fifth element. */ | 270 | Qkeymap as their fifth element. */ |
| 271 | if ((autoload || !error) && EQ (XCAR (tem), Qautoload)) | 271 | if ((autoload || !error) && EQ (XCAR (tem), Qautoload) |
| 272 | && SYMBOLP (object)) | ||
| 272 | { | 273 | { |
| 273 | Lisp_Object tail; | 274 | Lisp_Object tail; |
| 274 | 275 | ||
diff --git a/src/textprop.c b/src/textprop.c index c8ec008dcbd..317f8fa6aa3 100644 --- a/src/textprop.c +++ b/src/textprop.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* Interface code for dealing with text properties. | 1 | /* Interface code for dealing with text properties. |
| 2 | Copyright (C) 1993, 1994, 1995, 1997, 1999, 2000, 2001, 2002, 2003 | 2 | Copyright (C) 1993, 1994, 1995, 1997, 1999, 2000, 2001, 2002, 2003, 2004 |
| 3 | Free Software Foundation, Inc. | 3 | Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| @@ -2233,7 +2233,9 @@ If a character in a buffer has PROPERTY, new text inserted adjacent to | |||
| 2233 | the character doesn't inherit PROPERTY if NONSTICKINESS is non-nil, | 2233 | the character doesn't inherit PROPERTY if NONSTICKINESS is non-nil, |
| 2234 | inherits it if NONSTICKINESS is nil. The front-sticky and | 2234 | inherits it if NONSTICKINESS is nil. The front-sticky and |
| 2235 | rear-nonsticky properties of the character overrides NONSTICKINESS. */); | 2235 | rear-nonsticky properties of the character overrides NONSTICKINESS. */); |
| 2236 | Vtext_property_default_nonsticky = Qnil; | 2236 | /* Text property `syntax-table' should be nonsticky by default. */ |
| 2237 | Vtext_property_default_nonsticky | ||
| 2238 | = Fcons (Fcons (intern ("syntax-table"), Qt), Qnil); | ||
| 2237 | 2239 | ||
| 2238 | staticpro (&interval_insert_behind_hooks); | 2240 | staticpro (&interval_insert_behind_hooks); |
| 2239 | staticpro (&interval_insert_in_front_hooks); | 2241 | staticpro (&interval_insert_in_front_hooks); |
diff --git a/src/xdisp.c b/src/xdisp.c index 191e0427c66..d69b456cab2 100644 --- a/src/xdisp.c +++ b/src/xdisp.c | |||
| @@ -4893,7 +4893,8 @@ get_next_display_element (it) | |||
| 4893 | && it->len == 1) | 4893 | && it->len == 1) |
| 4894 | || !CHAR_PRINTABLE_P (it->c)) | 4894 | || !CHAR_PRINTABLE_P (it->c)) |
| 4895 | : (it->c >= 127 | 4895 | : (it->c >= 127 |
| 4896 | && it->c == unibyte_char_to_multibyte (it->c)))) | 4896 | && (!unibyte_display_via_language_environment |
| 4897 | || it->c == unibyte_char_to_multibyte (it->c))))) | ||
| 4897 | { | 4898 | { |
| 4898 | /* IT->c is a control character which must be displayed | 4899 | /* IT->c is a control character which must be displayed |
| 4899 | either as '\003' or as `^C' where the '\\' and '^' | 4900 | either as '\003' or as `^C' where the '\\' and '^' |
| @@ -10402,6 +10403,9 @@ redisplay_preserve_echo_area (from_where) | |||
| 10402 | } | 10403 | } |
| 10403 | else | 10404 | else |
| 10404 | redisplay_internal (1); | 10405 | redisplay_internal (1); |
| 10406 | |||
| 10407 | if (rif != NULL && rif->flush_display_optional) | ||
| 10408 | rif->flush_display_optional (NULL); | ||
| 10405 | } | 10409 | } |
| 10406 | 10410 | ||
| 10407 | 10411 | ||
| @@ -18694,8 +18698,10 @@ calc_line_height_property (it, prop, font, boff, total) | |||
| 18694 | 18698 | ||
| 18695 | if (STRINGP (it->object)) | 18699 | if (STRINGP (it->object)) |
| 18696 | position = make_number (IT_STRING_CHARPOS (*it)); | 18700 | position = make_number (IT_STRING_CHARPOS (*it)); |
| 18697 | else | 18701 | else if (BUFFERP (it->object)) |
| 18698 | position = make_number (IT_CHARPOS (*it)); | 18702 | position = make_number (IT_CHARPOS (*it)); |
| 18703 | else | ||
| 18704 | return Qnil; | ||
| 18699 | 18705 | ||
| 18700 | val = Fget_char_property (position, prop, it->object); | 18706 | val = Fget_char_property (position, prop, it->object); |
| 18701 | 18707 | ||
diff --git a/src/xterm.c b/src/xterm.c index db4914bc165..2ce8b7d7759 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -10788,7 +10788,7 @@ static struct redisplay_interface x_redisplay_interface = | |||
| 10788 | x_update_window_end, | 10788 | x_update_window_end, |
| 10789 | x_cursor_to, | 10789 | x_cursor_to, |
| 10790 | x_flush, | 10790 | x_flush, |
| 10791 | #ifndef XFlush | 10791 | #ifdef XFlush |
| 10792 | x_flush, | 10792 | x_flush, |
| 10793 | #else | 10793 | #else |
| 10794 | 0, /* flush_display_optional */ | 10794 | 0, /* flush_display_optional */ |
diff --git a/src/xterm.h b/src/xterm.h index f0e86f0ecab..53f0081b215 100644 --- a/src/xterm.h +++ b/src/xterm.h | |||
| @@ -21,8 +21,8 @@ Boston, MA 02111-1307, USA. */ | |||
| 21 | 21 | ||
| 22 | #include <X11/Xlib.h> | 22 | #include <X11/Xlib.h> |
| 23 | #include <X11/cursorfont.h> | 23 | #include <X11/cursorfont.h> |
| 24 | #include <X11/Xutil.h> | ||
| 25 | #include <X11/keysym.h> | 24 | #include <X11/keysym.h> |
| 25 | #include <X11/Xutil.h> | ||
| 26 | #include <X11/Xatom.h> | 26 | #include <X11/Xatom.h> |
| 27 | #include <X11/Xresource.h> | 27 | #include <X11/Xresource.h> |
| 28 | 28 | ||