← Back to team overview

vm team mailing list archive

[Bug 508493] Re: Forwarding breaks on certain messages, 8.1.0 beta

 

Gosh, it took me a whole day to find this problem!  And it is a very
silly bug, but it combined with an Emacs bug - actually a flawed
decision - to give rise to nasty effects.

For your message, VM would have to liked to use a really long name for
the composition buffer "forward of bugzilla_redhat.com's note re:__Bug
54752_ latest tcsh update causes serious glob'ing problem".  Since this
exceeds the 80 character default limit, it would have liked to truncate
it to 80 characters.  However, a programming bug caused it to take the
string after the first 80 characters instead.  This string turned out to
be " serious glob'ing problem".  This was a pretty harmless bug.

Unfortunately, Emacs treats buffer names beginning with a space as
hidden internal buffers.  A fateful decision in the Emacs design meant
that the new composition frame created for the purpose wouldn't display
the composition buffer (because of the leading space in its name).
Instead, some other buffer would be put in its place.  During testing, I
have had all kinds of buffers volunteer to take this place and end up
getting corrupted.  You were a bit lucky that nothing bad happened.

Anyway, I have fixed the VM bug that was making it drop 80 characters
instead of taking 80 characters.  It is in the 8.1.x branch.  I am also
working with the Emacs team to get the Emacs bug fixed, but that won't
affect us any more.

Enjoy using VM.

Cheers,
Uday


** Changed in: vm
       Status: Confirmed => Fix Committed

** Changed in: vm
     Assignee: (unassigned) => Uday Reddy (reddyuday)

-- 
Forwarding breaks on certain messages, 8.1.0 beta
https://bugs.launchpad.net/bugs/508493
You received this bug notification because you are a member of VM
development team, which is the registrant for VM.

Status in VM (View Mail) for Emacs: Fix Committed

Bug description:
Since switching do vm 8.1.0 beta I've occasionally experienced failures when trying to forward a message.  Instead of getting a composition buffer with the message to be forwarded attached, I get a frame split into two windows.  I haven't figured out exactly what triggers it, but I attach a sample (stripped down) message that illustrates the problem.

To reproduce:
- Move away any .vm file
- Start "emacs -q"
- Do M-x vm-visit-folder
- Select the folder attached to this report
- Hit "z" to forward the message

Now I wind up with two windows in the new frame.  The upper is the composition buffer with the proper subject line, but no message attached.  The lower contains the header of the message to be forwarded.

I assume this is a problem in vm itself.  But just in case it matters, I experience this on a Fedora 12 system with

emacs-23.1-13.fc12.x86_64
emacs-vm-8.1.0-0.1.beta.fc12.x86_64





References