emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Change folded headline symbol


From: Fabrice Niessen
Subject: Re: [O] Change folded headline symbol
Date: Thu, 05 Feb 2015 12:36:55 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (windows-nt)

Centre ML personnel wrote:
> I wonder if it is possible, without a deep knowledge of emacs/org, to
> change the "..." symbol used when headlines are folded into something
> else ("--->" for instance)?

Yes, it is!

For example, that's what I have in my .emacs file [1] to get a black
right-pointing pointer (if supported by the current font, as it is
a UTF8 character):

--8<---------------cut here---------------start------------->8---
  ;; Improve display of the ellipsis.
  (set-face-attribute 'org-ellipsis nil
                      :box '(:line-width 1 :color "#999999")
                      :foreground "#999999" :background "#FFF8C0"
                      :underline nil)

  ;; Ellipsis to use in the Org mode outline.
  (setq org-ellipsis
        (if (char-displayable-p ?\u25BA)
            " \u25BA"                   ; Black right-pointing pointer.
          'org-ellipsis)))              ; Face.
--8<---------------cut here---------------end--------------->8---

Fabrice

[1] https://github.com/fniessen/emacs-leuven

-- 
Fabrice Niessen
Leuven, Belgium
http://www.pirilampo.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]