[OS X Emacs] Problem with VM (was Re: Aquamacs preview - high-CPU load issue addressed)

Piet van Oostrum piet at vanoostrum.org
Thu Jun 16 12:29:39 EDT 2016

David Reitter <david.reitter at gmail.com> wrote:

> Hi,
> I have checked in a change that addresses at least part of the high-CPU
> load problem that many of us have been experiencing with Aquamacs 3.3
> (dev). A new version is available from
> 	http://aquamacs.org/nightlies.shtml
> The new Aquamacs is worth trying out - it will be available soon as a full release.

I tried this out, because I have been regularly plagued by this problem
(as described in http://thread.gmane.org/gmane.emacs.macintosh.osx/7238)
with my Aquamacs 3.0a version. It mostly works well, although I have not
enough info to se whether it really solves that problem for me.

However, I now have another annoying problem. I use VM (Viewmail) to
read my email. With the new version, when I read an HMTL email (usually
multipart/mixed), the cursor jumps to the end of the message rather than
to the beginning. This only happens when I work from the VM Summary
buffer (using the next and previous keys n and p). When I work from the
VM Presentation buffer it works as desired.

HTML messages are handled with emacs-w3m (via vm-w3m) in my setup. Pure
ASCII messages work normally. So I wonder if something has changed in
emacs-w3m, or in the calling of external processes in general. I tried
to switch to Aquamacs 3.2, but it had the same problem.

I have now found a hack around this problem: I advice the
vm-next-message function to do a vm-beginning-of message at the end.
(defun show-beginning-of-message (func &rest r)
	(apply func r)

(advice-add 'vm-next-message :around #'show-beginning-of-message)
But this only helps for moving forward and backward. There are other
cases of selecting a message where it does not work, e.g. moving the
cursor in the Summary buffer and then hitting SPACE.

I will post a similar message in gnu.emacs.vm.info, I don't think it is
possible to cross-post, as these are on different news servers (I'll try
it anyway)
Piet van Oostrum <piet at vanoostrum.org>
WWW: http://pietvanoostrum.com/
PGP key: [8DAE142BE17999C4]

More information about the MacOSX-Emacs mailing list