-
Notifications
You must be signed in to change notification settings - Fork 391
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[mu4e bug] New message composer doesn't close new frame on exit #2577
Comments
Deleting the frame is not so easy (and the old impl was a bit fragile in that), since we do not necessarily know whatever frame we are currently looking at is the frame opened for the message (you can switch buffers after all); in fact with Let's see what we can do.... |
Thanks, yeah, I realize that the code must be fragile. I tried tracing what is happening and couldn't wrap my head around it. I applaud the idea of simplifying the mu4e code and reusing existing facilities. Maybe I'll just get used to not having a new frame. |
Ha, well, we should be able to fix it somehow, e.g. |
I'll make a change to delete the frame if there are multiple frames and there is only one window. |
This frame deletion logic seems rather too aggressive and non-specific. I quite often have multiple frames open and was surprised to have my frame disappear on sending an email! For the moment I've overridden Maybe when a new frame is opened by the message composer it can be tagged in some way? |
Yeah, it's a bit too aggressive, I'm experimenting with some ways to make it less so. Tagging a new frame is one option I considered, but it's not really air-tight, since e.g. |
I think I was bitten by this - even when I have just one frame, maybe because I start emacs in a shell using --daemon, this ends up killing my frame. for now:
|
...continued with issue #2600 |
Describe the bug
Previously with
mu4e-compose-in-new-frame
andmessage-kill-buffer-on-exit
both set to true, the new frame that was created when composing was then deleted after sending. I assume this is becausekill-buffer
knew that the frame was a dedicated frame. With the new message composing code, and withmu4e-compose-switch
andmessage-kill-buffer-on-exit
both set to true, the new frame is not deleted after sending.How to Reproduce
See above.
Environment
macOS Sonoma 14.1
GNU Emacs 30.0.50 (build 1, aarch64-apple-darwin22.5.0, NS appkit-2299.60 Version 13.4.1 (Build 22F82)) of 2023-07-03
mu/mu4e 1.11.23
Checklist
master
(otherwise please upgrade)Please make sure you all items in the checklist are set/met before filing the ticket. Thank you!
The text was updated successfully, but these errors were encountered: