[Top][All Lists]

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

c++-mode: auto indent class access

From: Miguel Guedes
Subject: c++-mode: auto indent class access
Date: Thu, 22 Nov 2012 11:41:29 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121028 Thunderbird/16.0.2

How can emacs be set up such that when typing ':' in front of a class access label, it automatically indents the line according to the setting access-label in c-offsets-alist?


class Foo
  public: <-- typing ':' to automatically indent (in my case to col 0)


reply via email to

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