all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Andy Stewart <lazycat.manatee@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: How do you indent with Haskell code?
Date: Sun, 04 Jan 2009 12:24:39 +0800	[thread overview]
Message-ID: <87vdsvk8ag.fsf@debian.domain> (raw)

Hi all,

I use haskell-mode to write Haskell code.
Haskell use whitespace indent code.
And if i write code with deep indent level.
Have many possible position can indent at current line.
Example:

case foo of
^
1
    ^
    2

Write code below *case foo of* have two possible indent position.
I use haskell-mode for indent, i hit "TAB" key to switch all possible
indent position.
Like above example, i can hit "TAB" to indent code between (1) and (2).

I will wonderful have anyone use others advanced indent method for
Haskell.
More ingenious and don't waist time to hit "TAB" key.

Any help?

  -- Andy





                 reply	other threads:[~2009-01-04  4:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=87vdsvk8ag.fsf@debian.domain \
    --to=lazycat.manatee@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.
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.