no more character sets free
Stephen J. Turnbull
stephen at xemacs.org
Wed May 26 08:34:25 EDT 2010
Didier Verna writes:
>
> Hey there,
>
> for some time now, I've had problems when attaching PDF files (probably
> large ones). Here's an example of the error I get when trying to send
> the message. Any idea what that means ?
>
> Debugger entered--Lisp error: (invalid-operation "No more character sets free for this dimension" 1)
> insert-file-contents-internal("~/Attestation_Logement.pdf" nil nil nil nil undecided used-codesys)
"undecided" is probably the culprit here. I'd be interested to know
what "used-codesys" turns out to be.
I don't understand Aidan's JIT charset mechanism, so you'll need to
check with him on whether the following scenario is really possible.
PDF files are mostly ASCII for the first 2-4k, so they may be detected
as Shift_JIS or some such. Then in attempting to convert the rest of
the file you'll encounter piles of random non-JIS characters, and
creating JIT charsets for those could fill up a bunch of one-byte
charsets pretty fast.
Even if that's not correct, it's worth trying something like
consing ("\\.pdf$" . binary) on to file-coding-system-alist to force
binary for PDFs. There might be something more specific to
Gnus/message mode/mml, of course.
More information about the XEmacs-Beta
mailing list