pkg update and first config fix
org-brain not working, add org-roam
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
;;; org-faces.el --- Face definitions -*- lexical-binding: t; -*-
|
||||
|
||||
;; Copyright (C) 2004-2021 Free Software Foundation, Inc.
|
||||
;; Copyright (C) 2004-2022 Free Software Foundation, Inc.
|
||||
|
||||
;; Author: Carsten Dominik <carsten.dominik@gmail.com>
|
||||
;; Keywords: outlines, hypermedia, calendar, wp
|
||||
;; Homepage: https://orgmode.org
|
||||
;; URL: https://orgmode.org
|
||||
;;
|
||||
;; This file is part of GNU Emacs.
|
||||
;;
|
||||
@@ -28,6 +28,9 @@
|
||||
|
||||
;;; Code:
|
||||
|
||||
(require 'org-macs)
|
||||
(org-assert-version)
|
||||
|
||||
(defgroup org-faces nil
|
||||
"Faces in Org mode."
|
||||
:tag "Org Faces"
|
||||
@@ -38,8 +41,7 @@
|
||||
:group 'org-faces)
|
||||
|
||||
(defface org-hide
|
||||
'((default :inherit fixed-pitch)
|
||||
(((background light)) (:foreground "white"))
|
||||
'((((background light)) (:foreground "white"))
|
||||
(((background dark)) (:foreground "black")))
|
||||
"Face used to hide leading stars in headlines.
|
||||
The foreground color of this face should be equal to the background
|
||||
@@ -138,7 +140,7 @@ The following faces apply, with this priority.
|
||||
|
||||
Since column view works by putting overlays with a display property
|
||||
over individual characters in the buffer, the face of the underlining
|
||||
character (this might for example be the a TODO keyword) might still
|
||||
character (this might for example be the TODO keyword) might still
|
||||
shine through in some properties. So when your column view looks
|
||||
funny, with \"random\" colors, weight, strike-through, try to explicitly
|
||||
set the properties in the `org-column' face. For example, set
|
||||
@@ -202,8 +204,7 @@ set the properties in the `org-column' face. For example, set
|
||||
:group 'org-faces)
|
||||
|
||||
(defface org-date
|
||||
'((default :inherit fixed-pitch)
|
||||
(((class color) (background light)) (:foreground "Purple" :underline t))
|
||||
'((((class color) (background light)) (:foreground "Purple" :underline t))
|
||||
(((class color) (background dark)) (:foreground "Cyan" :underline t))
|
||||
(t (:underline t)))
|
||||
"Face for date/time stamps."
|
||||
@@ -340,7 +341,7 @@ determines if it is a foreground or a background color."
|
||||
|
||||
(defvar org-tags-special-faces-re nil)
|
||||
(defun org-set-tag-faces (var value)
|
||||
(set var value)
|
||||
(set-default-toplevel-value var value)
|
||||
(if (not value)
|
||||
(setq org-tags-special-faces-re nil)
|
||||
(setq org-tags-special-faces-re
|
||||
@@ -379,8 +380,7 @@ changes."
|
||||
(sexp :tag "Face")))))
|
||||
|
||||
(defface org-table ;Copied from `font-lock-function-name-face'
|
||||
'((default :inherit fixed-pitch)
|
||||
(((class color) (min-colors 88) (background light)) (:foreground "Blue1"))
|
||||
'((((class color) (min-colors 88) (background light)) (:foreground "Blue1"))
|
||||
(((class color) (min-colors 88) (background dark)) (:foreground "LightSkyBlue"))
|
||||
(((class color) (min-colors 16) (background light)) (:foreground "Blue"))
|
||||
(((class color) (min-colors 16) (background dark)) (:foreground "LightSkyBlue"))
|
||||
@@ -396,8 +396,7 @@ changes."
|
||||
:group 'org-faces)
|
||||
|
||||
(defface org-formula
|
||||
'((default :inherit fixed-pitch)
|
||||
(((class color) (min-colors 88) (background light)) (:foreground "Firebrick"))
|
||||
'((((class color) (min-colors 88) (background light)) (:foreground "Firebrick"))
|
||||
(((class color) (min-colors 88) (background dark)) (:foreground "chocolate1"))
|
||||
(((class color) (min-colors 8) (background light)) (:foreground "red"))
|
||||
(((class color) (min-colors 8) (background dark)) (:foreground "red"))
|
||||
@@ -405,12 +404,12 @@ changes."
|
||||
"Face for formulas."
|
||||
:group 'org-faces)
|
||||
|
||||
(defface org-code '((t :inherit (fixed-pitch shadow)))
|
||||
(defface org-code '((t :inherit shadow))
|
||||
"Face for fixed-width text like code snippets."
|
||||
:group 'org-faces
|
||||
:version "22.1")
|
||||
|
||||
(defface org-meta-line '((t :inherit (fixed-pitch font-lock-comment-face)))
|
||||
(defface org-meta-line '((t :inherit font-lock-comment-face))
|
||||
"Face for meta lines starting with \"#+\"."
|
||||
:group 'org-faces
|
||||
:version "22.1")
|
||||
@@ -437,7 +436,7 @@ This face applies to the #+TITLE:, #+SUBTITLE:, #+AUTHOR:,
|
||||
#+EMAIL: and #+DATE: keywords."
|
||||
:group 'org-faces)
|
||||
|
||||
(defface org-block `((t :inherit (fixed-pitch shadow)
|
||||
(defface org-block `((t :inherit shadow
|
||||
,@(and (>= emacs-major-version 27) '(:extend t))))
|
||||
"Face used for text inside various blocks.
|
||||
|
||||
@@ -459,7 +458,11 @@ verse and quote blocks are fontified using the `org-verse' and
|
||||
"Face used for the line delimiting the end of source blocks."
|
||||
:group 'org-faces)
|
||||
|
||||
(defface org-verbatim '((t (:inherit (fixed-pitch shadow))))
|
||||
(defface org-inline-src-block '((t (:inherit org-block)))
|
||||
"Face used for inline source blocks as a whole."
|
||||
:group 'org-faces)
|
||||
|
||||
(defface org-verbatim '((t (:inherit shadow)))
|
||||
"Face for fixed-with text like code snippets."
|
||||
:group 'org-faces
|
||||
:version "22.1")
|
||||
@@ -597,7 +600,7 @@ See also `org-agenda-deadline-faces'.")
|
||||
(0.0 . org-upcoming-distant-deadline))
|
||||
"Faces for showing deadlines in the agenda.
|
||||
This is a list of cons cells. The cdr of each cell is a face to be used,
|
||||
and it can also just be like \\='(:foreground \"yellow\").
|
||||
and it can also just be like (:foreground \"yellow\").
|
||||
Each car is a fraction of the head-warning time that must have passed for
|
||||
this the face in the cdr to be used for display. The numbers must be
|
||||
given in descending order. The head-warning time is normally taken
|
||||
|
||||
Reference in New Issue
Block a user