-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
Signed-off-by: Maciej Barć <xgqt@riseup.net>
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
( | ||
(find-file | ||
. ( | ||
(require-final-newline . t) | ||
This comment has been minimized.
Sorry, something went wrong. |
||
(show-trailing-whitespace . t) | ||
(tab-width . 4) | ||
This comment has been minimized.
Sorry, something went wrong.
tastytea
Contributor
|
||
) | ||
) | ||
(ebuild-mode | ||
. ( | ||
(indent-tabs-mode . t) | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
xgqt
Member
|
||
) | ||
) | ||
) |
7 comments
on commit 926e90a
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think these kind of changes should be discussed beforehand, since it alters the behavior of Emacs for everyone. Or did I miss the discussion?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think these kind of changes should be discussed beforehand, since it alters the behavior of Emacs for everyone. Or did I miss the discussion?
the same rules are set in .editorconfig, no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the same rules are set in .editorconfig, no?
Yes, apart from show-trailing-whitespace
, which I don't mind.
However, users may wish to use a local .dir-locals.el
, to set some magit variables or bug-reference-url-format
or whatever.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to set some magit variables
would be nice if those too could be "generalized" and used by more people
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would be nice if those too could be "generalized" and used by more people
I don't think everyone will agree what the right values are. magit-todos-depth
(a variable I set for ::gentoo and may have to set for ::guru too if it gets much larger) for example is not marked safe by default, so everyone would get warnings when entering the directory. Some people may want to set environment variables unique to their workflow. My point is that .dir-locals.el
should be local.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would be nice if those too could be "generalized" and used by more people
I don't think everyone will agree what the right values are.
magit-todos-depth
(a variable I set for ::gentoo and may have to set for ::guru too if it gets much larger) for example is not marked safe by default, so everyone would get warnings when entering the directory. Some people may want to set environment variables unique to their workflow. My point is that.dir-locals.el
should be local.
ok! good point
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok, thx @tastytea now I understand this was a bad idea
.editorconfig already sets that. You can use it with the editorconfig mode.