首先,这个插件的项目地址在这里:GitHub - iqbalansari/restart-emacs: A simple emacs package to restart emacs from within emacs从这个页面的介绍可以知道,其实这个插件的开发是受到了这个问题的启发。 相关问题:Restart emacs from within emacs - Emacs Stack Exchange 再看这个问题,发现这个问题其实是8年之前的问...
delete-process:变成了交互式命令 restart-emacs:与save-buffers-kill-emacs类似,只是在关闭 emacs 后,会重新用同样的启动参数再次启动 scratch-buffer:交互式命令,切换到*scratch*buffer,可以解决误删的问题 project-list-buffers:用于展示当前项目的 buffer xref-find-references-and-replace:重命名变量 xref-go-forward...
最后的 service unit file 是这样的 [Unit]Description=Emacs text editorDocumentation=info:emacs man:emacs(1) https://gnu.org/software/emacs/[Service]Type=simpleExecStart=/usr/bin/emacs --fg-daemonExecStop=/usr/bin/emacsclient --eval "(kill-emacs)"Environment=SSH_AUTH_SOCK=%t/keyring/ssh LA...
systemctl--userdaemon-reload systemctl--userrestart emacs 随便找个文本文件双击试试看? [后记] 经过一段时间的使用,发现用 systemd 启动的 emacs server 会忽视用户的环境变量,导致一些问题。比如在 Emacs 中无法启动某些外部程序,因为用户设置的 PATH 被无视了。 目前,我已经放弃用 systemd 来启动 emacs serve...
(use-package restart-emacs) ;; 常用的格式 (use-package smooth-scrolling :ensure t ;是否一定要确保已安装 :defer nil ;是否要延迟加载:init (setq smooth-scrolling-margin 2) ;初始化参数 :config (smooth-scrolling-mode t) ;基本配置参数
Description org-mode is broken. Opening an org file doesn't load the org-mode. I tried removing all org packages, restart emacs to let it install all the packages and then open an org file which works for that session. If you quit and re...
restart-emacs - A simple emacs package to restart emacs from within emacs. Helm System Packages - A Helm interface to the package manager of your operating system. system-packages - Manage your installed packages with emacs. theme-magic - Apply your Emacs theme to the rest of Linux. spotlight...
'(package-selected-packages '(restart-emacs use-package)) '(scroll-bar-mode nil) '(show-paren-mode t) '(tool-bar-mode nil)) (provide'init-startup);;; init-startup.el ends here Copy ;;; init-const.el --- settings for constant variables;;; Commentary:;;; Code:(defconst*is-window...
("r" dap-restart-frame) ("ss" dap-switch-session) ("st" dap-switch-thread) ("sf" dap-switch-stack-frame) ("su" dap-up-stack-frame) ("sd" dap-down-stack-frame) ("sl" dap-ui-locals) ("sb" dap-ui-breakpoints) ("sS" dap-ui-sessions) ("bb" dap-breakpoint-toggle) ("ba"...
;; 最简洁的格式(use-packagerestart-emacs);; 常用的格式(use-packagesmooth-scrolling:ensuret;是否一定要确保已安装:defernil;是否要延迟加载:init(setqsmooth-scrolling-margin2);初始化参数:config(smooth-scrolling-modet);基本配置参数:bind;快捷键的绑定:hook);hook模式的绑定 ...