all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: tomer <tomer1levin@walla.co.il>
To: help-gnu-emacs@gnu.org
Subject: Re: folding-mode question
Date: Wed, 22 Sep 2010 02:47:29 -0700 (PDT)	[thread overview]
Message-ID: <b71417d1-ae60-4698-86e7-8e828a2fe0fe@w4g2000vbh.googlegroups.com> (raw)
In-Reply-To: i7cflb$jfd$1@news.onet.pl

On Sep 22, 10:44 am, Marc Mientki <mien...@nonet.com> wrote:
> Am 22.09.2010 08:58, schrieb tomer:
>
> > Is it possbile to fold partial line ,line for example:
>
> > the folding mark is //<<<
>
> > not folded:
> > if (a==b) { //<<<
> > a=1
> > b=2
> > }//>>>
>
> > is it possbile to fold it like this:
> > if (a==b) {...
>
> Yes (even without special marks like //<<<), try hideshow.el.
>
> ;; * Commands provided
> ;;
> ;; This file provides Hideshow Minor Mode.  When active, nine commands
> ;; are available, implementing block hiding and showing.  They (and their
> ;; keybindings) are:
> ;;
> ;;   hs-hide-block                      C-c @ C-h
> ;;   hs-show-block                      C-c @ C-s
> ;;   hs-hide-all                        C-c @ C-M-h
> ;;   hs-show-all                        C-c @ C-M-s
> ;;   hs-hide-level                      C-c @ C-l
> ;;   hs-toggle-hiding                   C-c @ C-c
> ;;   hs-mouse-toggle-hiding             [(shift mouse-2)]
> ;;   hs-hide-initial-comment-block
> ;;
> ;; Blocks are defined per mode.  In c-mode, c++-mode and java-mode, they
> ;; are simply text between curly braces, while in Lisp-ish modes parens
> ;; are used.  Multi-line comment blocks can also be hidden.  Read-only
> ;; buffers are not a problem, since hideshow doesn't modify the text.
> ;;
> ;; The command `M-x hs-minor-mode' toggles the minor mode or sets it
> ;; (similar to other minor modes).
>
> HTH
> regards
> Marc

Thanks for the answer I
work with a language called "e" (hardware verification langauge) it
looks like C but not exactly.
am I still able to use hideshow ?


  reply	other threads:[~2010-09-22  9:47 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-22  6:58 folding-mode question tomer
2010-09-22  8:44 ` Marc Mientki
2010-09-22  9:47   ` tomer [this message]
2010-09-22 10:45     ` Marc Mientki
2010-09-24  0:17       ` tomer
2010-09-24  7:13         ` Marc Mientki
2010-09-25 19:31           ` tomer
2010-09-28  9:49             ` Marc Mientki
2010-09-28 22:46               ` Stefan Monnier
2010-09-29  8:54                 ` Marc Mientki
2010-09-29  8:56                   ` Marc Mientki
2010-09-29  9:00                   ` Marc Mientki
     [not found]           ` <87sk0yk5al.fsf@puma.rapttech.com.au>
2010-09-28  9:35             ` Marc Mientki
2010-09-25  0:47         ` Tim X

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=b71417d1-ae60-4698-86e7-8e828a2fe0fe@w4g2000vbh.googlegroups.com \
    --to=tomer1levin@walla.co.il \
    --cc=help-gnu-emacs@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.