From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?B?QW5kcmVhcyBSw7ZobGVy?= Subject: Re: how to best make characters invisible in a org-derived mode Date: Wed, 01 May 2013 09:43:13 +0200 Message-ID: <5180C791.2050008@easy-emacs.de> References: <517B462D.5010408@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:45720) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UXRf3-0000Hj-Bq for emacs-orgmode@gnu.org; Wed, 01 May 2013 03:41:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UXRf1-0006cR-QV for emacs-orgmode@gnu.org; Wed, 01 May 2013 03:41:09 -0400 Received: from moutng.kundenserver.de ([212.227.126.186]:61480) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UXRf1-0006c0-HR for emacs-orgmode@gnu.org; Wed, 01 May 2013 03:41:07 -0400 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: emacs-orgmode@gnu.org Am 27.04.2013 05:29, schrieb Christian Wittern: > 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. > > All the best, > > Christian > Hi, maybe have a look how ar-hide-bracketed-in-line-atpt for example is implemented. https://launchpad.net/s-x-emacs-werkstatt/ https://launchpad.net/s-x-emacs-werkstatt/trunk/1.3/+download/S-X-Emacs-Werkstatt-1.3.tar.gz This provides a framework for tasks like this. HTH, Andreas