|
From: | Juri Linkov |
Subject: | bug#1809: decode-coding-inserted-region corrupts files |
Date: | Fri, 16 Jan 2009 01:02:38 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-pc-linux-gnu) |
>> (progn >> (switch-to-buffer "test") >> (insert "Test.\nTest2.\nTest3.\n") >> (decode-coding-inserted-region >> (point-min) (point-max) "/tmp/test" t nil nil nil)) > > (with-temp-buffer > (insert (make-string 20 ?.)) > (decode-coding-region 1 (point-max) 'raw-text) > (buffer-string)) > > => "^@..................." > > It only happens for a string of length 20 bytes. Does this mean I was lucky discovering the exact length where the bug manifests itself? -- Juri Linkov http://www.jurta.org/emacs/
[Prev in Thread] | Current Thread | [Next in Thread] |