all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Andreas Röhler" <andreas.roehler@online.de>
To: help-gnu-emacs@gnu.org
Cc: Nordlöw <per.nordlow@gmail.com>
Subject: Re: Extending Alignment in C/C++ expressions (align.el)
Date: Mon, 10 Sep 2007 22:10:39 +0200	[thread overview]
Message-ID: <200709102210.41734.andreas.roehler@online.de> (raw)
In-Reply-To: <1189427856.416129.298270@o80g2000hse.googlegroups.com>

Am Montag, 10. September 2007 14:37 schrieb Nordlöw:
> if (x) { xi = -1; }
> else (yyy) { yyyi = +1; }
>
> should be aligned into
>
> if   (x)   { xi   = -1; }
> else (yyy) { yyyi = +1; }


Got it with command `align-entire'

with a customized `align-rules-list'.

Edited the regexp of `c-assignment': `[[{=]' instead of `='.
Then optional attributes 

- Repeat:
- Boolean : on   


Andreas Röhler

  parent reply	other threads:[~2007-09-10 20:10 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-10 12:37 Extending Alignment in C/C++ expressions (align.el) Nordlöw
2007-09-10 16:30 ` Tom Tromey
2007-09-10 20:10 ` Andreas Röhler [this message]
     [not found] ` <mailman.677.1189484458.18990.help-gnu-emacs@gnu.org>
2007-09-11 11:14   ` Nordlöw
2007-09-11 15:07     ` Tom Tromey
2007-09-11 16:51     ` Andreas Röhler
     [not found]     ` <mailman.713.1189529369.18990.help-gnu-emacs@gnu.org>
2007-09-11 20:23       ` Nordlöw

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=200709102210.41734.andreas.roehler@online.de \
    --to=andreas.roehler@online.de \
    --cc=help-gnu-emacs@gnu.org \
    --cc=per.nordlow@gmail.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.
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.