From: "Andreas Röhler" <andreas.roehler@easy-emacs.de>
To: emacs-orgmode@gnu.org
Subject: Re: how to best make characters invisible in a org-derived mode
Date: Thu, 02 May 2013 07:49:27 +0200 [thread overview]
Message-ID: <5181FE67.3000508@easy-emacs.de> (raw)
In-Reply-To: <51819E0D.5090001@gmail.com>
Am 02.05.2013 00:58, schrieb Christian Wittern:
> Hi Andreas, Hi John
>
> Thank both of you for trying to get me on track.
>
> On 2013-05-01 16:43, Andreas Röhler wrote:
>> maybe have a look how
>>
>> ar-hide-bracketed-in-line-atpt
>>
>> for example is implemented.
> I can't actually find this function, but I get the general point from the files in Emacs Werkstatt.
>
> What tripped me up originally that simply setting a region to 'invisible worked in fundamental mode, but not in org-mode.
>
> I found the solution after I finally understood what
> (info "(elisp) Invisible Text")
> was trying to tell me:
> - first set the desired region(s) to an arbitrary symbol, like my-symbol:
> (overlay-put (make-overlay beginning end) 'invisible 'my-symbol)
> - next add this symbol to 'invisibility' spec :
> (add-to-invisibility-spec 'my-symbol)
>
> After straighting this out I am now a happy camper, enjoying my uncluttered display.
>
> All the best,
>
> Christian
>
>
>
ar-hide-bracketed-in-line-atpt seems vanished indeed, something got broken. Thanks pointing at.
Andreas
prev parent reply other threads:[~2013-05-02 5:47 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
2013-05-01 7:43 ` Andreas Röhler
2013-05-01 22:58 ` Christian Wittern
2013-05-02 5:49 ` Andreas Röhler [this message]
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=5181FE67.3000508@easy-emacs.de \
--to=andreas.roehler@easy-emacs.de \
--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).