| Subject: | Extending Alignment in C/C++ expressions align.el |
|---|---|
| From: | Nordlöw |
| Date: | Mon, 10 Sep 2007 12:37:36 -0000 |
| Newsgroups: | gnu.emacs.help |
How can I extend the Emacs package align.el to make M-x align-entire
additionally align the if sub-expressions and opening curly-braces as
follows?:
if (x) { xi = -1; }
else (yyy) { yyyi = +1; }
should be aligned into
if (x) { xi = -1; }
else (yyy) { yyyi = +1; }
(the example needs to be displayed in fixed-width font to be
understandable)
Thanks,
Nordlöw
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: SMTP mail, David Ventimiglia |
|---|---|
| Next by Date: | Re: SMTP mail, David Ventimiglia |
| Previous by Thread: | Compilation Warning and Error Hints in the Margin of my Source Code, Nordlöw |
| Next by Thread: | Re: Extending Alignment in C/C++ expressions (align.el), Tom Tromey |
| Indexes: | [Date] [Thread] [Top] [All Lists] |