GNU bug report logs -
#2416
23.0.60; decode-coding-region
Previous Next
Reported by: mj <mj54590 <at> gmail.com>
Date: Fri, 20 Feb 2009 21:20:03 UTC
Severity: normal
Merged with 1809
Done: Chong Yidong <cyd <at> stupidchicken.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Date: Fri, 20 Feb 2009 13:13:01 -0800 (PST)
> From: mj <mj54590 <at> gmail.com>
> Cc:
>
> I have been having this problem since I switched to Emacs 23 several
> weeks ago. I'm using VM to read my mails. There seems to be a problem
> in decode-coding-region when VM tries to decode a string. When VM
> tries to decode a region or a string, it uses a temporary buffer and
> basically runs the following lisp code:
>
> (apply 'decode-coding-region (point-min) (point-max) 'us-ascii nil)
>
> The original buffer content would be something like this:
>
> B7040400-12
> some text here
>
> after decode-coding-region is executed, the buffer content became:
>
> ^@7040450-12
> some text here
>
> Where ^@ is actually binary code \0 (not ascii ^ and @). There is another instance
> that a string was decoded and the result is ^@ prefixed.
>
> I could not reproduce this with "Emacs -Q". But it always happens when
> thsoe particular messages were processed by VM.
Could you please see if the problem still persists in the current CVS?
Your Emacs seems to be about a month old (Jan 29), and a couple of
related bugs were fixed in coding.c since then.
This bug report was last modified 16 years and 95 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.