guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

decoding error


From: Federico Beffa
Subject: decoding error
Date: Tue, 16 Jun 2015 12:03:48 +0200

Hi,

in a package for AUCTeX that I'm preparing, I'm trying to replace any
reference to '/bin/sh' in '.el' files with

(with-directory-excursion el-dir
      (substitute* (find-files "." "\\.el$") (("/bin/sh") (which "sh"))))

A particular file causes Guile to produce the following error:

ice-9/boot-9.scm:106:20: Throw to key `decoding-error' with args
`("scm_getc" "input decoding error" 84 #<input: ./font-latex.el 11>)'.

This appears to be due to the following characters: "«" "»". The build
environment includes (by default):

export LC_ALL="en_US.UTF-8"
export LOCPATH="/gnu/store/...-glibc-utf8-locales-2.21/lib/locale"

Emacs says that the file is encoded with iso-8859-1-unix, so I've
tried unsetting the above two variables or setting '(setenv "LC_ALL"
"C")' or '(setlocale LC_ALL "C")' with no effect.

Any suggestion?

Thanks,
Fede



reply via email to

[Prev in Thread] Current Thread [Next in Thread]