rougier / mu4e-dashboard

A dashboard for mu4e (mu for emacs)
GNU General Public License v3.0
467 stars 43 forks source link

Address issue #12 "Why not a minor mode?" #16

Closed sp1ff closed 3 years ago

sp1ff commented 3 years ago

This commit re-implements mu4e-dashboard as a minor mode, removing the need for the variable mu4e-dashboard--buffer and allowing multiple dashboards to be active at the same time.

Instead of "activating" a dashboard, one just turns on the minor mode. This will install a copy of the local keymap, updated with any keybindings defined in the current dashboard. In this way, multiple dashboards can be active simultaneously, each with their own local keymap.

rougier commented 3 years ago

Sorry, just merged your other PR and now this one conflicts. Can you rebase ?

sp1ff commented 3 years ago

Re-based

Airwan commented 2 years ago

Hello, I activate the minor mode in the mu4e headers view to use the keys (search shortcut) I defined in the dashboard. In the dashboard it works well, but it not works in mu4e views. Is it me or it the mode is not design for that use? Note I defined keys like C-; ... available in mu4e. Sincerely.

rougier commented 2 years ago

@Airwan Can you open a new issue?