Subject: Re: bug#35969: 26.2, Excorporate

From: Thomas Fitzsimmons <[email-masked]>
Date: Sat, 13 Jul 2019 10:37:56 -0400

Hi Collin,

Collin Day <[email-masked]> writes:

> Did a git pull and followed instructions above.
>
> There are some issues.  First, I need to run M-x package-install <RET>
> excorporate <RET>  four times because I see (each line after each
> invocation)
>
> package--with-response-buffer-1:
> https://elpa.gnu.org/packages/url-http-ntlm-2.0.4.el: Method not
> allowed
> package--with-response-buffer-1:
> https://elpa.gnu.org/packages/fsm-0.2.1.el: Method not allowed
> package--with-response-buffer-1:
> https://elpa.gnu.org/packages/excorporate-0.8.3.tar: Method not
> allowed
>
> After the 4th call it compiles and becomes available.

Thanks for persisting with this.

Did you configure the proxy settings in Emacs before attempting
package-install?

If so, try this in your newly-built Emacs, emacs -Q, with
HOME=`pwd`/test-home:

(progn
  (setq url-debug t)
  (url-retrieve-synchronously
   "https://httpbin.org/basic-auth/user/passwd")
  (dolist (p (seq-filter
              (lambda (b) (string-match " *http*" (buffer-name b)))
              (buffer-list)))
    (message "HTTP result buffer: \"%s\"\n%s"
             (buffer-name p)
             (with-current-buffer p (buffer-string))))
  "check *Messages*")

Username is user, password is passwd.  That will establish whether even
basic authentication over HTTPS is working through the proxy with your
new Emacs build.

Thomas