From: Eli Zaretskii <eliz@gnu.org>
To: Enno Fennema <e.fennema@tiscali.nl>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: Coding system in compilation buffer
Date: Wed, 05 Dec 2007 20:12:00 +0200 [thread overview]
Message-ID: <u4pexypsf.fsf@gnu.org> (raw)
In-Reply-To: <4755B955.5080809@tiscali.nl> (message from Enno Fennema on Tue, 04 Dec 2007 21:32:21 +0100)
> Date: Tue, 04 Dec 2007 21:32:21 +0100
> From: Enno Fennema <e.fennema@tiscali.nl>
>
> (defun compile-utf ()
> "Set compilation buffer for UTF-8"
> ( save-current-buffer
> (set-buffer outbuf)
> (set-buffer-process-coding-system "utf-8" "utf-8")))
>
> (setq compilation-process-setup-function 'compile-utf)
> <<
>
> That doesn't work either complaining that there is no process yet.
You need to bind coding-system-for-read to utf-8 prior to invoking the
compilation. Try it interactively with
C-x RET c utf-8 RET M-x compile RET ...
and if it does what you want, define a function that binds
coding-system-for-read and then invokes compile.
next prev parent reply other threads:[~2007-12-05 18:12 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-12-04 20:32 Coding system in compilation buffer Enno Fennema
2007-12-05 18:12 ` Eli Zaretskii [this message]
2007-12-06 22:06 ` Enno Fennema
-- strict thread matches above, loose matches on Subject: below --
2007-11-26 9:36 Enno Fennema
2007-11-26 13:03 ` Peter Dyballa
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=u4pexypsf.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=bug-gnu-emacs@gnu.org \
--cc=e.fennema@tiscali.nl \
/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.