ement.el icon indicating copy to clipboard operation
ement.el copied to clipboard

only the last disconnected session is remembered when `(ement-save-sessions)` is set to `t`

Open formula-spectre opened this issue 2 years ago • 2 comments

OS/platform

Linux

Emacs version and provenance

GNU Emacs 30.0.50 (build 1, x86_64-gentoo-linux-musl, GTK+ Version 3.24.38, cairo version 1.18.0) of 2023-11-26 it comes from the official gentoo-linux repo; emerge =app/editors-emacs

Emacs command

emacsclient -c

Emacs frame type

both nox and GUI

Ement package version and provenance

ement version 0.13; taken via straight.el from github

Actions taken

I tried to connect to my primary account via ement-connect; then I eval'ed (ement-connect :uri-prefix "http://localhost:8008") (where 8008 is the port where pantalaimon is running on), to connect to my private account.

Observed results

after calling ement-disconnect on both accounts, and re-calling ement-connect, it remembers only the last session I disconnected from, e.g. if I use ement-disconnect RET account1 ement-disconnect RET account2 then ement-connect it will only remember the last one.

Expected results

I swear that when I had this set up for the first time with two accounts there was a pop-up that let you choose which account to use;
the expected result is that after calling ement-connect it should have a prompt giving you all the session you've been logged

Backtrace

No response

Etc.

I tried on both doom emacs and vanilla emacs, and the result was the same; I can attach the exact same step that I did on both side if it's needed, just let me know if that would be useful.

formula-spectre avatar Nov 26 '23 08:11 formula-spectre

Thanks.

GNU Emacs 30.0.50 (build 1, x86_64-gentoo-linux-musl, GTK+ Version 3.24.38, cairo version 1.18.0) of 2023-11-26

Please always be sure to mention up front when you are using unreleased versions of Emacs or other software. It may not be relevant for this issue, but you should always do so--otherwise there's little reason to use unreleased versions, and it may waste time chasing bugs caused by upstream changes.

alphapapa avatar Nov 26 '23 16:11 alphapapa

sorry! but I can switch to emacs 29 if that can help in pinning down the bug no problem!

formula-spectre avatar Nov 27 '23 08:11 formula-spectre