From: Vaidheeswaran C <vaidheeswaran.chinnaraju@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: While editing a CMake file, how to turn off smart indentation?
Date: Fri, 17 Jul 2015 11:09:46 +0530 [thread overview]
Message-ID: <moa4ek$fqp$1@ger.gmane.org> (raw)
In-Reply-To: <CADKOXrDe6aeaPekf1ghdY=gAwuQOwUkUmiNvrOL7apXh0_9AiQ@mail.gmail.com>
On Thursday 16 July 2015 12:53 PM, Yaron Cohen-Tal wrote:
> Hi,
>
> I just want each line to get the same indentation as the previous line, and
> that TAB would indent 4 spaces. For C++ I managed it with:
>
> (setq-default indent-tabs-mode nil)
> (setq-default c-syntactic-indentation nil)
> (setq-default c-basic-offset 4)
>
> In my `.emacs`, but for CMake files Emacs just indents the lines
> automatically according to its own rules, and TAB has no effect at all.
>
> Thanx,
> Yaron
>
cmake is absent in
http://www.emacswiki.org/emacs/List_Of_Major_And_Minor_Modes
This suggests that with a __very high__ probablity that Cmake is not
part of GNU Emacs proper.
cmake-mode comes from
http://www.cmake.org/gitweb?p=cmake.git;a=blob_plain;f=Auxiliary/cmake-mode.el;hb=HEAD
Do they have a discussion list? May be you can write to one of the
recent committers or put a note in emacswiki (and cross your fingers):
http://www.cmake.org/gitweb?p=cmake.git;a=history;f=Auxiliary/cmake-mode.el;h=51663a8e10772a598f15acbcab9545be2cb3a3c8;hb=HEAD
next prev parent reply other threads:[~2015-07-17 5:39 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-16 7:23 While editing a CMake file, how to turn off smart indentation? Yaron Cohen-Tal
2015-07-16 22:55 ` Emanuel Berg
2015-07-16 23:55 ` Stefan Monnier
[not found] ` <mailman.7023.1437087429.904.help-gnu-emacs@gnu.org>
2015-07-17 1:14 ` Dan Espen
2015-07-17 5:39 ` Vaidheeswaran C [this message]
2015-07-17 23:37 ` Emanuel Berg
2015-07-17 5:52 ` Vaidheeswaran C
2015-07-17 15:01 ` Ian Zimmerman
-- strict thread matches above, loose matches on Subject: below --
2015-07-17 4:18 Yaron Cohen-Tal
2015-07-17 5:59 ` Vaidheeswaran C
2015-07-17 23:34 ` Emanuel Berg
2015-07-17 23:54 ` John Mastro
2015-07-18 0:26 ` Emanuel Berg
2015-07-18 17:58 ` Yaron Cohen-Tal
2015-07-18 19:18 ` John Mastro
2015-07-19 17:35 ` Yaron Cohen-Tal
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='moa4ek$fqp$1@ger.gmane.org' \
--to=vaidheeswaran.chinnaraju@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/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.