I'm having no luck getting Emacs (cc-mode) to indent multiline template arguments. Here's an example line:
typedef ::boost::zip_iterator< ::boost::tuple<
vector<int>::const_iterator, vector<float>::const_iterator > >;
I'd like the second line to be indented, as like in a function. It is indented, until I enter the second-to-last >, ...
Emacs reindents the current line whenever I type certain things, like ";" or "//". This is pretty annoying, since there are a whole lot of places where it isn't smart enough to indent correctly.
How do I disable this feature? I still want to be able to indent the line with TAB, but I don't want any source code I type to cause it to re...
Hello everyone.
I'm having trouble finding a way to (properly) align the following lines in CC Mode using the style "java":
// Correct when this is used: (c-set-offset 'arglist-cont-nonempty '++).
private static synchorized horkingLongMethodName(int anArg,
........Object anotherArg, String yetAnotherArg,
........Object andStillAnother)...
I've just started using emacs, and there's one feature I'd really like, and searching around a bit was fruitless. I hope someone else has done this because I don't want to learn elisp just yet.
void foo()<cursor>
I would like typing an "{" to cause this to happen
void foo(){
<cursor>
}
I would like this to only happen in cc-mod...
I'm trying to byte-compile cc-mode 5.31.3 using emacs 23.1.1 as follows:
$ emacs -batch --no-site-file -q -f batch-byte-compile *.el
But two of the files are failing to compile (in addition to numerous warnings):
In c-init-language-vars-for:
cc-mode.el:168:10:Warning: Function `mapcan' from cl package called at runtime
cc-mode.el:16...