alphapapa / alphapapa/burly.el
Try save bookmark use burly.el interactively when closing current frame (use emacs daemon mode), but, this broken emacs daemon.
- Linguagem predominante
- Emacs Lisp
- Estrelas
- 326
- Forks
- 15
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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?
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.