emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] Re: request: face for „...“ at collapsed sections


From: Daniel Clemente
Subject: Re: [Orgmode] Re: request: face for „...“ at collapsed sections
Date: Sun, 26 Aug 2007 23:14:37 +0200

Hi,
>
> I have this in my emacs:
>
> ,----
> | ;;; Making fold markers ("...")  more visible
> |
> | (defface selective-display
> |   '((default :background "lightgrey")
> |     (((supports :underline "red")) :underline "red"))
> |   "Face used for fold markers like ...")
> |
> | (unless standard-display-table
> |   (setq standard-display-table (make-display-table)))
> |
> | (set-display-table-slot standard-display-table 'selective-display
> |                         (vconcat (mapcar
> |                                   (lambda (c)
> |                                     (make-glyph-code c
> 'selective-display))
> |                                   "...")))
> `----
>

   Wow, that seems a very low-level solution, but it works. I think it
would be better if org-mode would set the „..." directly with another
face.

   Thanks for your instructive hack,

Daniel




reply via email to

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