GNU bug report logs -
#34252
27.0.50; rmail-get-new-mail fails
Previous Next
Reported by: John <jpff <at> codemist.co.uk>
Date: Tue, 29 Jan 2019 21:24:02 UTC
Severity: normal
Found in version 27.0.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
John wrote:
> in case of reading a mail box on a nfs-mounted disk
It's hard to see how that could make a difference to Rmail.
> --- a/lisp/mail/rmail.el
> +++ b/lisp/mail/rmail.el
> @@ -1902,7 +1902,7 @@ rmail-parse-url
> (host (substring file (or (match-end 2)
> (+ 3 (match-end 1))))))
>
> - (if (rmail-remote-proto-p proto)
> + (if (and proto (rmail-remote-proto-p proto))
It's not possible for proto to be nil here.
> (if (not pass)
> (when rmail-remote-password-required
> (setq got-password (not (rmail-have-password)))
> @@ -1913,7 +1913,7 @@ rmail-parse-url
> ;; does not really like it, in spite of the movemail spec.
> (setq file (concat proto "://" user "@" host))))
>
> - (if (rmail-movemail-variant-p 'emacs)
> + (if (and proto (rmail-movemail-variant-p 'emacs))
Or here.
> (if (string-equal proto "pop")
> (list (concat "po:" user ":" host)
> proto
> @@ -2072,7 +2072,7 @@ rmail-insert-inbox-text
> ;; If we just read the password, most likely it is
> ;; wrong. Otherwise, see if there is a specific
> ;; reason to think that the problem is a wrong passwd.
> - (if (and (rmail-remote-proto-p proto)
> + (if (and proto (rmail-remote-proto-p proto)
Here I think you may be correct.
This bug report was last modified 6 years and 112 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.