Function: mh-msg-num-width-to-column

mh-msg-num-width-to-column is an autoloaded and byte-compiled function defined in mh-scan.el.gz.

Signature

(mh-msg-num-width-to-column WIDTH)

Documentation

Return the column for notations given message number WIDTH.

Note that columns in Emacs start with 0.

If mh-scan-format-file is set to "Use MH-E scan Format" this means that either mh-scan-format-mh or mh-scan-format-nmh is in use. This function therefore assumes that the first column is empty (to provide room for the cursor), the following WIDTH columns contain the message number, and the column for notations comes after that.

Source Code

;; Defined in /usr/src/emacs/lisp/mh-e/mh-scan.el.gz
;;;###mh-autoload
(defun mh-msg-num-width-to-column (width)
  "Return the column for notations given message number WIDTH.
Note that columns in Emacs start with 0.

If `mh-scan-format-file' is set to \"Use MH-E scan Format\" this
means that either `mh-scan-format-mh' or `mh-scan-format-nmh' is
in use.  This function therefore assumes that the first column is
empty (to provide room for the cursor), the following WIDTH
columns contain the message number, and the column for notations
comes after that."
  (if (eq mh-scan-format-file t)
      (max (1+ width) 2)
    (error "%s %s" "Can't call `mh-msg-num-width-to-column' when"
           "`mh-scan-format-file' is not set to \"Use MH-E scan Format\"")))