Questions tagged [project]
40 questions
39
votes
5 answers
What is the easiest way to search all useful files inside a single project?
What is the easiest way to search for a regexp throughout the contents all files in the current project, skipping files that are not useful?
Useless files are things like compiled files, imported libraries,
version-control files, etc.
I’m aware of…

Malabarba
- 22,878
- 6
- 78
- 163
14
votes
4 answers
Can emacs support go to declaration of function in an entire project?
Does emacs have a function or library that can allow the user to go to the function declaration even if it was defined in another file?
If so, what languages is there support for?
The inspiration for this question, comes from the below article…

user2522280
- 939
- 2
- 7
- 13
12
votes
2 answers
Projectile with caching doesn't like new files
I use projectile for my project browsing. I have seen that it's really slow, so I turned on caching. Now it's fast (not blazingly fast, sadly).
If I create a new file outside emacs itself, projectile doesn't find it. I can run cache invalidation but…

lukas.pukenis
- 677
- 6
- 11
12
votes
2 answers
Using DeskTop for basic project management
I would like to use DeskTop for basic project management, i.e. opening a set of buffers and restore histories depending on the project I am working on. Is this possible, i.e. having one desktop file in a project directory and how can I achieve this?

Rainer
- 897
- 10
- 16
10
votes
1 answer
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 definitions exist in that same folder (as well as…

archmuon
- 143
- 2
- 8
7
votes
0 answers
Projectile only sees project related to current buffer, if the buffer belongs to a project
I have two projects opened in my Emacs. Both are git repos and have .projectile files in their directories.
Relevant lines in my init.el
(projectile-global-mode 1)
(helm-mode)
(setq projectile-completion-system…

pawel
- 171
- 3
6
votes
2 answers
Simple project management---org-mode, or another tool?
I'm a beginning emacs and org-mode user interested in the mode for personal project management. For example, I have a database of photo…

Steven Arntson
- 1,313
- 9
- 27
5
votes
1 answer
Projectile not showing all files under my Git project
I'm using Projectile to index a Rails 4 project. When I use M-x projectile-find-file to locate files using their file name, some files simply don't appear.
For example, I have a file located in app/controllers/api/v1/test_controller.rb, but typing…

R. P. Dillon
- 415
- 3
- 11
5
votes
2 answers
project.el: override project root with dir-local var?
I have a situation where (project-current) gets the project root "wrong", i.e. not what I want it to be - specifically the project is part of a larger project that project.el doesn't know about. Is there any way to override that, using perhaps a…

GaryO
- 476
- 2
- 16
4
votes
4 answers
Set author per repository
I work on both work and personal projects on my machine, and for my work projects, I prefer to use my work email, and vice versa.
In shell, I use direnv to set GIT_COMMITTER_EMAIL and GIT_AUTHOR_EMAIL.
How do I achieve something like this in magit?

zsquare
- 141
- 3
3
votes
1 answer
Change C indent style for specific project?
I have in my ~/.emacs.d/init.el:
(use-package google-c-style
;; provides the Google C/C++ coding style
:ensure t
:config
(add-hook 'c-mode-common-hook 'google-set-c-style))
However, a particular C project I'm viewing uses
(setq…

space_voyager
- 709
- 5
- 19
3
votes
2 answers
Emacs "context" plugin for switching between different tasks in one project without loosing concentration
PyCharm (and other JetBrains products) has wonderful feature — "contexts".
You can configure task server (e.g Github Issue Tracker, Redmine, Trello, etc or use built-in one). When you switch task this feature saved open tabs with files, branches,…

Anton Linevych
- 203
- 2
- 10
2
votes
0 answers
"fileloop-next-file: Read error: Is a directory" when running project-query-replace-regexp
Hitting this error when trying to run project-query-replace-regexp. The project I'm working under has git submodules, if that could cause any issues? (Redacted some of the directories and search strings)
Debugger entered--Lisp error: (file-error…

abroekhof
- 173
- 5
2
votes
1 answer
How change name of file "projects" and set it in init.el?
Emacs 27.2
In ~/.emacs.d/projects
This file content all my projects.
press d
But I need to change file name. E.g. projects-laptop.
Is it possible and and set it name on init.el file?
P.S. For bookmarks has variable: bookmark-default-file
But I…

a_subscriber
- 3,854
- 1
- 17
- 47
2
votes
2 answers
How to use xref-find-references on Elisp files without "No references found for" errors
I am using GNU Emacs 26.3 on Ubuntu 19.10.
I have a directory full of Emacs Lisp files with the .el file extension. All of them are loaded into the currently running Emacs. I can open up one of those files, put point on a function that is being…

bgoodr
- 339
- 2
- 12