Comments (4)
Hi, sorry for the delay, I was in holiday.
I don’t have the same display (I use simpleterm on linux, with dracula color in term too).
As you can see, the used colors are not very good too, but at least they are readable.
Any way, I know the diff part has not been heavily tested/integrated. For the most part of it, as it’s not integrated, it use the default emacs color (you can see it by yourself in your test file, by entering M-x describe-face
on any colored line).
In your case, the color in your screenshot seem really really bright. I wonder if there isn’t another clash with another mode, custom color parameter or terminal colors?
from emacs.
Hi, sorry for the delay, I was in holiday.
Don't be sorry. Hope you enjoyed it 🏖️
For starters, I actually checked the st colors, which are a bit different in simpleterm, but not enough to make a change. I actually tried other colors in iTerm, and the only thing that can change in the emacs-diff view is the foreground and background color. The rest are fixed.
FWIW, this is how my emacs faces look like for "removed" content. Basically vanilla colors. Are yours the same?
Face: diff-indicator-removed (sample) (customize this face)
Documentation:
‘diff-mode’ face used to highlight indicator of removed lines (-, <).
Defined in ‘diff-mode.el’.
Family: unspecified
Foundry: unspecified
Width: unspecified
Height: unspecified
Weight: unspecified
Slant: unspecified
Foreground: #aa2222
DistantForeground: unspecified
Background: unspecified
Underline: unspecified
Overline: unspecified
Strike-through: unspecified
Box: unspecified
Inverse: unspecified
Stipple: unspecified
Font: unspecified
Fontset: unspecified
Extend: unspecified
Inherit: diff-removed
This face was introduced, or its default value was changed, in
version 22.1 of Emacs.
Face: diff-removed (sample) (customize this face)
Documentation:
‘diff-mode’ face used to highlight removed lines.
Defined in ‘diff-mode.el’.
Family: unspecified
Foundry: unspecified
Width: unspecified
Height: unspecified
Weight: unspecified
Slant: unspecified
Foreground: unspecified
DistantForeground: unspecified
Background: #ffdddd
Underline: unspecified
Overline: unspecified
Strike-through: unspecified
Box: unspecified
Inverse: unspecified
Stipple: unspecified
Font: unspecified
Fontset: unspecified
Extend: t
Inherit: diff-changed
[back]
Face: diff-changed (sample) (customize this face)
Documentation:
‘diff-mode’ face used to highlight changed lines.
Defined in ‘diff-mode.el’.
Family: unspecified
Foundry: unspecified
Width: unspecified
Height: unspecified
Weight: unspecified
Slant: unspecified
Foreground: unspecified
DistantForeground: unspecified
Background: unspecified
Underline: unspecified
Overline: unspecified
Strike-through: unspecified
Box: unspecified
Inverse: unspecified
Stipple: unspecified
Font: unspecified
Fontset: unspecified
Extend: unspecified
Inherit: unspecified
This face was introduced, or its default value was changed, in
version 25.1 of Emacs.
[back]
from emacs.
You can use 24-bit direct color mode with TERM=iterm2-direct
.
Here is Konsole with TERM=konsole-direct
and emacs
version 27.2:
from emacs.
Should have been fixed with 54c2640
from emacs.
Related Issues (20)
- Weird inverse color for some faces HOT 1
- Fix ansi-color definitions HOT 9
- AUCTeX Support HOT 1
- package is missing from mlpa HOT 1
- Set ansi-color-names-vector with theme colors
- Correct emacs-libvterm colors HOT 1
- How to change the background of selection hightlighting? HOT 3
- Unable to load color "unspecified-fg" HOT 1
- On `M-x` White font color on top of gray background confusing #497 HOT 4
- Is it possible to make configuration setup for ivy?
- The background on tooltips makes them unreadable HOT 5
- Deprecate master branch in favor of main HOT 3
- Adding support for tree sitter
- Fixing minor inconsistencies with markdown mode HOT 1
- Minor UI fixes HOT 1
- New face 'apropos-button'
- The icons in the breadcrumbs of lsp-mode cannot be displayed properly HOT 1
- Dracula theme for Emacs does not customize font-lock-number-face HOT 5
- Support Emacs 29.1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emacs.