Skip to content
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-views-next-previous-message-behaviour not working #19

Open
Aquan1412 opened this issue Jul 11, 2021 · 3 comments
Open

mu4e-views-next-previous-message-behaviour not working #19

Aquan1412 opened this issue Jul 11, 2021 · 3 comments
Labels
bug Something isn't working emacs-upstream-xwidgets bugs in emacs xwidgets

Comments

@Aquan1412
Copy link

Aquan1412 commented Jul 11, 2021

The setting mu4e-views-next-previous-message-behaviour doesn't work for me, the focus of mu4e always switches to the message view after changing the email (by pressing n or p). However, I want it to stay focused on the header view. I tried both stick-to-current-window and always-switch-to-headers, but the behaviour didn't change.

I'm currently using Emacs 27.2. If you need additional information, please let me know.

@lordpretzel
Copy link
Owner

Hi, are you happen to use linux? If yes, it seems that the xwidget always captures focus when browsing a new http doc (email). If that is the case, then currently, I don't think there is anything I could do about that except maybe for a dirty hack that runs a timer and then switches to the headers view.

@lordpretzel lordpretzel added the bug Something isn't working label Jul 21, 2021
@Aquan1412
Copy link
Author

Hi, yes, I forgot to mention that I'm using Manjaro Linux, so that would explain the issue. Too bad, but if it's a problem with xwidget then it's probably best to wait for an upstream fix. For now, I'll simply use “y” to change focus manually if I need it. I fear, the workaround with the timer might be confusing, if the focus changes from the headers to the mail and back to the header.

@lordpretzel
Copy link
Owner

yes, that would be a mess, especially since there is good choice for how long the timer would run so sometimes it would switch after another user interaction and sometimes too early when loading the html in xwidgets takes longer.

@lordpretzel lordpretzel added emacs-upstream-xwidgets bugs in emacs xwidgets bug Something isn't working and removed bug Something isn't working labels Dec 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working emacs-upstream-xwidgets bugs in emacs xwidgets
Projects
None yet
Development

No branches or pull requests

2 participants