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
64 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 ...
John Smith Optional's user avatar
0 votes
0 answers
17 views

How to center logo in spacemacs banner?

I am running Spacemacs in a laptop with 4K monitor and I enabled scaling to 200%. When I start Spacemacs it looks like this: I have set dotspacemacs-startup-banner-scale to 2.5. Why isn't the logo ...
Jeff's user avatar
  • 537
0 votes
0 answers
105 views

In org-babel, when and why does `:tangle yes` prevent preceeding code blocks from being executed?

I wonder if it's just me or an org-mode bug. Often, but unfortunately not always, when I set a code block's tangle property in org-mode to yes, the tangled file gets truncated just above this code ...
henning's user avatar
  • 82
0 votes
0 answers
31 views

Setting file-local comment character

I am trying to set the comments character to * in conf-mode with this file-local line: * -*- mode: conf; comment-start: "*" ; comment-start-skip: "\\* [ ]*" -*- normal line * ...
quazgar's user avatar
  • 341
0 votes
0 answers
23 views

Migrating from .Xresources to init.el

In emacs, is it possible to configure toolkits (Lucid, Motif) widgets in the emacs configuration, instead of using .Xresources? For instance, how the resource *Emacs*pane.menubar.margin : 1 would be ...
Romildo's user avatar
  • 153
0 votes
1 answer
18 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?;...
Jason Hunter's user avatar
1 vote
0 answers
76 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' ....
stigma's user avatar
  • 113
1 vote
1 answer
156 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 ...
Jessica's user avatar
  • 133
4 votes
1 answer
65 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 ...
Michael Hoffman's user avatar
0 votes
1 answer
399 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 ...
deshmukh's user avatar
  • 1,852
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) ; ...
Nick Riches's user avatar
1 vote
1 answer
266 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 (...
MikeTheTall's user avatar
1 vote
0 answers
67 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 ...
huckfinn's user avatar
  • 113
0 votes
1 answer
765 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 ├── ...
AbstProcDo's user avatar
  • 1,231
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 ...
Phil's user avatar
  • 533
1 vote
3 answers
158 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{...
acidwinzip 77's user avatar
1 vote
1 answer
72 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?
Chen Li's user avatar
  • 137
0 votes
1 answer
178 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 ....
Antoine's user avatar
  • 205
11 votes
1 answer
11k 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?
Ribtoks's user avatar
  • 213
1 vote
1 answer
113 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 ...
kevzettler's user avatar
0 votes
0 answers
51 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"...
Michael's user avatar
  • 163
0 votes
0 answers
165 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.
MadPhysicist's user avatar
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) ...
VF1's user avatar
  • 203
0 votes
1 answer
409 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 ...
Louis15's user avatar
  • 263
1 vote
1 answer
346 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/...
CESCO's user avatar
  • 364
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 ...
CESCO's user avatar
  • 364
1 vote
1 answer
849 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 ...
UTF-8's user avatar
  • 895
3 votes
1 answer
701 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 ...
Jeff's user avatar
  • 537
2 votes
2 answers
862 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 ...
Nutritioustim's user avatar
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
Vaibhav's user avatar
  • 573
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 ...
MichalSzczep's user avatar
0 votes
1 answer
425 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 ...
Ben's user avatar
  • 425
2 votes
0 answers
110 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-...
zeltak's user avatar
  • 1,685
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 ...
god's user avatar
  • 266