define-word icon indicating copy to clipboard operation
define-word copied to clipboard

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

Open zsoltika opened this issue 9 years ago • 5 comments

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.

zsoltika avatar Dec 30 '15 09:12 zsoltika

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.

abo-abo avatar Dec 30 '15 10:12 abo-abo

Will check, thanks for the prompt answer!

zsoltika avatar Dec 30 '15 10:12 zsoltika

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.

zsoltika avatar Dec 30 '15 10:12 zsoltika

@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?

basil-conto avatar Aug 03 '18 22:08 basil-conto

@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.

zsoltika avatar Aug 06 '18 08:08 zsoltika