Menu

#19 Does not work in VM

open
nobody
None
5
2001-10-31
2001-10-31
Anonymous
No

In VM 6.97 and possibly earlier, pressing C-c / v
causes the error:
"Symbol's function definition is void: message-or-box"

Discussion

  • Brian Warner

    Brian Warner - 2001-11-20

    Logged In: YES
    user_id=24186

    Is the the install-time load-path trick described in bug
    #411608 at all related?

     
  • Nobody/Anonymous

    Logged In: NO

    I have also problems with vm and mailcrypt verifying (pgp5).
    But it looks more like a bug in vm, doesn't it?

    Invalid function: (macro . #[nil "

     
  • Nobody/Anonymous

    Logged In: NO

    I experienced a similiar problem in VM while trying to
    decrypt or verify a signature. Specifically, I received the
    following error message:

    End of message 49 from Emin Martinian
    Invalid function: (macro . #[nil "��" [(while
    vm-folder-read-only (signal (quote folder-read-only) (list
    (current-buffer))))] 1])

    I believe the problem is you didn't properly specify the
    load-path to include vm when you compiled and installed
    mailcrypt. Two ways to fix the problem are (1) Get rid of
    your mc-toplev.elc file and just use the mc-toplev.el file
    or (2) Modify the load-hack.el file to properly include the
    path to vm and recompile.

    A more detailed listing of my experience follows.
    ----------------------------------------------------------------------------------------
    I think the problem is that vm treats received mail buffers
    as read-only. When mailcrypt tries to change the buffer an
    error occurs. I noticed that if I used the command
    vm-edit-message followed by mailcrypt-decrypt followed by
    vm-edit-message-end, then the message gets replaced with the
    decrypted version.

    After looking at the source code, it seems like the
    mc-vm-decrypt function correctly calls vm-edit-message.

    Further investigation revealed that if I did not compile
    mc-toplev.el then everything worked fine. This is because I
    had incorrectly hacked the load-hack.el file and the path to
    vm wasn't correctly specified. The compiler warned me about
    this with the message

    While compiling the end of the data in file
    /usr/share/emacs/site-lisp/mc-toplev.el:
    ** The following functions are not known to be defined:
    ... vm-edit-message ...

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.