[MacPorts] #61089: mediawiki.el @2.2.4.1: update to 2.3.1

MacPorts noreply at macports.org
Sun Aug 30 17:18:15 UTC 2020


#61089: mediawiki.el @2.2.4.1: update to 2.3.1
-------------------------+--------------------------
 Reporter:  cooljeanius  |      Owner:  (none)
     Type:  update       |     Status:  new
 Priority:  Normal       |  Milestone:
Component:  ports        |    Version:
 Keywords:               |       Port:  mediawiki.el
-------------------------+--------------------------
 Launching emacs gave me a warning that relaunching with `--debug-init`
 helped me trace back to the mediawiki.el package:

 {{{
 Debugger entered--Lisp error: (void-variable url-http-referer)
   url-http-create-request()
   (let ((url-http-target-url (url-generic-parse-url
 "http://example.com/")) (url-http-data "test") (url-http-version "1.0")
 url-http-method url-http-attempt-keepalives url-extensions-header url-
 http-extra-headers url-http-proxy url-mime-charset-string) (url-http-
 create-request))
   (string= "GET / HTTP/1.0\15\nMIME-Version: 1.0\15\nConnection: clo..."
 (let ((url-http-target-url (url-generic-parse-url "http://example.com/"))
 (url-http-data "test") (url-http-version "1.0") url-http-method url-http-
 attempt-keepalives url-extensions-header url-http-extra-headers url-http-
 proxy url-mime-charset-string) (url-http-create-request)))
   (if (string= "GET / HTTP/1.0\15\nMIME-Version: 1.0\15\nConnection:
 clo..." (let ((url-http-target-url (url-generic-parse-url
 "http://example.com/")) (url-http-data "test") (url-http-version "1.0")
 url-http-method url-http-attempt-keepalives url-extensions-header url-
 http-extra-headers url-http-proxy url-mime-charset-string) (url-http-
 create-request))) (prog1 (defalias 'url-http-create-request #'(lambda
 (&optional ref-url) "Create an HTTP request for `url-http-target-url',
 ..." nil (let* ((extra-headers) (request nil) (no-cache ...) (using-proxy
 url-http-proxy) (proxy-auth ...) (real-fname ...) (host ...) (auth ...))
 (if (equal "" real-fname) (setq real-fname "/")) (setq no-cache (and no-
 cache ...)) (if auth (setq auth ...)) (if proxy-auth (setq proxy-auth
 ...)) (if (and ref-url ... ...) (setq ref-url nil)) (if (or ... ...) (setq
 ref-url nil)) (setq extra-headers (mapconcat ... url-http-extra-headers
 "\15\n")) (if (not ...) (setq extra-headers ...)) (setq request (mapconcat
 ... ... "")) (url-http-debug "Request is: \n%s" request) request))) nil))
   (progn (if (string= "GET / HTTP/1.0\15\nMIME-Version:
 1.0\15\nConnection: clo..." (let ((url-http-target-url (url-generic-parse-
 url "http://example.com/")) (url-http-data "test") (url-http-version
 "1.0") url-http-method url-http-attempt-keepalives url-extensions-header
 url-http-extra-headers url-http-proxy url-mime-charset-string) (url-http-
 create-request))) (prog1 (defalias 'url-http-create-request #'(lambda
 (&optional ref-url) "Create an HTTP request for `url-http-target-url',
 ..." nil (let* (... ... ... ... ... ... ... ...) (if ... ...) (setq no-
 cache ...) (if auth ...) (if proxy-auth ...) (if ... ...) (if ... ...)
 (setq extra-headers ...) (if ... ...) (setq request ...) (url-http-debug
 "Request is: \n%s" request) request))) nil)))
   (if (fboundp 'url-http-create-request) (progn (if (string= "GET /
 HTTP/1.0\15\nMIME-Version: 1.0\15\nConnection: clo..." (let ((url-http-
 target-url (url-generic-parse-url "http://example.com/")) (url-http-data
 "test") (url-http-version "1.0") url-http-method url-http-attempt-
 keepalives url-extensions-header url-http-extra-headers url-http-proxy
 url-mime-charset-string) (url-http-create-request))) (prog1 (defalias
 'url-http-create-request #'(lambda (&optional ref-url) "Create an HTTP
 request for `url-http-target-url', ..." nil (let* ... ... ... ... ... ...
 ... ... ... ... ... request))) nil))))
   eval-buffer(#<buffer  *load*-275077> nil "/opt/local/share/emacs/site-
 lisp/mediawiki.el" nil t)  ; Reading at buffer position 13128
   load-with-code-conversion("/opt/local/share/emacs/site-
 lisp/mediawiki.el" "/opt/local/share/emacs/site-lisp/mediawiki.el" nil t)
   require(mediawiki)
   eval-buffer(#<buffer  *load*> nil "/Users/ericgallager/.emacs" nil t)  ;
 Reading at buffer position 4284
   load-with-code-conversion("/Users/ericgallager/.emacs"
 "/Users/ericgallager/.emacs" t t)
   load("~/.emacs" noerror nomessage)
   startup--load-user-init-file(#f(compiled-function () #<bytecode
 0x4211de3d>) #f(compiled-function () #<bytecode 0x4211de49>) t)
   command-line()
   normal-top-level()
 }}}

 I tried checking with `port livecheck` to see if there was an update that
 fixed this, but it 404-ed:

 {{{
 $ port livecheck mediawiki.el
 Error: cannot check if mediawiki.el was updated (The requested URL
 returned error: 404 Not Found)
 }}}

 Checking with MELPA, though, led me to its GitHub page, which lists 2.3.1
 as its most recent release:
 https://github.com/hexmode/mediawiki-el/releases/tag/2.3.1

 So, maybe updating to 2.3.1 will fix the init error I was experiencing?

-- 
Ticket URL: <https://trac.macports.org/ticket/61089>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list