This is superficially similar to a question I asked here but I think the answer might be different.
I'm trying to use dired+
and highlight
but I don't seem to be getting the full functionality. When I do C-x d
the resulting buffer is a regular dired
buffer, without the dired+ formatting I've seen in various screenshots (where, for instance, autofile bookmarks are highlighted). C-h c C-x d
tells me that the command being run is dired
.
This 1.5-year-old discussion at Stack Overflow suggests adding the following keybinding to init.el
:
(define-key ctl-x-map "d" 'diredp-dired-files)
(define-key ctl-x-4-map "d" 'diredp-dired-files-other-window)
But this results in
Symbol's function definition is void
when I invoke C-x d
after evaluation. Perhaps the name of these functions has changed since that answer was given, but looking at the completion possibilities when I try `M-x diredp-' I'm not sure where to turn.
dired+
? (Ie(require 'dired+)
.) I forget that sometimes, and it would give you a similar error message.(require 'dired-x)
and(require 'highlight)
.C-h f diredp-dired-files
? Ifdescribe-function
can't find it, it means you either don't have it loaded correctly or you have the wrong function name. If it can find it, it would suggest the problem is in your keybinding.diredp-dired-files
anddiredp-dired-files-other-window
were removed quite recently (9/14/2014).dired+
, but in glancing through the source code, I think the commands are now nameddiredp-dired-for-files
anddiredp-dired-for-files-other-window
.