2022 Developer Survey is open! Take survey.

Questions tagged [configuration-files]

Questions specifically about configuration files other than the init file. Do not use this tag for questions about how to configure something, only for questions specifically about the configuration files.

Filter by
Sorted by
Tagged with
0 votes
1 answer
15 views

How to load dotspacemacs/user-config from a different file?

My default spacemacs dotfile defines dotspacemacs/user-config, and I suppose my user config is supposed to go inside this function. However the file itself is quite large and I'd like to isolate my ...
user avatar
  • 11
1 vote
0 answers
27 views

How to share `abbrev_defs` across multiple systems

I keep my abbrev_defs file in a git repository so I can share my abbreviations across systems. Unfortunately, the count feature of abbrev-mode leads to little changes in the :count property of defined ...
user avatar
0 votes
1 answer
104 views

Setting latex compiler

I was happily running emacs with a locally installed texlive in ~/texlive/2021 on manjaro KDE. But I decided to switch to Gnome. So, installed necessary packages, removed the ones I did not need and ...
user avatar
  • 1,668
0 votes
0 answers
39 views

How can I make treemacs persist project hierarchy?

After opening a new project and working, I may expand some directories. For example, a new opening of the test project displays: test + test-facade + test-service .gitignore .project pom....
user avatar
  • 1
1 vote
0 answers
798 views

Doom emacs config does not fully load at start up

I am on Doom emacs, and have placed various scripts in my config file. These are mainly new keybindings and options for packages, e.g. (define-key org-mode-map (kbd "s-;") 'org-agenda) ; ...
user avatar
1 vote
1 answer
113 views

Change location for straight.el working directories?

I’d like to put my dotConfig files into DropBox, including my .emacs.d folder. I’d like to use these across computers and across OS’s. I’ve split out part of my init.el into per-computer files (...
user avatar
0 votes
0 answers
43 views

Emacs PDE seems to ignore PERL5LIB environmet variable to use @INC

I'm using emacs 26.3 under FreeBSD 12 environment and try to use PDE. My problem is that in the runtime environment the modules (@INC array) are properly addressed by the PERL5LIB variable. But using ...
user avatar
  • 101
0 votes
1 answer
471 views

Activate personal configuration to the config with load-file and require

I created personal my-config in .doom.d and have 'my-org-agenda` etc within it. #+BEGIN_SRC shell :results output tree ~/.doom.d | head #+END_SRC #+RESULTS: #+begin_example /home/me/.doom.d ├── ...
user avatar
  • 1,089
1 vote
0 answers
42 views

Storing and Loading Non-Static/Multiple Configs

I'm writing an emacs wrapper to a set of scripts that require a lot of config settings to run. These can be variously environment variables, command line parameters and so forth. They should be user ...
user avatar
  • 463
1 vote
3 answers
144 views

Can i export LaTex to a .tex file?

I'm cofiguring emacs with org. Principally I wrote in emacs using .org file so i want a standard header file where i define al my "use package" file in particular: \usepackage{geometry} \usepackage{...
user avatar
0 votes
1 answer
36 views

require 'modename vs require 'modename-install

I hope to use org files for my configuration. And I found some use (require 'org-install), and some use (require 'org). Any differences?
user avatar
  • 127
0 votes
1 answer
174 views

emacs finds one package, not another

WHAT WORKS FINE. When I compile a .tex file with C-c C-c, emacs knows that it should use pdflatex. I don't really know how, because I don't see pdflatex in my .emacs nor init.el (I can't find an ....
user avatar
  • 195
11 votes
1 answer
8k views

How to reload .emacs.d/ configuration without restart

When I change any custom configuration file in the .emacs.d/elisp/ directory, I have to quit Emacs and then start it again in order to get my changes applied. Is there any better way?
user avatar
  • 213
1 vote
1 answer
104 views

How to set FTP TRAMP/ANGE connection configuration

With SSH I can add connections to my SSH config file at /.ssh/config Once added to the config file emacs will auto-complete these connections when using tramp integrations like find-file /ssh: I ...
user avatar
0 votes
0 answers
48 views

C-d in java-mode not being overwritten by .emacs file

So I have a custom .emacs file that I have a series of key strokes bound to. The specific key stroke that I'm speaking of is C-d which I have bound to left-word via the line (global-set-key (kbd "C-d"...
user avatar
  • 163
0 votes
0 answers
158 views

C-x C-f Edit File As Root [duplicate]

Is there a way to open a local file for editing as a root? I need to make some changes to a config file located at ~/.emacs.d/init.el, but the Emacs tells me that the buffer is read-only.
user avatar
1 vote
0 answers
461 views

How can I dynamically set the column width that I'd like to font-lock?

My init currently has the following: (defun font-lock-width-keyword (width) ...
user avatar
  • 203
0 votes
1 answer
376 views

In Spacemacs, how can I conditionally set line-wrapping on only for text files (i.e. in text mode)?

I want to have Spacemacs wrap around long lines, but only in text files (i.e. text mode), not in programming language files (i.e. program mode). How could one achieve that? I know that to turn on ...
user avatar
  • 253
1 vote
1 answer
298 views

Magit function to push

Specially when editing my init.org file, I usually want to push every single change to origin. So I want to write a function to do this, I am almost there but still need some help. (defun cesco/...
user avatar
  • 364
1 vote
0 answers
106 views

Constrain Eclim to java files

I am using eclim and I am loving it! But I had to disable eclimd-autostart because it keep trying to fire up eclimd when I pop a .js buffer. Autostarting of eclimd is disabled, please start eclimd ...
user avatar
  • 364
1 vote
1 answer
647 views

Copying Emacs configuration to different computer

I configured Emacs on one computer and copied ~/.emacs to a different computer. That other computer uses a newly installed operating system. Both computers run Ubuntu 16.04 with the latest updates ...
user avatar
  • 845
1 vote
1 answer
615 views

Where would be the most appropriate directory to put my own Emacs-lisp files in Spacemacs?

I want to create an Emacs-lisp file to store my org-mode configuration. This file will be loaded by dotspacemacs/user-config. My question is where would it be the standard directory (if any) where I ...
user avatar
  • 485
2 votes
2 answers
731 views

Spacemacs modeline color mismatch

Problems with my modeline separator aren't quite the "Ugly separators" problem as seen here. But the color is slightly off, as in this screenshot. I can solve it with this piece of code. But then ...
user avatar
0 votes
0 answers
56 views

.emacs location [duplicate]

I am trying to locate .emacs file . I have installed emacs auctex from a zip file obtained from ctan.org on windows 7. I tried to search.emacs within directory but nothing returned. Kindly help
user avatar
  • 523
2 votes
3 answers
2k views

two different config files for Emacs

I am looking for method to use two different config files - init files. First config: when I am coding in full Emacs windows (open file as emacs namefile this define ~/.emacs_conf2) Second: when I ...
user avatar
0 votes
1 answer
406 views

What's the best way to organize personal configurations in Spacemacs? [closed]

For plain Emacs, I used to use the following methods to organize my configurations: Put logically related configurations into different files; Organize with Org Babel. Now I'm trying to use ...
user avatar
  • 425
2 votes
0 answers
102 views

specify global-abbrev-table in a separate file

I know one can define where abbrev files are saved with something like this (setq abbrev-file-name "/home/zeltak/.emacs.d/abbrv/personal_abbrv.txt") but this file has several section like (define-...
user avatar
  • 1,605
2 votes
1 answer
68 views

Is there a way to make emacs adhere to fdo spec?

There's freedesktop.org spec for config placement. Most of the software adheres to it placing config files into ~/.config, cache files into ~/.cache etc. This greatly simplifies backups, config ...
user avatar
  • 242