[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Has NFS changed recently?



john wrote:

> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
>    string-match("^\\(imap\\|pop\\)s?$" nil nil)
>    rmail-remote-proto-p(nil)
>    rmail-insert-inbox-text(("/var/spool/mail/jpff" "/mnt/snout/home/jpff/mbox") t)
>    rmail-get-new-mail-1(nil ("/var/spool/mail/jpff" "/mnt/snout/home/jpff/mbox") nil)
>    rmail-get-new-mail(nil)
>    funcall-interactively(rmail-get-new-mail nil)
>    call-interactively(rmail-get-new-mail nil nil)
>    command-execute(rmail-get-new-mail)

Hmph, I should have also asked what version of Emacs you're using (my
bad).  I don't see a call to rmail-remote-proto-p in the Emacs that's
bundled with Stretch.

Assuming that you're using Emacs 26, it looks like you're hitting a bug
in the error-handling code in rmail.

		   (if (and (rmail-remote-proto-p proto)
			    (or got-password
				(re-search-forward rmail-remote-password-error
						   nil t)))
		       (rmail-set-remote-password nil))

That first line should be something like

		   (if (and proto (rmail-remote-proto-p proto)

If you're comfortable hacking Emacs Lisp, try fixing that first.  Then,
hopefully, Emacs will tell you what movemail is complaining about.

If you're not comfortable hacking Emacs Lisp, you could try looking for
the buffer that contains the error message from movemail.

regards,
mike


Reply to: