New answers tagged

2 votes
Accepted

so-long not detecting a long line in compilation output

See the final paragraph of the Introduction in the documentation: Note also that the mitigations are automatically triggered when visiting a file. The library does not automatically detect if long ...
phils's user avatar
  • 48.9k
0 votes

so-long not detecting a long line in compilation output

You quoted all of the code that you added to your init file, so of course the code was never evaluated.
db48x's user avatar
  • 16k
2 votes

Advantages of setting variables with setq instead of custom.el?

Emacs 29 introduced a macro, setopt, for setting options outside of the customization interface. Like Drew explained, setq doesn't work right for options that use :set: for example try (setq show-...
Arch Stanton's user avatar
  • 1,545
1 vote

What is the init.el in doom emacs?

The location of your current init file is stored in the variable user-init-file. You can see what its value is by invoking M-x describe-variable (I'm not a Doom Emacs user, but I think the keybinding ...
Tristan Riehs's user avatar
0 votes

"Error (frameset): Wrong type argument: number-or-marker-p, nil" How to debug it?

I found the answer at https://stackoverflow.com/questions/18612742/emacs-desktop-save-mode-error#comment47963002_26546872 (setq desktop-restore-forces-onscreen nil)
Nils Landt's user avatar
1 vote

Search path for lisp files

The answer depends on your build of Emacs. You can get this information by starting Emacs using the initialisation file you mentioned, and invoking C-h v load-path RET. The help window will display ...
Tristan Riehs's user avatar
2 votes
Accepted

How to start emacs with a custom user-emacs-directory

In Emacs 29+, set the user-emacs-directory with the flag --init-directory.
Gavin's user avatar
  • 218
0 votes

Emacs Won't Load My ~/.config/emacs/init.el... Unless I Do This

See the Emacs manual, node Action Arguments. That tells you how to use command-line option -l to load a library: -l FILE’ --load=FILE Load a Lisp library named FILE with the function load. If FILE ...
Drew's user avatar
  • 75.8k
0 votes
Accepted

Emacs Won't Load My ~/.config/emacs/init.el... Unless I Do This

Well, obviously if you specify just the filename init.el then Emacs can only look in the current directory for the file. If you want it to load the file from a specific directory, simply specify the ...
db48x's user avatar
  • 16k

Top 50 recent answers are included