all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: Kenichi Handa <handa@m17n.org>
Cc: emacs-devel@gnu.org
Subject: decode-coding-region broken
Date: Fri, 29 Feb 2008 17:52:06 +0100	[thread overview]
Message-ID: <jeprufyabt.fsf@sykes.suse.de> (raw)

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."




                 reply	other threads:[~2008-02-29 16:52 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jeprufyabt.fsf@sykes.suse.de \
    --to=schwab@suse.de \
    --cc=emacs-devel@gnu.org \
    --cc=handa@m17n.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.