Questions tagged [display]

is for Emacs display features, which includes scrolling, fonts, colors, and placement of text or images.

Filter by
Sorted by
Tagged with
6
votes
1answer
475 views

Determine whether a frame is shown on primary display

I have a multi-monitor setup, in which a specific monitor has a dedicated Emacs frame in full screen which shows compiler errors (from Compilation Mode or SBT Mode). I'd like to preserve the setup ...
79
votes
7answers
24k views

How can I get a ruler at column 80?

As a programmer, I want to see a ruler at a specific column (usually 80), both so I see when I cross that column, but also to see how close I am getting to it so I can reformat my code early. The ...
7
votes
3answers
914 views

Distinguish between blank lines at end of buffer and bottom of window?

Q: how can I get a visual indicator distinguishing between the end of the buffer and the bottom of the window? Use case: I've got a buffer with some blank lines at the bottom. However, the bottom of ...
6
votes
2answers
289 views

How to set the glyph of a unicode character?

I would like to set the glyph of a certain unicode character. Specifically, I would like the glyph § (SECTION SIGN) to represent the unicode character U+202A (LEFT-TO-RIGHT EMBEDDING), a normally non-...
14
votes
2answers
1k views

How can I split paragraph into one-line-per-sentence but still keep it wrapped visually?

This is similar to Editing files with one-sentence-per-line (in function as well as motive), but I wish to have a full, flowing paragraph rather than visual breaks at every sentence. I would like to ...
12
votes
1answer
652 views

Align columns in Org mode table with Japanese fonts

How can I mix Japanese and English in the same org-mode table (that uses fixed-width fonts)? Something like: | m m m m m m | | | はどう デシウ | | | ハーフ | ハーフ | won't align. ...
4
votes
1answer
1k views

How to force the current line to be always in the middle of the screen

I am editing a large file. I would like the current line where the cursor is at to be always in the middle of the screen. Is this possible?
2
votes
1answer
321 views

prettify-symbols-mode and multi-character replacements?

With ``prettify-symbols-mode'' it is possible to replace strings by a character, or a character composition, e.g. ;; \lambda → λ (push '("\\lambda" . ?λ) prettify-symbols-alist) Optionally, it ...
2
votes
1answer
707 views

Pop-up documentation with pos-tip or popup?

Is there a package to get a popup of the documentation for the thing at the point? Here's an example that flycheck uses.
1
vote
1answer
35 views

Making Emacs show the last part of bash-command output

I use the Evil mode inside Emacs for doing a lot of my work. If I need to run a shell-command and see its output all I need to do is type in normal mode :!<bash command>. The window splits into ...
1
vote
2answers
100 views

Longer flashing of search string during multi-file searches

When the cursor is in the *xref* buffer, following dired-do-find-regexp, the found string in the adjacent frame flashes, but too briefly, making it quite hard to see. A simple solution is to increase ...
0
votes
1answer
36 views

If I insert text before playing a sound, why do I not see the text inserted until the sound finishes?

I'm trying to, in a buffer, insert some text, then play a sound. Sample code is as follows: (progn (insert "this won't be inserted until after the sound") (play-sound '(sound :file "/home/zck/...