I don't get this error from imap, so I am not sure what to
suggest. char-or-string-p isn't called directly in vm-imap.el,
so I would guess it is coming in from a macro.
I am not skilled enough with the elisp debugger to guide you
on finding out where the nil is coming from.
Gian Uberto Lauri <email address hidden> writes:
> Disabled native compilation(*), removed vm-* files from native
> compilation cache, I restarted Emacs, called vm and got (I presume)
>
> Debugger entered--Lisp error: (wrong-type-argument char-or-string-p nil)
> vm-imap-retrieve-to-target(#<process IMAP over SSL<1>> #<buffer inbox> [[nil 25283 63594 115317 2 vm-imap-report-retrieval-status (#3) nil 24000 nil] t "<email address hidden>:bbmxscphtwwpsgsr:inbox" 0 693 nil nil "<email address hidden>:bbmxscphtwwpsgsr:inbox" 0 693 12288 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 nil :do-local-expunges t :do-retrieves t :save-attributes t :retrieve-attributes t)
> vm-get-spooled-mail(nil)
> vm(nil :read-only nil)
> funcall-interactively(vm nil :read-only nil)
> command-execute(vm record)
> execute-extended-command(nil "vm" "vm")
> funcall-interactively(execute-extended-command nil "vm" "vm")
> command-execute(execute-extended-command)
>
> I can only presume because the first stack trace disappeared
> automaticlally and I got this calling vm again with M-x vm.
>
> (*) had to put a set on the top ov .emacs and change the regexp to
> "vm-.*\\.el"
>
> --
I don't get this error from imap, so I am not sure what to
suggest. char-or-string-p isn't called directly in vm-imap.el,
so I would guess it is coming in from a macro.
I am not skilled enough with the elisp debugger to guide you
on finding out where the nil is coming from.
Gian Uberto Lauri <email address hidden> writes: type-argument char-or-string-p nil) retrieve- to-target( #<process IMAP over SSL<1>> #<buffer inbox> [[nil 25283 63594 115317 2 vm-imap- report- retrieval- status (#3) nil 24000 nil] t "<email address hidden> :bbmxscphtwwpsg sr:inbox" 0 693 nil nil "<email address hidden> :bbmxscphtwwpsg sr:inbox" 0 693 12288 87762] (IMAP4REV1 SASL-IR UIDPLUS ID UNSELECT CHILDREN IDLE NAMESPACE LITERAL+)) 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) ...)) synchronize- folder( :interactive nil :do-local-expunges t :do-retrieves t :save-attributes t :retrieve- attributes t) spooled- mail(nil) interactively( vm nil :read-only nil) extended- command( nil "vm" "vm") interactively( execute- extended- command nil "vm" "vm") execute( execute- extended- command)
> Disabled native compilation(*), removed vm-* files from native
> compilation cache, I restarted Emacs, called vm and got (I presume)
>
> Debugger entered--Lisp error: (wrong-
> vm-imap-
> vm-imap-
> vm-imap-
> vm-get-
> vm(nil :read-only nil)
> funcall-
> command-execute(vm record)
> execute-
> funcall-
> command-
>
> I can only presume because the first stack trace disappeared
> automaticlally and I got this calling vm again with M-x vm.
>
> (*) had to put a set on the top ov .emacs and change the regexp to
> "vm-.*\\.el"
>
> --