Comments (4)
To expand on :after
: I have replaced almost all the uses of with-eval-after-load
with that. But yes, you're right of course: it's the same thing, just more pleasant to my eyes.
from .emacs.d.
Wild guess: using :after dired
like this could solve the problem?
(use-package dired-single
:after dired
:bind (:map modi-mode-map
...
from .emacs.d.
First of all, thank you @smithx for trying out my config and help me make it better.
I failed seeing that error as I save my sessions and load them when I next start emacs. When I started emacs without loading a saved session, this issue showed up.
The issue is now fixed in commit 3b926c1.
Thanks @manuel-uberti for the proposed fix. I haven't yet started using the :after
keyword with use-package
. But the fix is in essence similar. Instead of loading the whole dired-single
after loading dired
, I chose to evaluate just the bindings to dired-mode-map
after the loading of dired
. The reason is dired-single
functions will anyways first load dired
, because dired
is autoloaded with dired-get-filename
is called by the dired-single
functions.
Below code snippet is from dired-single.el
:
(eval-and-compile
(autoload 'dired-get-filename "dired"))
I have tested the fix to work with an emacs session without loading desktop.
Let me know if this works for you too.
from .emacs.d.
Thank you for fix
from .emacs.d.
Related Issues (20)
- find the current instance block HOT 3
- Add bash version of git_force_update.csh HOT 14
- projectile is adding .git folders to the list of known projects HOT 4
- Use a regular org comment instead of #+HEADER to mark images needing pdf2png conversion HOT 7
- Do not set Slant face property to italics in term mode HOT 1
- Suggestion to improve HOT 4
- Dedicated repo for eless? HOT 1
- eless: Doesn't preserve view-mode when opening file from dired HOT 1
- remove assignment of eww-search-prefix in modi/eww--go-to-first-search-result HOT 1
- seems modi/eww--go-to-first-search-result not working properly HOT 5
- modi/eww-im-feeling-lucky can be improved
- Error modi/temporary-file-directory HOT 7
- Replace focus-in-hook with new hook [emacs 27.x]
- File permissions HOT 2
- manually-synced directory HOT 4
- Opening executable tcl-files HOT 5
- Changing the hugo mode load HOT 1
- Loading 'iy-go-to-char' package HOT 1
- Loading 'interleave' package HOT 1
- Issues setting up emacs (version < 27) HOT 2
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 .emacs.d.