diff options
| author | Karoly Lorentey | 2004-08-07 15:05:02 +0000 |
|---|---|---|
| committer | Karoly Lorentey | 2004-08-07 15:05:02 +0000 |
| commit | 18ad87544445be2584163436bd3c5d6366afa122 (patch) | |
| tree | 5b724841af27d9cf79c42f09e0c1079203b68107 /src | |
| parent | d03a8fe4dee75f545e50891247367a167fc980d7 (diff) | |
| parent | de10c1149c818f8cee4cc5af7408655945a339d3 (diff) | |
| download | emacs-18ad87544445be2584163436bd3c5d6366afa122.tar.gz emacs-18ad87544445be2584163436bd3c5d6366afa122.zip | |
Merged in changes from CVS trunk.
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-479
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-480
Update from CVS
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-481
Update from CVS
git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-227
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/coding.c | 5 | ||||
| -rw-r--r-- | src/indent.c | 6 |
3 files changed, 13 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 0194c4b8c6f..2b0c47862d4 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2004-08-03 Kenichi Handa <handa@m17n.org> | ||
| 2 | |||
| 3 | * coding.c (decode_coding_string): Adjust coding->consumed, and | ||
| 4 | etc. with shrinked_bytes. | ||
| 5 | |||
| 1 | 2004-08-03 Kim F. Storm <storm@cua.dk> | 6 | 2004-08-03 Kim F. Storm <storm@cua.dk> |
| 2 | 7 | ||
| 3 | * indent.c (compute_motion): Fix check for full width window | 8 | * indent.c (compute_motion): Fix check for full width window |
diff --git a/src/coding.c b/src/coding.c index b36f7fbfbff..1257771d3ed 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -6234,6 +6234,11 @@ decode_coding_string (str, coding, nocopy) | |||
| 6234 | shrinked_bytes - from); | 6234 | shrinked_bytes - from); |
| 6235 | free_conversion_buffer (&buf); | 6235 | free_conversion_buffer (&buf); |
| 6236 | 6236 | ||
| 6237 | coding->consumed += shrinked_bytes; | ||
| 6238 | coding->consumed_char += shrinked_bytes; | ||
| 6239 | coding->produced += shrinked_bytes; | ||
| 6240 | coding->produced_char += shrinked_bytes; | ||
| 6241 | |||
| 6237 | if (coding->cmp_data && coding->cmp_data->used) | 6242 | if (coding->cmp_data && coding->cmp_data->used) |
| 6238 | coding_restore_composition (coding, newstr); | 6243 | coding_restore_composition (coding, newstr); |
| 6239 | coding_free_composition_data (coding); | 6244 | coding_free_composition_data (coding); |
diff --git a/src/indent.c b/src/indent.c index d6fea34f5f5..ffde428c12f 100644 --- a/src/indent.c +++ b/src/indent.c | |||
| @@ -1262,10 +1262,10 @@ compute_motion (from, fromvpos, fromhpos, did_motion, to, tovpos, tohpos, width, | |||
| 1262 | width -= 1; | 1262 | width -= 1; |
| 1263 | } | 1263 | } |
| 1264 | 1264 | ||
| 1265 | continuation_glyph_width = 0; | 1265 | continuation_glyph_width = 1; |
| 1266 | #ifdef HAVE_WINDOW_SYSTEM | 1266 | #ifdef HAVE_WINDOW_SYSTEM |
| 1267 | if (!FRAME_WINDOW_P (XFRAME (win->frame))) | 1267 | if (FRAME_WINDOW_P (XFRAME (win->frame))) |
| 1268 | continuation_glyph_width = 1; | 1268 | continuation_glyph_width = 0; /* In the fringe. */ |
| 1269 | #endif | 1269 | #endif |
| 1270 | 1270 | ||
| 1271 | immediate_quit = 1; | 1271 | immediate_quit = 1; |