1 Sep 2004 14:25
Re: a few problems/suggestions with/for fold-mode
Ralf Angeli <dev.null <at> iwi.uni-sb.de>
2004-09-01 12:25:34 GMT
2004-09-01 12:25:34 GMT
* David Kastrup (2004-09-01) writes: > Ralf Angeli <dev.null <at> iwi.uni-sb.de> writes: > >> * Richard Lewis (2004-08-27) writes: > >> > * Atm the left/first mouse button unfolds things, wouldn't mouse-2 be >> > more consistent with the rest of emacs? >> >> There are several reasons why mouse-1 is used. First, I wanted to >> reserve mouse-2 for /permanently/ opening the folded content. > > Where is the difference? If you click with mouse-1 onto a display string it will reveal its content. As soon as the cursor leaves the content, it will collapse and show the display string again. mouse-2 would destroy the respective overlay and thereby make its content visible permanently. This would be the same as the "Remove" option in preview-latex's context menus. >> That having said, we should discuss the behavior we want to have in >> the end. preview-latex provides a context menu for toggling the >> visibility of a preview's content. I found that too cumbersome to >> use and think that mouse-1 for temporary toggling is much more >> convenient. > > Uh, you can toggle with mouse-2 just fine in preview-latex. Ah, now I see. I haven't recognized that you had to click onto the image when the content is shown. Anyway, with TeX-fold there is no need for a placeholder which serves as a button and you don't have to look after collapsing the content, it just happens automatically when you leave the area. > Putting > any action on mouse-1 would be a mistake since you then no longer can > use the mouse to mark just a preview as the current region for > copy&paste. Why not? If I click onto the start of a display string with mouse-1, keep the button pressed and drag the pointer to the end of the display string until all of it is highlighted, I can paste its content (not the display string itself) with mouse-2 afterwards into the buffer. The same behavior I get with preview-latex and its images. Unless you meant something else, I cannot see a difference here. -- -- Ralf

RSS Feed