[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#51993: 29.0.50; [PATCH] Killing emacsclient terminal with `server-st
From: |
Eli Zaretskii |
Subject: |
bug#51993: 29.0.50; [PATCH] Killing emacsclient terminal with `server-stop-automatically' doesn't prompt to save files |
Date: |
Sat, 20 Nov 2021 09:13:10 +0200 |
> From: Jim Porter <jporterbugs@gmail.com>
> Date: Fri, 19 Nov 2021 20:29:43 -0800
>
> When killing an emacsclient terminal via C-x C-c, it should prompt to
> save the files initially passed to emacsclient. To see this in action:
>
> $ emacs -Q --daemon
> $ emacsclient -a "" -c foo.txt
> $ emacsclient -a "" -c bar.txt
>
> ;; In the first client frame:
> foobar ;; Insert some text
> C-x C-c
> ;; Emacs prompts "Save file /path/to/foo.txt?..."
>
> Now try the above, but call `(server-stop-automatically 'delete-frame)'
> first (or replace `delete-frame' with `kill-terminal'; it doesn't
> matter). In this case, Emacs doesn't prompt to save the file. However,
> the docstring/comments in `server-save-buffers-kill-terminal' say that
> it should: "Offer to save each buffer, then kill the current client. ...
> Only files from emacsclient file list."
Gregory, any comments?
Thanks.
- bug#51993: 29.0.50; [PATCH] Killing emacsclient terminal with `server-stop-automatically' doesn't prompt to save files, Jim Porter, 2021/11/19
- bug#51993: 29.0.50; [PATCH] Killing emacsclient terminal with `server-stop-automatically' doesn't prompt to save files,
Eli Zaretskii <=
- bug#51993: 29.0.50; [PATCH] Killing emacsclient terminal with `server-stop-automatically' doesn't prompt to save files, Gregory Heytings, 2021/11/23
- bug#51993: 29.0.50; [PATCH] Killing emacsclient terminal with `server-stop-automatically' doesn't prompt to save files, Jim Porter, 2021/11/23
- bug#51993: 29.0.50; [PATCH] Killing emacsclient terminal with `server-stop-automatically' doesn't prompt to save files, Gregory Heytings, 2021/11/23
- bug#51993: 29.0.50; [PATCH] Killing emacsclient terminal with `server-stop-automatically' doesn't prompt to save files, Jim Porter, 2021/11/23
- bug#51993: 29.0.50; [PATCH] Killing emacsclient terminal with `server-stop-automatically' doesn't prompt to save files, Gregory Heytings, 2021/11/23
- bug#51993: 29.0.50; [PATCH] Killing emacsclient terminal with `server-stop-automatically' doesn't prompt to save files, Jim Porter, 2021/11/23
- bug#51993: 29.0.50; [PATCH] Killing emacsclient terminal with `server-stop-automatically' doesn't prompt to save files, Gregory Heytings, 2021/11/23
- bug#51993: 29.0.50; [PATCH] Killing emacsclient terminal with `server-stop-automatically' doesn't prompt to save files, Jim Porter, 2021/11/23
bug#51993: 29.0.50; [PATCH] Killing emacsclient terminal with `server-stop-automatically' doesn't prompt to save files, Jim Porter, 2021/11/29