From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: v24.3.1: set-terminal-coding-system is not working when connecting to the server through a new frame
Date: Fri, 31 Jan 2014 08:23:35 -0500 [thread overview]
Message-ID: <jwvr47o2stp.fsf-monnier+gmane.emacs.help@gnu.org> (raw)
In-Reply-To: CAJ7z5tn-e-pUJdrXmWe=JVc9DiC=LgjODDrLJuqt99C-KbqYSQ@mail.gmail.com
> I have been having this problem in v24.3 (worked fine in v23.1.1). When I
> try to connect to the server from a new frame created by running the
> command emacsclient -nw -c filename, it does not set the terminal coding
> system (init.el: (set-terminal-coding-system 'utf-8)).
set-terminal-coding-system changes the coding system of the *current*
terminal, so it does not affect terminals you might create later
(e.g. with emacsclient).
You might like to use tty-setup-hook to run set-terminal-coding-system
after every emacsclient connection. But a simpler solution might be to
make sure your locale is using utf-8, so that Emacs's terminals will all
default to using utf-8 as well.
Stefan
next prev parent reply other threads:[~2014-01-31 13:23 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-31 1:53 v24.3.1: set-terminal-coding-system is not working when connecting to the server through a new frame varun
2014-01-31 13:23 ` Stefan Monnier [this message]
2014-01-31 23:43 ` varun
[not found] ` <mailman.13417.1391211851.10748.help-gnu-emacs@gnu.org>
2014-02-01 4:41 ` Stefan Monnier
2014-02-01 5:30 ` varun
[not found] ` <mailman.13426.1391232654.10748.help-gnu-emacs@gnu.org>
2014-02-01 5:36 ` Rusi
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvr47o2stp.fsf-monnier+gmane.emacs.help@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=help-gnu-emacs@gnu.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).