dired Questions

3

Solved

I have emacs behaving more or less how I want it to by using this common bit of elisp: (defun toggle-current-window-dedication () (interactive) (let* ((window (selected-window)) (dedicated (win...
Coleoptile asked 22/11, 2010 at 10:52

2

Solved

I use a library called dired-details and dired-details+ to simplify dired's display, such that a line like this: -rw-r--r--@ 1 peter staff 22571 Apr 15 16:05 foo.txt displays like this: foo.tx...
Toy asked 21/4, 2014 at 23:51

3

Solved

How to rename from: VAR1_1F_text.txt VAR2_1F_text.txt VAR3_2F_text.txt to 1F_VAR1_text.txt 1F_VAR2_text.txt 2F_VAR3_text.txt How to switch parts of filenames?
Josejosee asked 8/4, 2013 at 14:29

8

I want to open a pdf with evince instead of DocView mode. Is there a possibility to open a file with a specific command like 'evince'?
Antonetteantoni asked 27/7, 2011 at 13:20

3

Solved

If you delete a file foo in dired-x, you get asked Kill buffer of foo, too?. How can I skip this question and always answer it with yes?
Tessin asked 18/7, 2012 at 17:2

7

Solved

is there a way to quickly browse through lots of files in Emacs (24.3)? More specifically: Let's assume an Emacs frame is split into two windows. Suppose focus is in the left window that has an op...
Miru asked 11/11, 2013 at 13:46

2

Solved

I want to have two Emacs windows on the screen: one for Dired and one for code. But when I click on a file in the Dired buffer the file opens in the the same window, in place of the Dired buffer. C...
Mi asked 2/4, 2012 at 7:39

6

Solved

When I use dired mode to browse around and find a file I want to open in Emacs, dired opens a new buffer for each directory I visit when looking for the file each time I select a directory with Ent...
Meridel asked 3/12, 2009 at 11:21

5

Solved

On OS X 10.5 Emacs 23.2, in dired-mode, if I try to sort by dired-sort-toggle-or-edit with prefix argument --sort=extension or -X, I get: insert-directory: Listing directory failed but `access-fi...
Jacobs asked 2/11, 2010 at 9:30

8

My ~/.emacs contains the following settings for opening certain files with certain applications (Ubuntu 12.10; Emacs 24): (setq dired-guess-shell-alist-user '(("\\.pdf\\'" "okular ? &") ("\\...
Middlings asked 16/12, 2012 at 13:52

4

Solved

In dired+ in Emacs 23.2.1 on a Debian Squeeze variant I selected four files with * and then pressed Z to compress them. I answered y to the prompt and saw some status updates in the mini-buffer. Wh...
Bactericide asked 19/4, 2012 at 11:14

4

Solved

I'm trying to use Emacs and everything is fine, but the information about every file in my directory is too comprehensive. How can I tell it to show only file name (and maybe filesize in human read...
Meany asked 6/11, 2010 at 22:19

15

Solved

How can I create an empty file from emacs, ideally from within a dired buffer? For example, I've just opened a Python module in dired mode, created a new directory, opened that in dired, and now n...
Wringer asked 7/4, 2010 at 11:49

2

Solved

In an Emacs dired buffer, if I navigate point over a filename and hit o for dired-find-file-other-window, dired successfully produces desired behavior: opening the file in a secondary window. But...
Strawberry asked 21/4, 2014 at 23:53

5

Solved

I have recently started to use dired in earnest, having belatedly checked out the advice to use C-x C-j given in one of the answers to this question. The 'jump' function is as useful as promised an...
Lover asked 16/9, 2013 at 8:41

3

Solved

Is there a way to modify/tell dired to copy files asynchronously? If you mark multiple files in dired and then use 'C' to copy them, emacs locks up until every file is copied. I instead want this c...
Gigue asked 19/12, 2008 at 2:15

6

I want to create a new file in dired mode. Is there "create new file" command in dired mode ? For example, When I type "c" in dired mode, it creates "untitled.txt". It's very simple , but I can't f...
Reduction asked 30/11, 2013 at 12:18

2

Solved

I just updated to the most recent version of Dired+ and Emacs (from a nightly build) and, for some reason when I open Dired on any path, I don't see details (e.g. file size, permissions, size, etc....
Boracic asked 7/4, 2014 at 18:53

2

Solved

Emacs dired mode is an easy to use text-based file manager. By default, files are displayed in alphabetical order. Is there a way to sort the files by file size descending order?
Fuqua asked 9/12, 2014 at 12:24

3

Solved

IDO mode is awesome. It's essential to know the basic shortcuts, especially the escape hatch Ctrl-f (introduction-to-ido-mode/) which gets you out of ido-mode. In dired, if I want to copy a file t...
Noseband asked 26/8, 2012 at 20:12

2

Solved

Is there a means to reverse the date sort order in dired? Toggling to Dired by date mode by hitting 's' orders newest to oldest, top to bottom. I would like to reverse this so I see oldest to newe...
Toothlike asked 16/6, 2015 at 10:29

6

I found out M-x occur the other day. (How to achieve code folding effects in Emacs?) I wonder if I could list all matching lines in multiple files(or buffers) preferably marked in dired mode.
Kinsfolk asked 21/5, 2013 at 2:46

4

Solved

I am aware of Speedbar (I prefer the structure in the same frame as the rest of my work), and dired shows too much information. I'm after something like the svn-status tree representation. Is there...
Dennett asked 7/8, 2010 at 23:57

2

Solved

When i use dired mode in emacs, I can run a shell command by type !xxx, But how to bind a key to run this command? For example, I want to press O on a file, then dired will run 'cygstart' to open ...
Scutter asked 6/12, 2011 at 8:56

3

Solved

I have the following function which runs ediff on the files I have marked in a dired buffer: (defun mkm/ediff-marked-pair () "Run ediff-files on a pair of files marked in dired buffer" (interact...
Pawnbroker asked 8/8, 2013 at 8:55

© 2022 - 2024 — McMap. All rights reserved.