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.
35 questions
0
votes
0
answers
40
views
How can I install Emacspeak?
I find some lengthy instructions on the website, but I also see that's it's available with use-package, but I get an error
Debugger entered--Lisp error: (void-function ems-generate-switcher)
(ems-...
0
votes
0
answers
45
views
Preferred way of configuration testing
I recently ran into a problem with configuration, caused by a malformed database path for a certain package. This causes a problem in emacsql-sqlite, because it tries to treat the folder name as a ...
1
vote
0
answers
93
views
How can I configure my emacs so I can program in java?
I installed Emacs recently, because I already had a good experience with Vim (another ide that gives the user freedom to modify the ide as the user wants) and as I am studying Java together with Elisp ...
2
votes
1
answer
66
views
Setting gud-gdb-command-name in .dir-locals.el
For my current project I have been trying to configure it so I don't need to explicitly type compile and debug commands each time I start a new emacs session.
In my .dir-locals.el file I have:
((nil . ...
2
votes
1
answer
117
views
Configuring Key-bindings from Org-Table
I use init.org file to configure my emacs, and then tangle it into init.el.
Now, I would like to configure my keybindings from org-table (for more readable and printable).
Basically, I'd like to only ...
0
votes
1
answer
217
views
What configuration file should I modify to affect tramp configuration?
I am new to Emacs.
I run Linux. I'd like to tramp into a Windows machine, so that I can edit the files on the Windows machine from the comfort of my Linux system.
Apparently, you have to change the ...
0
votes
1
answer
21
views
Error when opening .sh files (void-function sh-set-offset)
I've updated and now I get this error when opening a new .sh file, or any .sh file for that matter.
Any pointers as to what I can try?
Any smart bisect method to use when I have a literate emacs file?;...
1
vote
0
answers
168
views
.bashrc environment variables not picked up by Spacemacs?
I've added a few environment variables to my .bashrc file, some of these are paths to customized bin/programs, such as:
export MY_ENV_PATH_VAR=/home/user/path/to/bin
I've refreshed spacemacs' ....
1
vote
1
answer
239
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 ...
4
votes
1
answer
83
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 ...
0
votes
1
answer
698
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 ...
1
vote
0
answers
2k
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) ;
...
1
vote
1
answer
389
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 (...
1
vote
0
answers
96
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 ...
0
votes
1
answer
913
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
├── ...
1
vote
0
answers
43
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 ...
1
vote
3
answers
167
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{...
1
vote
1
answer
118
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?
0
votes
1
answer
180
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 ....
12
votes
1
answer
12k
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?
1
vote
1
answer
130
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 ...
0
votes
0
answers
55
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"...
0
votes
0
answers
169
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.
1
vote
0
answers
471
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) ...
0
votes
1
answer
494
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 ...
1
vote
1
answer
362
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/...
1
vote
0
answers
107
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 ...
1
vote
1
answer
956
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 ...
3
votes
1
answer
760
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 ...
2
votes
2
answers
936
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 ...
0
votes
0
answers
57
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
2
votes
3
answers
3k
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 ...
0
votes
1
answer
456
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 ...
2
votes
0
answers
115
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-...
2
votes
1
answer
70
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 ...