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
2
votes
1answer
344 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
200 views

Change which buffers are in which windows?

I have 3 windows opened and I want to change which buffers they display. For example: when programming in C, I want to have the C code on the left, and the right side split into two windows showing ...
2
votes
1answer
319 views

X11 GUI low quality display when using server

Why is Emacs X11's display such bad quality, and how do I fix it? When I use Emacs Cocoa locally, I get a good visuals. But when I use the X11 forwarding on my department's server, the quality is ...
2
votes
1answer
737 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.
2
votes
1answer
32 views

Automatically toggle external display profile

Apologies I know this will seem pedestrian -- please forgive me, I'm a newbie. I have low vision, so I'd like to automatically toggle different "display profiles" based on whether there is an external ...
2
votes
0answers
41 views

Is it possible to have buffers in layers?

In Emacs, can you get something like the following: 10 |int foo() { 11 | int a = bar(); 12 | 30 |int bar() { 13 | 31 | return 10; 14 | 32 |} 15 | // Bar.h // Foo.c The idea is that instead of ...
2
votes
0answers
57 views

Calculate current-column including display properties

I am trying to calculate the width of text within either a buffer or a string after it has been displayed, i.e. after taking into account the width of any display properties, such as embedded images, ...
2
votes
0answers
104 views

Setting primary frame across displays on MacOS

I am working with 2 emacs frames, one on my laptop monitor (1) and the other on a larger external display (2). Whenever I switch between applications, e.g. between shell and Emacs, the Emacs cursor ...
2
votes
0answers
42 views

How can I export compositions with html-fontify?

Prettify-symbols-mode is a very nice way to make source code more readable, especially in math-heavy languages. Unfortunately, exporting to HTML with html-fontify-buffer doesn't respect ...
2
votes
0answers
355 views

Issue with characters in buffers being displayed in wrong positions

I work with Emacs within Docker as my dev environment so that I can have clean dev environments per language or type or projects that I do e.g. PHP dev, NodeJS dev, Haskell dev etc with different ...
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
1answer
123 views

Stop Emacs from updating display

Sometimes a function will make the display blink and stutter, due do things happening in the background while the function is running (visiting other buffers etc). Does anyone know if there's a ...
1
vote
1answer
76 views

Emacs doesn't show cyryllic properly over SSH

I'm using SSH to connect to remote server. On the server, I'm running emacs (emacsclient -c). It servers as my console, text editor and WM. While everything works nice when I'm not dealing with ...
1
vote
1answer
116 views

Find the name of the graphical display emacs is running on

I run emacs using a server and multiple clients on both, the graphical display and the terminal. To use the same configuration files for terminal and graphical display, I used this solution. The issue ...
1
vote
1answer
88 views

Replacing a string with symbols using font-lock?

I'm trying to make a font lock hook to replace strings of text for a mathmatical notation plugin. So I'm thinking " / " (note the spaces) will turn into " ÷ ", but "/" won't. (It's a package mainly ...
1
vote
1answer
50 views

How to display a character reversed

I know about compose-region and have used it for other purposes, but am trying to figure out how to display a character reversed. like transforming c to ↄ. Is this possible?
1
vote
1answer
71 views

Has Emacs same tool as “screen” in Linux? [closed]

Linux Ubuntu, Emacs 26.1 I use tool "screen" in Linux. It's very comfortable. Has Emacs any some kind of tool?
1
vote
1answer
154 views

Weird TeX syntax highlighting issue

I running Emacs 25 on Debian 9.0 stretch. The version is 25.1+1-4+deb9u1. I have a local copy of AUCTeX installed via Melpa. The relevant line in M-x list-packages is: auctex 11.88.3 ...
1
vote
1answer
61 views

How to put a right arrow above a Latin letter?

I want to write: ⃗E, I tried to C-x 8 <RET> COMBINING RIGHT ARROW ABOVE <RET> E it is displaying in Emacs like: I want to use Unicode (without Tex). EDIT in reply to Drew's comment: ...
1
vote
1answer
79 views

Display devanagari characters

Running Emacs 25 on Kubuntu 17.10. I am able to enter text in devanagari script but it does not dispaly correctly in the editor. For instance, the text entered as: क का कि की कु कू के कै को कौ कं कः...
1
vote
2answers
104 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
52 views

What is the mode or the command to selectively display selected region?

There seems to be a command to display only the text in the selected region, leaving the rest of the text hidden. What is the command?
1
vote
1answer
126 views

customize-face for display-graphic-p only

I run graphical GNU/Emacs on macOS and also emacs in Mac Terminal installed via Homebrew. I would like to customize the default face for only the graphical display. I used M-x customize-face default,...
1
vote
1answer
171 views

redraw-display when focused

I am using Emacs 25 in SUSE linux and when I switch to a workspace where Emacs is the front window almost none of the text is visible. I have to call redraw-display in order to get it refresh the ...
1
vote
1answer
683 views

Gotham theme with 256 colors

When I use, gotham-theme, it says that you can get the 256 colors by (setq gotham-tty-extended-palette t) but I do not feel any difference between activating one and the other with only 16 colors; I ...
1
vote
0answers
65 views

Adjusting to screen resolution changes on GNU/Linux/ubuntu/gnome

I'm running emacs 26.1 on ubuntu 18.04 on a Dell laptop with a high-resolution display. It works very well in that configuration. It also works very well when the laptop is plugged into a lower-...
1
vote
0answers
231 views

Can't display images in org-mode

I am on MacOS High Sierra, iterm2; I cannot find how to display images in org-mode. My term supports image display as imgcat works well within my shell. When I try to open the image link in emacs it ...
1
vote
0answers
23 views

Can I display a character as if rotated?

Suppose that I'd want to display a character as if rotated by 90 or 180 degrees in Emacs. Is there a way to go about that?
1
vote
0answers
63 views

Increase spacing between physical lines only

How can I add spacing where there are linebreaks in the file, but not where a line is word-wrapped? This would be very useful for reading log files with long lines. Here's a mockup of what I'm after: ...
0
votes
1answer
66 views

How do I display dashs as minus signs outside comments and strings?

In source code, I'd like to display “-” as “−”. In the font I use, the dash is very short and doesn't match the “+” at all. This is only to improve visual appearance. The character in the file must ...
0
votes
1answer
37 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/...
0
votes
2answers
527 views

Nice TTY window borders in 24.4

I've seen snippets like this: (set-display-table-slot standard-display-table 'vertical-border (make-glyph-code ?┃)) That claim to make emacs use a prettier window divider character. However, ...
0
votes
2answers
125 views

How to troubleshoot and diagnose escaped-character display errors in Emacs shell?

I make much use of sub-shells within Emacs (initiated via M-x shell), and, because of this, I run into problems like the one illustrated1 below way too often: $ python -m pdb /tmp/hello_world.py [2] ...
0
votes
1answer
368 views

utf-8 bullets displaying differently on different computers, same platform

I have two seemingly identical computers that display org-bullet utf-8 bullets differently within emacs. Both computers use the same OS (windows 7) and the same emacs version (24.5) with no ...
0
votes
1answer
133 views

Draw a line between the header line and the text area

One of my modes uses the header line to display a progress bar/document summary, concatenating spaces with varying background colors and widths (using the display attribute). To clarify the ...
0
votes
0answers
39 views

Emacs stops displaying typing until focus moved out of and then back into editor window

I'm currently running RHEL 7.6 and whatever version of emacs comes with it (I don't have access to my system at the moment so can't provide the version number). Sometime in the last 2 weeks my sys ...
0
votes
0answers
110 views

How to use Org pretty math expressions with clipboard?

Using org-toggle-pretty-entities, org-mode will convert text like ∫_ℝ f(x)dx = 1 ∑^N_{i=1} x_i to But if I want to copy that text to an outside application, it just shows up as it was originally ...
0
votes
0answers
127 views

Possible to modify 'whitespace-display-mappings' at runtime?

Making changes to whitespace-display-mappings while emacs runs doesn't seem to do anything. (setq whitespace-display-mappings '( (space-mark 32 [183] [46]) ; middle-dot (tab-mark 9 [9654 9] [...