bug fixes for apel-10.3 flim-1.14.3 rmail-mime-1.13.0 semi-1.14.3
Larry Hunter
Larry.Hunter at uchsc.edu
Fri Aug 17 08:47:52 JST 2001
Dear SEMI developers,
I just installed apel-10.3 flim-1.14.3 rmail-mime-1.13.0 and
semi-1.14.3 into emacs 20.7 running on linux.
I noticed and fixed a few small problems during the installation.
First, emu is, by default, put in the VERSION_SPECIFIC_LISPDIR.
However, the process for adding to the load path doesn't take this
into account, so the FLIM and SEMI installers complain. The fix is to
add an entry in the load path for "emu" in the *-CFG files:
(if (boundp 'VERSION_SPECIFIC_LISPDIR)
(progn
(add-to-list 'load-path VERSION_SPECIFIC_LISPDIR)
(add-to-list 'load-path (expand-file-name "emu" VERSION_SPECIFIC_LISPDIR))))
Second, the rmail-mime.el file in rmail-mime-1.13.0 still makes use of
the mime-entity-header-buffer function, which was made obsolete in the
latest release of flim. The five occurances of
mime-entity-header-buffer in rmail-mime.el can all safely be replaced
by the function mime-entity-name.
Finally, the entries in the mime-preview-over-to-previous-method-alist
and the mime-preview-over-to-next-method-alist for rmail-mode have an
incorrect call to save-window-excursion. Because of this, when these
functions are called, they change the RMAIL buffer, but then return to
the preview buffer, which is not the correct behavior if
rmail-enable-mime is 'ask. Eliminating this call to
save-window-excursion fixes the bug:
(set-alist 'mime-preview-over-to-previous-method-alist
'rmail-mode
(function
(lambda ()
(let ((entity (get-text-property (point-min) 'mime-view-entity)))
(when entity
(switch-to-buffer (mime-entity-name entity))
(rmail-previous-undeleted-message 1)
)))))
(set-alist 'mime-preview-over-to-next-method-alist
'rmail-mode
(function
(lambda ()
(let ((entity (get-text-property (point-min)
'mime-view-entity)))
(when entity
(switch-to-buffer (mime-entity-name entity))
(rmail-next-undeleted-message 1)
)))))
Thank you very much for a very useful package!
Larry
--
Lawrence Hunter, Ph.D.
Director, Center for Computational Pharmacology
Associate Professor of Pharmacology, PMB & Computer Science
URL: http://compbio.uchsc.edu/Hunter
phone (303) 315-1094 UCHSC, Campus Box C236
fax (303) 315-1098 School of Medicine rm 2817b
cell (303) 324-0355 4200 E. 9th Ave.
email: Larry.Hunter at uchsc.edu Denver, CO 80262
More information about the Emacs-mime-en
mailing list