Comments (7)
Stupid question but are you in "mu4e-dashboard-mode"?
from mu4e-dashboard.
Yep, I sure was - I tried going back and forth to see if I could trigger some kind of error but the Message log didn't have anything interesting.
I'll spin it up with Doom or one of the other pre-configs and see if that changes anything for me.
from mu4e-dashboard.
Can you try a manual mu4e-dahsboard-update to see what happens?
from mu4e-dashboard.
I think I found the reason for the keybinding problem!
It seems that when mu4e-dashboard-mode is called, mu4e-dashboard-parse-keymap does not process the current buffer. It seems to process ~/.emacs.d/mu4e-dashboard.el instead.
If the file does not exist, nothing is actually bound.
This is the culprit line:
(with-current-buffer (find-file-noselect mu4e-dashboard-file)
I think carwin and I were under the impression that the bindings are done in the current file.
Perhaps this line is unnecessary? I have removed it (and its corresponding parenthesis) and the bindings are now happening.
from mu4e-dashboard.
That's weird. The mu4e-dashboard-file
is supposed to point to the dashboard org file. What is the value in your case?
from mu4e-dashboard.
That's weird. The
mu4e-dashboard-file
is supposed to point to the dashboard org file. What is the value in your case?
mu4e-dashboard-file is a variable defined in โmu4e-dashboard.elโ.
Its value is "~/.emacs.d/mu4e-dashboard.org"
here is the definition:
(defcustom mu4e-dashboard-file "~/.emacs.d/mu4e-dashboard.org"
"Path to the dashboard org file."
:type 'string)
Our problem is that we didn't know this was the dashboard.
I think this is because mu4e-dashboard-mode does not load mu4e-dashboard-file. It acts on the current file, so we simply assumed that the current file is the dashboard.
My suggestion is to choose one of following two when calling mu4e-dashboard-mode:
-
Process the current file: comment the line (with-current-buffer (find-file-noselect mu4e-dashboard-file)
-
Switch to mu4e-dashboard-file and make it the dashboard file.
I vote for #1.
from mu4e-dashboard.
I also vote for #1. Do you want to make a PR?
from mu4e-dashboard.
Related Issues (20)
- Is the reference about mu4e-dashboard-activate current? HOT 1
- mu4e-error: unrecognized link HOT 5
- Unexpected results when following a count link HOT 3
- Usage issue HOT 1
- why not major mode? HOT 1
- `mu4e-dashboard-update-link` doesn't quote its query HOT 2
- usage HOT 3
- guarantee opening link in other window? HOT 3
- named queries? HOT 2
- A version for notmuch HOT 5
- Consistant keybindings between Dashboard and Mu4e HOT 1
- Counts without format HOT 8
- sent back to dashboard when quitting a mailbox HOT 2
- Melpa package HOT 11
- Unable to use ] in queries HOT 5
- suggestion: make the dashboard read/write (or embeddable) HOT 1
- I think this read-only test is backwards HOT 2
- Error if I read mail from mu4e-dashboard without first running mu4e HOT 1
- I get read-only when receiving a new mail
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mu4e-dashboard.