all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* decode-coding-region broken
@ 2008-02-29 16:52 Andreas Schwab
  0 siblings, 0 replies; only message in thread
From: Andreas Schwab @ 2008-02-29 16:52 UTC (permalink / raw)
  To: Kenichi Handa; +Cc: emacs-devel

When decode-coding-region is instructed to decode in-place it can
clobber the buffer text with NULs.  That can best be observed when
running dired-do-redisplay on a (big) subdirectory in a dired buffer.
Sometimes parts of the newly inserted directory text are be overwritten
with NULs.  This happens only rarely, perhaps once in 10-20 tries.
Perhaps garbage collection is biting here?  The new way of decoding
in-place dates back to the very start of the emacs-unicode-2 branch,
unfortunately checked in as part of a big merge without history.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-02-29 16:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-29 16:52 decode-coding-region broken Andreas Schwab

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.