/[emacs]/emacs/lisp/mh-e/mh-customize.el
ViewVC logotype

Diff of /emacs/lisp/mh-e/mh-customize.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.25 by wohler, Thu Oct 27 22:57:30 2005 UTC revision 1.26 by wohler, Fri Oct 28 01:59:11 2005 UTC
# Line 959  default). If you need to scan just the m Line 959  default). If you need to scan just the m
959  ;;; Scan Line Formats (:group 'mh-scan-line-formats)  ;;; Scan Line Formats (:group 'mh-scan-line-formats)
960    
961  (defcustom mh-adaptive-cmd-note-flag t  (defcustom mh-adaptive-cmd-note-flag t
962    "*Non-nil means that the message number width is determined dynamically.    "*On means that the message number width is determined dynamically.
963  This is done once when a folder is first opened by running scan on the last  If you've created your own format to handle long message numbers, you'll be
964  message of the folder. The message number for the last message is extracted  pleased to know you no longer need it since MH-E adapts its internal format
965  and its width calculated. This width is used when calling `mh-set-cmd-note'.  based upon the largest message number if this option is on (the default).
966    
967  If you prefer fixed-width message numbers, set this variable to nil and call  If you prefer fixed-width message numbers, turn off this option and call
968  `mh-set-cmd-note' with the width specified by the scan format in  `mh-set-cmd-note' with the width specified by your format file (see
969  `mh-scan-format-file'. For example, the default width is 4, so you would use  `mh-scan-format-file'). For example, the default width is 4, so you would use
970  \"(mh-set-cmd-note 4)\" if `mh-scan-format-file' were nil."  \"(mh-set-cmd-note 4)\"."
971    :type 'boolean    :type 'boolean
972    :group 'mh-scan-line-formats)    :group 'mh-scan-line-formats)
973    
974  (defcustom mh-scan-format-file t  (defcustom mh-scan-format-file t
975    "Specifies the format file to pass to the scan program.    "Specifies the format file to pass to the scan program.
976  If t, the format string will be taken from the either `mh-scan-format-mh'  
977  or `mh-scan-format-nmh' depending on whether MH or nmh is in use.  The default setting for this option is \"Use MH-E scan Format\". This means
978  If nil, the default scan output will be used.  that the format string will be taken from the either `mh-scan-format-mh' or
979    `mh-scan-format-nmh' depending on whether MH or nmh (or GNU mailutils) is in
980  If you customize the scan format, you may need to modify a few variables  use. You can also set this option to \"Use Default scan Format\" to get the
981  containing regexps that MH-E uses to identify specific portions of the output.  same output as you would get if you ran \"scan\" from the shell. If you have a
982  Use `M-x apropos RET mh-scan.*regexp' to obtain a list of these variables. You  format file that you want MH-E to use but not MH, you can set this option to
983  may also have to call `mh-set-cmd-note' with the width of your message  \"Specify a scan Format File\" and enter the name of your format file.
984  numbers. See also `mh-adaptive-cmd-note-flag'."  
985    If you change the format of the scan lines you'll need to tell MH-E how to
986    parse the new format. As you will see, quite a lot of variables are involved
987    to do that. Use \"M-x apropos RET mh-scan.*regexp\" to obtain a list of these
988    variables. You may also have to call `mh-set-cmd-note' to modify `mh-cmd-note'
989    with the column for your notations if you turn off
990    `mh-adaptive-cmd-note-flag'. However, you will need to set the `mh-cmd-note'
991    variable manually with `setq' if `mh-scan-format-file' is set to anything
992    other than \"Use MH-E scan Format\"."
993    :type '(choice (const :tag "Use MH-E scan Format" t)    :type '(choice (const :tag "Use MH-E scan Format" t)
994                   (const :tag "Use Default scan Format" nil)                   (const :tag "Use Default scan Format" nil)
995                   (file  :tag "Specify a scan Format File"))                   (file  :tag "Specify a scan Format File"))
996    :group 'mh-scan-line-formats)    :group 'mh-scan-line-formats)
997    
998  (defcustom mh-scan-prog "scan"  (defcustom mh-scan-prog "scan"
999    "*Program to run to generate one-line-per-message listing of a folder.    "*Program used to scan messages.
1000  Normally \"scan\" or a file name linked to scan.  This file is searched  The name of the program that generates a listing of one line per message is
1001  for relative to the `mh-progs' directory unless it is an absolute pathname."  held in this option. Unless this variable contains an absolute pathname, it is
1002    assumed to be in the `mh-progs' directory. You may link another program to
1003    `scan' (see \"mh-profile(5)\") to produce a different type of listing."
1004    :type 'string    :type 'string
1005    :group 'mh-scan-line-formats)    :group 'mh-scan-line-formats)
1006  (make-variable-buffer-local 'mh-scan-prog)  (make-variable-buffer-local 'mh-scan-prog)

Legend:
Removed from v.1.25  
changed lines
  Added in v.1.26

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26