Questions tagged [directory]
The directory tag has no summary.
27 questions
0
votes
2
answers
216
views
Emms doesn't play directory tree in OSX
I'm trying to use emms in emacs 29.4 for MacOSX Monterrey. Everything works fine except for playing files in nested folders. Here is my config:
;; MEDIA
;; EMMS
(emms-all)
(emms-default-players)
(emms-...
0
votes
2
answers
572
views
Emacs default directory
I have the following statement in two installations of emacs
(setq default-directory "~/.emacs.d/")
followed by
(load-file "keyboard.el")
One installation finds the file, the ...
0
votes
3
answers
154
views
After package installation, why Emacs kept retrieving an error message on "Creating directory: Operation not supported" subsequent to normal behavior?
I was using this init file on a NixOS machine.
It is important to note that parts of the file were written with use-package and other parts were a legacy from the classic imperative installation of ...
0
votes
1
answer
195
views
How can I get projectile-grep et al to choose the project before searching?
Projectile-grep, projectile-ag et al always execute the search in the current file's project.
What I want to do is to select the project from a completion list and get projectile to search that ...
3
votes
1
answer
1k
views
How to obtain file path from LISP file loaded by command line?
Given you started Emacs passing a LISP file through command line:
emacs --load .custom.d/init.el
how it could be possible to dynamically obtain custom.el directory location?
Since the default init....
2
votes
2
answers
1k
views
How to make a temporary directory that gets deleted once the body is finished?
Is there a way to temporarily create a new directory, then remove it when the body of the code has finished?
(with-temp-directory path
(write-test-files-into path)
(other-test-functions path))
;...
11
votes
1
answer
9k
views
How to open a folder as project in emacs?
VSCode (and other graphical editors) allow you to open any folder, and all source files in that folder are already tagged such that you can jump to definitions of functions/objects as long as the ...
0
votes
1
answer
78
views
How to get all full path list by a folder name?
I want to get all the full path by a folder name called autoload, in my config i had split it like this file structure.
├── init.el
├── packs
│ ├── +completion
│ │ ├── ivy
│ │ │ ├── ...
4
votes
1
answer
959
views
How can backup-directory-alist be set to save in the files directory?
I want the backup files to be created in sub-directories of the files being edited, and I have created a function returns that directory.
(defun tempfilepath ()
(interactive)
(concat (file-name-...
1
vote
1
answer
62
views
Relative directory Logic
I've used emacs in various configurations over the years, but the one aspect I couldn't find a good proxy for is relative directory logic.
My goal is to use evil-mode + web-mode. I'm not interested ...
0
votes
2
answers
1k
views
File-missing "No such file or directory" "c:/emacs-26.1-x86_64/bin/%HOMEDRIVE%%HOMEPATH%/"
I'm launching Emacs using runemacs on Windows 7, from the emacs directory (C:\emacs-26.1-x86_64\bin), using runemacs --debug-init.
I get the following error text:
Debugger entered--Lisp error: (file-...
2
votes
4
answers
425
views
How to find a directory with given depth from current directory?
Is it possible from within Emacs to find directories with a given depth from the current directory from within Emacs and receive their respective location in form of a list?
I want it to work cross ...
5
votes
2
answers
2k
views
Set a global default directory
I want a "default directory" which is constant across all contexts
(buffers, packages, etc). That is, when working on multiple files,
opening a new terminal, doing anything which requires a starting
...
0
votes
2
answers
402
views
Split window with new buffer and spawn a new shell in same (possibly remote) directory as old buffer
In tmux, I can press some key combination and split the current window into two windows in the same directory.
I've tried the split-window-* function, but found it just duplicates the same buffer in ...
1
vote
1
answer
140
views
Printing a list of folders which has been modified today
Is there any way to export a list of folder names which has been modified today using a dired mode or any other package on emacs