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
8
votes
1answer
657 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 ...
7
votes
3answers
1k 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 ...
93
votes
8answers
32k 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 ...
4
votes
2answers
1k views

Disable color highlighting

Background: I use gnus under emacs -nw (so this question is about text-based usage, not the GUI). Depending on the value of the $TERM environment variable, gnus will, for example, highlight quoted ...
6
votes
2answers
364 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-...
51
votes
2answers
8k views

OTF ligature support in Emacs

PragmataPro is a typeface that comes with a number of programming ligatures. My understanding is that these are OpenType face (OTF) ligatures. I am aware that Emacs supports programmatic replacement ...
14
votes
2answers
2k 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 ...
8
votes
1answer
980 views

Org mode: is it possible to display ONLINE images?

Assuming I want to have an org buffer in which I can preview images from url which I don't want to store on my hard drive - is there a possibility to use a solution similar to org links and display ...
6
votes
1answer
2k 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?
12
votes
2answers
889 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
902 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.
4
votes
1answer
609 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 allows ...
0
votes
1answer
38 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/...
5
votes
1answer
1k views

How to change line-number gutter width using display-line-numbers mode?

I am using (global-display-line-numbers-mode 1) in my init.el file and everything is working as expected. The only problem is that I find the gutter width to be too wide and would prefer it to match ...
1
vote
1answer
39 views

Disable coloring of text in operations in emacs -nw, during operations like searching

I'm using gnu emacs as emacs -nw in a terminal window. Colored text is usually almost completely illegible for me. As recommended in this answer, I have done the following in an attempt to get rid of ...
1
vote
2answers
119 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 ...
1
vote
1answer
55 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 ...