Hot answers tagged

6

Add (setq frame-background-mode 'dark) to ~/.emacs.d/init.el


4

What you call the bottom bar is the "mode line". I recommend reading the first fews sections of the manual, especially this one to know the names of the various screen elements (this is not difficult at all, but not straightforward for newcomers.) The graphical attributes of text in emacs are grouped in "faces". As mentionned in the manual: By default, ...


3

They are displayed in the diredp-omit-file-name face defined in the very same file: (defface diredp-omit-file-name (if (assq :inherit custom-face-attributes) ; Emacs 22+ '((((background dark)) (:inherit diredp-ignored-file-name :strike-through "#555555555555")) ; ~ dark gray (t (:inherit diredp-ignored-file-name :strike-...


2

The bold text you see in your test does not use face bold. It uses face Man-overstrike. And (face-bold-p 'Man-overstrike) returns nil. (face-bold-p 'Man-overstrike) evals this: (face-attribute 'Man-overstrike :weight frame inherit), which returns unspecified. Then (memq 'unspecified '(semi-bold bold extra-bold ultra-bold)) returns nil. You need to pass a ...


2

See these faces: isearch Face for highlighting Isearch matches. isearch-fail Face for highlighting failed part in Isearch echo-area message. lazy-highlight Face for lazy highlighting of matches other than the current one.


2

This should be automatic if you have \usepackage{comment} or \usepackage{verbatim} in your preamble. At the time the question was asked, it was actually automatic only with \usepackage{comment}, but AUCTeX 12.3 onwards will do it for \usepackage{verbatim} as well. If you've just added the \usepackage command, run TeX-normal-mode (C-c C-n) to tell AUCTeX to ...


1

There are exceptions. ;-) Some may be vestiges. In the Olden Days it was common to have both a variable for the face and the face itself, and the variable, or both, had a name that ended in -face. Some are not just vestiges, at least for the variables. One reason to have a variable is to be able to bind it, to temporarily change which face is used. This is ...


1

Does using face variable-pitch do what you want? See the Elisp manual, node Basic Faces for info about this and other predefined basic faces. More precisely, since you want a font, not a face, maybe programmatically pick up the font or font family from the attributes of that face. That font is likely to be different for different platforms, even though the ...


1

Ah, this one is a little confusing. face-all-attributes takes an optional second argument specifying the frame to query. If the frame is nil then it gives you the default attributes for the face. From `C-h f face-all-attributes: Signature (face-all-attributes FACE &optional FRAME) Documentation Return an alist stating the attributes of FACE. Each ...


1

AFAIK, there is no built-in support for this, but Ivy provides various hooks that you can plug your own logic into. Here is one way to achieve what you want, using the ivy-hooks-alist user option: (defvar my-ivy-match-faces '((counsel-M-x (:background "red"))) "Alist mapping Ivy callers to a list of face specs. Used by `my-ivy-remap-match-face', which ...


1

As far as I can see, the problem is that enriched-face-ans does not consider inherited face attributes when it queries attributes with function face-attribute. It should call face-attribute with the INHERIT argument set to t. I assume that failing to do so is a bug in enriched-face-ans. Maybe, you should file a bug report to bug-gnu-emacs@gnu.org. There ...


1

It seems this issue has affected many users over the years, I implemented this workaround: (defun fc-list () "Genera una lista de tipografías disponibles usando fc-list" (if (executable-find "fc-list") (split-string (shell-command-to-string "fc-list --format='%{family[0]}\n' | sort | uniq") "\n") (progn (warn "fc-list command is not ...


1

NickD has a good answer but doesn't update your menu bar which may also have the same dark blue (can you see what it says when you type ctrl + s?). This method will also fix hard to read menus. Run emacs Type alt + x customize-themes Arrow down to manoj-dark and hit return (or pick a different theme) Type ctrl + x, ctrl + s to save the settings Type ctrl ...


1

You might try customizing one or both of these image-dired options (the text is what you get with C-h v). image-dired-thumb-relief - Size of button-like border around thumbnails. image-dired-thumb-margin - Size of the margin around thumbnails. This is where you see the cursor. There are many other image-dired options, some of which might also help you more ...


1

This works for me. (defface pandoc-citation-face '((t :foreground "yellow")) "Face for pandoc citation syntax") (font-lock-add-keywords nil '(("\\[@.+?\\]" 0 'pandoc-citation-face)))


1

Here we are: /* Indices of face attributes in Lisp face vectors. Slot zero is the symbol `face'. */ enum lface_attribute_index { LFACE_FAMILY_INDEX = 1, LFACE_FOUNDRY_INDEX, LFACE_SWIDTH_INDEX, LFACE_HEIGHT_INDEX, LFACE_WEIGHT_INDEX, LFACE_SLANT_INDEX, LFACE_UNDERLINE_INDEX, LFACE_INVERSE_INDEX, LFACE_FOREGROUND_INDEX, ...


Only top voted, non community-wiki answers of a minimum length are eligible