--text follows this line--
Content-Type: text/plain; charset=us-ascii
Content-Description: message body text
Content-Transfer-Encoding: 7bit
A jpeg-picture:
яШя ...
...
... [ATTACHMENT ~/graphics/jpeg/small.jpg, image/jpeg]
The buffer is totally filled with 8bit-characters and it contains the
whole binary jpeg-file. In addition I get the error message `Invalid
search bound (wrong side of point)'.
On the other hand both png and tiff files worked perfectly (quite
strange, isn't it?)
Here is the vm-related part of my .emacs:
------------------------------------------------------------------------------
(define-key menu-bar-tools-menu [rmail] '("Read Mail" . vm))
(define-key menu-bar-tools-menu [compose-mail] '("Send Mail" . vm-mail))
(global-set-key [\C-x m] 'vm-mail)
(autoload 'vm "vm" "Start VM on your primary inbox." t)
(autoload 'vm-other-frame "vm" "Like `vm' but starts in another frame." t)
(autoload 'vm-visit-folder "vm" "Start VM on an arbitrary folder." t)
(autoload 'vm-visit-virtual-folder "vm" "Visit a VM virtual folder." t)
(autoload 'vm-mode "vm" "Run VM major mode on a buffer" t)
(autoload 'vm-mail "vm" "Send a mail message using VM." t)
(autoload 'vm-submit-bug-report "vm" "Send a bug report about VM." t)
(set-variable 'vm-primary-inbox "~/Mail/vm.inbox");
(set-variable 'vm-reply-subject-prefix "Re: ")
(set-variable 'vm-included-text-prefix "> ")
(set-variable 'vm-frame-per-summary 'nil)
(set-variable 'vm-frame-per-composition 'nil)
(set-variable 'vm-frame-per-edit 'nil)
(set-variable 'vm-frame-per-help 'nil)
(set-variable 'vm-frame-per-completion 'nil)
(setq vm-mime-base64-encoder-program "mmencode")
(setq vm-mime-base64-decoder-program "mmencode")
(setq vm-mime-base64-decoder-switches '("-u"))
(setq vm-mime-external-content-types-alist
'(("text/html" "netscape")
("image" "display")
("video/mpeg" "mpeg_play")
("video" "xanim")
("application/msword" "soffice")
("application/pdf" "acroread")))
(setq vm-font-lock-keywords
'(("^\\([fF]rom\\|[sS]ender\\|[rR]eply-[tT]o\\):.*"
. font-lock-function-name-face)
("^\\([tT]o\\|[aA]pparently-[tT]o\\|[BF]*[cC][cC]\\|[sS]ubject\\):"
. font-lock-keyword-face)
("^>.*"
. font-lock-comment-face)
("^\\(X-[A-Za-z0-9-]+\\|[iI]n-reply-to\\|[dD]ate\\):.*$"
. font-lock-string-face)))
(defun vm-fontify ()
(make-local-variable 'font-lock-defaults)
(setq font-lock-defaults '(vm-font-lock-keywords t))
(turn-on-font-lock))
(add-hook 'vm-mode-hook (lambda () (vm-fontify)))
(add-hook 'vm-presentation-mode-hook (lambda () (vm-fontify)))
------------------------------------------------------------------------------
Best wishes, Stefan
Emacs : GNU Emacs 20.7.1 (i686-pc-linux-gnu, X toolkit)
of Mon Jul 17 2000 on ihmgyro5
Package: VM 6.82
current state:
==============
(setq
vm-arrived-message-hook nil
vm-arrived-messages-hook nil
vm-auto-center-summary nil
vm-auto-decode-mime-messages t
vm-auto-displayed-mime-content-type-exceptions nil
vm-auto-displayed-mime-content-types '("text" "multipart")
vm-auto-folder-case-fold-search nil
vm-auto-get-new-mail t
vm-auto-next-message t
vm-berkeley-mail-compatibility nil
vm-check-folder-types t
vm-circular-folders nil
vm-confirm-new-folders nil
vm-confirm-quit 0
vm-convert-folder-types t
vm-crash-box "~/INBOX.CRASH"
vm-crash-box-suffix nil
vm-default-From_-folder-type 'From_
vm-default-folder-type 'From_
vm-delete-after-archiving nil
vm-delete-after-bursting nil
vm-delete-after-saving nil
vm-delete-empty-folders t
vm-digest-burst-type "guess"
vm-digest-identifier-header-format "X-Digest: %s\n"
vm-digest-center-preamble t
vm-digest-preamble-format "\"%s\" (%F)"
vm-digest-send-type "mime"
vm-display-buffer-hook nil
vm-display-using-mime t
vm-edit-message-hook nil
vm-edit-message-mode 'text-mode
vm-fill-paragraphs-containing-long-lines nil
vm-flush-interval 90
vm-folder-directory nil
vm-folder-read-only nil
vm-follow-summary-cursor t
vm-forward-message-hook nil
vm-forwarded-headers nil
vm-forwarding-digest-type "mime"
vm-forwarding-subject-format "forwarded message from %F"
vm-frame-parameter-alist nil
vm-frame-per-completion nil
vm-frame-per-composition nil
vm-frame-per-edit nil
vm-frame-per-folder t
vm-frame-per-help nil
vm-frame-per-summary nil
vm-highlight-url-face 'bold-italic
vm-highlighted-header-regexp nil
vm-honor-page-delimiters nil
vm-image-directory "/usr/share/emacs/20.7/etc/vm/"
vm-imap-bytes-per-session nil
vm-imap-expunge-after-retrieving t
vm-imap-max-message-size nil
vm-imap-messages-per-session nil
vm-imap-session-preauth-hook nil
vm-in-reply-to-format "%i"
vm-included-text-attribution-format "%F writes:\n"
vm-included-text-discard-header-regexp nil
vm-included-text-headers nil
vm-included-text-prefix "> "
vm-index-file-suffix nil
vm-init-file "~/.vm"
vm-infer-mime-types nil
vm-invisible-header-regexp nil
vm-jump-to-new-messages t
vm-jump-to-unread-messages t
vm-keep-crash-boxes nil
vm-keep-sent-messages 1
vm-mail-header-from nil
vm-mail-header-insert-date t
vm-mail-header-insert-message-id t
vm-mail-hook nil
vm-make-crash-box-name nil
vm-make-spool-file-name nil
vm-mail-check-interval 300
vm-mail-mode-hook '(mc-install-write-mode)
vm-mail-send-hook nil
vm-mime-7bit-composition-charset "us-ascii"
vm-mime-8bit-composition-charset "iso-8859-1"
vm-mime-8bit-text-transfer-encoding 'quoted-printable
vm-mime-alternative-select-method 'best-internal
vm-mime-attachment-auto-type-alist '(("\\.jpe?g$" . "image/jpeg")
("\\.gif$" . "image/gif")
("\\.png$" . "image/png")
("\\.tiff?$" . "image/tiff")
("\\.html?$" . "text/html")
("\\.au$" . "audio/basic")
("\\.mpe?g$" . "video/mpeg")
("\\.ps$" . "application/postscript"))
vm-mime-attachment-save-directory nil
vm-mime-avoid-folding-content-type t
vm-mime-base64-decoder-program "mmencode"
vm-mime-base64-decoder-switches '("-u")
vm-mime-base64-encoder-program "mmencode"
vm-mime-base64-encoder-switches nil
vm-mime-button-face 'gui-button-face
vm-mime-button-format-alist '(("text" . "%-35.35(%d, %c%) [%k to %a]")
("multipart/alternative" .
"%-35.35(%d%) [%k to %a]")
("multipart/digest" .
"%-35.35(%d, %n message%s%) [%k to %a]")
("multipart" .
"%-35.35(%d, %n part%s%) [%k to %a]")
("message/partial" .
"%-35.35(%d, part %N (of %T)%) [%k to %a]")
("message/external-body" .
"%-35.35(%d%) [%k to %a (%x)]")
("message" . "%-35.35(%d%) [%k to %a]")
("audio" . "%-35.35(%d%) [%k to %a]")
("video" . "%-35.35(%d%) [%k to %a]")
("image" . "%-35.35(%d%) [%k to %a]")
("application/octet-stream" .
"%-35.35(%d, %f%) [%k to %a]")
)
vm-mime-charset-font-alist nil
vm-mime-confirm-delete t
vm-mime-decode-for-preview t
vm-mime-default-face-charset-exceptions nil
vm-mime-default-face-charsets '("us-ascii")
vm-mime-delete-after-saving nil
vm-mime-delete-viewer-processes t
vm-mime-digest-discard-header-regexp nil
vm-mime-digest-headers '("Resent-" "From:" "Sender:" "To:" "Cc:" "Subject:"
"Date:" "Message-ID:" "Keywords:" "MIME-Version:"
"Content-")
vm-mime-display-function nil
vm-mime-external-content-types-alist '(("text/html" "netscape")
("image" "display")
("video/mpeg" "mpeg_play")
("video" "xanim")
("application/msword" "soffice")
("application/pdf" "acroread"))
vm-mime-ignore-mime-version t
vm-mime-internal-content-type-exceptions nil
vm-mime-internal-content-types t
vm-mime-max-message-size nil
vm-mime-qp-decoder-program nil
vm-mime-qp-decoder-switches nil
vm-mime-qp-encoder-program nil
vm-mime-qp-encoder-switches nil
vm-mime-type-converter-alist nil
vm-mime-uuencode-decoder-program "uudecode"
vm-mime-uuencode-decoder-switches nil
vm-mode-hook '(mc-install-read-mode (lambda nil (vm-fontify)))
vm-mode-hooks nil
vm-mosaic-program "Mosaic"
vm-mosaic-program-switches nil
vm-move-after-deleting nil
vm-move-after-undeleting nil
vm-move-after-killing nil
vm-move-messages-physically nil
vm-movemail-program "movemail"
vm-mutable-frames t
vm-mutable-windows t
vm-netscape-program "netscape"
vm-netscape-program-switches nil
vm-paragraph-fill-column 72
vm-pop-bytes-per-session nil
vm-pop-expunge-after-retrieving t
vm-pop-max-message-size nil
vm-pop-messages-per-session nil
vm-pop-md5-program "md5"
vm-popup-menu-on-mouse-3 t
vm-preferences-file "~/.vm.preferences"
vm-preview-lines 0
vm-preview-read-messages nil
vm-primary-inbox "~/Mail/vm.inbox"
vm-quit-hook nil
vm-recognize-imap-maildrops "^imap:[^:]+:[^:]+:[^:]+:[^:]+:[^:]+:[^:]+"
vm-recognize-pop-maildrops "^[^:]+:[^:]+:[^:]+:[^:]+:[^:]+"
vm-reply-hook nil
vm-reply-ignored-reply-tos nil
vm-reply-subject-prefix "Re: "
vm-resend-bounced-discard-header-regexp nil
vm-resend-bounced-headers '("MIME-Version:" "Content-" "From:" "Sender:"
"Reply-To:" "To:" "Cc:" "Subject:" "Newsgroups:"
"In-Reply-To:" "References:" "Keywords:" "X-")
vm-resend-bounced-message-hook nil
vm-resend-discard-header-regexp "\\(\\(X400-\\)?Received:\\|Resent-\\)"
vm-resend-headers nil
vm-resend-message-hook nil
vm-retrieved-spooled-mail-hook nil
vm-rfc1153-digest-discard-header-regexp "\\(X400-\\)?Received:"
vm-rfc1153-digest-headers '("Resent-" "Date:" "From:" "Sender:" "To:" "Cc:"
"Subject:" "Message-ID:" "Keywords:")
vm-rfc934-digest-discard-header-regexp nil
vm-rfc934-digest-headers '("Resent-" "From:" "Sender:" "To:" "Cc:" "Subject:"
"Date:" "Message-ID:" "Keywords:")
vm-search-using-regexps nil
vm-select-message-hook nil
vm-select-new-message-hook nil
vm-select-unread-message-hook nil
vm-send-digest-hook nil
vm-send-using-mime t
vm-skip-deleted-messages t
vm-skip-read-messages nil
vm-spool-file-suffixes nil
vm-spooled-mail-waiting-hook nil
vm-startup-with-summary t
vm-strip-reply-headers nil
vm-subject-significant-chars nil
vm-summary-format "%n %*%a %-17.17F %-3.3m %2d %4l/%-5c %I\"%s\"\n"
vm-summary-highlight-face 'bold
vm-summary-mode-hook '(mc-install-read-mode)
vm-summary-mode-hooks nil
vm-summary-redo-hook nil
vm-summary-show-threads nil
vm-summary-thread-indent-level 2
vm-summary-uninteresting-senders nil
vm-summary-uninteresting-senders-arrow "To: "
vm-tale-is-an-idiot nil
vm-temp-file-directory "/tmp"
vm-thread-using-subject t
vm-toolbar-pixmap-directory "/usr/share/emacs/20.7/etc/vm/"
vm-trust-From_-with-Content-Length nil
vm-undisplay-buffer-hook nil
vm-unforwarded-header-regexp "only-drop-this-header"
vm-url-browser 'vm-mouse-send-url-to-netscape
vm-url-search-limit 12000
vm-use-menus '(folder motion send mark label sort virtual undo dispose emacs
nil help)
vm-use-toolbar '(next previous delete/undelete autofile file reply compose
print visit quit nil help)
vm-virtual-folder-alist nil
vm-virtual-mirror t
vm-visible-headers '("Resent-" "From:" "Sender:" "To:" "Apparently-To:" "Cc:"
"Subject:" "Date:")
vm-visit-folder-hook nil
vm-visit-when-saving 0
vm-warp-mouse-to-new-frame nil
vm-window-configuration-file "~/.vm.windows"
features '(reporter mail-extr sort gnus-async gnus-art browse-url gnus-score
score-mode nndraft nnmh gnus-sum gnus-cache gnus-group gnus-undo
nnmail gnus-start gnus-range gnus-spec gnus-int gnus-win gnus
gnus-mule nntp nnoo gnus-ems backquote gnus-util message
mailabbrev timezone nnheader mailheader vm-minibuf vm-virtual
vm-delete vm-undo vm-page vm-summary tapestry vm-motion vm-message
mail-utils vm-folder vm-mime view mailalias vm-reply vm-misc
vm-easymenu vm-menu vm-mouse vm-window vm-autoload vm-vars
vm-startup vm-version vm tex-site mailcrypt rfc822 comint ring
easymenu smtpmail time-stamp sendmail font-lock regexp-opt crypt
crypt++ crypt+pgp-pub timer paren wid-edit cus-face fontset
ediff-hook vc-hooks lisp-float-type lisp-mode page menu-bar select
scroll-bar mouse facemenu faces frame romanian slovak czech
slovenian case-table base64 format mule custom widget x-toolkit)
)
Oboy, font-lock again. VM tries to turn off font-lock so that it
doesn't crash, but apparently font-lock ignores the value of its
mode variable and runs anyway. I'll make another attempt at
cutting its strings in VM 6.83.
I decided to just punt instead, since there seems to be no clean
way to turn off font-lock without it blowing away text properties
in the buffer.
So don't use font-lock in mail composition buffers.
You know, you could probably set up a 'bot to monitor the group and
answer anything that looks like this question. I'd guess it's made up
about 10-15% of the last month's worth of traffic.
Waider. What, me, exaggerate?
--
waider@some random working address
"These are indeed harsh times for the dim." - jo...@snugbug.cts.com