unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: jpw@pobox.com (John Paul Wallington)
To: reader@newsguy.com
Cc: help-gnu-emacs@gnu.org
Subject: Re: [OT Personal Memory failure] Can someone remind me how to format code
Date: Sun, 21 Oct 2007 12:36:10 +0100	[thread overview]
Message-ID: <878x5wd7it.fsf@laptop.shootybangbang.com> (raw)
In-Reply-To: <mailman.2382.1192927986.18990.help-gnu-emacs@gnu.org> (reader@newsguy.com's message of "Sat\, 20 Oct 2007 19\:52\:51 -0500")

reader@newsguy.com writes:

> I know there is a keyboard command in emacs that will format a region
> of some common kinds of code such as shell script, emacs lisp, perl
> etc.
>
> I recall having marked out a region then using some keyboard combo to
> format it.

Sounds like `indent-region' that is bound to C-M-\.

       reply	other threads:[~2007-10-21 11:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.2382.1192927986.18990.help-gnu-emacs@gnu.org>
2007-10-21 11:36 ` John Paul Wallington [this message]
2007-10-21  0:52 [OT Personal Memory failure] Can someone remind me how to format code reader

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=878x5wd7it.fsf@laptop.shootybangbang.com \
    --to=jpw@pobox.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=reader@newsguy.com \
    /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).