emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] how to best make characters invisible in a org-derived mode


From: John Hendy
Subject: Re: [O] how to best make characters invisible in a org-derived mode
Date: Tue, 30 Apr 2013 14:37:36 -0500

On Fri, Apr 26, 2013 at 10:29 PM, Christian Wittern <address@hidden> wrote:
> Hi orgers,
>
> In a mode derived from org-mode, I would like to hide some characters with a
> special function to make the display cleaner. There are two cases:
>  - special characters that should be always invisible
>  - strings matched by a regex that should be invisible
>
> I would be glad for any pointers or ideas on how to implement this, either
> by piggy-packing on org-mode code or by using generic Emacs features.

Meant to respond to this earlier. Reading this brought to mind the
setting =org-hide-leading-stars=. See this for more:
- http://orgmode.org/manual/Clean-view.html

Perhaps check out some of those variables, or at least the hiding of
leading stars, as it might at least give you some ideas of how this is
implemented in Org. I'm no elisper, so that's about the best I can
provide and I have no idea of Org's implementation will match your
goals, but it was worth a shot.


Best regards,
John

>
> All the best,
>
> Christian
>
> --
> Christian Wittern, Kyoto
>
>



reply via email to

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