Closed ghost closed 2 years ago
Hi! :)
To disable evil you have to currently comment out the entire source code block, I know its not a nice solution but I will convert the evil package to a module soon for easy disabling, I will tag you in the commit.
In the future (after I implement this functionality) all you will have to do is comment/delete or add :tangle no: to the load evil module section in userconfig.org.
https://github.com/DiamondBond/emacs/blob/master/userconfig.org#evil
Remove/comment this block and evil should not be loaded :)
Everything works On startup I have a split window,left buffer is scratch buffer and right buffer is the dashboard
How to let dashboard be the startup page ?
On Fri, May 27, 2022 at 4:54 AM Diamond Bond @.***> wrote:
Hi! :)
To disable evil you have to currently comment out the entire source code block, I know its not a nice solution but I will convert the evil package to a module soon for easy disabling, I will tag you in the commit.
In the future (after I implement this functionality) all you will have to do is comment/delete or add :tangle no: to the load evil module section in userconfig.org.
— Reply to this email directly, view it on GitHub https://github.com/DiamondBond/emacs/issues/18#issuecomment-1139418149, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVNNM36IRNETMHBYY642IJDVMCESRANCNFSM5XDOA45A . You are receiving this because you authored the thread.Message ID: @.***>
Strange, initial-buffer should be set to dashboard, I just tried with a fresh clone and it works as intended.
Have you retangled the config files with ./tangle.sh ?
Also consider updating the config as I have pushed a lot of fixes to the repo.
This snippet here within =dashboard= use-package declaration should be setting the initial buffer to dashboard and there shouldn't be a scratch buffer:
(setq initial-buffer-choice (lambda () (get-buffer "*dashboard*")))
Thank you, when I get back home from work I will try, at work we use windows :( You have an amazing config, thanks for sharing your work
On Fri, May 27, 2022 at 12:42 PM Diamond Bond @.***> wrote:
Strange, initial-buffer should be set to dashboard, i just tried with a fresh clone and it works as intended.
Have you retangled the files with ./tangle.sh ?
Also consider updating the config as I have pushed a lot of fixes to the repo.
This snippet here within =dashboard= use-package declaration should be setting the initial buffer to dashboard and there shouldn't be a scratch buffer:
(setq initial-buffer-choice (lambda () (get-buffer "dashboard")))
— Reply to this email directly, view it on GitHub https://github.com/DiamondBond/emacs/issues/18#issuecomment-1139787193, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVNNM3ZWYZALRCL6AGQFOX3VMD3NZANCNFSM5XDOA45A . You are receiving this because you authored the thread.Message ID: @.***>
Do you have access to WSL2 at work? If so it should theoretically be possible to run this configuration without too many issues.
I hope to be able to run this emacs configuration or at least a subset of it on Windows one day despite how much I despise Windows - there is a time and place for it.
Thank you very much for the kind words of encouragement, have a great day! :)
I tried with the lates Diamond Emacs, and I get split screen on startup
On Fri, May 27, 2022 at 10:11 AM dagnachew a @.***> wrote:
Everything works On startup I have a split window,left buffer is scratch buffer and right buffer is the dashboard
How to let dashboard be the startup page ?
On Fri, May 27, 2022 at 4:54 AM Diamond Bond @.***> wrote:
Hi! :)
To disable evil you have to currently comment out the entire source code block, I know its not a nice solution but I will convert the evil package to a module soon for easy disabling, I will tag you in the commit.
In the future (after I implement this functionality) all you will have to do is comment/delete or add :tangle no: to the load evil module section in userconfig.org.
— Reply to this email directly, view it on GitHub https://github.com/DiamondBond/emacs/issues/18#issuecomment-1139418149, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVNNM36IRNETMHBYY642IJDVMCESRANCNFSM5XDOA45A . You are receiving this because you authored the thread.Message ID: @.***>
That's really strange.
Please make a backup of your current ~/.emacs.d
:
cp -r ~/.emacs.d ~/.emacs.d.old
Then run this command to reset to head:
git fetch && git reset --hard origin/master && git clean -fd
Start Emacs and it should now work I hope.
If not proceed to run M-x straight-thaw-versions
to sync to the locked package versions and then retangle & restart emacs daemon.
I hope this helps.
I don't want to take more your time, It did not work, maybe because I had this error $ cd /home/perrierjouet/.emacs.d/straight/repos/mu/ $ ./autogen.sh
meson build setup /usr/bin/meson Now run 'ninja -C build' to build mu *** Or check the Makefile for some useful targets Directory does not contain a valid build tree: /home/perrierjouet/.emacs.d/straight/repos/mu/build
[Return code: 0]
$ cd /home/perrierjouet/.emacs.d/straight/repos/mu/ $ make
ninja -C /home/perrierjouet/.emacs.d/straight/repos/mu/build ninja: Entering directory `/home/perrierjouet/.emacs.d/straight/repos/mu/build' ninja: error: loading 'build.ninja': No such file or directory make: *** [Makefile:36: all] Error 1
[Return code: 2]
I installed all packages that got me errors, I have already mu installed with my package manager sudo xbps-install mu
Thanks a lot for your time
On Fri, May 27, 2022 at 7:38 PM Diamond Bond @.***> wrote:
That's really strange.
Please make a backup of your current ~/.emacs.d:
cp -r ~/.emacs.d ~/.emacs.d.old
Then run this command to reset to head:
git fetch && git reset --hard origin/master && git clean -fd
Start Emacs and it should now work I hope.
If not proceed to run M-x straight-thaw-versions to sync to the locked package versions and then retangle & restart emacs daemon.
I hope this helps.
— Reply to this email directly, view it on GitHub https://github.com/DiamondBond/emacs/issues/18#issuecomment-1140105081, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVNNM34MQPWVXFU2FO4LKB3VMFMHJANCNFSM5XDOA45A . You are receiving this because you authored the thread.Message ID: @.***>
Try running M-x mu-setup/automagic
Edit I Just noticed you mentioned this
I have already mu installed with my package manager sudo xbps-install mu
This auto installs mu under the straight build dir as 'mu', I should mentioned this somewhere in the mail.org file I guess.
There is no need to use mu via xbps.
I have 2fa enabled on gmail
M-x mu-setup/automagic gives error
cd ~/.emacs.d/straight/repos/mu; ./autogen.sh; ninja -C build: exited abnormally with code 1. ~/.emacs.d/straight/repos/mu/build/mu/mu init --maildir=~/Maildir @.***: exited abnormally with code 127. ~/.emacs.d/straight/repos/mu/build/mu/mu index: exited abnormally with code 127.
On Fri, May 27, 2022 at 8:33 PM Diamond Bond @.***> wrote:
Try running M-x mu-setup/automagic
— Reply to this email directly, view it on GitHub https://github.com/DiamondBond/emacs/issues/18#issuecomment-1140119145, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVNNM36LFWRBQLG6XNVCSOTVMFSWFANCNFSM5XDOA45A . You are receiving this because you authored the thread.Message ID: @.***>
I have 2fa enabled on gmail
You need to store your gmail app password in ~/.authinfo.gpg https://support.google.com/accounts/answer/185833?hl=en
Useful gist: https://gist.github.com/kidd/3881298
Edit Could you share a list of packages you had to install in order to get this up and running? I'd like to add it to the documentation for future newcomers if that's alright with you.
from the command line mu works mu index indexing maildir /home/perrierjouet/Maildir -> store /home/perrierjouet/.cache/mu/xapian
with emacs I have this error ninja -C /home/perrierjouet/.emacs.d/straight/repos/mu/build ninja: Entering directory `/home/perrierjouet/.emacs.d/straight/repos/mu/build' ninja: error: loading 'build.ninja': No such file or directory make: *** [Makefile:42: all] Error 1
I included a little video, you can see it's split the window on startup
On Fri, May 27, 2022 at 9:46 PM Diamond Bond @.***> wrote:
I have 2fa enabled on gmail You need to store your gmail app password in ~/.authinfo.gpg https://support.google.com/accounts/answer/185833?hl=en
— Reply to this email directly, view it on GitHub https://github.com/DiamondBond/emacs/issues/18#issuecomment-1140133314, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVNNM3ZXE4ABCVH2KEXHXLTVMF3GLANCNFSM5XDOA45A . You are receiving this because you authored the thread.Message ID: @.***>
if it works from the command line that means system wide mu is being used, remove system mu package and let straight.el handle it for you.
delete the ~/.emacs.d/straight/repos/mu & ~/.emacs.d/straight/build/mu and run M-x mu-setup/automagic
to compile and setup from scratch, make sure you edit the mu-setup/init-mu
function in mail.org to have your maildir & mail address.
mu binary should be called like this:
~/.emacs.d/straight/repos/mu/build/mu/mu
I included a little video, you can see it's split the window on startup Could you attach or send a link to the video?
the problem is with the build, when I update config/update at the end, mu never build with the error I shoed earlier,
~/.emacs.d/straight/repos/mu/build/mu/mu index
no such file or directory ~/.emacs.d/straight/repos/mu/build/mu/mu
since I already installed mu with my package manager, what should be another solution ?
On Sat, May 28, 2022 at 7:12 AM Diamond Bond @.***> wrote:
the mu binary location should be called like this:
~/.emacs.d/straight/repos/mu/build/mu/mu
I included a little video, you can see it's split the window on startup Could you attach or send a link to the video?
— Reply to this email directly, view it on GitHub https://github.com/DiamondBond/emacs/issues/18#issuecomment-1140240547, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVNNM32VVIOZW7HF4A45Y63VMH5TTANCNFSM5XDOA45A . You are receiving this because you authored the thread.Message ID: @.***>
You can try editing the use-package declaration for mu4e to utilize your package managers version of mu.
In the use-package macro put ensure nil and install the package from your package manager.
Relevant issue: https://github.com/radian-software/straight.el/issues/491
Useful site: http://cachestocaches.com/2017/3/complete-guide-email-emacs-using-mu-and-/
Another useful site: https://f-santos.gitlab.io/2020-04-24-mu4e.html
Useful reddit thread: https://www.reddit.com/r/emacs/comments/luktxr/emacs_is_trying_without_success_to_install_mu4e/
The perseverance was worthed :) to build mu, I cloned the repo cd ninja
./configure.py --bootstrap cmake -Bbuild-cmake cmake --build build-cmake
cp -R * .emacs.d/straight/repos/mu/build/
now on startup emacs is starting with the dashboard only :)
On Sat, May 28, 2022 at 12:28 PM Diamond Bond @.***> wrote:
You can try editing the use-package declaration for mu4e to utilize your package managers version of mu.
In the use-package macro put ensure nil and install the package from your package manager.
Relevant issue: radian-software/straight.el#491 https://github.com/radian-software/straight.el/issues/491
Another useful site: https://f-santos.gitlab.io/2020-04-24-mu4e.html
Useful reddit thread: https://www.reddit.com/r/emacs/comments/luktxr/emacs_is_trying_without_success_to_install_mu4e/
— Reply to this email directly, view it on GitHub https://github.com/DiamondBond/emacs/issues/18#issuecomment-1140293063, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVNNM3YEM5FD2MXEU5CNSY3VMJCUHANCNFSM5XDOA45A . You are receiving this because you authored the thread.Message ID: @.***>
I forgot to mention not to copy the build folder inside ninja clone, in case some else has the same issue I followed this help https://github.com/ninja-build/ninja/issues/1463#issuecomment-1119514124
On Sat, May 28, 2022 at 2:32 PM dagnachew a @.***> wrote:
The perseverance was worthed :) to build mu, I cloned the repo cd ninja
./configure.py --bootstrap cmake -Bbuild-cmake cmake --build build-cmake
cp -R * .emacs.d/straight/repos/mu/build/
now on startup emacs is starting with the dashboard only :)
On Sat, May 28, 2022 at 12:28 PM Diamond Bond @.***> wrote:
You can try editing the use-package declaration for mu4e to utilize your package managers version of mu.
In the use-package macro put ensure nil and install the package from your package manager.
Relevant issue: radian-software/straight.el#491 https://github.com/radian-software/straight.el/issues/491
Another useful site: https://f-santos.gitlab.io/2020-04-24-mu4e.html
Useful reddit thread: https://www.reddit.com/r/emacs/comments/luktxr/emacs_is_trying_without_success_to_install_mu4e/
— Reply to this email directly, view it on GitHub https://github.com/DiamondBond/emacs/issues/18#issuecomment-1140293063, or unsubscribe https://github.com/notifications/unsubscribe-auth/AVNNM3YEM5FD2MXEU5CNSY3VMJCUHANCNFSM5XDOA45A . You are receiving this because you authored the thread.Message ID: @.***>
I'm really glad you figured this out! :)
Hello Is it possible to disable evil module