From: Thorsten Jolitz <tjolitz@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: [NEW FEATURE] org-hlc.el - hidden-lines-cookies (hlc) for Org-mode
Date: Thu, 23 May 2013 12:30:36 +0200 [thread overview]
Message-ID: <87ppwirnxu.fsf@gmail.com> (raw)
In-Reply-To: 6219E7E2-9951-4B05-A977-DE0DD1B120BE@gmail.com
Carsten Dominik <carsten.dominik@gmail.com> writes:
Hi Carsten,
> On 22 mei 2013, at 22:44, Thorsten Jolitz <tjolitz@gmail.com> wrote:
> What is it all about? With 'org-hlc'
>
> ,--------------------------------------------------------------------
> | Behind every folded headline, a little 'cookie' shows the number of
> | hidden lines till the next visible headline.
> `--------------------------------------------------------------------
> This is is definitely a nice feature. [...] However, I don't think the
> implementation is the right one. Modifying the file to display this
> does not seem right. I would say it should use text properties or
> maybe overlays for display
I have not done anything with text properties or overlays before, so I
have to take it look at the docs, but I guess this would only affect
small parts of the implementation (do something with properties/overlays
instead of inserting/deleting text).
> , and it should be hooked somehow into the folding/unfolding routines
> to auto-update.
Thats what I thought too, but I ran into a problem I could not solve so
far, so this user-command based implementation (show the cookies on
demand) is kind of the second-best solution (better then nothing).
Here is a thread related to the problem mentioned, unfortunately with no
posts except my own so far:
,-----------------------------------------------------------------------
| http://lists.gnu.org/archive/html/help-gnu-emacs/2013-05/msg00511.html
`-----------------------------------------------------------------------
--
cheers,
Thorsten
next prev parent reply other threads:[~2013-05-23 10:31 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-22 20:44 [NEW FEATURE] org-hlc.el - hidden-lines-cookies (hlc) for Org-mode Thorsten Jolitz
2013-05-23 7:19 ` Rainer M. Krug
2013-05-23 8:08 ` Carsten Dominik
2013-05-23 10:30 ` Thorsten Jolitz [this message]
2013-05-24 5:34 ` Nick Dokos
2013-05-24 13:56 ` Thorsten Jolitz
2013-05-24 13:52 ` Thorsten Jolitz
2013-05-24 15:49 ` François Pinard
2013-05-24 17:45 ` Thorsten Jolitz
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=87ppwirnxu.fsf@gmail.com \
--to=tjolitz@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).