I was just wondering if anyone has noticed the following behaviour after doing C-x C-d.

I use C-x C-d to navigate to a directories and subdirectories with pdfs. Then I try to mark a pdf file with M-x dired-mark, but I get the following message No subdir-alist in *Directory*. Does anyone know what is going on here? Why do I get this message? What am I doing wrong?


C-xC-d doesn't run dired but list-directory. To invoke dired, use C-xd.

| improve this answer | |
  • 1
    Oh crap. How I didn't see that. BTW any suggestions when renaming files using regex to replace spaces and hyphens with underscores. Is this regex valid 's/ /_/g' * when replacing spaces? Thanks! – Kirk Walla Nov 5 '18 at 20:04
  • 1
    Please considering posting your comment question as a question, if you want an answer. Thx. – Drew Nov 5 '18 at 20:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.