[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Cannot retrive url



Hello,

I dont know what happened but whenever I try to open a site (most of them) I have this error


Location: http://it.m.wikipedia.org/wiki/W3m                                                                    
Cannot retrieve URL: http://it.m.wikipedia.org/wiki/W3m

200

Or another one like this


Emacs W3m

May 20th, 2013

This year I switched from vim to emacs. The reason is quite simple, I want to try different things, that’s all.
Emacs is a highly configurable editor that you can use it to read emails, chat on irc, read pdf files, or
whatever you can imagine. One of the most useful plugin is using emacs-w3m

---------------------------------------------------------------------------------------------------------------

Header information

W3m-current-url: http://www.idryman.org/blog/2013/05/20/emacs-w3m/
W3m-document-charset: US-ASCII
HTTP/1.1 200 OK
Server: GitHub.com
Content-Type: text/html; charset=utf-8
Last-Modified: Wed, 03 Dec 2014 01:32:12 GMT
Access-Control-Allow-Origin: *
Expires: Wed, 29 Apr 2015 10:38:52 GMT
Cache-Control: max-age=600
Content-Encoding: gzip
Content-Length: 6142
Accept-Ranges: bytes
Date: Wed, 29 Apr 2015 10:28:52 GMT
Via: 1.1 varnish
Age: 0
Connection: close
X-Served-By: cache-sea1924-SEA
X-Cache: MISS
X-Cache-Hits: 0
X-Timer: S1430303332.211929,VS0,VE75
Vary: Accept-Encoding

In my .init this is my w3m conf 


;;W3m Config
(setq browse-url-browser-function 'w3m-goto-url-new-session)
(add-hook 'w3m-mode-hook 'w3m-lnum-mode)
(setq w3m-user-agent "Mozilla/5.0 (Linux; U; Android 2.3.3; zh-tw; HTC_Pyramid Build/GRI40) AppleWebKit/533.1 (KHTML, like Gecko)
    Version/4.0 Mobile Safari/533.")
    (defun hn ()
      o
      (interactive)
      (browse-url "http://news.ycombinator.com";))
    (defun reddit (reddit)
      "Opens the REDDIT in w3m-new-session"
      (interactive (list
                    (read-string "Enter the reddit (default: psycology): " nil nil "psychology" nil)))
      (browse-url (format "http://m.reddit.com/r/%s"; reddit))
      )
    (defun wikipedia-search (search-term)
      “Search for SEARCH-TERM on wikipedia”
      (interactive
       (let ((term (if mark-active
                       (buffer-substring (region-beginning) (region-end))
                     (word-at-point))))
         (list
          (read-string
           (format "Wikipedia (%s):" term) nil nil term)))
       )
      (browse-url
       (concat
        "http://en.m.wikipedia.org/w/index.php?search=";
        search-term
        ))
      )
Dr. Enrico Pirani
Medico Chirurgo
Specialista in Chirurgia Toracica
FMH Chirurgia Cardiaca 
Via Matteotti 7
35042 Este (Padova)

Cell:392-6224668
Tel: 0429-17660135

  Ai sensi del D.Lgs. 196/2003 si precisa che le informazioni contenute in
  questo messaggio sono riservate ed a uso esclusivo del destinatario.
  Qualora il messaggio Le fosse pervenuto per errore, La invitiamo ad
  eliminarlo senza copiarlo e a non inoltrarlo a terzi, dandocene gentilmente
  comunicazione. Grazie.

  Pursuant to Legislative Decree No. 196/2003, you are hereby informed that
  this message contains confidential information intended only for the use of
  the addressee. If you are not the addressee, and have received this message
  by mistake, please delete it and immediately notify us. You may not copy or