Function: fortran-column-ruler

fortran-column-ruler is an interactive and byte-compiled function defined in fortran.el.gz.

Signature

(fortran-column-ruler)

Documentation

Insert a column ruler momentarily above current line, till next keystroke.

The ruler is defined by the value of fortran-column-ruler-fixed in fixed format mode, and fortran-column-ruler-tab in TAB format mode. The next key typed is executed unless it is SPC.

View in manual

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/fortran.el.gz
(defun fortran-column-ruler ()
  "Insert a column ruler momentarily above current line, till next keystroke.
The ruler is defined by the value of `fortran-column-ruler-fixed' in fixed
format mode, and `fortran-column-ruler-tab' in TAB format mode.
The next key typed is executed unless it is SPC."
  (interactive)
  (momentary-string-display
   (if indent-tabs-mode
       fortran-column-ruler-tab
     fortran-column-ruler-fixed)
   (save-excursion
     (beginning-of-line)
     (if (eq (window-start) (window-point))
         (line-beginning-position 2)
       (point)))
   nil "Type SPC or any command to erase ruler."))