[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r114981: Fix bug #15148 with garbled display in Dire
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] trunk r114981: Fix bug #15148 with garbled display in Dired when cache-long-scans is ON. |
Date: |
Tue, 05 Nov 2013 16:27:17 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 114981
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/15148
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Tue 2013-11-05 18:26:11 +0200
message:
Fix bug #15148 with garbled display in Dired when cache-long-scans is ON.
src/callproc.c (call_process): Call prepare_to_modify_buffer before
decoding text read from the sub-process, as the decoded stuff will
be inserted into the buffer. This will invalidate the various
caches maintained for the buffer.
modified:
src/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-1438
src/callproc.c callproc.c-20091113204419-o5vbwnq5f7feedwu-248
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2013-11-05 09:00:52 +0000
+++ b/src/ChangeLog 2013-11-05 16:26:11 +0000
@@ -1,3 +1,10 @@
+2013-11-05 Eli Zaretskii <address@hidden>
+
+ * callproc.c (call_process): Call prepare_to_modify_buffer before
+ decoding text read from the sub-process, as the decoded stuff will
+ be inserted into the buffer. This will invalidate the various
+ caches maintained for the buffer. (Bug#15148)
+
2013-11-05 Xue Fuqiao <address@hidden>
* xdisp.c (syms_of_xdisp): Mention the active display table in doc
=== modified file 'src/callproc.c'
--- a/src/callproc.c 2013-11-04 17:30:33 +0000
+++ b/src/callproc.c 2013-11-05 16:26:11 +0000
@@ -822,6 +822,7 @@
ptrdiff_t count1 = SPECPDL_INDEX ();
XSETBUFFER (curbuf, current_buffer);
+ prepare_to_modify_buffer (PT, PT, NULL);
/* We cannot allow after-change-functions be run
during decoding, because that might modify the
buffer, while we rely on process_coding.produced to
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r114981: Fix bug #15148 with garbled display in Dired when cache-long-scans is ON.,
Eli Zaretskii <=