OCaml Forge
Patches
Search the entire project
This project's trackers
This project's tasks
This project's releases
This project's news
Project
People
Advanced search
Log In
New Account
Home
My Page
Projects
Code Snippets
Emacs OCaml Tuareg mode
Summary
Activity
Tracker
Lists
Tasks
News
SCM
Files
Detail: [#917] Additional indent at match/function/try cases
Patches: Browse
|
Download .csv
|
Monitor
[#917] Additional indent at match/function/try cases
Date:
2011-02-15 00:48
Priority:
3
State:
Open
Submitted by:
Jun FURUSE (
furuse
)
Assigned to:
Nobody (None)
Resolution:
None
Version:
None
Component:
None
Summary:
Additional indent at match/function/try cases
Detailed description
This patch for 2.0.4 adds tuareg-case-arrow-extra-indent defcustom var to add extra indentation at match/function/try cases, which I prefer:
The original:
let f = function
| p ->
x; y; z
With the patch, tuareg-case-arrow-extra-indent = 2
let f = function
| p ->
x; y; z
Followup
Message
Date: 2013-02-18 19:38
Sender:
Christophe Troestler
Thanks for the patch. Please submit a patch for the SMIE mode which is the one currently under development.
Date: 2011-02-15 00:55
Sender:
Jun FURUSE
Oops, I do not like this HTML based editor which ignores spaces at the line heads:
The original:
let f = function
__| p ->
____x; y; z
With the patch, tuareg-case-arrow-extra-indent = 2
let f = function
__| p ->
______x; y; z
Attached Files:
Attachments:
tuareg-mode-arrow-extra-indent.diff
Changes:
Field
Old Value
Date
By
File Added
108: tuareg-mode-arrow-extra-indent.diff
2011-02-15 00:48
furuse