emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Rasmus <rasmus@gmx.us>
To: emacs-orgmode@gnu.org
Subject: Re: Is it possible to keep /all/ the heading properties in one place?
Date: Sun, 28 Feb 2016 17:46:32 +0100	[thread overview]
Message-ID: <87h9gskck7.fsf@gmx.us> (raw)
In-Reply-To: 87egbx6m3u.fsf@ucl.ac.uk

Eric S Fraga <e.fraga@ucl.ac.uk> writes:

> On Sunday, 28 Feb 2016 at 12:32, Rasmus wrote:
>> Emacs should pick the right font.  Most likely, you need to install
>> Symbola,
>
> Indeed!  Thanks for the pointer.  Installing symbola did the job in
> terms of being able to see those symbols.
>
> Unfortunately, I cannot get org to prettify scheduled and deadline
> entries without causing org to have problems fontifying the rest of the
> file.  But I'm not sure why that is happening so will post later when/if
> I narrow this down.

Did you try prettify-symbol-mode?  In at least the master version of Emacs
you should be able to use prettify-symbols-alist.  Though org will do some
fortification already, which might cause the error you are seeing.

>> The only fonts I’ve got configured are Fira as the main font, DejaVu as
>> fallback and XITS for math.
>
> I know this is OT for this list but can you show me how you configure
> fallback fonts?

Fallback might be too strong, but you could use the prepend argument to
set-fontset-font.  Here’s what I used to use.  In Emacs-25 it seems I
don’t really mess with this anymore, though.

(mapc (lambda (x)
          (set-fontset-font x 'mathematical
                            (font-spec :family "XITS Math") nil 'append)
          (set-fontset-font x 'symbol
                            (font-spec :family "DejaVu Sans Mono") nil 'prepend)
          (set-fontset-font x 'greek
                            (font-spec :family "Fira Mono") nil 'prepend)
          (set-fontset-font x '(#x1f601 . #x1f567) "Symbola"))
        '("fontset-startup" "fontset-default"))

Rasmus

-- 
Got mashed potatoes. Ain't got no T-Bone. No T-Bone

  reply	other threads:[~2016-02-28 16:46 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-25 10:59 Is it possible to keep /all/ the heading properties in one place? Oleh Krehel
2016-02-25 13:37 ` Nicolas Goaziou
2016-02-25 13:46   ` Oleh Krehel
2016-02-25 14:03     ` Nicolas Goaziou
2016-02-25 14:26       ` Oleh Krehel
2016-02-25 16:52         ` Nicolas Goaziou
2016-02-25 18:21           ` Eric S Fraga
2016-02-26 16:35             ` Rasmus
2016-02-28  9:35               ` Eric S Fraga
2016-02-28 11:32                 ` Rasmus
2016-02-28 12:44                   ` Eric S Fraga
2016-02-28 16:46                     ` Rasmus [this message]
2016-02-28 17:05                       ` Eric S Fraga
2016-02-25 19:17           ` Oleh Krehel
2016-02-25 20:16             ` Nicolas Goaziou
2016-02-26  8:18               ` Oleh Krehel
2016-02-28  8:59                 ` Nicolas Goaziou
2016-02-28 12:17                   ` Oleh Krehel
2016-02-28 16:34                     ` Thomas S. Dye
2016-02-29 10:05                       ` Nicolas Goaziou
2016-02-29 13:42                         ` Thomas S. Dye
2016-02-29 15:00                           ` Nicolas Goaziou
2016-02-29 13:53                         ` Marcin Borkowski
2016-02-29 15:05                           ` Nicolas Goaziou
2016-02-29 17:57                         ` Revisiting moving manual to Org (was: Is it possible to keep /all/ the heading properties in one place?) Kyle Meyer
2016-02-29 17:17                       ` Is it possible to keep /all/ the heading properties in one place? Achim Gratz
2016-02-29 18:01                         ` Thomas S. Dye
2016-02-29 18:47                           ` Nicolas Goaziou
2016-02-25 17:47 ` Michael Brand

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87h9gskck7.fsf@gmx.us \
    --to=rasmus@gmx.us \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).