31
votes
Accepted
Does emacs have an option to display build settings?
Take a look at the system-configuration-options variable.
Here's an example, which is the result of running C-h v system-configuration-options
system-configuration-options is a variable defined in `C ...
31
votes
11
votes
How to get the same Emacs environment on a different computer?
If you use use-package, you can move that file around from computer to computer, and when Emacs starts up, as long as you have internet access, it will pull in the packages and configure them.
First, ...
9
votes
How to get the same Emacs environment on a different computer?
Next-generation package management with straight.el
After a long and frustrating struggle to use package.el + Quelpa to manage my packages, I bit the bullet and wrote my own package manager. It is ...
9
votes
Accepted
How to get the same Emacs environment on a different computer?
The correct solution is to use straight.el, a package manager that I wrote to solve this problem. You can find more details about this in another answer to this question.
This answer, which was ...
8
votes
different emacs configurations
How can I keep multiple profiles for Emacs?
In a single init file. As others have suggested in the comments above, this is easily done in emacs without having multiple profiles.
A single init file ...
8
votes
Accepted
Where to put user configurations/defaults for spacemacs?
setting default value for auto-fill-column
Normally, you'd put such configuration in dotspacemacs/user-config, which is a function in your dotfile (~/.spacemacs).
It's possible to use a ~/.spacemacs....
8
votes
How to change the current working directory?
C-h f cd:
cd is an interactive compiled Lisp function in files.el.
(cd DIR)
Make DIR become the current buffer’s default directory.
If your environment includes a CDPATH variable, ...
5
votes
File error: Cannot open load file, no such file or directory, multi-web-mode
You can type M-x ielm
Then in the REPL type load-path to see what the default is.
I know package manager appends to it but I'm not sure what else (if anything) does. You can add (add-to-list 'load-...
5
votes
Accepted
Configure Magit user name and email
Since Magit can't find my .gitconfig file even though it is in the HOME path of Emacs, git config --system can be used to change user name and email such that Magit can find them.
5
votes
Accepted
Unable to link emacs.d directory
Symlinks usually work fine in this scenario, so that's unlikely to be a problem.
You should check the file and directory permissions.
5
votes
Can't adjust font size anymore in emacs 25
This is most likely an instance of Emacs bug#25228 - custom-set-faces from init file ~/.emacs ignored. Basically Emacs is applying gconf settings which override your customization (Emacs versions ...
5
votes
Use several Emacs configurations/versions simultaneously
I just did that using chemacs.
Considering you don't have an .emacs file in your home folder you can follow this instruction to install it:
Clone the Git repository, and run install.sh
$ git clone ...
5
votes
Accepted
How to change the current working directory?
I think the only way Emacs offers to control the cwd of the process is the --chdir command line argument. Once the process is started, there is currently no way to modify it.
5
votes
Accepted
How to make the natural language for Emacs be English?
I would like to have emacs in English only,
Emacs is already English only.
to have for example eshell or built-in gdb output in English.
gdb output is not builtin to Emacs, it comes from gdb. By ...
4
votes
Accepted
What controls things like cursor appearance in a terminal?
The terminal application has full control over the graphical elements. The gui terminal app will give text applications some control via “escape codes”. For example, vt100/xterm terminals, including ...
4
votes
Accepted
UNIX config files, load conf-unix-mode
If you mean specifically "all files in the /etc/ directory," you could add an absolute path to your auto-mode-alist:
(add-to-list 'auto-mode-alist '("/etc/.*" . conf-unix-mode))

Dan♦
- 31k
4
votes
How to get the same Emacs environment on a different computer?
You can use cask to manage your packages. Use git/github to source control and sync your emacs dotfiles.
4
votes
Does emacs have an option to display build settings?
Dunno about a command-line switch, but:
If you use library emacsbug+.el, which enhances standard library emacsbug.el, then you can use command ebp-insert-version with a prefix arg, to insert the ...
4
votes
Copying Emacs configuration to different computer
On the first computer you have AUCTeX installed, on the second one emacs is using its default mode for editing tex files.
4
votes
two different config files for Emacs
As I can see from one of your comments, the main point is to run Emacs faster in some cases. Then there are several options for you.
You can load your GUI-related configuration only when you run ...
3
votes
two different config files for Emacs
You can achieve this "fast load, slow load" using the server/client functionality of emacs, which works like this:
Emacs can be started as a server. This can either be done as a stand-alone, running ...
3
votes
Accepted
How can i start web-mode at a file's startup?
This line is in error:
(add-to-list 'auto-mode-alist '("\\.tpl\\.php\\'" . web-mode))
It doesn't open .tpl files and .php files in web-mode, it opens files ending .tpl.php in web-mode.
Amusingly, I ...
3
votes
Accepted
What is the emacs/elisp equivalent of 'include'?
The easiest way is to use load.
(load-file "~/elisp/foo.el")
More ways you can find in the Spacemacs configuration layer docu.
3
votes
How can I determine which package is adding .emacs.d to my load-path?
The Bug-Hunter may be able to help you with that.
Install the bug-hunter package from the Package-Menu.
Invoke M-x bug-hunter-init-file
It will ask you for an assertion, type (or paste) in the ...
3
votes
How can I determine which package is adding .emacs.d to my load-path?
Two approaches come to mind.
Use rgrep
... to search for offending code:
Open your elpa directory in Dired. If you're not sure where this directory is located, check the value of package-user-dir ...
3
votes
Accepted
How to change org-babel interpreter location
(setq org-ditaa-jar-path "/path/to/your/ditaa.jar")
3
votes
Accepted
Is it possible to change to Emacs input mode with Doom Emacs?
The vi emulation of Doom is provided by evil-mode (see Section "Feature Highlights" of readme.md).
The Evil Manual says in Section 1.2 "Modes and states" that you can toggle ...
3
votes
How to configure emacs to start in the middle of the screen, and not in the top left corner?
Customize default-frame-list to have values for frame parameters top and left that put it in the middle of your screen. (Use M-x customize-option default-frame-alist.)
If that doesn't do the job ...
3
votes
How to change Emacs' word movement behaviour?
I use these commands to skip words but stop around symbols,
(defun reluctant-forward (&optional arg)
"Skip spaces and tabs following the point, then move past all
characters with the same ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
config × 70init-file × 24
org-mode × 8
spacemacs × 6
configuration-files × 6
org-babel × 4
start-up × 4
package × 3
doom × 3
latex × 2
magit × 2
python × 2
frames × 2
web-mode × 2
bookmarks × 2
literate-programming × 2
org-export × 1
org-agenda × 1
evil × 1
elisp × 1
debugging × 1
fonts × 1
major-mode × 1
git × 1
themes × 1