]> code.delx.au - gnu-emacs-elpa/blobdiff - README.md
align: Support guessing/setting alignment rules
[gnu-emacs-elpa] / README.md
index a3d21d049dec7a770f2780baa9d88c5b5a53945e..ece29faf533be51acf747b2aae46351bf031579f 100644 (file)
--- a/README.md
+++ b/README.md
@@ -1,10 +1,10 @@
 gobject-minor-mode
 ======
 
-In the C coding style widely 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
-with ordinary editor commands.
+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.
 
 gobject-minor-mode is an Emacs minor mode intended to help editing C
 source code in that style.  It mainly provides two features: text
@@ -27,9 +27,11 @@ Usage
 
 | Key         | Command                                           |
 --------------|---------------------------------------------------|
+| C-c C-g g   | Guess alignment columns from region               |
+| C-c C-g s   | Set alignment column to point                     |
 | C-c C-g a   | Align argument list at point                      |
-| C-c C-g f   | Align function declarations in the current region |
+| C-c C-g r   | Align function declarations in the current region |
 | C-c C-g c   | Insert ```module_object```                        |
 | C-c C-g C   | Insert ```MODULE_OBJECT```                        |
 | C-c C-g C-c | Insert ```ModuleObject```                         |
-| C-c C-g s   | Insert custom snippets                            |
+| C-c C-g s   | Insert custom snippet                             |