Re: [CEDET-devel] unicode characters from parsed files in *temp object write* buffer cause 'Select
Brought to you by:
zappo
|
From: David E. <de...@ra...> - 2009-10-07 19:55:13
|
Kai Tetzlaff <kai...@gm...> writes:
> I occasionally get minibuffer prompts
>
> Select coding system (default utf-8):
>
> during cedet idle parsing of lisp files (i don't own these files, they
> just happen to be in a directory which also contains some of my own
> files). In addition to the prompt, emacs is switching to a 2 window
> config where one windows lists the offending characters (in *Warnings*
> buffer) and the other window shows the position of one of those
> characters in the *temp object write* buffer.
>
> Does anybody know how to avoid these prompts and the buffer switching?
This happens in eieio-persistent-save. One quick fix would be to just
set the coding system to 'raw-text:
--- a/eieio/eieio-base.el
+++ b/eieio/eieio-base.el
@@ -265,6 +265,7 @@ instance."
(save-excursion
(let ((b (set-buffer (get-buffer-create " *tmp object write*")))
(default-directory (file-name-directory (oref this file)))
+ (buffer-file-coding-system 'raw-text)
(cfn (oref this file)))
(unwind-protect
(save-excursion
Regards,
David
|