gpt4 book ai didi

emacs - 设置语言环境和 M-x shell

转载 作者:行者123 更新时间:2023-12-01 04:56:31 25 4
gpt4 key购买 nike

我正在使用使用 UTF-8 的 shell ,而其他使用使用 Latin-1 的 shell 。但是,当我使用 set-language-environment 更改默认值时,现有的 shell 也会更改它们的缓冲区编码系统 - 状态行中的指示器。

如何使 shell 缓冲区坚持其编码?

最佳答案

您是否尝试查看 Emacs Wiki ?它有一个关于如何编辑 ~/.emacs 文件的提示:

Working around a broken LANG

If your LANG is not set up correctly, and you don’t want to fix it, you can do the setup in your ~/.emacs file:

(set-language-environment "Latin-1")

Usually you would do it interactively: ‘C-x RET l’.

To check the environment you want see ‘M-x describe-language-environment’ and TAB to see all completions.

关于emacs - 设置语言环境和 M-x shell,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36716374/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com