[
https://issues.apache.org/jira/browse/HADOOP-1148?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12489263
]
Doug Cutting commented on HADOOP-1148:
--------------------------------------
(add-hook 'find-file-hooks 'turn-on-auto-fill) ; always use fill
(add-hook 'text-mode-hook 'turn-on-auto-fill) ; always use fill
(defun my-code-mode-hook ()
(setq fill-column 79)
(setq comment-column 50)
(setq c-basic-offset 2)
(setq indent-tabs-mode nil) ; untabified indenting
)
(add-hook 'lisp-mode-hook 'my-code-mode-hook)
(add-hook 'c++-mode-hook 'my-code-mode-hook)
(add-hook 'java-mode-hook 'my-code-mode-hook)
> re-indent all code
> ------------------
>
> Key: HADOOP-1148
> URL: https://issues.apache.org/jira/browse/HADOOP-1148
> Project: Hadoop
> Issue Type: Improvement
> Reporter: Doug Cutting
> Assigned To: Doug Cutting
> Priority: Minor
> Fix For: 0.13.0
>
>
> We should re-indent all code to consistently use 2-spaces per level. This
> will not invalidate outstanding patches: one can use the '-l' option to
> ignore whitespace differences in patches.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.