加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

linux – 如何将emacsclient后台设置为Emacs后台?

发布时间:2020-12-13 23:05:39 所属栏目:Linux 来源:网络整理
导读:我有(在我的.emacs中) (set-background-color "#101416")(set-foreground-color "#f6f3e8") 我有2个绑定: alias ex='emacsclient -nw'alias ec='emacsclient -c -a ""' ex工作正常在终端打开客户端,但当我想打开它作为一个框架我有白色背景:( 为什么以及如
我有(在我的.emacs中)

(set-background-color "#101416")
(set-foreground-color "#f6f3e8")

我有2个绑定:

alias ex='emacsclient -nw'
alias ec='emacsclient -c -a ""'

ex工作正常在终端打开客户端,但当我想打开它作为一个框架我有白色背景:(

为什么以及如何在那里使用我的深色背景?

解决方法

set-background-color和set-foreground-color仅影响当前帧,运行emacsclient时不执行.emacs文件.

尝试设置变量default-frame-alist(“用于创建帧的默认值的Alist”):

(setq default-frame-alist
      '((background-color . "#101416")
        (foreground-color . "#f6f3e8")))

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读