diff options
| author | Karoly Lorentey | 2004-09-13 20:33:29 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2004-09-13 20:33:29 +0000 |
| commit | 267eea215b322b02bc4bce13cae61813c50f4b5f (patch) | |
| tree | 2dec815aa97a75c7d1589e72aa814bba68d4ade9 /src | |
| parent | 5cd432338667788c6739f43e4aa37fb53cc2a125 (diff) | |
| parent | ef3b7aae581ae555a11aa38f13e0eb55ad93a8c7 (diff) | |
| download | emacs-267eea215b322b02bc4bce13cae61813c50f4b5f.tar.gz emacs-267eea215b322b02bc4bce13cae61813c50f4b5f.zip | |
Merged in changes from CVS trunk.
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-537
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-538
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-539
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-540
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-541
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-542
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-543
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-544
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-545
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-546
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-21
Merge from emacs--cvs-trunk--0
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-22
Update from CVS: lisp/nndb.el (require): Remove tcp and duplicate cl.
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-23
Update from CVS
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-24
lisp/nnimap.el (nnimap-open-connection): Remove extraneous end-paren
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-25
Update from CVS
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-26
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-244
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 54 | ||||
| -rw-r--r-- | src/Makefile.in | 72 | ||||
| -rw-r--r-- | src/editfns.c | 10 | ||||
| -rw-r--r-- | src/msdos.c | 15 | ||||
| -rw-r--r-- | src/xselect.c | 10 |
5 files changed, 122 insertions, 39 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index bdc2d2d7e20..5fee1e8d97d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,57 @@ | |||
| 1 | 2004-09-12 Kim F. Storm <storm@cua.dk> | ||
| 2 | |||
| 3 | * editfns.c (Fformat): Handle format strings with multiple text | ||
| 4 | properties. Reverse text property list from the format string, | ||
| 5 | so the positions are in increasing order. | ||
| 6 | |||
| 7 | 2004-09-10 Jan Dj,Ad(Brv <jan.h.d@swipnet.se> | ||
| 8 | |||
| 9 | * xselect.c (x_reply_selection_request): XSync and UNBLOCK before | ||
| 10 | x_uncatch_errors so that possible protocol errors are delivered. | ||
| 11 | |||
| 12 | 2004-09-10 Eli Zaretskii <eliz@gnu.org> | ||
| 13 | |||
| 14 | * Makefile.in (msdos.o): Depend on buffer.h, commands.h, and | ||
| 15 | blockinput.h. | ||
| 16 | (dosfns.o): Depend on blockinput.h, window.h, dispextern.h, | ||
| 17 | charset.h, and coding.h | ||
| 18 | (w16select.o): Depend on buffer.h, charset.h, coding.h, and | ||
| 19 | composite.h. | ||
| 20 | (term.o): Depend on window.h and keymap.h. | ||
| 21 | (abbrev.o): Depend on syntax.h. | ||
| 22 | (callint.o): Depend on keymap.h. | ||
| 23 | (casefiddle.o): Depend on charset.h and keymap.h. | ||
| 24 | (category.o): Depend on keymap.h. | ||
| 25 | (coding.o): Depend on dispextern.h. | ||
| 26 | (cmds.o): Depend on keyboard.h and keymap.h. | ||
| 27 | (dispnew.o): Depend on indent.h and intervals.h. | ||
| 28 | (doc.o): Depend on keymap.h. | ||
| 29 | (editfns.o): Depend on frame.h. | ||
| 30 | (emacs.o): Depend on dispextern.h. | ||
| 31 | (fileio.o): Don't depend on ccl.h. | ||
| 32 | (filelock.o): Depend on charset.h and coding.h. | ||
| 33 | (frame.o): Depend on w32term.h and macterm.h. | ||
| 34 | (insdel.o): Depend on region-cache.h. | ||
| 35 | (keyboard.o): Depend on keymap.h, w32term.h, and macterm.h. | ||
| 36 | (minibuf.o): Depend on $(INTERVALS_SRC) and keymap.h. | ||
| 37 | (search.o): Depend on $(INTERVALS_SRC). | ||
| 38 | (syntax.o): Depend on keymap.h, regex.h, and $(INTERVALS_SRC). | ||
| 39 | (window.o): Depend on keymap.h, blockinput.h, $(INTERVALS_SRC), | ||
| 40 | xterm.h, w32term.h, and macterm.h. | ||
| 41 | (xdisp.o): Depend on keyboard.h, $(INTERVALS_SRC), xterm.h, | ||
| 42 | w32term.h, and macterm.h. | ||
| 43 | (xfaces.o): Depend on keyboard.h, $(INTERVALS_SRC), | ||
| 44 | region-cache.h, xterm.h, w32term.h, and macterm.h. | ||
| 45 | (bytecode.o): Depend on dispextern.h, frame.h, and xterm.h. | ||
| 46 | (data.o): Depend on frame.h. | ||
| 47 | (fns.o): Depend on keymap.h, xterm.h, and blockinput.h. | ||
| 48 | (print.o): Depend on termchar.h and $(INTERVALS_SRC). | ||
| 49 | (lread.o): Depend on $(INTERVALS_SRC), termhooks.h, and coding.h. | ||
| 50 | (intervals.o): Depend on keymap.h. | ||
| 51 | |||
| 52 | * msdos.c (msdos_set_cursor_shape, IT_display_cursor): Add | ||
| 53 | debugging print-out to termscript. | ||
| 54 | |||
| 1 | 2004-09-09 Richard M. Stallman <rms@gnu.org> | 55 | 2004-09-09 Richard M. Stallman <rms@gnu.org> |
| 2 | 56 | ||
| 3 | * xdisp.c (decode_mode_spec): Use current buffer for most purposes. | 57 | * xdisp.c (decode_mode_spec): Use current buffer for most purposes. |
diff --git a/src/Makefile.in b/src/Makefile.in index 13aa119aa8c..ba68a88850a 100644 --- a/src/Makefile.in +++ b/src/Makefile.in | |||
| @@ -1046,25 +1046,27 @@ alloca.o: alloca.c blockinput.h atimer.h | |||
| 1046 | and so rarely changed in ways that do require any. */ | 1046 | and so rarely changed in ways that do require any. */ |
| 1047 | 1047 | ||
| 1048 | abbrev.o: abbrev.c buffer.h window.h dispextern.h commands.h charset.h \ | 1048 | abbrev.o: abbrev.c buffer.h window.h dispextern.h commands.h charset.h \ |
| 1049 | $(config_h) | 1049 | syntax.h $(config_h) |
| 1050 | buffer.o: buffer.c buffer.h region-cache.h commands.h window.h \ | 1050 | buffer.o: buffer.c buffer.h region-cache.h commands.h window.h \ |
| 1051 | dispextern.h $(INTERVAL_SRC) blockinput.h atimer.h systime.h charset.h \ | 1051 | dispextern.h $(INTERVAL_SRC) blockinput.h atimer.h systime.h charset.h \ |
| 1052 | $(config_h) | 1052 | $(config_h) |
| 1053 | callint.o: callint.c window.h commands.h buffer.h \ | 1053 | callint.o: callint.c window.h commands.h buffer.h keymap.h \ |
| 1054 | keyboard.h dispextern.h $(config_h) | 1054 | keyboard.h dispextern.h $(config_h) |
| 1055 | callproc.o: callproc.c epaths.h buffer.h commands.h $(config_h) \ | 1055 | callproc.o: callproc.c epaths.h buffer.h commands.h $(config_h) \ |
| 1056 | process.h systty.h syssignal.h charset.h coding.h ccl.h msdos.h \ | 1056 | process.h systty.h syssignal.h charset.h coding.h ccl.h msdos.h \ |
| 1057 | composite.h | 1057 | composite.h |
| 1058 | casefiddle.o: casefiddle.c syntax.h commands.h buffer.h composite.h $(config_h) | 1058 | casefiddle.o: casefiddle.c syntax.h commands.h buffer.h composite.h \ |
| 1059 | charset.h keymap.h $(config_h) | ||
| 1059 | casetab.o: casetab.c buffer.h $(config_h) | 1060 | casetab.o: casetab.c buffer.h $(config_h) |
| 1060 | category.o: category.c category.h buffer.h charset.h $(config_h) | 1061 | category.o: category.c category.h buffer.h charset.h keymap.h $(config_h) |
| 1061 | ccl.o: ccl.c ccl.h charset.h coding.h $(config_h) | 1062 | ccl.o: ccl.c ccl.h charset.h coding.h $(config_h) |
| 1062 | charset.o: charset.c charset.h buffer.h coding.h composite.h disptab.h \ | 1063 | charset.o: charset.c charset.h buffer.h coding.h composite.h disptab.h \ |
| 1063 | $(config_h) | 1064 | $(config_h) |
| 1064 | coding.o: coding.c coding.h ccl.h buffer.h charset.h intervals.h composite.h window.h frame.h termhooks.h $(config_h) | 1065 | coding.o: coding.c coding.h ccl.h buffer.h charset.h intervals.h composite.h \ |
| 1066 | window.h dispextern.h frame.h termhooks.h $(config_h) | ||
| 1065 | cm.o: cm.c frame.h cm.h termhooks.h termchar.h $(config_h) | 1067 | cm.o: cm.c frame.h cm.h termhooks.h termchar.h $(config_h) |
| 1066 | cmds.o: cmds.c syntax.h buffer.h charset.h commands.h window.h $(config_h) \ | 1068 | cmds.o: cmds.c syntax.h buffer.h charset.h commands.h window.h $(config_h) \ |
| 1067 | msdos.h dispextern.h | 1069 | msdos.h dispextern.h keyboard.h keymap.h |
| 1068 | pre-crt0.o: pre-crt0.c | 1070 | pre-crt0.o: pre-crt0.c |
| 1069 | ecrt0.o: ecrt0.c $(config_h) | 1071 | ecrt0.o: ecrt0.c $(config_h) |
| 1070 | CRT0_COMPILE ${srcdir}/ecrt0.c | 1072 | CRT0_COMPILE ${srcdir}/ecrt0.c |
| @@ -1072,24 +1074,25 @@ dired.o: dired.c commands.h buffer.h $(config_h) charset.h coding.h regex.h \ | |||
| 1072 | systime.h | 1074 | systime.h |
| 1073 | dispnew.o: dispnew.c systime.h commands.h process.h frame.h \ | 1075 | dispnew.o: dispnew.c systime.h commands.h process.h frame.h \ |
| 1074 | window.h buffer.h dispextern.h termchar.h termopts.h termhooks.h cm.h \ | 1076 | window.h buffer.h dispextern.h termchar.h termopts.h termhooks.h cm.h \ |
| 1075 | disptab.h \ | 1077 | disptab.h indent.h intervals.h \ |
| 1076 | xterm.h blockinput.h atimer.h charset.h msdos.h composite.h keyboard.h \ | 1078 | xterm.h blockinput.h atimer.h charset.h msdos.h composite.h keyboard.h \ |
| 1077 | $(config_h) | 1079 | $(config_h) |
| 1078 | doc.o: doc.c $(config_h) epaths.h buffer.h keyboard.h charset.h | 1080 | doc.o: doc.c $(config_h) epaths.h buffer.h keyboard.h keymap.h charset.h |
| 1079 | doprnt.o: doprnt.c charset.h $(config_h) | 1081 | doprnt.o: doprnt.c charset.h $(config_h) |
| 1080 | dosfns.o: buffer.h termchar.h termhooks.h frame.h msdos.h dosfns.h $(config_h) | 1082 | dosfns.o: buffer.h termchar.h termhooks.h frame.h blockinput.h window.h \ |
| 1083 | msdos.h dosfns.h dispextern.h charset.h coding.h $(config_h) | ||
| 1081 | editfns.o: editfns.c window.h buffer.h systime.h $(INTERVAL_SRC) charset.h \ | 1084 | editfns.o: editfns.c window.h buffer.h systime.h $(INTERVAL_SRC) charset.h \ |
| 1082 | coding.h dispextern.h $(config_h) | 1085 | coding.h dispextern.h frame.h $(config_h) |
| 1083 | emacs.o: emacs.c commands.h systty.h syssignal.h blockinput.h process.h \ | 1086 | emacs.o: emacs.c commands.h systty.h syssignal.h blockinput.h process.h \ |
| 1084 | termhooks.h buffer.h atimer.h systime.h $(INTERVAL_SRC) $(config_h) \ | 1087 | termhooks.h buffer.h atimer.h systime.h $(INTERVAL_SRC) $(config_h) \ |
| 1085 | window.h keyboard.h keymap.h | 1088 | window.h dispextern.h keyboard.h keymap.h |
| 1086 | fileio.o: fileio.c window.h buffer.h systime.h $(INTERVAL_SRC) charset.h \ | 1089 | fileio.o: fileio.c window.h buffer.h systime.h $(INTERVAL_SRC) charset.h \ |
| 1087 | coding.h ccl.h msdos.h dispextern.h $(config_h) | 1090 | coding.h ccl.h msdos.h dispextern.h $(config_h) |
| 1088 | filelock.o: filelock.c buffer.h systime.h epaths.h $(config_h) | 1091 | filelock.o: filelock.c buffer.h charset.h coding.h systime.h epaths.h $(config_h) |
| 1089 | filemode.o: filemode.c $(config_h) | 1092 | filemode.o: filemode.c $(config_h) |
| 1090 | frame.o: frame.c xterm.h window.h frame.h termhooks.h commands.h keyboard.h \ | 1093 | frame.o: frame.c xterm.h window.h frame.h termhooks.h commands.h keyboard.h \ |
| 1091 | blockinput.h atimer.h systime.h buffer.h charset.h fontset.h \ | 1094 | blockinput.h atimer.h systime.h buffer.h charset.h fontset.h \ |
| 1092 | msdos.h dosfns.h dispextern.h termchar.h $(config_h) | 1095 | msdos.h dosfns.h dispextern.h w32term.h macterm.h termchar.h $(config_h) |
| 1093 | fringe.o: fringe.c dispextern.h frame.h window.h buffer.h termhooks.h $(config_h) | 1096 | fringe.o: fringe.c dispextern.h frame.h window.h buffer.h termhooks.h $(config_h) |
| 1094 | fontset.o: dispextern.h fontset.h fontset.c ccl.h buffer.h charset.h frame.h \ | 1097 | fontset.o: dispextern.h fontset.h fontset.c ccl.h buffer.h charset.h frame.h \ |
| 1095 | keyboard.h termhooks.h $(config_h) | 1098 | keyboard.h termhooks.h $(config_h) |
| @@ -1100,11 +1103,11 @@ indent.o: indent.c frame.h window.h indent.h buffer.h $(config_h) termchar.h \ | |||
| 1100 | termopts.h disptab.h region-cache.h charset.h composite.h dispextern.h \ | 1103 | termopts.h disptab.h region-cache.h charset.h composite.h dispextern.h \ |
| 1101 | keyboard.h | 1104 | keyboard.h |
| 1102 | insdel.o: insdel.c window.h buffer.h $(INTERVAL_SRC) blockinput.h charset.h \ | 1105 | insdel.o: insdel.c window.h buffer.h $(INTERVAL_SRC) blockinput.h charset.h \ |
| 1103 | dispextern.h atimer.h systime.h $(config_h) | 1106 | dispextern.h atimer.h systime.h region-cache.h $(config_h) |
| 1104 | keyboard.o: keyboard.c termchar.h termhooks.h termopts.h buffer.h charset.h \ | 1107 | keyboard.o: keyboard.c termchar.h termhooks.h termopts.h buffer.h charset.h \ |
| 1105 | commands.h frame.h window.h macros.h disptab.h keyboard.h syssignal.h \ | 1108 | commands.h frame.h window.h macros.h disptab.h keyboard.h syssignal.h \ |
| 1106 | systime.h dispextern.h syntax.h $(INTERVAL_SRC) blockinput.h \ | 1109 | systime.h dispextern.h syntax.h $(INTERVAL_SRC) blockinput.h \ |
| 1107 | atimer.h xterm.h puresize.h msdos.h $(config_h) | 1110 | atimer.h xterm.h puresize.h msdos.h keymap.h w32term.h macterm.h $(config_h) |
| 1108 | keymap.o: keymap.c buffer.h commands.h keyboard.h termhooks.h blockinput.h \ | 1111 | keymap.o: keymap.c buffer.h commands.h keyboard.h termhooks.h blockinput.h \ |
| 1109 | atimer.h systime.h puresize.h charset.h intervals.h $(config_h) | 1112 | atimer.h systime.h puresize.h charset.h intervals.h $(config_h) |
| 1110 | lastfile.o: lastfile.c $(config_h) | 1113 | lastfile.o: lastfile.c $(config_h) |
| @@ -1117,11 +1120,12 @@ vm-limit.o: vm-limit.c mem-limits.h $(config_h) | |||
| 1117 | marker.o: marker.c buffer.h charset.h $(config_h) | 1120 | marker.o: marker.c buffer.h charset.h $(config_h) |
| 1118 | md5.o: md5.c md5.h $(config_h) | 1121 | md5.o: md5.c md5.h $(config_h) |
| 1119 | minibuf.o: minibuf.c syntax.h dispextern.h frame.h window.h keyboard.h \ | 1122 | minibuf.o: minibuf.c syntax.h dispextern.h frame.h window.h keyboard.h \ |
| 1120 | buffer.h commands.h charset.h msdos.h termhooks.h $(config_h) | 1123 | buffer.h commands.h charset.h msdos.h $(INTERVAL_SRC)) keymap.h \ |
| 1124 | termhooks.h $(config_h) | ||
| 1121 | mktime.o: mktime.c $(config_h) | 1125 | mktime.o: mktime.c $(config_h) |
| 1122 | msdos.o: msdos.c msdos.h dosfns.h systime.h termhooks.h dispextern.h frame.h \ | 1126 | msdos.o: msdos.c msdos.h dosfns.h systime.h termhooks.h dispextern.h frame.h \ |
| 1123 | termopts.h termchar.h charset.h coding.h ccl.h disptab.h window.h \ | 1127 | termopts.h termchar.h charset.h coding.h ccl.h disptab.h window.h \ |
| 1124 | keyboard.h intervals.h $(config_h) | 1128 | keyboard.h intervals.h buffer.h commands.h blockinput.h $(config_h) |
| 1125 | process.o: process.c process.h buffer.h window.h termhooks.h termopts.h \ | 1129 | process.o: process.c process.h buffer.h window.h termhooks.h termopts.h \ |
| 1126 | commands.h syssignal.h systime.h systty.h syswait.h frame.h dispextern.h \ | 1130 | commands.h syssignal.h systime.h systty.h syswait.h frame.h dispextern.h \ |
| 1127 | blockinput.h atimer.h charset.h coding.h ccl.h msdos.h composite.h \ | 1131 | blockinput.h atimer.h charset.h coding.h ccl.h msdos.h composite.h \ |
| @@ -1131,15 +1135,17 @@ region-cache.o: region-cache.c buffer.h region-cache.h $(config_h) | |||
| 1131 | scroll.o: scroll.c termchar.h dispextern.h frame.h msdos.h keyboard.h \ | 1135 | scroll.o: scroll.c termchar.h dispextern.h frame.h msdos.h keyboard.h \ |
| 1132 | termhooks.h $(config_h) | 1136 | termhooks.h $(config_h) |
| 1133 | search.o: search.c regex.h commands.h buffer.h region-cache.h syntax.h \ | 1137 | search.o: search.c regex.h commands.h buffer.h region-cache.h syntax.h \ |
| 1134 | blockinput.h atimer.h systime.h category.h charset.h composite.h $(config_h) | 1138 | blockinput.h atimer.h systime.h category.h charset.h composite.h \ |
| 1139 | $(INTERVAL_SRC) $(config_h) | ||
| 1135 | strftime.o: strftime.c $(config_h) | 1140 | strftime.o: strftime.c $(config_h) |
| 1136 | syntax.o: syntax.c syntax.h buffer.h commands.h category.h charset.h \ | 1141 | syntax.o: syntax.c syntax.h buffer.h commands.h category.h charset.h \ |
| 1137 | composite.h $(config_h) | 1142 | composite.h keymap.h regex.h $(INTERVAL_SRC) $(config_h) |
| 1138 | sysdep.o: sysdep.c syssignal.h systty.h systime.h syswait.h blockinput.h \ | 1143 | sysdep.o: sysdep.c syssignal.h systty.h systime.h syswait.h blockinput.h \ |
| 1139 | process.h dispextern.h termhooks.h termchar.h termopts.h \ | 1144 | process.h dispextern.h termhooks.h termchar.h termopts.h \ |
| 1140 | frame.h atimer.h window.h msdos.h dosfns.h keyboard.h cm.h $(config_h) | 1145 | frame.h atimer.h window.h msdos.h dosfns.h keyboard.h cm.h $(config_h) |
| 1141 | term.o: term.c termchar.h termhooks.h termopts.h $(config_h) cm.h frame.h \ | 1146 | term.o: term.c termchar.h termhooks.h termopts.h $(config_h) cm.h frame.h \ |
| 1142 | disptab.h dispextern.h keyboard.h charset.h coding.h ccl.h msdos.h | 1147 | disptab.h dispextern.h keyboard.h charset.h coding.h ccl.h msdos.h \ |
| 1148 | window.h keymap.h | ||
| 1143 | termcap.o: termcap.c $(config_h) | 1149 | termcap.o: termcap.c $(config_h) |
| 1144 | terminfo.o: terminfo.c $(config_h) | 1150 | terminfo.o: terminfo.c $(config_h) |
| 1145 | tparam.o: tparam.c $(config_h) | 1151 | tparam.o: tparam.c $(config_h) |
| @@ -1149,18 +1155,20 @@ undo.o: undo.c buffer.h commands.h $(config_h) | |||
| 1149 | UNEXEC_ALIAS=UNEXEC | 1155 | UNEXEC_ALIAS=UNEXEC |
| 1150 | $(UNEXEC_ALIAS): UNEXEC_SRC $(config_h) | 1156 | $(UNEXEC_ALIAS): UNEXEC_SRC $(config_h) |
| 1151 | w16select.o: w16select.c dispextern.h frame.h blockinput.h atimer.h systime.h \ | 1157 | w16select.o: w16select.c dispextern.h frame.h blockinput.h atimer.h systime.h \ |
| 1152 | msdos.h $(config_h) | 1158 | msdos.h buffer.h charset.h coding.h composite.h $(config_h) |
| 1153 | widget.o: widget.c xterm.h frame.h dispextern.h widgetprv.h \ | 1159 | widget.o: widget.c xterm.h frame.h dispextern.h widgetprv.h \ |
| 1154 | $(srcdir)/../lwlib/lwlib.h $(config_h) | 1160 | $(srcdir)/../lwlib/lwlib.h $(config_h) |
| 1155 | window.o: window.c indent.h commands.h frame.h window.h buffer.h termchar.h \ | 1161 | window.o: window.c indent.h commands.h frame.h window.h buffer.h termchar.h \ |
| 1156 | disptab.h keyboard.h dispextern.h msdos.h composite.h \ | 1162 | disptab.h keyboard.h dispextern.h msdos.h composite.h \ |
| 1157 | $(config_h) | 1163 | keymap.h blockinput.h $(INTERVAL_SRC) xterm.h w32term.h macterm.h $(config_h) |
| 1158 | xdisp.o: xdisp.c macros.h commands.h process.h indent.h buffer.h dispextern.h coding.h \ | 1164 | xdisp.o: xdisp.c macros.h commands.h process.h indent.h buffer.h dispextern.h coding.h \ |
| 1159 | termchar.h frame.h window.h disptab.h termhooks.h charset.h $(config_h) \ | 1165 | termchar.h frame.h window.h disptab.h termhooks.h charset.h $(config_h) \ |
| 1166 | keyboard.h $(INTERVAL_SRC) region-cache.h xterm.h w32term.h macterm.h \ | ||
| 1160 | msdos.h composite.h fontset.h blockinput.h atimer.h systime.h keymap.h | 1167 | msdos.h composite.h fontset.h blockinput.h atimer.h systime.h keymap.h |
| 1161 | xfaces.o: xfaces.c dispextern.h frame.h xterm.h buffer.h blockinput.h \ | 1168 | xfaces.o: xfaces.c dispextern.h frame.h xterm.h buffer.h blockinput.h \ |
| 1162 | window.h charset.h msdos.h dosfns.h composite.h atimer.h systime.h \ | 1169 | window.h charset.h msdos.h dosfns.h composite.h atimer.h systime.h \ |
| 1163 | termchar.h termhooks.h $(config_h) | 1170 | keyboard.h fontset.h w32term.h macterm.h $(INTERVAL_SRC) termchar.h \ |
| 1171 | termhooks.h $(config_h) | ||
| 1164 | xfns.o: xfns.c buffer.h frame.h window.h keyboard.h xterm.h dispextern.h \ | 1172 | xfns.o: xfns.c buffer.h frame.h window.h keyboard.h xterm.h dispextern.h \ |
| 1165 | $(srcdir)/../lwlib/lwlib.h blockinput.h atimer.h systime.h epaths.h \ | 1173 | $(srcdir)/../lwlib/lwlib.h blockinput.h atimer.h systime.h epaths.h \ |
| 1166 | charset.h gtkutil.h termchar.h termhooks.h $(config_h) | 1174 | charset.h gtkutil.h termchar.h termhooks.h $(config_h) |
| @@ -1187,22 +1195,26 @@ atimer.o: atimer.c atimer.h systime.h $(config_h) | |||
| 1187 | 1195 | ||
| 1188 | alloc.o: alloc.c process.h frame.h window.h buffer.h puresize.h syssignal.h keyboard.h \ | 1196 | alloc.o: alloc.c process.h frame.h window.h buffer.h puresize.h syssignal.h keyboard.h \ |
| 1189 | blockinput.h atimer.h systime.h charset.h dispextern.h $(config_h) $(INTERVAL_SRC) | 1197 | blockinput.h atimer.h systime.h charset.h dispextern.h $(config_h) $(INTERVAL_SRC) |
| 1190 | bytecode.o: bytecode.c buffer.h syntax.h charset.h window.h $(config_h) | 1198 | bytecode.o: bytecode.c buffer.h syntax.h charset.h window.h dispextern.h \ |
| 1191 | data.o: data.c buffer.h puresize.h charset.h syssignal.h keyboard.h $(config_h) | 1199 | frame.h xterm.h $(config_h) |
| 1200 | data.o: data.c buffer.h puresize.h charset.h syssignal.h keyboard.h frame.h $(config_h) | ||
| 1192 | eval.o: eval.c commands.h keyboard.h blockinput.h atimer.h systime.h \ | 1201 | eval.o: eval.c commands.h keyboard.h blockinput.h atimer.h systime.h \ |
| 1193 | dispextern.h $(config_h) | 1202 | dispextern.h $(config_h) |
| 1194 | floatfns.o: floatfns.c $(config_h) | 1203 | floatfns.o: floatfns.c $(config_h) |
| 1195 | fns.o: fns.c commands.h $(config_h) frame.h buffer.h charset.h keyboard.h \ | 1204 | fns.o: fns.c commands.h $(config_h) frame.h buffer.h charset.h keyboard.h \ |
| 1196 | frame.h window.h dispextern.h $(INTERVAL_SRC) coding.h md5.h | 1205 | keymap.h frame.h window.h dispextern.h $(INTERVAL_SRC) coding.h md5.h \ |
| 1206 | blockinput.h xterm.h | ||
| 1197 | print.o: print.c process.h frame.h window.h buffer.h keyboard.h charset.h \ | 1207 | print.o: print.c process.h frame.h window.h buffer.h keyboard.h charset.h \ |
| 1198 | $(config_h) dispextern.h msdos.h composite.h termchar.h intervals.h | 1208 | $(config_h) dispextern.h termchar.h $(INTERVAL_SRC) msdos.h composite.h \ |
| 1199 | lread.o: lread.c commands.h keyboard.h buffer.h epaths.h charset.h $(config_h) \ | 1209 | termchar.h |
| 1200 | termhooks.h coding.h msdos.h | 1210 | lread.o: lread.c commands.h keyboard.h buffer.h epaths.h charset.h \ |
| 1211 | $(config_h) $(INTERVAL_SRC) termhooks.h coding.h msdos.h | ||
| 1201 | 1212 | ||
| 1202 | /* Text properties support */ | 1213 | /* Text properties support */ |
| 1203 | textprop.o: textprop.c buffer.h window.h dispextern.h $(INTERVAL_SRC) \ | 1214 | textprop.o: textprop.c buffer.h window.h dispextern.h $(INTERVAL_SRC) \ |
| 1204 | $(config_h) | 1215 | $(config_h) |
| 1205 | intervals.o: intervals.c buffer.h $(INTERVAL_SRC) keyboard.h puresize.h $(config_h) | 1216 | intervals.o: intervals.c buffer.h $(INTERVAL_SRC) keyboard.h puresize.h \ |
| 1217 | keymap.h $(config_h) | ||
| 1206 | composite.o: composite.c buffer.h charset.h $(INTERVAL_SRC) $(config_h) | 1218 | composite.o: composite.c buffer.h charset.h $(INTERVAL_SRC) $(config_h) |
| 1207 | 1219 | ||
| 1208 | /* System-specific programs to be made. | 1220 | /* System-specific programs to be made. |
diff --git a/src/editfns.c b/src/editfns.c index 88a0e63118f..51f8a71d531 100644 --- a/src/editfns.c +++ b/src/editfns.c | |||
| @@ -3668,11 +3668,13 @@ usage: (format STRING &rest OBJECTS) */) | |||
| 3668 | 3668 | ||
| 3669 | /* Adjust the bounds of each text property | 3669 | /* Adjust the bounds of each text property |
| 3670 | to the proper start and end in the output string. */ | 3670 | to the proper start and end in the output string. */ |
| 3671 | /* We take advantage of the fact that the positions in PROPS | ||
| 3672 | are in increasing order, so that we can do (effectively) | ||
| 3673 | one scan through the position space of the format string. | ||
| 3674 | 3671 | ||
| 3675 | BYTEPOS is the byte position in the format string, | 3672 | /* Put the positions in PROPS in increasing order, so that |
| 3673 | we can do (effectively) one scan through the position | ||
| 3674 | space of the format string. */ | ||
| 3675 | props = Fnreverse (props); | ||
| 3676 | |||
| 3677 | /* BYTEPOS is the byte position in the format string, | ||
| 3676 | POSITION is the untranslated char position in it, | 3678 | POSITION is the untranslated char position in it, |
| 3677 | TRANSLATED is the translated char position in BUF, | 3679 | TRANSLATED is the translated char position in BUF, |
| 3678 | and ARGN is the number of the next arg we will come to. */ | 3680 | and ARGN is the number of the next arg we will come to. */ |
diff --git a/src/msdos.c b/src/msdos.c index 8b511abebd7..712eb05b959 100644 --- a/src/msdos.c +++ b/src/msdos.c | |||
| @@ -752,6 +752,9 @@ msdos_set_cursor_shape (struct frame *f, int start_line, int width) | |||
| 752 | if (f && f != SELECTED_FRAME()) | 752 | if (f && f != SELECTED_FRAME()) |
| 753 | return; | 753 | return; |
| 754 | 754 | ||
| 755 | if (termscript) | ||
| 756 | fprintf (termscript, "\nCURSOR SHAPE=(%d,%d)", start_line, width); | ||
| 757 | |||
| 755 | /* The character cell size in scan lines is stored at 40:85 in the | 758 | /* The character cell size in scan lines is stored at 40:85 in the |
| 756 | BIOS data area. */ | 759 | BIOS data area. */ |
| 757 | max_line = _farpeekw (_dos_ds, 0x485) - 1; | 760 | max_line = _farpeekw (_dos_ds, 0x485) - 1; |
| @@ -851,10 +854,12 @@ IT_set_cursor_type (struct frame *f, Lisp_Object cursor_type) | |||
| 851 | } | 854 | } |
| 852 | } | 855 | } |
| 853 | else | 856 | else |
| 854 | /* Treat anything unknown as "box cursor". This includes nil, so | 857 | { |
| 855 | that a frame which doesn't specify a cursor type gets a box, | 858 | /* Treat anything unknown as "box cursor". This includes nil, so |
| 856 | which is the default in Emacs. */ | 859 | that a frame which doesn't specify a cursor type gets a box, |
| 857 | msdos_set_cursor_shape (f, 0, BOX_CURSOR_WIDTH); | 860 | which is the default in Emacs. */ |
| 861 | msdos_set_cursor_shape (f, 0, BOX_CURSOR_WIDTH); | ||
| 862 | } | ||
| 858 | } | 863 | } |
| 859 | 864 | ||
| 860 | static void | 865 | static void |
| @@ -1826,6 +1831,8 @@ static int cursor_cleared; | |||
| 1826 | static void | 1831 | static void |
| 1827 | IT_display_cursor (int on) | 1832 | IT_display_cursor (int on) |
| 1828 | { | 1833 | { |
| 1834 | if (termscript) | ||
| 1835 | fprintf (termscript, "\nCURSOR %s", on ? "ON" : "OFF"); | ||
| 1829 | if (on && cursor_cleared) | 1836 | if (on && cursor_cleared) |
| 1830 | { | 1837 | { |
| 1831 | ScreenSetCursor (current_pos_Y, current_pos_X); | 1838 | ScreenSetCursor (current_pos_Y, current_pos_X); |
diff --git a/src/xselect.c b/src/xselect.c index a10befe2cdb..530bf060af4 100644 --- a/src/xselect.c +++ b/src/xselect.c | |||
| @@ -752,7 +752,15 @@ x_reply_selection_request (event, format, data, size, type) | |||
| 752 | refering to the deleted window, and we'll get a BadWindow error | 752 | refering to the deleted window, and we'll get a BadWindow error |
| 753 | in XTread_socket when processing the events. I don't have | 753 | in XTread_socket when processing the events. I don't have |
| 754 | an idea how to fix that. gerd, 2001-01-98. */ | 754 | an idea how to fix that. gerd, 2001-01-98. */ |
| 755 | XFlush (display); | 755 | /* 2004-09-10: XSync and UNBLOCK so that possible protocol errors are |
| 756 | delivered before uncatch errors. */ | ||
| 757 | XSync (display, False); | ||
| 758 | UNBLOCK_INPUT; | ||
| 759 | |||
| 760 | /* GTK queues events in addition to the queue in Xlib. So we | ||
| 761 | UNBLOCK to enter the event loop and get possible errors delivered, | ||
| 762 | and then BLOCK again because x_uncatch_errors requires it. */ | ||
| 763 | BLOCK_INPUT; | ||
| 756 | x_uncatch_errors (display, count); | 764 | x_uncatch_errors (display, count); |
| 757 | UNBLOCK_INPUT; | 765 | UNBLOCK_INPUT; |
| 758 | } | 766 | } |