unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Qiang Yu <yuq825@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Is any extension in Emacs can shrink and expand a block of code
Date: Fri, 10 Aug 2012 22:55:26 +0800	[thread overview]
Message-ID: <CAKGbVbsr4vCJvmmvJUXX-Sx-adqkeAF5RuPd=LdJMxUK9YKRzw@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 225 bytes --]

Hi all,

Is there any extension in Emacs can shrink and expand a block of code?

For example:

int foo()
{
    return 0;
}

the content in "{}" can be shrunk to like:

int foo()
{...}

and I can expand it back.

Regards,
yuq

[-- Attachment #2: Type: text/html, Size: 299 bytes --]

             reply	other threads:[~2012-08-10 14:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-10 14:55 Qiang Yu [this message]
2012-08-10 16:48 ` Is any extension in Emacs can shrink and expand a block of code drain
2012-08-10 17:04 ` Andreas Röhler

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='CAKGbVbsr4vCJvmmvJUXX-Sx-adqkeAF5RuPd=LdJMxUK9YKRzw@mail.gmail.com' \
    --to=yuq825@gmail.com \
    --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.
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).