> From: Thien-Thi Nguyen <[EMAIL PROTECTED]> > 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. _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://lists.gnu.org/mailman/listinfo/help-gnu-emacs