abo-abo / define-word

Display the definition of word at point in Emacs
154 stars 25 forks source link

wrong type argument on Windows (7 x64 built GNU Emacs & Spacemacs) #7

Open zsoltika opened 8 years ago

zsoltika commented 8 years ago

I'm on windows (official GNU windows built Emacs (24.*) and the latest Spacemacs, and while I'm trying to use either define-word or define-word-at-point I'm always getting:

error in process filter: apply: Wrong type argument: char-or-string-p, nil
error in process filter: Wrong type argument: char-or-string-p, nil

instead of any other results.

I'm behind a company proxy, but accessing them from (Spac)emacs is working, e.g. I can upgrade both Spacemacs, and other installed packages just fine.

abo-abo commented 8 years ago

Don't know what I can do here. define-word depends only on url-retrieve, which is cross-platform. See if the bug happens without a firewall, and raise a bug for url-retrieve.

zsoltika commented 8 years ago

Will check, thanks for the prompt answer!

zsoltika commented 8 years ago

Most likely it's unrelated to url-retrieve, since if I run this from the running instance's scratch buffer:

(url-retrieve
 "http://download.savannah.gnu.org/releases/color-theme/color-theme-6.6.0.tar.gz"
 (lambda (s)
   (re-search-forward "\r?\n\r?\n")
   (write-region (point) (point-max) "/Temp/bla")))

Then C:\Temp\bla gets written succesfully.

basil-conto commented 6 years ago

@zsoltika Have you tried calling M-xtoggle-debug-on-errorRET before running into the error? If you do, can you please post the (redacted, if necessary) resulting error backtrace?

zsoltika commented 6 years ago

@basil-conto sorry I moved away from Windows 7 since then, however soon will get my new company laptop with Windows 10 and will retest it.