From mboxrd@z Thu Jan 1 00:00:00 1970 From: John Hendy Subject: Re: how to best make characters invisible in a org-derived mode Date: Tue, 30 Apr 2013 14:37:36 -0500 Message-ID: References: <517B462D.5010408@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:37990) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UXGN0-0007UB-HT for emacs-orgmode@gnu.org; Tue, 30 Apr 2013 15:37:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UXGMs-0006Sj-Mj for emacs-orgmode@gnu.org; Tue, 30 Apr 2013 15:37:46 -0400 Received: from mail-la0-x233.google.com ([2a00:1450:4010:c03::233]:52969) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UXGMs-0006SL-FE for emacs-orgmode@gnu.org; Tue, 30 Apr 2013 15:37:38 -0400 Received: by mail-la0-f51.google.com with SMTP id ep20so776938lab.10 for ; Tue, 30 Apr 2013 12:37:36 -0700 (PDT) In-Reply-To: <517B462D.5010408@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Christian Wittern Cc: Org Mode Mailing List On Fri, Apr 26, 2013 at 10:29 PM, Christian Wittern 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 > >