From: Eli Zaretskii <eliz@gnu.org>
Subject: Re: hs-minor-mode: hs-mouse-toggle-hiding
Date: Sun, 12 Jun 2005 14:36:32 +0300 [thread overview]
Message-ID: <ud5qr7qnz.fsf@gnu.org> (raw)
In-Reply-To: <7eis0j6gug.fsf@ada2.unipv.it> (message from Thien-Thi Nguyen on Sun, 12 Jun 2005 11:53:59 +0200)
> From: Thien-Thi Nguyen <ttn@glug.org>
> Date: Sun, 12 Jun 2005 11:53:59 +0200
>
> > I'd like to use hs-minor-mode for hiding some C blocks.
> > Now I've a problem with hs-mouse-toggle-hiding.
> > If I hide a block by clicking on it, I'm not able to get it back.
> > Where must I place the click to get the block back?
>
> recent hideshow.el[*] allows you to futz w/ the overlay (and its
> properties) at creation time via user var `hs-set-up-overlay'.
>
> here are some ideas:
> - reposition overlay start to beginning of line
> - add an overlay or text-property to the fragment of text
> between the block start and the overlay that "slides" the
> mouse click to end of line
> - advise `hs-mouse-toggle-hiding' to check end of line
> - put marker or otherwise record location of block start
> and advise `hs-mouse-toggle-hiding' to check for it
Does any of these do the obvious thing--let the click on the ellipsis
that replaces the hidden block unhide it? If one of these does that,
I'd suggest to make it the default. If not, add such a behavior and
make it the default. That's the behavior I'd expect.
next prev parent reply other threads:[~2005-06-12 11:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-08 0:43 hs-minor-mode: hs-mouse-toggle-hiding Peter Meier
2005-06-08 3:46 ` Eli Zaretskii
2005-06-12 9:53 ` Thien-Thi Nguyen
2005-06-12 11:36 ` Eli Zaretskii [this message]
[not found] ` <mailman.4399.1118576613.25862.help-gnu-emacs@gnu.org>
2005-06-12 19:02 ` Stefan Monnier
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ud5qr7qnz.fsf@gnu.org \
--to=eliz@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.