help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: c-mode Backslash (\) Indentation


From: Alan Mackenzie
Subject: Re: c-mode Backslash (\) Indentation
Date: Tue, 23 Feb 2010 08:37:19 +0000 (UTC)
User-agent: tin/1.6.2-20030910 ("Pabbay") (UNIX) (FreeBSD/4.11-RELEASE (i386))

Volkan YAZICI <volkan.yazici@gmail.com> wrote:
> Hi,

> In c-mode, how can I make all `\' (backslash) characters to get
> indented to 80th character of the line? When I select a macro region
> and type M-\, function finds the longest line in the region and
> indents the `\' characters at most that found position.

Set the user option `c-backslash-column' to 80 and
`c-backslash-max-column' also to 80.

These options are described on page "Custom Macros" in the CC Mode
manual.

-- 
Alan Mackenzie (Nuremberg, Germany).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]