加入收藏 | 设为首页 | 会员中心 | 我要投稿 东莞站长网 (https://www.0769zz.com/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 服务器 > 系统 > 正文

如何从命令行启动emacsclient最大化

发布时间:2021-03-06 20:43:30 所属栏目:系统 来源:网络整理
导读:我很想知道如何在新的最大化框架中启动emacsclient. emacsclient -c 开始一个新的框架,但手册页指示无法最大化此框架.没有像–maximized这样的选项. 警告:这不是帖子中的重复:How do I provide a command-line option to emacsclient?.确实,这篇文章的答案

我很想知道如何在新的最大化框架中启动emacsclient.

emacsclient -c

开始一个新的框架,但手册页指示无法最大化此框架.没有像–maximized这样的选项.

警告:这不是帖子中的重复:How do I provide a command-line option to emacsclient?.确实,这篇文章的答案并不能解决我的问题.他们使用-F选项,它似乎记录在他们的男人身上但是我的男人没有emacsclient(在debian sid中)并且-F选项在我的情况下不起作用:

$emacsclient -c  -F "((fullscreen . maximized))"
     emacsclient: unrecognized option '-F'
     Try `emacsclient --help' for more information

以下是emacsclient –help的结果信息:

emacsclient --help
Usage: emacsclient [OPTIONS] FILE...
Tell the Emacs server to visit the specified files.
Every FILE can be either just a FILENAME or [+LINE[:COLUMN]] FILENAME.

The following OPTIONS are accepted:
-V,--version           Just print version info and return
-H,--help              Print this usage information message
-nw,-t,--tty          Open a new Emacs frame on the current terminal
-c,--create-frame      Create a new frame instead of trying to
                        use the current Emacs frame
-e,--eval              Evaluate the FILE arguments as ELisp expressions
-n,--no-wait           Don't wait for the server to return
-d DISPLAY,--display=DISPLAY
                        Visit the file in the given display
-s SOCKET,--socket-name=SOCKET
                        Set filename of the UNIX socket for communication
-f SERVER,--server-file=SERVER
                        Set filename of the TCP authentication file
-a EDITOR,--alternate-editor=EDITOR
                        Editor to fallback to if the server is not running
                        If EDITOR is the empty string,start Emacs in daemon
                        mode and try connecting again

Report bugs with M-x report-emacs-bug.

解决方法

(add-to-list 'default-frame-alist '(fullscreen . fullboth))

在.emacs中完成这项工作.

(编辑:东莞站长网)

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

    热点阅读