Questions tagged [margins]
12 questions
3
votes
0 answers
Can word-wrap / visual-line-mode have different right margins per paragraph?
When visual-line mode is enabled, words wrap at the window edge. When the window is wide, this makes much too long of a line for comfortable reading. To fix that I have found visual-fill-column-mode, which makes it so that words wrap at a 70-column…

crowding
- 170
- 5
3
votes
0 answers
Prevent Emacs from scrolling past the last line
Obviously Emacs never scrolls "above" the first line of the buffer. By contrast, it shows a bunch of empty space after the document if you scroll to the last line:
I want to make the bottom line behave the same way; essentially similar to this…

Andrii Kozytskyi
- 55
- 4
2
votes
2 answers
Setting a default page margin for org latex export
So far, I have set org-latex-packages-alist to '(("margin=2cm" "geometry")),
but if the geometry-package is explicitly loaded in a document, I get a clash.
I can use \newgeometry{margin=1cm} in the document,
but then latex produces errors on…

xeruf
- 324
- 1
- 12
2
votes
1 answer
Left margin grows while typing
My buffer slips to the right while editing a file. Whenever I press a button, left margin area grows one character. This isn't happening for all files. My buffer normally looks like this:
line with text
another line with text
After I push a…

kurtfu
- 151
- 7
2
votes
0 answers
Adding padding between the fringe and the text
How can I add padding between the right side of the fringe and the left side of my code?
I have tried using (set-window-margins nil 1) but the margin is on the left side of the fringe. I'd like to have it on the right side, for more reading clarity…

Florent
- 121
- 3
1
vote
0 answers
clickable buttons on headings
Emacs shows clickable buttons when visiting NEWS (C-h n):
This is controlled by outline-minor-mode-use-buttons.
How to make Org do the same thing?

shynur
- 4,065
- 1
- 3
- 23
1
vote
0 answers
Why can't I create a full-width overlay and display in the margins at the same time?
I want to create an overlay (or, to avoid X-Y problems, a multicolored, multilayered, visually distinct line at an arbitrary position that cannot be removed, like a page-break) that spans the entire "page", by which I mean the margins and buffer…

tefkah
- 101
- 6
1
vote
0 answers
Evil commands reset margin
I'm using evil-mode and olivetti-mode, which adjusts the margins so that the text is centered in the window. My screen usually looks like this:
Voluptatem tempore unde eveniet cumque dolores
aliquid veritatis. Rem ea…

Moira Jones
- 111
- 2
1
vote
0 answers
Setting margins in `text-mode`
I use text files for most of my work.
But for printing them on letterhead, I need to set margins to say 3 cm for upper margin and 2.5 cm for lower.
Is there any way I can define them in text-mode. Can I make them default for all my docs.
I don’t…

Vaibhav
- 573
- 3
- 15
0
votes
1 answer
How to set display margins for markdown-mode buffers?
Is there a way to set the display margins for markdown-mode buffers? I've read https://www.gnu.org/software/emacs/manual/html_node/elisp/Display-Margins.html and various suggested solutions but nothing has worked for me. This is what I have…

jth
- 101
0
votes
1 answer
How do I specify the left and right margins of buffers at a percentage, not a fixed value?
I want to mainly margin only the left side, for example, to set the left margin to about 30% of the total width and 5% on the right side.
I'm using olivetti now but this package doesn't seem to be able to specify separately on the left and right. Is…

roomworoof
- 394
- 2
- 9
0
votes
1 answer
mouse click in margins to move point (gui macos) rather than error?
Currently, I have text modes configured with wide margins for readability with
(defun text-margins ()
(setq left-margin-width 16)
(setq right-margin-width 16))
(add-hook 'text-mode-hook 'text-margins)
in my init.
And this is great, except that…

Paul Gowder
- 147
- 6