From: Juha <jvierine@tml.hut.fi>
Subject: Re: Furna's fisheye minor mode
Date: Wed, 21 Jan 2004 12:37:58 +0200 [thread overview]
Message-ID: <400E5686.2030208@tml.hut.fi> (raw)
In-Reply-To: <jwvznciiodh.fsf-monnier+emacs/devel@asado.iro.umontreal.ca>
> Most interesting would be to know "what does the user have to do to
> hide/unhide parts of the text and to tell which parts to hide/unhide".
You can define the level on indentation for a high level feature,
everything that has more is a low level feature. If the point is close
enough, all levels of indentation are shown. Hiding and unhiding is done
automatically as you move the point.
> I suppose it's slow because you use line-counts rather than
> buffer positions. I recommend you begin by removing fisheye-count-lines
> and figure out how to get your code working again without using it.
> That'll speed it up tremendously.
Ok. I guess I could use the number of characters as a distance measure.
> the buffer based on the user's movement (like reveal-mode does) ?
reveal-mode? I'm running 21.2.1 and I don't have a reveal-mode.
> Using post-command-hook sounds about right. In many cases you can try to
> answer "why do I need to know whether point has moved" in order to avoid
> having to answer the first question, tho.
It's the automatic hiding/unhiding that I want.
juha
next prev parent reply other threads:[~2004-01-21 10:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-20 15:00 Furna's fisheye minor mode Juha Vierinen
2004-01-20 16:29 ` Stefan Monnier
2004-01-21 10:37 ` Juha [this message]
2004-01-21 9:21 ` Richard Stallman
2004-01-21 10:12 ` Juha
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=400E5686.2030208@tml.hut.fi \
--to=jvierine@tml.hut.fi \
/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.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).