|Age||Commit message (Collapse)||Author||Files||Lines|
Trailing white spaces will be now always highlighted, not just in
Also, the White Space package, which is available since GNU Emacs 22,
is loaded and activated locally in prog-mode.
Additionally, using White Space variables, we set highlighting through
faces on wrong indentation and the maximum length of a coding line.
- The highlighting for the characters beyond the set length of a
coding line is not activated by default, only for wrong
- If the White Space package is not available, errors on loading or
activation are ignored.
- If the White Space mode is not activated the set variables would
not have any effect.
v2: Removed too long lines trail highlighting, as suggested by Ilia
Signed-off-by: Andres Gomez <firstname.lastname@example.org>
Acked-by: Ilia Mirkin <email@example.com>
While this is the default, private .emacs files might have it set to
something else. No harm in forcing it to 0.
Signed-off-by: Ilia Mirkin <firstname.lastname@example.org>
Reviewed-by: Kristian Høgsberg <email@example.com>
This limits the style changes to modes inherited from prog-mode. The
main reason to do this is to avoid setting fill-column for people
using Emacs to edit commit messages because 78 characters is too many
to make it wrap properly in git log. Note that makefile-mode also
inherits from prog-mode so the fill column should continue to apply
v2: Apply to all the .dir-locals.el files, not just the one in the
Acked-by: Michel Dänzer <firstname.lastname@example.org>
Makefiles need hard tabs, let's not make that harder than it needs to be.
Signed-off-by: Kristian Høgsberg <email@example.com>
Reviewed-by: Matt Turner <firstname.lastname@example.org>
Reviewed-by: Brian Paul <email@example.com>
dirvars package has been replaced by built-in functionality of
dir-locals. preserve the settings in the new infrastructure