質問編集履歴

1

comment-stylesの値を追記

2016/03/20 11:42

投稿

hkcomori
hkcomori

スコア30

test CHANGED
File without changes
test CHANGED
@@ -44,7 +44,7 @@
44
44
 
45
45
  ```lang-C
46
46
 
47
- /* 「Align regexp: (-*)*/」を実行すると */
47
+ /* 「Align regexp: \(-*\)\*\/」を実行すると */
48
48
 
49
49
  /* -----------------------------*/
50
50
 
@@ -61,3 +61,31 @@
61
61
  そもそもこのような自動整形が可能なのか、
62
62
 
63
63
  可能であればどのような設定・パッケージが必要か、教えていただけないでしょうか?
64
+
65
+
66
+
67
+ [2016-03-20追記]
68
+
69
+ comment-styleでは値が表示されなかったので、comment-stylesの値になりますが、
70
+
71
+ 以下のように表示されました。
72
+
73
+ ```lisp
74
+
75
+ ((plain nil nil nil nil "Start in column 0 (do not indent), as in Emacs-20")
76
+
77
+ (indent-or-triple nil nil nil multi-char "Start in column 0, but only for single-char starters")
78
+
79
+ (indent nil nil nil t "Full comment per line, ends not aligned")
80
+
81
+ (aligned nil t nil t "Full comment per line, ends aligned")
82
+
83
+ (box nil t t t "Full comment per line, ends aligned, + top and bottom")
84
+
85
+ (extra-line t nil t t "One comment for all lines, end on a line by itself")
86
+
87
+ (multi-line t nil nil t "One comment for all lines, end on last commented line")
88
+
89
+ (box-multi t t t t "One comment for all lines, + top and bottom"))
90
+
91
+ ```