17 Commits

Author SHA1 Message Date
Tor Lillqvist
f75cd22118 Add fill-column: 100 to the Emacs mode line
Vim users: No reason to panic. This does not mean that Emacs users
would suddenly start to split existing (or new) code lines always
before column 100. The default value for fill-column is 70, and that
hasn't forced code lines edited in Emacs to be shorter than that
earlier either.

The primary intent of using a fill-column of 100 (instead of the
default 70) is that when you edit some long (multi-line) comment
block, and you want to reformat ("fill", "reflow") that comment (using
the fill-paragraph command, bound to Meta-Q), lines will be filled up
to column 100, and not just 70, which in most cases would look quite
short.

Unless I am strongly advised not to, I will start adding this to the
mode lines in source files if I remember, as I happen to edit some
comment block in them.

Change-Id: Icfb93dbb22b2db7190fdc9c8ee9518d08e73c7a8
2016-11-08 14:59:30 +02:00
Michael Stahl
aa70294ffc normalize existing emacs/vim mode-lines in python files
Bunch of these were setting C++ or Make modes and icky tabs...

Also, reportedly Emacs can figure out to enable python-mode
automatically.

Change-Id: I50072488fb92cb4d27aa3f74f717a28ae3967543
2016-10-26 22:16:08 +02:00
Stephan Bergmann
d2d0340109 Use updated vim mode line also for legacy-infected code.
Change-Id: I548cf17fe2818e8c0fbb4dc356bff7abbe7cc7e6
2016-10-13 11:21:40 +02:00
Eike Rathke
6a00816426 add Vim C-indent options to C/C++ template modeline
So we get those at least for new files.

Change-Id: I33b3dcc55a94802c139d8747683a64854e64ad9c
2016-05-18 20:01:32 +02:00
Michael Meeks
59197dea29 Targetted text updates, with seasonable changes before l10n freeze.
Change-Id: If37ef9f68711da3a0aa9a3ba59b111a8a23421df
2013-12-13 17:00:07 +00:00
Stephan Bergmann
746758ddcc Consistenly have modelines for all templates
Change-Id: I9ef62c5cb882c323d134f87ea50202c7b40bb6fb
2013-05-14 10:00:40 +02:00
Michael Meeks
68bcd5a3e8 Add extra clarity as to which version to choose
Change-Id: I5528329b1d62074fb48f0a98419da66303584261
2012-08-08 14:13:01 +01:00
Michael Meeks
6c1dd94d78 re-base on ALv2 code. 2012-06-26 11:33:03 +01:00
Michael Meeks
839420548d add stock re-based code headers. 2012-06-22 16:31:30 +01:00
Takeshi Abe
508291bab3 added Emacs mode line for convenience, as well as footer for vim
Change-Id: I01a9118d22ee88b7011ae8b8028b11e043f8c52e
2012-06-14 10:31:32 +09:00
Stephan Bergmann
6e90fdb564 Added XML text declaration to XML license header, for convenience
Change-Id: I5abe2119ddadf7f44ebe711efe30e33491362c3d
2012-06-13 18:07:46 +02:00
Michael Meeks
3eac565c60 update new file license header template 2012-06-13 13:42:25 +01:00
Michael Meeks
e40e42ffea update header template to MPLv2 cf. ESC minutes. 2012-04-19 15:01:53 +01:00
Stephan Bergmann
0cfb61650a Bump year. 2012-01-05 11:59:11 +01:00
Michael Meeks
306c79e24f add emacs + vim modelines to the MPL license template 2011-10-26 19:46:15 +01:00
Lubos Lunak
c902dc8655 Simplified license header template.
With input from Björn Michaelsen and Thorsten Behrens
2011-08-18 14:08:48 +02:00
Wol
9e5592db26 Licencing files
Added the three COPYING files for the three licences,
and the TEMPLATE.SOURCECODE.HEADER to go at the start of new source
files
2011-01-11 21:49:39 +00:00