Emacs Italic Org-mode - emacs

I'm having troubles with the fonts. I think emacs is not displaying the italic font. I notice this mainly when I'm using org-mode, because the italics characters are not appearing.
As you can see in the image above, the second line should appear in italic, and I don't know why it's not doing it. I'm quite sure it was working at some point before. I was playing around with the font customization, but I didn't succeed.
Any Ideas?

#choroba was totally right about the font. I just changed it.
(add-to-list 'default-frame-alist
'(font . "DejaVu Sans Mono-11"))
As a note, you can play around with the font with S-left_click

Related

How do I use Font Awesome 5 with emacs after changing the default font of emacs?

Whenever I open a file which contains font awesome 5 icons in it, or I paste a icon into emacs buffer, emacs will freeze forever.
After researching for an afternoon, I found that as long as I don't customize emacs default font (by putting (add-to-list 'default-frame-alist '(font . "NovaMono-12")) in my emacs config file), it will work fine.
Alse, using emacs with -nw flag can display the icons normally too.

Monospace icon font in Emacs?

I am inserting icons from FontAwesome and other icon fonts into Emacs but I would like to get them aligned with the monospace font I use (DejaVu Sans Mono). Is this possible?
I have found a workable solution. I have installed a number of Nerd Fonts. These mostly solve the problem, but occasionally the alignment was still off by a few pixels. However, it seems that, when a glyph is available in multiple fonts, Emacs will try to match its width to that of the fixed width font in use. So, installing sufficiently many Nerd Fonts has solved the problem for me.

How to customize a face on Emacs, but only when hl-line is active?

I am using Emacs 24, console (8 colors) with the Solarized theme.
I want to make the comments less intrusive using:
(set-face-foreground 'font-lock-comment-delimiter-face "black")
(set-face-foreground 'font-lock-comment-face "black")
That way the comments would be colored with the same color as the hl-line face we can see on the picture. However, when moving to a line containing comments, I would like them to be inverted (black background from the hl-line, normal foreground instead of black) so I can still read them.
As an alternative, you can also temporarily hide comments. See command hide/show-comments-toggle in library hide-comnt.el. Bind it to a handy key --- pretty simple.
Please see the code in the attached link: Emacs colors. why it is gray on current line? zenburn theme

Multiterm background color is wrong

I added multi-term to my emacs config. It works great, but any text in console and some whitespaces (including these in vim from ssh) have white background and since I use deeper-blue style with dark background it does not look nice. How to fix this?
Here is screen: http://tinypic.com/view.php?pic=rh1q9v&s=6
Colors in term.el does not work well sometimes, depending on the timing it is loaded. Calling this after setting your color theme may solve the problem.
(setq term-default-fg-color (face-foreground 'default))
(setq term-default-bg-color (face-background 'default))

Modifying an existing emacs color theme

I like the Emacs color theme clarity. I start the theme with M-x color-theme-clarity. However, I would rather have the background was always black, rather than the mixed black and white as seen in my screenshot. It seems like if there is a line that has never had text on it, it will be white rather than black. How do I fix this?
Thank you and best regards.
That is odd. I also use the clarity color theme and I sometimes notice that if I switch to it from another theme some of the colors are off in certain areas.
Try setting it as the initial color theme in your .emacs file so that it is the first theme used when Emacs is opened:
(require 'color-theme)
(setq color-theme-is-global t)
(color-theme-clarity)
This might help if the issue is caused by a conflict with a previously used theme.
This has been driving me crazy for a while, finally I think I have found the culprit.
It seems that it only happens when you have custom-set-faces settings in your .emacs configuration file. Try comment the settings to see if fixes the problem.
If the the problem is indeed caused by custom-set-faces you can simply set :background "yourcolour" :foreground "yourcolour2" of the custom-set-faces to fix it. "youcolour" and "yourcolour2" should be the colours used by your preferred theme.