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...
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...
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?
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'?
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?
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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....
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?
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...
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...
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.
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...
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 ...
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
1 Next >
© 2022 - 2024 — McMap. All rights reserved.