X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2FAppendices.pod;h=4004312d419fe2ad477e6970e31b8db554c40050;hp=c8eb582ad7c8808e0d4ca00ff8f1a4115b0f2944;hb=3b1fa91be1d89d2297aa9e8e83462344d9cd9820;hpb=e179eee0346481c7fbf046ff616abbf424a72861 diff --git a/lib/Catalyst/Manual/Tutorial/Appendices.pod b/lib/Catalyst/Manual/Tutorial/Appendices.pod index c8eb582..4004312 100644 --- a/lib/Catalyst/Manual/Tutorial/Appendices.pod +++ b/lib/Catalyst/Manual/Tutorial/Appendices.pod @@ -107,7 +107,7 @@ Removes four leading space from the current line through line 44 =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,6 +126,15 @@ commands such as C to set the mark at the cursor location and C> and C> 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 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 + =head1 APPENDIX 2: USING POSTGRESQL AND MYSQL