[Catalyst-commits] r10274 -
Catalyst-Manual/5.70/trunk/lib/Catalyst/Manual/Tutorial
hkclark at dev.catalyst.perl.org
hkclark at dev.catalyst.perl.org
Sun May 24 20:40:12 GMT 2009
Author: hkclark
Date: 2009-05-24 20:40:11 +0000 (Sun, 24 May 2009)
New Revision: 10274
Modified:
Catalyst-Manual/5.70/trunk/lib/Catalyst/Manual/Tutorial/Appendices.pod
Log:
Suggestion from Stefan Kangas about "un-indenting" code in Emacs (thanks, Stefan)
Modified: Catalyst-Manual/5.70/trunk/lib/Catalyst/Manual/Tutorial/Appendices.pod
===================================================================
--- Catalyst-Manual/5.70/trunk/lib/Catalyst/Manual/Tutorial/Appendices.pod 2009-05-24 18:27:46 UTC (rev 10273)
+++ Catalyst-Manual/5.70/trunk/lib/Catalyst/Manual/Tutorial/Appendices.pod 2009-05-24 20:40:11 UTC (rev 10274)
@@ -107,7 +107,7 @@
=head2 "Un-indenting" with Emacs
-Although there author has not used Emacs for many years (apologies to
+Although the author has not used Emacs for many years (apologies to
the Emacs fans out there), here is a quick hint to get you started. To
replace the leading spaces of every line in a file, use:
@@ -126,7 +126,16 @@
C<C-E<lt>> and C<C-E<gt>> to set the mark at the beginning and end of the
file respectively.
+Also, Stefan Kangas sent in the following tip about an alternate
+approach using the command C<indent-region> to redo the indentation
+for the currently selected region (adhering to indent rules in the
+current major mode). You can run the command by typing M-x indent-
+region or pressing the default keybinding C-M-\ in cperl-mode.
+Additional details can be found here:
+L<http://www.gnu.org/software/emacs/manual/html_node/emacs/Indentation-Comman>
+
+
=head1 APPENDIX 2: USING POSTGRESQL AND MYSQL
The main database used in this tutorial is the very simple yet powerful
More information about the Catalyst-commits
mailing list