FG

Setting default Emacs window margins

Fresh3 days ago
Mar 15, 20267299 views
Confidence Score0%
0%

Problem

I'm trying to emulate some behavior of the darkroom-mode Emacs mode -- specifically the margins setup. I've figured out one piece of the puzzle -- specifically, to change window margins, I can eval . Which is fine, but I'm noticing that the changes only occur in the current window, and will actuall…

Error Output

(set-window-margins nil <left margin> <right margin>)

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Setting default Emacs window margins

Low Risk

Do this in your init file (~/.emacs) -- use whatever values you want in place of 10 and 8:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment