[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master eaa2c7a 40/40: Merge commit '1054ea1bc5b07a1438a18c1b33f42
From: |
Daiki Ueno |
Subject: |
[elpa] master eaa2c7a 40/40: Merge commit '1054ea1bc5b07a1438a18c1b33f4266b28ff9d77' |
Date: |
Fri, 22 Jan 2016 22:48:49 +0000 |
branch: master
commit eaa2c7aa9b579e6adc5377eb3513d1ef5fac64e6
Merge: 7e40fdf 1054ea1
Author: Daiki Ueno <address@hidden>
Commit: Daiki Ueno <address@hidden>
Merge commit '1054ea1bc5b07a1438a18c1b33f4266b28ff9d77'
---
packages/gnome-c-style/README.md | 13 ++-----------
packages/gnome-c-style/gnome-c-style.el | 8 ++++----
2 files changed, 6 insertions(+), 15 deletions(-)
diff --git a/packages/gnome-c-style/README.md b/packages/gnome-c-style/README.md
index 336a462..86b79a7 100644
--- a/packages/gnome-c-style/README.md
+++ b/packages/gnome-c-style/README.md
@@ -1,24 +1,15 @@
gnome-c-style
======
-In the C coding style commonly used in GNOME, identifiers are written
-in camel case and function arguments are aligned to the right end.
-That makes it a bit cumbersome to keep your code consistent with the
-style, even with align.el or plugins like yasnippet.
-
-gnome-c-style is an Emacs minor mode intended to help editing C
-source code in that style. It mainly provides two features: text
-alignment and snippet insersion.
+gnome-c-style is an Emacs minor mode for editing C source code in [GNOME C
coding
style](https://developer.gnome.org/programming-guidelines/stable/c-coding-style.html.en).
In particular, it is useful to properly line-up [function
arguments](https://developer.gnome.org/programming-guidelines/stable/c-coding-style.html.en#functions)
and [function declarations in header
files](https://developer.gnome.org/programming-guidelines/stable/c-coding-style.html.en#functions).
Install
------
-* Type "make"
-* Copy .elc files somewhere in your load-path
+* M-x package-install gnome-c-style
* Add the following lines to ~/.emacs/init.el:
```
-(autoload 'gnome-c-style-mode "gnome-c-style" "GNOME-style C minor mode" t)
(add-hook 'c-mode-hook 'gnome-c-style-mode)
```
diff --git a/packages/gnome-c-style/gnome-c-style.el
b/packages/gnome-c-style/gnome-c-style.el
index b7615d7..66c6578 100644
--- a/packages/gnome-c-style/gnome-c-style.el
+++ b/packages/gnome-c-style/gnome-c-style.el
@@ -30,10 +30,10 @@
;;
<https://developer.gnome.org/programming-guidelines/stable/c-coding-style.html.en#functions>
;;
;; It basically provides two functions: code alignment and snippet
-;; insertion. To align code, use `gnome-c-style-align-region' to
-;; line-up multiple function declarations in region, and
-;; `gnome-c-style-align-at-point' to line-up arguments in the argument
-;; list at point.
+;; insertion. To align code, use `gnome-c-style-align-decls-region'
+;; to line-up multiple function declarations in region, and
+;; `gnome-c-style-align-arglist-at-point' to line-up arguments in the
+;; argument list at point.
;;
;; To insert code snippet, use `gnome-c-snippet-insert'. The command
;; will let you choose a template to be inserted. This package also
- [elpa] master a65924c 26/40: align: Remove spaces between two '*', (continued)
- [elpa] master a65924c 26/40: align: Remove spaces between two '*', Daiki Ueno, 2016/01/22
- [elpa] master 39e7fb6 29/40: Rename some commands, Daiki Ueno, 2016/01/22
- [elpa] master 570b52f 30/40: snippet: Fix indentation, Daiki Ueno, 2016/01/22
- [elpa] master e84487c 35/40: snippet: Add FIXME comment, Daiki Ueno, 2016/01/22
- [elpa] master b04d18e 33/40: Change copyright holder to FSF, Daiki Ueno, 2016/01/22
- [elpa] master 06c8a6a 38/40: * packages/gnome-c-style/gnome-c-tests.el: Really add copyright blurb, Daiki Ueno, 2016/01/22
- [elpa] master 8d0f8c1 37/40: Fix command names in comment, Daiki Ueno, 2016/01/22
- [elpa] master b26ba73 34/40: snippet: Add missing GObjectClass vfunc, Daiki Ueno, 2016/01/22
- [elpa] master 1054ea1 39/40: Add links to GNOME programming guideline, Daiki Ueno, 2016/01/22
- [elpa] master 957d395 36/40: maint: Fix license notice, Daiki Ueno, 2016/01/22
- [elpa] master eaa2c7a 40/40: Merge commit '1054ea1bc5b07a1438a18c1b33f4266b28ff9d77',
Daiki Ueno <=
- [elpa] master 7f7d7cb 16/40: Rename to gnome-minor-mode, Daiki Ueno, 2016/01/22
- [elpa] master b6e010d 17/40: align: Add option to control max columns, Daiki Ueno, 2016/01/22
- [elpa] master a654ab4 25/40: Rename to gnome-c-style, Daiki Ueno, 2016/01/22