Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [margins]

The tag has no usage guidance.

8 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5 votes
0 answers
232 views

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, ...
crowding's user avatar
  • 190
3 votes
0 answers
437 views

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 ...
Andrii Kozytskyi's user avatar
2 votes
0 answers
1k views

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 ...
Florent's user avatar
  • 121
1 vote
0 answers
49 views

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's user avatar
  • 5,328
1 vote
1 answer
52 views

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 ...
jth's user avatar
  • 111
1 vote
0 answers
143 views

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 &...
tefkah's user avatar
  • 111
1 vote
0 answers
35 views

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 ...
Moira Jones's user avatar
1 vote
0 answers
337 views

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. ...
Vaibhav's user avatar
  • 583