Function: woman2-ta
woman2-ta is a byte-compiled function defined in woman.el.gz.
Signature
(woman2-ta TO)
Documentation
.ta Nt ... -- Set tabs, left type, unless t=R(right), C(centered).
(Breaks, but should not.) The tab stops are separated by spaces;
a value preceded by + represents an increment to the previous stop value.
Format paragraphs upto TO.
Source Code
;; Defined in /usr/src/emacs/lisp/woman.el.gz
;;; Tabs, Leaders, and Fields:
(defun woman2-ta (to)
".ta Nt ... -- Set tabs, left type, unless t=R(right), C(centered).
\(Breaks, but should not.) The tab stops are separated by spaces;
a value preceded by + represents an increment to the previous stop value.
Format paragraphs upto TO."
(setq tab-stop-list nil)
(woman2-process-escapes-to-eol 'numeric)
(save-excursion
(let ((tab-stop 0))
(while (not (eolp))
(let ((plus (cond ((eq (following-char) ?+) (forward-char 1) t)))
(i (woman-parse-numeric-arg)))
(setq tab-stop (if plus (+ tab-stop i) i)))
(if (memq (following-char) '(?R ?C))
(setq tab-stop (cons tab-stop (following-char))))
(setq tab-stop-list (cons tab-stop tab-stop-list))
(skip-syntax-forward "^ ") ; skip following R, C, `;', etc.
(skip-chars-forward " \t")
)))
(woman-delete-line 1) ; ignore any remaining arguments
(setq tab-stop-list (reverse tab-stop-list))
(woman2-format-paragraphs to))