unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#21089: 24.5; void-variable url-http-response-status
@ 2015-07-18 19:49 Milan Zamazal
  2015-12-25 18:13 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 7+ messages in thread
From: Milan Zamazal @ 2015-07-18 19:49 UTC (permalink / raw)
  To: 21089



I use org2blog package from MELPA to interact with my WordPress site.
When I perform

  M-x org2blog/wp-login RET    (password prompt appears)
  xxx RET

I receive the following error:

Debugger entered--Lisp error: (void-variable url-http-response-status)
  (/ url-http-response-status 100)
  (let* ((buffer (current-buffer)) (class (/ url-http-response-status 100)) (success nil) (status-symbol (cadr (assq url-http-response-status url-http-codes)))) (url-http-debug "Parsed HTTP headers: class=%d status=%d" class url-http-response-status) (if (progn (or (and (memq (aref url-http-target-url 0) cl-struct-url-tags)) (error "%s accessing a non-%s" (quote url-use-cookies) (quote url))) (aref url-http-target-url 11)) (progn (url-http-handle-cookies))) (cond ((eq class (quote 1)) (let nil (url-mark-buffer-as-dead buffer) (error "HTTP responses in class 1xx not supported (%d)" url-http-response-status))) ((eq class (quote 2)) (let nil (if (memq status-symbol (quote (no-content reset-content))) (let nil (url-mark-buffer-as-dead buffer)) (let nil (widen) (if (and url-automatic-caching ...) (url-store-in-cache buffer)))) (setq success t))) ((eq class (quote 3)) (let nil (let ((redirect-uri (or ... ...))) (cond ((eq status-symbol ...) (let nil nil)) ((memq status-symbol ...) (let nil ...)) ((eq status-symbol ...) (let nil ...)) ((eq status-symbol ...) (let nil ... ... ...)) ((eq status-symbol ...) (let nil ...)) (t (let nil nil))) (if redirect-uri (progn (if ... ...) (if ... ...) (if ... ...) (let ... ...)))))) ((eq class (quote 4)) (let nil (setq success (cond ((eq status-symbol ...) (let nil ...)) ((eq status-symbol ...) (let nil ... ...)) ((eq status-symbol ...) (let nil t)) ((eq status-symbol ...) (let nil t)) ((eq status-symbol ...) (let nil t)) ((eq status-symbol ...) (let nil t)) ((eq status-symbol ...) (let nil ...)) ((eq status-symbol ...) (let nil t)) ((eq status-symbol ...) (let nil t)) ((eq status-symbol ...) (let nil t)) ((eq status-symbol ...) (let nil t)) ((eq status-symbol ...) (let nil t)) ((memq status-symbol ...) (let nil t)) ((eq status-symbol ...) (let nil t)) ((eq status-symbol ...) (let nil t)) ((eq status-symbol ...) (let nil t)) (t (let nil t)))) (if success (progn (let* (...) (setcar v ...)))))) ((eq class (quote 5)) (let nil (setq success t) (cond ((eq url-http-response-status (quote not-implemented)) (let nil nil)) ((eq url-http-response-status (quote bad-gateway)) (let nil nil)) ((eq url-http-response-status (quote service-unavailable)) (let nil nil)) ((eq url-http-response-status (quote gateway-timeout)) (let nil nil)) ((eq url-http-response-status (quote http-version-not-supported)) (let nil nil)) ((eq url-http-response-status (quote insufficient-storage)) (let nil nil)) (t nil)) (if success (progn (let* (...) (setcar v ...)))))) (t (let nil (error "Unknown class of HTTP response code: %d (%d)" class url-http-response-status)))) (if (not success) (url-mark-buffer-as-dead buffer) (url-handle-content-transfer-encoding)) (url-http-debug "Finished parsing HTTP headers: %S" success) (widen) (goto-char (point-min)) success)
  url-http-parse-headers()
  url-http-content-length-after-change-function(228 435 207)
  url-http-wait-for-headers-change-function(1 445 444)
  url-http-generic-filter(#<process weblog.zamazal.org> "HTTP/1.1 200 OK.\nServer: nginx/1.2.1.\nDate: Sat, 18 Jul 2015 19:36:51 GMT.\nContent-Type: text/xml; charset=UTF-8.\nContent-Length: 206.\nConnection: close.\nX-Powered-By: PHP/5.4.41-0+deb7u1.\nVary: Accept-Encoding.\nContent-Encoding: gzip.\n.\n\x1f\213\b.\0.\0.\0.\205PK.\2020.\334s\212\206\275.\243\v.\217\26201q\353\347.\bO%\241-ym\321\343[>*\230\250\273\231\351t\246.H\357\262b.\222)\265J\302y.\207\fU\256\213R]\222\360x\330\314Va*.\220h\257\272\330\241\251\2652(.\306\340\234\271\312\266\310\343&\253.\366\3303c\311\345\366I\275 Q\236\220\336\202\227T&Qt.k] \360\216\217.}$\224\312\212e\274.\336.\340\223\"\357\342\237\321\277\273\366\226\374\307\276\267\231\356\\l\375.D\230[\346\fRkf\232X\235.s\323TD\300\a\337\337\367t\316\327.#;\360a\276\366\306t\332\aj\210\354V\223.\0.")
  accept-process-output(#<process weblog.zamazal.org>)
  #[0 "\302.\303\300\242!)\207" [(#<process weblog.zamazal.org>) inhibit-quit nil accept-process-output] 2 "\n\n(fn)"]()
  funcall(#[0 "\302.\303\300\242!)\207" [(#<process weblog.zamazal.org>) inhibit-quit nil accept-process-output] 2 "\n\n(fn)"])
  url-retrieve-synchronously("http://weblog.zamazal.org/xmlrpc.php")
  xml-rpc-request("http://weblog.zamazal.org/xmlrpc.php" ((methodCall nil (methodName nil "metaWeblog.getCategories") (params nil (param nil (value nil (string nil "1"))) (param nil (value nil (string nil "admin"))) (param nil (value nil (string nil "xxx")))))) nil)
  xml-rpc-method-call-async(nil "http://weblog.zamazal.org/xmlrpc.php" "metaWeblog.getCategories" ("1" "admin" "xxx"))
  xml-rpc-method-call("http://weblog.zamazal.org/xmlrpc.php" "metaWeblog.getCategories" "1" "admin" "xxx")
  metaweblog-get-categories("http://weblog.zamazal.org/xmlrpc.php" "admin" "xxx" "1")
  org2blog/wp-login()

I tried to debug the problem and found out that something wrong happens
in function `url-http-parse-headers' from url-http.el.  While
`url-http-response-status' is set in the call (url-http-parse-response)
and visible in `url-http-parse-headers' afterwards, it disappears after
the call (delete-process url-http-process) later in
`url-http-parse-headers', before it is used there.  Maybe the variable
is buffer local and gets lost together with the process buffer.


In GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.14.5)
 of 2015-06-29 on blackbird, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.11604000
System Description:	Debian GNU/Linux 8.1 (jessie)

Configured using:
 `configure --build x86_64-linux-gnu --prefix=/usr
 --sharedstatedir=/var/lib --libexecdir=/usr/lib
 --localstatedir=/var/lib --infodir=/usr/share/info
 --mandir=/usr/share/man --with-pop=yes
 --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp
 --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib
 --libexecdir=/usr/lib --localstatedir=/var/lib
 --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes
 --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp
 --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars
 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat
 -Werror=format-security -Wall' CPPFLAGS=-D_FORTIFY_SOURCE=2
 LDFLAGS=-Wl,-z,relro'

Important settings:
  value of $LC_CTYPE: cs_CZ.UTF-8
  value of $LANG: C
  locale-coding-system: utf-8-unix

Major mode: Group

Minor modes in effect:
  gnus-topic-mode: t
  TeX-PDF-mode: t
  gnus-undo-mode: t
  persp-mode: t
  purpose-mode: t
  global-page-break-lines-mode: t
  yas-global-mode: t
  yas-minor-mode: t
  diff-auto-refine-mode: t
  ido-ubiquitous-mode: t
  flx-ido-mode: t
  ido-everywhere: t
  winner-mode: t
  shell-dirtrack-mode: t
  auto-image-file-mode: t
  minibuffer-depth-indicate-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  temp-buffer-resize-mode: t
  buffer-read-only: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t

Load-path shadows:
/home/pdm/.emacs.d/elpa/apt-utils-20140713.1517/apt-utils hides /usr/share/emacs24/site-lisp/debian-el/apt-utils
/usr/share/emacs/24.5/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup
/usr/share/emacs24/site-lisp/cmake-data/cmake-mode hides /usr/share/emacs/site-lisp/cmake-mode
/usr/share/emacs/site-lisp/rst hides /usr/share/emacs/24.5/lisp/textmodes/rst
/usr/share/emacs24/site-lisp/dictionaries-common/flyspell hides /usr/share/emacs/24.5/lisp/textmodes/flyspell
/usr/share/emacs24/site-lisp/dictionaries-common/ispell hides /usr/share/emacs/24.5/lisp/textmodes/ispell
/home/pdm/.emacs.d/elpa/org-20150713/ox-html hides /usr/share/emacs/24.5/lisp/org/ox-html
/home/pdm/.emacs.d/elpa/org-20150713/ob-core hides /usr/share/emacs/24.5/lisp/org/ob-core
/home/pdm/.emacs.d/elpa/org-20150713/org-mhe hides /usr/share/emacs/24.5/lisp/org/org-mhe
/home/pdm/.emacs.d/elpa/org-20150713/ob-python hides /usr/share/emacs/24.5/lisp/org/ob-python
/home/pdm/.emacs.d/elpa/org-20150713/org-bibtex hides /usr/share/emacs/24.5/lisp/org/org-bibtex
/home/pdm/.emacs.d/elpa/org-20150713/org-gnus hides /usr/share/emacs/24.5/lisp/org/org-gnus
/home/pdm/.emacs.d/elpa/org-20150713/org-pcomplete hides /usr/share/emacs/24.5/lisp/org/org-pcomplete
/home/pdm/.emacs.d/elpa/org-20150713/org-feed hides /usr/share/emacs/24.5/lisp/org/org-feed
/home/pdm/.emacs.d/elpa/org-20150713/ob-C hides /usr/share/emacs/24.5/lisp/org/ob-C
/home/pdm/.emacs.d/elpa/org-20150713/org-eshell hides /usr/share/emacs/24.5/lisp/org/org-eshell
/home/pdm/.emacs.d/elpa/org-20150713/ob-table hides /usr/share/emacs/24.5/lisp/org/ob-table
/home/pdm/.emacs.d/elpa/org-20150713/org-entities hides /usr/share/emacs/24.5/lisp/org/org-entities
/home/pdm/.emacs.d/elpa/org-20150713/ob-awk hides /usr/share/emacs/24.5/lisp/org/ob-awk
/home/pdm/.emacs.d/elpa/org-20150713/org-table hides /usr/share/emacs/24.5/lisp/org/org-table
/home/pdm/.emacs.d/elpa/org-20150713/ob-ledger hides /usr/share/emacs/24.5/lisp/org/ob-ledger
/home/pdm/.emacs.d/elpa/org-20150713/ob-ref hides /usr/share/emacs/24.5/lisp/org/ob-ref
/home/pdm/.emacs.d/elpa/org-20150713/ob-shen hides /usr/share/emacs/24.5/lisp/org/ob-shen
/home/pdm/.emacs.d/elpa/org-20150713/org-clock hides /usr/share/emacs/24.5/lisp/org/org-clock
/home/pdm/.emacs.d/elpa/org-20150713/ob-scheme hides /usr/share/emacs/24.5/lisp/org/ob-scheme
/home/pdm/.emacs.d/elpa/org-20150713/org-info hides /usr/share/emacs/24.5/lisp/org/org-info
/home/pdm/.emacs.d/elpa/org-20150713/org-src hides /usr/share/emacs/24.5/lisp/org/org-src
/home/pdm/.emacs.d/elpa/org-20150713/ob-dot hides /usr/share/emacs/24.5/lisp/org/ob-dot
/home/pdm/.emacs.d/elpa/org-20150713/ob-scala hides /usr/share/emacs/24.5/lisp/org/ob-scala
/home/pdm/.emacs.d/elpa/org-20150713/ob-fortran hides /usr/share/emacs/24.5/lisp/org/ob-fortran
/home/pdm/.emacs.d/elpa/org-20150713/ob-lisp hides /usr/share/emacs/24.5/lisp/org/ob-lisp
/home/pdm/.emacs.d/elpa/org-20150713/ob-io hides /usr/share/emacs/24.5/lisp/org/ob-io
/home/pdm/.emacs.d/elpa/org-20150713/ob-keys hides /usr/share/emacs/24.5/lisp/org/ob-keys
/home/pdm/.emacs.d/elpa/org-20150713/org-datetree hides /usr/share/emacs/24.5/lisp/org/org-datetree
/home/pdm/.emacs.d/elpa/org-20150713/ob-sqlite hides /usr/share/emacs/24.5/lisp/org/ob-sqlite
/home/pdm/.emacs.d/elpa/org-20150713/ob-emacs-lisp hides /usr/share/emacs/24.5/lisp/org/ob-emacs-lisp
/home/pdm/.emacs.d/elpa/org-20150713/org-mobile hides /usr/share/emacs/24.5/lisp/org/org-mobile
/home/pdm/.emacs.d/elpa/org-20150713/ob-sass hides /usr/share/emacs/24.5/lisp/org/ob-sass
/home/pdm/.emacs.d/elpa/org-20150713/org-macro hides /usr/share/emacs/24.5/lisp/org/org-macro
/home/pdm/.emacs.d/elpa/org-20150713/ob-lilypond hides /usr/share/emacs/24.5/lisp/org/ob-lilypond
/home/pdm/.emacs.d/elpa/org-20150713/ox-md hides /usr/share/emacs/24.5/lisp/org/ox-md
/home/pdm/.emacs.d/elpa/org-20150713/ob-sql hides /usr/share/emacs/24.5/lisp/org/ob-sql
/home/pdm/.emacs.d/elpa/org-20150713/ob-sh hides /usr/share/emacs/24.5/lisp/org/ob-sh
/home/pdm/.emacs.d/elpa/org-20150713/ob-plantuml hides /usr/share/emacs/24.5/lisp/org/ob-plantuml
/home/pdm/.emacs.d/elpa/org-20150713/ob hides /usr/share/emacs/24.5/lisp/org/ob
/home/pdm/.emacs.d/elpa/org-20150713/ob-octave hides /usr/share/emacs/24.5/lisp/org/ob-octave
/home/pdm/.emacs.d/elpa/org-20150713/ob-screen hides /usr/share/emacs/24.5/lisp/org/ob-screen
/home/pdm/.emacs.d/elpa/org-20150713/ob-js hides /usr/share/emacs/24.5/lisp/org/ob-js
/home/pdm/.emacs.d/elpa/org-20150713/ob-exp hides /usr/share/emacs/24.5/lisp/org/ob-exp
/home/pdm/.emacs.d/elpa/org-20150713/ob-matlab hides /usr/share/emacs/24.5/lisp/org/ob-matlab
/home/pdm/.emacs.d/elpa/org-20150713/org-archive hides /usr/share/emacs/24.5/lisp/org/org-archive
/home/pdm/.emacs.d/elpa/org-20150713/ob-R hides /usr/share/emacs/24.5/lisp/org/ob-R
/home/pdm/.emacs.d/elpa/org-20150713/ob-haskell hides /usr/share/emacs/24.5/lisp/org/ob-haskell
/home/pdm/.emacs.d/elpa/org-20150713/ob-latex hides /usr/share/emacs/24.5/lisp/org/ob-latex
/home/pdm/.emacs.d/elpa/org-20150713/org-habit hides /usr/share/emacs/24.5/lisp/org/org-habit
/home/pdm/.emacs.d/elpa/org-20150713/ox-publish hides /usr/share/emacs/24.5/lisp/org/ox-publish
/home/pdm/.emacs.d/elpa/org-20150713/ob-org hides /usr/share/emacs/24.5/lisp/org/ob-org
/home/pdm/.emacs.d/elpa/org-20150713/ob-picolisp hides /usr/share/emacs/24.5/lisp/org/ob-picolisp
/home/pdm/.emacs.d/elpa/org-20150713/org-ctags hides /usr/share/emacs/24.5/lisp/org/org-ctags
/home/pdm/.emacs.d/elpa/org-20150713/ob-java hides /usr/share/emacs/24.5/lisp/org/ob-java
/home/pdm/.emacs.d/elpa/org-20150713/org-rmail hides /usr/share/emacs/24.5/lisp/org/org-rmail
/home/pdm/.emacs.d/elpa/org-20150713/org-capture hides /usr/share/emacs/24.5/lisp/org/org-capture
/home/pdm/.emacs.d/elpa/org-20150713/org-macs hides /usr/share/emacs/24.5/lisp/org/org-macs
/home/pdm/.emacs.d/elpa/org-20150713/org-indent hides /usr/share/emacs/24.5/lisp/org/org-indent
/home/pdm/.emacs.d/elpa/org-20150713/org-list hides /usr/share/emacs/24.5/lisp/org/org-list
/home/pdm/.emacs.d/elpa/org-20150713/ob-clojure hides /usr/share/emacs/24.5/lisp/org/ob-clojure
/home/pdm/.emacs.d/elpa/org-20150713/ox-texinfo hides /usr/share/emacs/24.5/lisp/org/ox-texinfo
/home/pdm/.emacs.d/elpa/org-20150713/org-bbdb hides /usr/share/emacs/24.5/lisp/org/org-bbdb
/home/pdm/.emacs.d/elpa/org-20150713/org-docview hides /usr/share/emacs/24.5/lisp/org/org-docview
/home/pdm/.emacs.d/elpa/org-20150713/org-compat hides /usr/share/emacs/24.5/lisp/org/org-compat
/home/pdm/.emacs.d/elpa/org-20150713/org-plot hides /usr/share/emacs/24.5/lisp/org/org-plot
/home/pdm/.emacs.d/elpa/org-20150713/org-footnote hides /usr/share/emacs/24.5/lisp/org/org-footnote
/home/pdm/.emacs.d/elpa/org-20150713/ob-calc hides /usr/share/emacs/24.5/lisp/org/ob-calc
/home/pdm/.emacs.d/elpa/org-20150713/ob-ruby hides /usr/share/emacs/24.5/lisp/org/ob-ruby
/home/pdm/.emacs.d/elpa/org-20150713/org-colview hides /usr/share/emacs/24.5/lisp/org/org-colview
/home/pdm/.emacs.d/elpa/org-20150713/org-element hides /usr/share/emacs/24.5/lisp/org/org-element
/home/pdm/.emacs.d/elpa/org-20150713/ob-lob hides /usr/share/emacs/24.5/lisp/org/ob-lob
/home/pdm/.emacs.d/elpa/org-20150713/ob-ditaa hides /usr/share/emacs/24.5/lisp/org/ob-ditaa
/home/pdm/.emacs.d/elpa/org-20150713/org-crypt hides /usr/share/emacs/24.5/lisp/org/org-crypt
/home/pdm/.emacs.d/elpa/org-20150713/ox hides /usr/share/emacs/24.5/lisp/org/ox
/home/pdm/.emacs.d/elpa/org-20150713/ox-org hides /usr/share/emacs/24.5/lisp/org/ox-org
/home/pdm/.emacs.d/elpa/org-20150713/org-w3m hides /usr/share/emacs/24.5/lisp/org/org-w3m
/home/pdm/.emacs.d/elpa/org-20150713/org-inlinetask hides /usr/share/emacs/24.5/lisp/org/org-inlinetask
/home/pdm/.emacs.d/elpa/org-20150713/org hides /usr/share/emacs/24.5/lisp/org/org
/home/pdm/.emacs.d/elpa/org-20150713/ox-latex hides /usr/share/emacs/24.5/lisp/org/ox-latex
/home/pdm/.emacs.d/elpa/org-20150713/ox-ascii hides /usr/share/emacs/24.5/lisp/org/ox-ascii
/home/pdm/.emacs.d/elpa/org-20150713/ob-css hides /usr/share/emacs/24.5/lisp/org/ob-css
/home/pdm/.emacs.d/elpa/org-20150713/ob-comint hides /usr/share/emacs/24.5/lisp/org/ob-comint
/home/pdm/.emacs.d/elpa/org-20150713/ox-beamer hides /usr/share/emacs/24.5/lisp/org/ox-beamer
/home/pdm/.emacs.d/elpa/org-20150713/ox-icalendar hides /usr/share/emacs/24.5/lisp/org/ox-icalendar
/home/pdm/.emacs.d/elpa/org-20150713/org-faces hides /usr/share/emacs/24.5/lisp/org/org-faces
/home/pdm/.emacs.d/elpa/org-20150713/ob-perl hides /usr/share/emacs/24.5/lisp/org/ob-perl
/home/pdm/.emacs.d/elpa/org-20150713/ob-makefile hides /usr/share/emacs/24.5/lisp/org/ob-makefile
/home/pdm/.emacs.d/elpa/org-20150713/org-loaddefs hides /usr/share/emacs/24.5/lisp/org/org-loaddefs
/home/pdm/.emacs.d/elpa/org-20150713/ob-ocaml hides /usr/share/emacs/24.5/lisp/org/ob-ocaml
/home/pdm/.emacs.d/elpa/org-20150713/ob-maxima hides /usr/share/emacs/24.5/lisp/org/ob-maxima
/home/pdm/.emacs.d/elpa/org-20150713/org-timer hides /usr/share/emacs/24.5/lisp/org/org-timer
/home/pdm/.emacs.d/elpa/org-20150713/ob-mscgen hides /usr/share/emacs/24.5/lisp/org/ob-mscgen
/home/pdm/.emacs.d/elpa/org-20150713/org-protocol hides /usr/share/emacs/24.5/lisp/org/org-protocol
/home/pdm/.emacs.d/elpa/org-20150713/org-id hides /usr/share/emacs/24.5/lisp/org/org-id
/home/pdm/.emacs.d/elpa/org-20150713/ob-eval hides /usr/share/emacs/24.5/lisp/org/ob-eval
/home/pdm/.emacs.d/elpa/org-20150713/ox-odt hides /usr/share/emacs/24.5/lisp/org/ox-odt
/home/pdm/.emacs.d/elpa/org-20150713/ob-asymptote hides /usr/share/emacs/24.5/lisp/org/ob-asymptote
/home/pdm/.emacs.d/elpa/org-20150713/ob-tangle hides /usr/share/emacs/24.5/lisp/org/ob-tangle
/home/pdm/.emacs.d/elpa/org-20150713/org-mouse hides /usr/share/emacs/24.5/lisp/org/org-mouse
/home/pdm/.emacs.d/elpa/org-20150713/ox-man hides /usr/share/emacs/24.5/lisp/org/ox-man
/home/pdm/.emacs.d/elpa/org-20150713/org-irc hides /usr/share/emacs/24.5/lisp/org/org-irc
/home/pdm/.emacs.d/elpa/org-20150713/ob-gnuplot hides /usr/share/emacs/24.5/lisp/org/ob-gnuplot
/home/pdm/.emacs.d/elpa/org-20150713/org-agenda hides /usr/share/emacs/24.5/lisp/org/org-agenda
/home/pdm/.emacs.d/elpa/org-20150713/org-version hides /usr/share/emacs/24.5/lisp/org/org-version
/home/pdm/.emacs.d/elpa/org-20150713/org-attach hides /usr/share/emacs/24.5/lisp/org/org-attach
/home/pdm/.emacs.d/elpa/org-20150713/org-install hides /usr/share/emacs/24.5/lisp/org/org-install
/usr/share/emacs/24.5/site-lisp/slime/lib/ert-x hides /usr/share/emacs/24.5/lisp/emacs-lisp/ert-x
/usr/share/emacs/24.5/site-lisp/slime/lib/ert hides /usr/share/emacs/24.5/lisp/emacs-lisp/ert

Features:
(shadow flyspell emacsbug eieio-opt pcase edebug debug url-cache ispell
smex dictionary link connection dired-aux misearch multi-isearch epg
sort smiley gnus-cite mail-extr gnus-async gnus-bcklg gnus-dup gnus-ml
gnus-topic qp imap nndraft nnmh nnml utf-7 nnimap utf7 nnfolder netrc
gnutls network-stream starttls gnus-agent gnus-srvr gnus-score
score-mode nnvirtual nntp gnus-cache message-x nnrss mm-url ido-gnus
spam spam-stat gnus-uu yenc gnus-msg pcmpl-unix dirtrack bookmark tabify
org-datetree mule-util cal-move parse-time time-stamp cal-iso cal-china
lunar solar cal-dst cal-bahai cal-islam cal-hebrew cal-julian holidays
hol-loaddefs diary-lib diary-loaddefs hl-line debian-control-mode
php-mode speedbar sb-image ezimage dframe flymake arduino-mode conf-mode
make-mode tex-info texinfo debian-copyright imenu debian-bug
debian-changelog-mode add-log apt-sources cl-indent cc-langs cc-mode
cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars
cc-defs font-latex context-en context plain-tex latex tex-style tex-buf
tex dbus crm tex-mode latexenc sh-script smie executable org-w3m
org-protocol org-mobile org-irc org-info org-habit org-gnus org-docview
doc-view jka-compr image-mode org-depend org-contacts org-capture
org-agenda gnus-art mm-uu mml2015 mm-view mml-smime smime dig gnus-sum
nnoo gnus-group gnus-undo nnmail mail-source gnus-start gnus-spec
gnus-int gnus-range message sendmail rfc822 mml mml-sec mm-decode
mm-bodies mm-encode mailabbrev gmm-utils mailheader gnus-win gnus
gnus-ems nnheader mail-utils org-checklist org-bibtex bibtex autoinsert
auto-capitalize view hydra lv persp-mode window-purpose
window-purpose-fixes window-purpose-prefix-overload
window-purpose-switch let-alist window-purpose-layout
window-purpose-core window-purpose-configuration window-purpose-utils
saveplace desktop frameset server initsplit warnings cus-edit cus-start
cus-load wid-edit org2blog ox-wp ox-latex ox-icalendar ox-html ox-ascii
ox-publish ox org-element metaweblog xml-rpc timezone url-http tls url
url-proxy url-privacy url-expand url-methods url-history mailcap
url-auth mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-cookie
url-domsuf url-util url-parse url-gw url-vars xml org-crypt org-drill
org-learn org-id hi-lock org-clock org org-macro org-footnote
org-pcomplete org-list org-faces org-entities org-version ob-emacs-lisp
ob ob-tangle ob-ref ob-lob ob-table ob-exp org-src ob-keys ob-comint
ob-core ob-eval org-compat org-macs org-loaddefs cal-menu calendar
cal-loaddefs win-switch follow page-break-lines golden-ratio yasnippet
derived edmacro kmacro smerge-mode diff-mode copyright multiple-cursors
mc-hide-unmatched-lines-mode mc-separate-operations
rectangular-region-mode mc-mark-pop mc-mark-more mc-cycle-cursors
mc-edit-lines multiple-cursors-core rect howdoi buffer-move windmove
ido-ubiquitous ido-completing-read+ flx-ido flx ido winner vc-git
hippie-exp tramp tramp-compat auth-source eieio eieio-core gnus-util
mm-util mail-prsvr password-cache tramp-loaddefs trampver shell
pcomplete format-spec slime-banner slime-asdf grep byte-opt slime-fancy
slime-trace-dialog slime-fontifying-fu slime-package-fu slime-references
slime-compiler-notes-tree slime-scratch slime-presentations bridge
slime-fuzzy slime-fancy-trace slime-fancy-inspector slime-c-p-c
slime-editing-commands slime-autodoc eldoc slime-repl slime-parse
bytecomp byte-compile cl-extra cconv slime compile etags arc-mode
archive-mode noutline outline easy-mmode pp hyperspec thingatpt
browse-url python json comint ring ansi-color skeleton dired-x ls-lisp
dired info-look find-func image-file quail help-mode latin1-disp
disp-table cl-macs mb-depth cl gv cl-loaddefs cl-lib init-loader
benchmark ace-jump-mode-autoloads ampc-autoloads tex-site
auto-capitalize-autoloads charmap-autoloads charmap dictionary-autoloads
connection-autoloads el-x-autoloads elnode-autoloads db-autoloads
creole-autoloads fakir-autoloads advice help-fns kv-autoloads
link-autoloads marmalade-autoloads furl-autoloads message-x-autoloads
org2blog-autoloads paredit-menu-autoloads s-autoloads info easymenu
package epg-config debian-el debian-el-loaddefs slime-autoloads
dpkg-dev-el dpkg-dev-el-loaddefs time-date tooltip electric uniquify
ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd
fontset image regexp-opt fringe tabulated-list newcomment lisp-mode
prog-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer nadvice loaddefs button faces cus-face macroexp files
text-properties overlay sha1 md5 base64 format env code-pages mule
custom widget hashtable-print-readable backquote make-network-process
dbusbind gfilenotify dynamic-setting system-font-setting
font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs)

Memory information:
((conses 16 1201010 135638)
 (symbols 48 69835 0)
 (miscs 40 36994 14612)
 (strings 32 215104 22914)
 (string-bytes 1 6508802)
 (vectors 16 117804)
 (vector-slots 8 3910300 53550)
 (floats 8 22745 58)
 (intervals 56 13999 335)
 (buffers 960 155)
 (heap 1024 130174 4335))






^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#21089: 24.5; void-variable url-http-response-status
  2015-07-18 19:49 bug#21089: 24.5; void-variable url-http-response-status Milan Zamazal
@ 2015-12-25 18:13 ` Lars Ingebrigtsen
  2015-12-30 15:42   ` Milan Zamazal
  0 siblings, 1 reply; 7+ messages in thread
From: Lars Ingebrigtsen @ 2015-12-25 18:13 UTC (permalink / raw)
  To: Milan Zamazal; +Cc: 21089

Milan Zamazal <pdm@zamazal.org> writes:

> I tried to debug the problem and found out that something wrong happens
> in function `url-http-parse-headers' from url-http.el.  While
> `url-http-response-status' is set in the call (url-http-parse-response)
> and visible in `url-http-parse-headers' afterwards, it disappears after
> the call (delete-process url-http-process) later in
> `url-http-parse-headers', before it is used there.  Maybe the variable
> is buffer local and gets lost together with the process buffer.

Yes, that sounds likely.  Emacs 25.1 has gotten a few fixes in this
area, I think.  Do you still see this problem in newer versions?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#21089: 24.5; void-variable url-http-response-status
  2015-12-25 18:13 ` Lars Ingebrigtsen
@ 2015-12-30 15:42   ` Milan Zamazal
  2015-12-30 18:17     ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 7+ messages in thread
From: Milan Zamazal @ 2015-12-30 15:42 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 21089

>>>>> "LI" == Lars Ingebrigtsen <larsi@gnus.org> writes:

    LI> Emacs 25.1 has gotten a few fixes in this area, I think.  Do you
    LI> still see this problem in newer versions?

Yes, current git version (master) signals the same error.

-- 
http://www.zamazal.org





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#21089: 24.5; void-variable url-http-response-status
  2015-12-30 15:42   ` Milan Zamazal
@ 2015-12-30 18:17     ` Lars Magne Ingebrigtsen
  2016-01-17 16:46       ` Milan Zamazal
  0 siblings, 1 reply; 7+ messages in thread
From: Lars Magne Ingebrigtsen @ 2015-12-30 18:17 UTC (permalink / raw)
  To: Milan Zamazal; +Cc: 21089

Milan Zamazal <pdm@zamazal.org> writes:

>>>>>> "LI" == Lars Ingebrigtsen <larsi@gnus.org> writes:
>
>     LI> Emacs 25.1 has gotten a few fixes in this area, I think.  Do you
>     LI> still see this problem in newer versions?
>
> Yes, current git version (master) signals the same error.

Could you try to replicate the bug without using all these packages not
in "emacs -Q"?  This is the end of the backtrace:

  ...
  url-retrieve-synchronously("http://weblog.zamazal.org/xmlrpc.php")
  xml-rpc-request("http://weblog.zamazal.org/xmlrpc.php" ((methodCall nil (methodName nil "metaWeblog.getCategories") (params nil (param nil (value nil (string nil "1"))) (param nil (value nil (string nil "admin"))) (param nil (value nil (string nil "xxx")))))) nil)
  xml-rpc-method-call-async(nil "http://weblog.zamazal.org/xmlrpc.php" "metaWeblog.getCategories" ("1" "admin" "xxx"))
  xml-rpc-method-call("http://weblog.zamazal.org/xmlrpc.php" "metaWeblog.getCategories" "1" "admin" "xxx")
  metaweblog-get-categories("http://weblog.zamazal.org/xmlrpc.php" "admin" "xxx" "1")
  org2blog/wp-login()

My guess is that the call to xml-rpc-request binds a bunch of url
variables, and then calls url-retrieve-synchronously.  Could you
determine what those variables are, and then create a test case?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#21089: 24.5; void-variable url-http-response-status
  2015-12-30 18:17     ` Lars Magne Ingebrigtsen
@ 2016-01-17 16:46       ` Milan Zamazal
  2016-03-01  3:54         ` Lars Ingebrigtsen
  0 siblings, 1 reply; 7+ messages in thread
From: Milan Zamazal @ 2016-01-17 16:46 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: 21089

[-- Attachment #1: Type: text/plain, Size: 435 bytes --]

>>>>> "LMI" == Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

    LMI> Could you try to replicate the bug without using all these
    LMI> packages not in "emacs -Q"?

It was a bit tricky (curious case!), but I’ve found it.

Run Emacs with the attached file:

  emacs -Q -l url-http-bug.el

When prompted for password, press Enter.  You should get the bug (with
both Emacs 24.5 or git master from end of December).


[-- Attachment #2: url-http-bug.el --]
[-- Type: application/emacs-lisp, Size: 220 bytes --]

[-- Attachment #3: Type: text/plain, Size: 28 bytes --]


-- 
http://www.zamazal.org

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#21089: 24.5; void-variable url-http-response-status
  2016-01-17 16:46       ` Milan Zamazal
@ 2016-03-01  3:54         ` Lars Ingebrigtsen
  2016-03-03 19:19           ` Milan Zamazal
  0 siblings, 1 reply; 7+ messages in thread
From: Lars Ingebrigtsen @ 2016-03-01  3:54 UTC (permalink / raw)
  To: Milan Zamazal; +Cc: 21089

Milan Zamazal <pdm@zamazal.org> writes:

> It was a bit tricky (curious case!), but I’ve found it.
>
> Run Emacs with the attached file:
>
>   emacs -Q -l url-http-bug.el
>
> When prompted for password, press Enter.  You should get the bug (with
> both Emacs 24.5 or git master from end of December).
>
> (require 'follow)
> (follow-mode 1)
> (defun foo ()
>   (read-passwd (format "Password? "))
>   (let ((url-request-extra-headers '(("Connection" . "close"))))
>     (url-retrieve-synchronously "http://www.gnu.org")))
> (foo)

I'm unable to reproduce this bug on the Emacs trunk, so it might have
been fixed in the meantime.  Could you try installing an Emacs 25
pretest (or from git) and see whether the bug still exists?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#21089: 24.5; void-variable url-http-response-status
  2016-03-01  3:54         ` Lars Ingebrigtsen
@ 2016-03-03 19:19           ` Milan Zamazal
  0 siblings, 0 replies; 7+ messages in thread
From: Milan Zamazal @ 2016-03-03 19:19 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 21089

>>>>> "LI" == Lars Ingebrigtsen <larsi@gnus.org> writes:

    LI> I'm unable to reproduce this bug on the Emacs trunk, so it might
    LI> have been fixed in the meantime.  Could you try installing an
    LI> Emacs 25 pretest (or from git) and see whether the bug still
    LI> exists?

Indeed, it seems to be no longer present in the current pretest, so it
can be closed.  Thanks.

-- 
http://www.zamazal.org





^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-03-03 19:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-18 19:49 bug#21089: 24.5; void-variable url-http-response-status Milan Zamazal
2015-12-25 18:13 ` Lars Ingebrigtsen
2015-12-30 15:42   ` Milan Zamazal
2015-12-30 18:17     ` Lars Magne Ingebrigtsen
2016-01-17 16:46       ` Milan Zamazal
2016-03-01  3:54         ` Lars Ingebrigtsen
2016-03-03 19:19           ` Milan Zamazal

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).