VM

Comment 4 for bug 1979048

Revision history for this message
Mark Diekhans (markd-kermodei) wrote : [Bug 1979048] Re: Assorted Problems with Emacs 29

I have a branch here where I am fixing problems related to emacs 28:
  https://code.launchpad.net/~markd-kermodei/vm/vm-emacs-28

These mostly related to the emacs JIT, and should fix the
vm-update-virtual-messages

It also correctly fixes the umlaut ;-)

Gian Uberto Lauri <email address hidden> writes:
> This can fix Mr. Müller namne (I would suggest Mueller if omitting
> umlaut), but I doubt It can do something for my lisp problems.
>
> Today, when I issued the vm command, I got:
>
> Debugger entered--Lisp error: (void-variable vm-update-virtual-messages)
> byte-code("\305\306\307\310#\311\306\312\313#\210\314\10\303\11\n\"\315\212\316\317\13\211\34\320H\321HJ)\")$\207" [vm-update-virtual-messages &key message-changing m message function-put vm-virtual-message-p speed -1 put byte-optimizer byte-compile-inline-expand defun* "Update all the virtual messages of M to reflect th..." mapc #f(compiled-function (v-m) #<bytecode 0x1d6c62574191b1c9>) 4 1] 10)
> require(vm-message)
> vm-session-initialization()
> vm()
> posta()
> funcall-interactively(posta)
> command-execute(posta)
>
>
> The .emacs file contains these instructions about vm:
>
> (load-library "vm-version")
> (load-library "vm-misc")
> (load-library "vm-folder")
> (load-library "vm-vars")
> (load-library "vm-virtual")
> ;;(load-library "vm-message")
> (load-library "vm")
>
>
> If I try to run the commented statement I get
>
> "Symbol's value as variable is void: vm-update-virtual-messages"
>
> --
> You received this bug notification because you are subscribed to VM.
> Matching subscriptions: vm bugs
> https://bugs.launchpad.net/bugs/1979048
>
> Title:
> Assorted Problems with Emacs 29
>
> Status in VM:
> New
>
> Bug description:
> The system is Ubuntu focal (20.04), Emacs is GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 2.24.32, cairo version 1.16.0) of 2022-05-16
> mouse-minibuffer-check: Minibuffer window is not active
>
> I downloaded vm-8.2.0b.tgz, un-tarred the package, ran configure, ran
> make.
>
> In make output (attached), there are several messages like the one
> below (the last one)
>
> vm-w3.el:51:16: Warning: the function ‘vm-mime-cid-retrieve’ might not
> be defined at runtime.
>
> then make fails on the texinfo part
>
> makeinfo vm.texinfo -o vm.info
> utf8 "\xFC" does not map to Unicode at /usr/share/texinfo/Texinfo/ParserNonXS.pm line 1796, <FH> line 6169.
> Malformed UTF-8 character: \xfc\x6c\x6c\x65\x72\x0a (unexpected non-continuation byte 0x6c, immediately after start byte 0xfc; need 6 bytes, got 1) in pattern match (m//) at /usr/share/texinfo/Texinfo/ParserNonXS.pm line 3364.
> Malformed UTF-8 character (fatal) at /usr/share/texinfo/Texinfo/ParserNonXS.pm line 3364.
> make[1]: *** [<builtin>: vm.info] Error 25
> make[1]: Leaving directory '/usr/local/share/emacs/site-lisp/vm-8.2.0b/info'
> make: *** [Makefile:37: all] Error 1
>
> but the .elc files are all there, and I am using vm since at least
> 2006, I have my consolidated routine and configuration, that would not
> be a problem.
>
> The problem is elsewhere, and is a blocking one preventing me to do my
> usual mail handling with vm, currently I am forced to use thunderbird
> (😠).
>
> When I run (load-library "vm-message") in my .emacs I get (once
> triggered the debu on error)
>
> Debugger entered--Lisp error: (void-variable vm-update-virtual-messages)
> byte-code("\305\306\307\310#\311\306\312\313#\210\314\10\303\11\n\"\315\212\316\317\13\211\34\320H\321HJ)\")$\207" [vm-update-virtual-messages &key message-changing m message function-put vm-virtual-message-p speed -1 put byte-optimizer byte-compile-inline-expand defun* "Update all the virtual messages of M to reflect th..." mapc #f(compiled-function (v-m) #<bytecode 0x1ff97af330c742c9>) 4 1] 10)
> load-library("vm-message")
> eval-buffer() ; Reading at buffer position 4127
> funcall-interactively(eval-buffer)
> command-execute(eval-buffer record)
> execute-extended-command(nil "eval-buffer" nil)
> funcall-interactively(execute-extended-command nil "eval-buffer" nil)
> command-execute(execute-extended-command)
>
> and if I don't put that line in the .emacs, vm remains with a blank
> buffer.
>
> And when I try to get messages from the imap server I get:
>
> Debugger entered--Lisp error: (wrong-type-argument char-or-string-p nil)
> vm-imap-retrieve-to-target(#<process IMAP over SSL> #<buffer inbox> [[nil 25260 19969 85962 2 vm-imap-report-retrieval-status (#3) nil 233000 nil] t "<email address hidden>:bbmxscphtwwpsgsr:inbox" 0 363 nil nil "<email address hidden>:bbmxscphtwwpsgsr:inbox" 0 363 15352 87762] (IMAP4REV1 SASL-IR UIDPLUS ID UNSELECT CHILDREN IDLE NAMESPACE LITERAL+))
> vm-imap-retrieve-messages((("420764" . 2) ("420793" . 3) ("420795" . 4) ("420797" . 5) ("420799" . 6) ("420803" . 7) ("420805" . 8) ("420807" . 9) ("420811" . 10) ("420813" . 11) ("420815" . 12) ("420817" . 13) ("420819" . 14) ("420831" . 15) ("420833" . 16) ("420835" . 17) ("420851" . 18) ("420859" . 19) ("420861" . 20) ("420863" . 21) ("420865" . 22) ("420873" . 23) ("420878" . 24) ("420880" . 25) ("420887" . 26) ("420917" . 27) ("420928" . 28) ("420968" . 29) ("420992" . 30) ("421010" . 31) ("421012" . 32) ("421019" . 33) ("421047" . 34) ("421053" . 35) ("421057" . 36) ("421066" . 37) ("421068" . 38) ("421092" . 39) ("421096" . 40) ("421190" . 41) ("421194" . 42) ("421202" . 43) ("421252" . 44) ("421428" . 45) ("421454" . 46) ("421458" . 47) ("421460" . 48) ("421462" . 49) ("421464" . 50) ("421472" . 51) ...))
> vm-imap-synchronize-folder(:interactive t :do-local-expunges t :do-retrieves t :save-attributes t :retrieve-attributes t)
> vm-get-spooled-mail(t)
> vm-get-new-mail(nil)
> funcall-interactively(vm-get-new-mail nil)
> command-execute(vm-get-new-mail)
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/vm/+bug/1979048/+subscriptions
>