Skip to main content
10 events
when toggle format what by license comment
May 12, 2023 at 9:41 comment added phils Quoting that code: "Currently, it saves and restores the current working directory. The text in the buffer, as well as environment variables, shell variables and other state are lost." I've never used it, so I can't tell you what it actually does do, but it seems clear about what it doesn't do.
May 12, 2023 at 9:38 comment added user_0525 In the same link, isn't the added line 320 onwards, saving the shell buffer? desktop+ is also referred on emacsWiki for session management.
May 12, 2023 at 3:33 comment added phils The link in my previous comment indicates that it won't save/restore buffer contents. Offhand I can't help with any alternatives, sorry (it's not something I've ever wanted to do), so hopefully someone else can make a suggestion. My best suggestion is to look at the desktop+ code and see if you can contribute an enhancement back which would do the things you want.
May 10, 2023 at 9:30 comment added user_0525 I am not expecting it to retain the running processes in the shell/term like tmux, as there is no running processes inside shell at the time of exiting emacs. emacs (or desktop.el) considers the idle term/shell buffers as running processes and asks to kill at the time of exiting. I am just expecting to save and reload the term/shell buffers (& its respective windows) as mentioned in the desktop+. Is there some other way to do that within emacs?
May 10, 2023 at 8:04 comment added user_0525 I am expecting emacs to retain the term/shell windows at least. That's what desktop+ is stating in point no 2 Desktop sessions by default save only buffers associated to "real" files. Desktop+ extends this by handling also "special buffers". The list of currently supported special buffer types is: compilation buffers (in compilation-mode) terminal buffers (in term-mode) org agenda & todo lists (in org-agenda-mode) indirect buffers (a.k.a clones). man pages (in Man-mode) shell buffers (in shell-mode)
May 9, 2023 at 14:24 history edited Drew
edited tags
May 9, 2023 at 7:57 comment added phils From the looks of github.com/ffevotte/desktop-plus/commit/… the functionality is very limited.
May 9, 2023 at 7:57 comment added phils What are you expecting to happen here? If you start processes inside Emacs and then kill Emacs, you will kill the inferior processes. The desktop.el library can't keep those processes running and then reattach them to a new Emacs session, any more than it could resurrect the original Emacs process.
S May 9, 2023 at 4:53 review First questions
May 9, 2023 at 14:24
S May 9, 2023 at 4:53 history asked user_0525 CC BY-SA 4.0