Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Next: , Up: Fortran


31.12.1 Motion Commands

In addition to the normal commands for moving by and operating on “defuns” (Fortran subprograms—functions and subroutines, as well as modules for F90 mode), Fortran mode provides special commands to move by statements and other program units.

C-c C-n
Move to the beginning of the next statement (fortran-next-statement/f90-next-statement).


C-c C-p
Move to the beginning of the previous statement (fortran-previous-statement/f90-previous-statement). If there is no previous statement (i.e. if called from the first statement in the buffer), move to the start of the buffer.


C-c C-e
Move point forward to the start of the next code block (f90-next-block). A code block is a subroutine, ifendif statement, and so forth. This command exists for F90 mode only, not Fortran mode. With a numeric argument, this moves forward that many blocks.


C-c C-a
Move point backward to the previous code block (f90-previous-block). This is like f90-next-block, but moves backwards.


C-M-n
Move to the end of the current code block (fortran-end-of-block/f90-end-of-block). With a numeric agument, move forward that number of blocks. The mark is set before moving point. The F90 mode version of this command checks for consistency of block types and labels (if present), but it does not check the outermost block since that may be incomplete.


C-M-p
Move to the start of the current code block (fortran-beginning-of-block/f90-beginning-of-block). This is like fortran-end-of-block, but moves backwards.

 
 
  Published under the terms of the GNU General Public License Design by Interspire