Questions tagged [config]

The tag has no usage guidance.

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

How to use an Easy PG encrypted custom-file?

So, inspired by this article. I decided to try adding the following to my init.el: (setq custom-file (expand-file-name "secret.el" user-emacs-directory)) (load custom-file) Where the file in ...
0
votes
0answers
10 views

Split frame as 2×2 max, with horizontal priority

Well, this is another window configuration question, and I feel like I'm totally missing the point. I have been spending the last couple of hours messing with split-height-threshold, split-width-...
0
votes
1answer
89 views

Is it possible to change to Emacs input mode with Doom Emacs?

It's default input mode is vim. Didn't find the toggle option like Spacemacs with M-m t E. https://github.com/hlissner/doom-emacs
-1
votes
1answer
31 views

How to include packages into my configuration?

a total newb when it comes to spacemacs. Firstly I just want to get spacemacs to work properly and I have the issues regarding the missing wrapping feature like in the following link (Make visual-line-...
0
votes
1answer
49 views

prog-mode-hook not recognizing .ex files in user-config

I'm trying to display prettify-symbols-mode to display for certain characters. I would like for this minor mode to be enabled across all programming languages - thus prog-mode. When I navigate to a ....
0
votes
1answer
36 views

How to change org-babel interpreter location

Say I have my ditaa interpreter pointed to at /home/user/.emacs.d/elpa/contrib/scripts/ditaa.jar, how would I set it so it points to a different location?
2
votes
0answers
422 views

Enhance python lsp-mode with elpy functions and keybindings

I've been using Elpy for a long time and have grown used to many of the default keybindings. I recently decided to give lsp-mode a go to see how it compares. I set it up following this blog and made ...
7
votes
2answers
258 views

It is possible to instrument a literate Org-mode configuration file with a backing Emacs Lisp file?

It is a common practice to write Emacs configuration files using literate-programming style in Org mode. Unfortunately, while improving readability, this comes with significant programming ...
2
votes
2answers
173 views

make frames and open specific buffers in succession

im trying to launch emacs with specific named frames and want each frame to have a specific buffer opened in a specific frame (ie have the frame named FM opned a dired buffer at `~/~) this is my ...
1
vote
0answers
33 views

Automatically download external packages

How can I configure my init.el download packages that are not in (M)Elpa and install them automatically (if not already installed)? Something like doing it with wget or with git (as you do in vim) ...
0
votes
1answer
72 views

How to change setting for all modes except one?

How can I chance an Emacs config setting (let's say "highlighting of current line") that I set in .emacs as (global-hl-line-mode +1), to work for all modes except one. For example, I want ...
3
votes
2answers
121 views

How to make the natural language for Emacs be English?

My computer's default language is Portuguese, and I don't want to change that. But, for some usages (especially programming) it's better to have English output, for example to copy/paste an error ...
0
votes
1answer
26 views

remember-mode set custom dateformat for headers

Is there a way I can customize the "header" of a remembered note? I couldn't find it in the docs. With the following set up (use-package remember :bind (("C-c r r" . remember) ("C-c r n" ....
0
votes
0answers
207 views

how to use multiple emacs distributions?

I'd like to use multiple emacs distributions e.g. spacemacs, prelude, starter-kit and my personal config for demonstration purposes. What would be some recommended ways to realize this?
11
votes
3answers
7k views

How to change the current working directory?

how to change the current working directory of emacs? set default-directory doesn't not affect the emacs process's current working directory, which can be verified via lsof -p pid.
4
votes
2answers
780 views

Use several Emacs configurations/versions simultaneously

I want to use several emacs configurations/versions simultaneously so that no configuration disturbs each other, each with their own configuration directory and elpa repository. I heard about the ...
11
votes
2answers
2k views

Does emacs have an option to display build settings?

Does emacs have an option or some internal command that displays build time settings and whatever features it supports? A good example is the nginx -V command which lists the ./configure options it ...
0
votes
1answer
28 views

Having same commands in different Emacs configuration files.

I am using Prelude Emacs and it has different configuration files. I keep my configuration files inside ~/.emacs.d/personal/. . Say, I have a command (menu-bar-mode 1) that enables menu bar inside ...
1
vote
0answers
148 views

Organizing configuration for publishing images created via TikZ inline code

I use Emacs + org-mode to maintain my website. Here some related parts of my configuration: (defvar personal-website-remote-directory-prefix "/ssh:***:/srv/www/stefanorodighiero.net/") (defun ...
0
votes
1answer
134 views

What is the emacs/elisp equivalent of 'include'?

I added some define-key commands to the dotspacemacs/user-config function in .spacemacs ;; Fix SHIFT + arrow keys inside screen/tmux (define-key input-decode-map "\e[1;2A" [S-up]) (define-key input-...
2
votes
1answer
1k views

File error: Cannot open load file, no such file or directory, multi-web-mode

I want to load the multi-web-mode package and have put it in ~/.emacs.d/ or ~/ or ~/.emacs.d/lisp/(so far). My .emacs contains the standard from the multi-web-mode distribution: (require 'multi-web-...
1
vote
1answer
174 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 ...
1
vote
3answers
1k 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 ...
3
votes
2answers
744 views

How can i start web-mode at a file's startup?

I want my emacs to start .php and others web files in web mode so i copied this code which is on the web-mode webpage: (require 'web-mode) (add-to-list 'auto-mode-alist '("\\.phtml\\'" . web-mode)) (...
16
votes
4answers
3k views

How to get the same Emacs environment on a different computer?

I'm a beginner in Emacs (using it for about 2 weeks now and loving it). As I update and expand my ~/.emacs.d/init.el file, the things that I write in there depend on certain packages that I installed ...
4
votes
2answers
2k views

Can't adjust font size anymore in emacs 25

I just upgraded Emacs to 25.1.1 (via the Arch Linux package manager pacman). Now I can't set the font size in my .emacs anymore. I am able to adjust it via C-x C-+ and C-x C--, and I can also use M-...
2
votes
1answer
267 views

Looking For Simple Bookmark Package

Can you recommend, a good bookmark package? Yes, emacs standard has bookmarks. Although, hate naming them. Just want something small, not uber sophisticated (like bookmark+). (It crashes my setup, at ...
0
votes
1answer
90 views

bookmark+: after emacs restart the bmkp-jump-dired/bmkp-jump wont work before visiting buffers

this is a weird issue regarding Bookmark+. after an emacs restart the bmkp-jump-dired/bmkp-jump-1 functions wont work (when I launch them via a command such as in a hydra) before visiting the buffers. ...
6
votes
1answer
309 views

What controls things like cursor appearance in a terminal?

In the GUI version of Emacs, it is easy to see that something like (blink-cursor-mode t) makes the cursor blink. However, in a terminal emulator, such as on Mac OS X, it is possible to set things ...
2
votes
1answer
3k views

Where to put user configurations/defaults for spacemacs?

I am a vim user trying to covert to emacs/spacemacs, but I'm having a horribly difficult time configuring things that seem like a breeze others. I want to limit the fill to 80 (mainly for .txt files ...
5
votes
1answer
2k views

Configure Magit user name and email

Windows has an environment variable HOME which is on a remote serve (say Y:/, set by administrator and suppose not to be changed) and I start Emacs on my local disk, say C:/. (Emacs becomes slow if I ...
2
votes
1answer
163 views

Sources for Auto-Complete

I still feel a strong disturbance when it comes to auto-complete in emacs. From what I have read in the docs, you can easily extend auto-complete by any syntax you like. Looking through (M)ELPA there ...
0
votes
1answer
57 views

Overriding configuration folder defaults

I have a few different configuration files for Gnus. I don't fully understand best practice here, but I'd like to move them out of my user home directory so that my path is ~/.emacs.d/gnus/gnus, ~/....
4
votes
0answers
94 views

Get describe-key links to bring me to org-mode config files, not .el config files?

For my Emacs configuration, I use a literate programming setup. My config files are in org-mode format, and my init.el file consists mostly of org-babel lines like (org-babel-load-file "~/emacs/...
0
votes
0answers
21 views

Yasnippet with CEDET [duplicate]

I used to launch yasnippet just with c-mode with a hook in my .emacs but after adding some code to use CEDET and ECB yasnippet doesn't run automatically. I guess some modes may have been overwritten ...
0
votes
0answers
98 views

Double-Mouse-1 doesn't do selection

When I do a double click, I don't see any selection. Is there anything I need to enable to make it work? Other mouse functionalities work fine. See http://www.gnu.org/software/emacs/manual/html_node/...
0
votes
0answers
102 views

scss-mode compile not reading config.rb

Just discovered scss-mode and it's concomitant compile-on-save (very cool). However, I keep getting errors because sass it is not reading ../config.rb. I can find no variables in scss-mode nor params ...
3
votes
3answers
1k views

different emacs configurations

I want to use Emacs for programming in Clojure, Mathematica and for taking notes in class. I am using the Emacs configuration provided by "Clojure for the Brave and Bold", which pretty heavily ...
0
votes
2answers
116 views

Get web-mode to ignore file extension and racket-mode to honor it

I use both web-mode and racket-mode often. I am also using Pollen, a Racket language for processing text. Pollen uses compound file extensions like: pynchon.html.pm stephenson.css.pp wallace.html.pmd ...
1
vote
1answer
362 views

UNIX config files, load conf-unix-mode

I work a lot with unix config files (i.e the files in /etc in the various linux system) that have no extension. How can I set-up my .emacs file to load conf-unix-mode on those files?
1
vote
2answers
2k views

Unable to link emacs.d directory

I moved .emacs.d folder from home directory to a folder called dot_files so that it will be easy to sync various dot files. From there I have linked it to home so that emacs can load that ...
0
votes
0answers
166 views

How can I get the same emacs experience on any computer?

I really enjoy my emacs config (the autocomplete and indentation settings, the use of things like jedi and tern etc.) Most of the time I use emacs at home on my personal macbook pro laptop but I am ...
1
vote
0answers
40 views

How files in the etc directory should be accessed?

When invoking C-h h, emacs opens a HELLO file located in Emacs.app/Contents/Resources/etc directory (under Mac OS X). I looked for myself and there are tons of interesting files (JOKES, PROBLEMS, etc.)...
2
votes
3answers
535 views

How can I determine which package is adding .emacs.d to my load-path?

I have a bunch of packages installed. One of them is adding ~/.emacs.d to my load-path, which Emacs is (unsurprisingly) complaining about. I could be incorrect here, but: Attempting to bisect my ...
0
votes
1answer
362 views

(wrong-type-argument stringp nil) [36 times] when loading emacs, even with init.el commented out

I'm definitely loading the correct file. There's no rogue ~/.emacs or byte compiled file. When I load emacs, even with my entire init.el commented out, the first line in *messages*, the first line is ...