@@ -14,13 +14,13 @@ Besides giving access to general functionality in all modes
1414major mode to enable functionality only for that particular major mode
1515(i.e. adhering to Drupals PHP coding standards only in php-mode).
1616
17- Drupal mode will try not to enforce specific ways of working with
17+ Drupal mode will not try to enforce specific ways of working with
1818Emacs on to you. Emacs can be extended in a million different ways and
1919you should use the parts and extensions that fit * you* and * your*
2020working habits.
2121
22- If Drupal mode recognizes you using an extension that it knows about
23- it will adapt the extension to be useful in Drupal mode and with
22+ If Drupal mode recognizes you are using an extension that it knows
23+ about it will adapt the extension to be useful in Drupal mode and with
2424Drupal. I.e. it will recognize if you have loaded etags support and
2525setup your buffers to use the TAGS file in your DRUPAL_ROOT folder.
2626
@@ -57,8 +57,8 @@ it is considered a bug!
5757
5858#### Fixing line endings
5959
60- If your files are not written with unix style line endings Drupal mode
61- will ask your to convert them to unix style line endings on saving
60+ If your files are not written with Unix style line endings Drupal mode
61+ will ask your to convert them to Unix style line endings on saving
6262buffers.
6363
6464This behavior can be customized be the variable
@@ -83,35 +83,35 @@ This behavior can be customized be the variable
8383### Search documentation
8484
8585You can search Drupal documentation for the symbol at point by issuing
86- ` C-c d f ` or ` M-x drupal-search-documentation ` or from the Drupal
86+ ` C-c C-v C-d ` or ` M-x drupal-search-documentation ` or from the Drupal
8787menu entry.
8888
8989Files that are part of a Drupal project will try to identify the used
9090version of Drupal core and look up the documentation for the
9191corresponding version at http://api.drupal.org .
9292
93- If the symbol at point is believed to be a drush command the
93+ If the symbol at point is believed to be a Drush command the
9494documentation will be looked up at http://api.drush.org instead. If
9595Drush is installed it will identify the version of Drush and look up
96- the documentation for that version.
96+ the documentation for the installed version of Drush .
9797
98- You can change where to search for documentation be customizing
98+ You can change where to search for documentation by customizing
9999` drupal-search-url ` (besides api.drupal.org it also has a predefined
100100setting for api.drupalcontrib.org) and ` drupal-drush-search-url ` .
101101
102102
103103### Clearing all caches
104104
105105If Drush is installed you can issue a ` drush cc all ` from within Emacs
106- by issuing ` C-c d c ` or ` M-x drupal-drush-cache-clear ` or from the
106+ by issuing ` C-c C-v C- c ` or ` M-x drupal-drush-cache-clear ` or from the
107107Drupal menu entry.
108108
109109
110110### Drush editing minor mode
111111
112- If the buffer you visit is believe to be a Drush command (we think it
113- is its name or path contains "drush") we will also enter a Drush minor
114- mode.
112+ If the buffer you visit is believed to be a Drush command (we think it
113+ is if its file name or path contains "drush") we will also enter a
114+ Drush minor mode.
115115
116116There is currently no functionality connected to ` drupal-drush-mode ` .
117117
@@ -123,7 +123,7 @@ If you have generated a TAGS file in your DRUPAL_ROOT folder Drupal
123123mode will setup all buffers running drupal-mode to set
124124` tags-file-name ` to point to that TAGS file.
125125
126- Etags is a builtin part of Emacs.
126+ Etags is a built-in part of Emacs.
127127
128128
129129### GNU Globals / gtags
@@ -133,13 +133,21 @@ support in Emacs then Drupal mode will set `gtags-rootdir` to your
133133DRUPAL_ROOT.
134134
135135
136+ ### Drush utilities for Emacs users
137+
138+ If
139+ [ Drush utilities for Emacs users] ( http://drupal.org/project/emacs_drush )
140+ is installed Drupal mode will update existing tag files in your
141+ DRUPAL_ROOT after saving a buffer.
142+
143+
136144### ispell
137145
138146If ispell.el is loaded in Emacs then Drupal mode will set the language
139147of your Drupal mode buffers to ` american ` as stated in [ Drupals coding
140148standards] ( http://drupal.org/coding-standards ) .
141149
142- ispell.el is a builtin part of Emacs. A external program must be
150+ ispell.el is a built-in part of Emacs. An external program must be
143151installed to run the actual spell checking,
144152i.e. [ ispell] ( http://www.gnu.org/software/ispell/ ) ,
145153[ aspell] ( http://aspell.net/ ) , or
@@ -150,27 +158,23 @@ i.e. [ispell](http://www.gnu.org/software/ispell/),
150158
151159If support for
152160[ flymake-phpcs.el] ( https://github.com/illusori/emacs-flymake-phpcs ) is
153- loaded in emacs and you have installed
161+ loaded in Emacs and you have installed
154162[ Drupal Code Sniffer] ( http://drupal.org/project/drupalcs ) rules then
155163Drupal mode will enable flymake-phpcs under php-mode.
156164
157165For this to work you need:
158166
159167* [ PHP CodeSniffer] ( http://pear.php.net/package/PHP_CodeSniffer )
160- * [ flymake-phpcs.el] ( https ://github.com/illusori/emacs- flymake-phpcs)
168+ * [ flymake-phpcs.el] ( http ://marmalade-repo.org/packages/ flymake-phpcs)
161169* [ Drupal Code Sniffer] ( http://drupal.org/project/drupalcs ) rules
162170
163- Making all of them work together can be a bit of a puzzle. Especially
164- notice the need to run ` phpcs ` through a wrapper you get with
165- flymake-phpcs.el.
166-
167171
168172## Other takes on a Drupal mode
169173
170174There are quite a few attempts at writing a Drupal mode out in the
171175wild:
172176
173- * [ Search Github for drupal-mode] ( https://github.com/search?type=Repositories&q=drupal-mode )
177+ * [ Search Github for drupal-mode] ( https://github.com/search?type=Repositories&q=" drupal-mode" )
174178* At drupal.org:
175179 * http://drupal.org/sandbox/bartlantz/1405156
176180 * http://drupal.org/project/emacs
@@ -183,4 +187,4 @@ All of them more or less based on
183187
184188Drupal mode is actively developed at
185189[ GitHub] ( https://github.com/arnested/drupal-mode ) . Feature requests,
186- ideas, bug reports, and pull request are more that welcome!
190+ ideas, bug reports, and pull request are more than welcome!
0 commit comments