Opened 4 years ago
Closed 3 years ago
#61089 closed update (fixed)
mediawiki.el @2.2.4.1: update to 2.3.1
Reported by: | cooljeanius (Eric Gallager) | Owned by: | easye |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | mediawiki.el |
Description
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?
Change History (3)
comment:1 Changed 4 years ago by mf2k (Frank Schima)
Cc: | easieste@… removed |
---|---|
Owner: | set to easye |
Status: | new → assigned |
comment:2 Changed 3 years ago by cooljeanius (Eric Gallager)
comment:3 Changed 3 years ago by reneeotten (Renee Otten)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
the above-mentioned PR was merged and the change is in this commit
Note: See
TracTickets for help on using
tickets.
I opened the following PR on GitHub: https://github.com/macports/macports-ports/pull/11105