You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to figure out if there's a way to be sure an mu link always opens in other-window (I'm using the side-dashboard). For me, by default links always seem to open in the dashboard window (perhaps there's something wrong with my org-link config, I don't know). By changing all instances of switch-to-buffer in window-excursion to switch-to-buffer-other-window, I can fix that for most cases. However, if mu4e has not yet started and there's no *mu4e-headers* buffer, the link will again open in the dashboard. Any suggestions on how I might fix that? It seems a bit tricky to open another window without an existing buffer, and the mu4e buffers don't exist until mu4e is called for the first time. Thanks!
The text was updated successfully, but these errors were encountered:
I'm a little uncertain whether we have the same issue or are looking for the same thing, but I've left a comment in #15 because I think this issue may be a duplicate. It might help you, @wereket .
I'm actually using the dedicated window flag on the dashboard:
(defun toggle-window-dedicated ()
"Toggle whether the current active window is dedicated or not"
(interactive)
(message
(if (let (window (get-buffer-window (current-buffer)))
(set-window-dedicated-p window (not (window-dedicated-p window))))
"Window '%s' is dedicated"
"Window '%s' is normal")
(current-buffer)))
I'm trying to figure out if there's a way to be sure an mu link always opens in
other-window
(I'm using the side-dashboard). For me, by default links always seem to open in the dashboard window (perhaps there's something wrong with my org-link config, I don't know). By changing all instances ofswitch-to-buffer
inwindow-excursion
toswitch-to-buffer-other-window
, I can fix that for most cases. However, if mu4e has not yet started and there's no*mu4e-headers*
buffer, the link will again open in the dashboard. Any suggestions on how I might fix that? It seems a bit tricky to open another window without an existing buffer, and the mu4e buffers don't exist until mu4e is called for the first time. Thanks!The text was updated successfully, but these errors were encountered: