From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Jim Newton Newsgroups: gmane.emacs.help Subject: ratliff indentation style, peculiar indentation of close brace Date: Thu, 4 Aug 2016 07:49:37 -0700 (PDT) Message-ID: <91c177e3-a59e-4356-8ff2-b01731b8b294@googlegroups.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1470322239 11577 195.159.176.226 (4 Aug 2016 14:50:39 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 4 Aug 2016 14:50:39 +0000 (UTC) Injection-Date: Thu, 04 Aug 2016 14:49:38 +0000 User-Agent: G2/1.0 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Aug 04 16:50:33 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bVJyh-0001nL-Ib for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Aug 2016 16:50:31 +0200 Original-Received: from localhost ([::1]:40294 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bVJye-0001AG-DZ for geh-help-gnu-emacs@m.gmane.org; Thu, 04 Aug 2016 10:50:28 -0400 X-Received: by 10.13.213.73 with SMTP id x70mr63243468ywd.53.1470322178355; Thu, 04 Aug 2016 07:49:38 -0700 (PDT) X-Received: by 10.36.111.147 with SMTP id x141mr2944622itb.6.1470322178260; Thu, 04 Aug 2016 07:49:38 -0700 (PDT) Original-Path: usenet.stanford.edu!j37no6671297qta.0!news-out.google.com!d68ni16659ith.0!nntp.google.com!f6no7302892ith.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Complaints-To: groups-abuse@google.com Original-Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=163.5.55.13; posting-account=p_cn_woAAAAXPGEq7uizWAc60TPLf8y5 Original-NNTP-Posting-Host: 163.5.55.13 Original-Xref: usenet.stanford.edu gnu.emacs.help:218706 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:111066 Archived-At: I'm working on an open source project which uses Ratliff style indentation for C++ code. I'm not a particular fan but I want to obey the coding guidelines. I don't find anything with a google search. Can emacs c++ indentation support this style. The curious thing about this style is that it aligns the close brace with the indentation as follows. while (something) do_something(); do_something_else(); } ;; brace is commented like this. Does someone know of a way to make c++ indentation do this? Thanks if anyone can help.