alphapapa / alphapapa/burly.el
Try save bookmark use burly.el interactively when closing current frame (use emacs daemon mode), but, this broken emacs daemon.
- 主要语言
- Emacs Lisp
- 星标
- 326
- 派生
- 15
- PR 合并指标
- 30 天内没有已合并 PR
描述
I use emacs with daemon mode,
```
emacs --daemon
```
and interactive emacs with emacsclient.
```
emacsclient -nc some_file # will connect to daemon
```
And, i add a hook like this, for try to save bookmark when i close current frame.
```el
(defun set-burly-bookmark (frame)
(call-interactively 'burly-bookmark-windows)
t
)
(add-hook 'delete-frame-functions 'set-burly-bookmark)
```
Above code seem like work, when i want to close current frame, it prompt me to save bookmark.

after i input name, we assume `test2`, then pressing enter, frame get closed, but, emacs server get broken, like this:
emacsclient: connect: Connection refused
(in normal sitution, i can always create a new frame when connect to server immediately)
In fact, `test2` never saved correctly in this case, so, how to archive this correctly?
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。