all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: kj <no.email@please.post>
To: help-gnu-emacs@gnu.org
Subject: (add-to-list 'process-coding-system-alist '("zsh" . utf-8))
Date: Tue, 15 May 2012 01:33:37 +0000 (UTC)	[thread overview]
Message-ID: <josbph$st7$1@reader1.panix.com> (raw)




I want to set once and for all (in my .emacs, that is) the coding
system for all the "inferior shells" I start with M-x shell.

As the subject line above says, I tried

  (add-to-list 'process-coding-system-alist '("zsh" . utf-8))

(my default shell is zsh, of course), but it did not work: new
shells still mis-handle non-ASCII characters until I put them
through the usual C-x RET p business.

I would like to know why the elisp snippet above fails to make the
initial coding system of new shells created by M-x shell to be
utf-8.

Any ideas?

(NB: there may be other ways to achieve the same result, but here
I am specifically interested in understanding why what I tried did
not work, and fix it.)

Thanks!


             reply	other threads:[~2012-05-15  1:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-15  1:33 kj [this message]
2012-05-15  8:32 ` (add-to-list 'process-coding-system-alist '("zsh" . utf-8)) 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='josbph$st7$1@reader1.panix.com' \
    --to=no.email@please.post \
    --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.
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.