emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: John Hendy <jw.hendy@gmail.com>
To: Christian Wittern <cwittern@gmail.com>
Cc: Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: Re: how to best make characters invisible in a org-derived mode
Date: Tue, 30 Apr 2013 14:37:36 -0500	[thread overview]
Message-ID: <CA+M2ft8TYdFR_B-zh3yokmRbr4YzrDL2nhxEjyj74w4xe71VQg@mail.gmail.com> (raw)
In-Reply-To: <517B462D.5010408@gmail.com>

On Fri, Apr 26, 2013 at 10:29 PM, Christian Wittern <cwittern@gmail.com> 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	other threads:[~2013-04-30 19:37 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-27  3:29 how to best make characters invisible in a org-derived mode Christian Wittern
2013-04-30 19:37 ` John Hendy [this message]
2013-05-01  7:43 ` Andreas Röhler
2013-05-01 22:58   ` Christian Wittern
2013-05-02  5:49     ` Andreas Röhler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+M2ft8TYdFR_B-zh3yokmRbr4YzrDL2nhxEjyj74w4xe71VQg@mail.gmail.com \
    --to=jw.hendy@gmail.com \
    --cc=cwittern@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).