VM

%P in vm-summary-format signals invalid marker, vm 8.1.93a, emacs 22.3.1

Bug #697177 reported by Wilhelm Müller
This bug report is a duplicate of:  Bug #606711: Attachment indicator in summary loops. Edit Remove
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
VM
Fix Committed
Undecided
Unassigned

Bug Description

The attached mail folder shows the problem. It contains one message with one line of text and, as an attachment, the .vm in use. This file contains just one line which sets vm-summary-line, and works fine. Adding a %P after %a causes vm to fail with an invalid marker message.

Revision history for this message
Wilhelm Müller (muewi-acm) wrote :
Revision history for this message
Uday Reddy (reddyuday) wrote :

There is known problem with the attachment indicator, but I don't get an "invalid marker" message. Can you tell me the message you get exactly? You can look in the *Messages* buffer.

Uday

Revision history for this message
Wilhelm Müller (muewi-acm) wrote : [Bug 697177] Re: %P in vm-summary-format signals invalid marker, vm 8.1.93a, emacs 22.3.1

Hi Uday!

    Uday> There is known problem with the attachment indicator, but
    Uday> I don't get an "invalid marker" message.

Sorry, my error, it's not "invalid marker", but an invalid type for
a marker:

Reading /home/muewi/mail/muster... done
1 message, 1 new, 0 unread, 0 deleted
Generating summary... 0
Retrieving message body... done
Generating summary... 0
vm-do-needed-summary-rebuild: Wrong type argument: markerp, 1

To make sure that nothing intervenes, I removed .emacs*,
.gnu-emacs-custom, and .vm*. Then I wrote a .emacs which contained
just (require 'vm) and a .vm with just (setq vm-summary-format "...")

Wilhelm

--

"Under capitalism, man exploits man. Under Communism, it's just the
opposite."
  -- John Kenneth Galbraith

--

 **************************************** fixed pitch fonts! **
  Wilhelm Müller Herbststraße 66
  D-28215 Bremen Germany (o_
  <email address hidden> +49-(0)421-169 2525 (o_ (o_ //\
  1024D/2048g 5E6E CF83 B15E C7ED 1A31 (/)_ (/)_ V_/_
   F9435BF6 E9F3 F509 FD7B F943 5BF6 © N.Smith

Revision history for this message
Uday Reddy (reddyuday) wrote :

This turns out to be the same problem as the known bug, but it is showing up differently. Here is a quick fix. But you should use it only if you don't use headers-only mode. You don't know what that is, then you are ok.

In vm-mime.el, there is a line

    (vm-retrieve-operable-messages count mlist)

around line 4423. Please comment it out and recompile VM. That should fix the problem.

Revision history for this message
Wilhelm Müller (muewi-acm) wrote :

I just saw that my previous message was accidently sent using my
office email address. Please don't use that one for replies!

Wilhelm

--

Coffee without caffeine. Beer without alcohol. Milk without fat.
What's next? Bridal suites with bunk beds?
  -- Orben's Current Comedy

--

 **************************************** fixed pitch fonts! **
  Wilhelm Müller Herbststraße 66
  D-28215 Bremen Germany (o_
  <email address hidden> +49-(0)421-169 2525 (o_ (o_ //\
  1024D/2048g 5E6E CF83 B15E C7ED 1A31 (/)_ (/)_ V_/_
   F9435BF6 E9F3 F509 FD7B F943 5BF6 © N.Smith

Uday Reddy (reddyuday)
Changed in vm:
milestone: none → 8.2.0a
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.