juergenhoetzel / emacs-nexus

Emacs client for Nexus Maven repository servers
14 stars 1 forks source link

doesn't work for me on emacs 24 #1

Closed hiredman closed 3 years ago

hiredman commented 13 years ago

http://repository.sonatype.org/service/local/data_index?q=commons Contacting host: repository.sonatype.org:80 nnrss: Failed to fetch http://repository.sonatype.org/service/local/data_index?q=commons setq: Wrong type argument: listp, "nnrss: Failed to fetch http://repository.sonatype.org/service/local/data_index?q=commons" Mark set

juergenhoetzel commented 13 years ago

Could you please provide the output of your *URL-DEBUG* buffer?

hiredman commented 13 years ago

I don't have one, so I am unable to

juergenhoetzel commented 13 years ago

Please ensure debug-on-error and url-debug is set to t , so you can provide the stacktrace and *URL-DEBUG* buffer.

zcjava commented 3 years ago

Please ensure debug-on-error and url-debug is set to t , so you can provide the stacktrace and *URL-DEBUG* buffer.

i have the problem.
image

image

sometime is error : Debugger entered--Lisp error: (void-function remove-if-not. remove-if-not not found

zcjava commented 3 years ago

please fix it . i need it very much .

zcjava commented 3 years ago

http://repository.sonatype.org/service/local/data_index?q=commons Contacting host: repository.sonatype.org:80 nnrss: Failed to fetch http://repository.sonatype.org/service/local/data_index?q=commons setq: Wrong type argument: listp, "nnrss: Failed to fetch http://repository.sonatype.org/service/local/data_index?q=commons" Mark set

hi guys, are you fixed it

zcjava commented 3 years ago

nexus--search-coordinates-internal: Symbol’s function definition is void: remove-if-not

juergenhoetzel commented 3 years ago

Should be fixed by #2

I also added Github Actions CI: Byte compiles on Emacs 24.5 (https://github.com/juergenhoetzel/emacs-nexus/actions/runs/1198903043)

Could you please test the master branch on your setup?

zcjava commented 3 years ago

wait a moment, i try it .

zcjava commented 3 years ago

Should be fixed by #2

I also added Github Actions CI: Byte compiles on Emacs 24.5 (https://github.com/juergenhoetzel/emacs-nexus/actions/runs/1198903043)

Could you please test the master branch on your setup?

thx, is ok now. please push it to elpa. btw: i have other question: use ac-nexus. but version donnot code complete? u have plan to solve it

zcjava commented 3 years ago

image

zcjava commented 3 years ago

i use company to code completion. how change auto-complete to company mode . have function?

juergenhoetzel commented 3 years ago

thx, is ok now. please push it to elpa. Its available on melpa

btw: i have other question: use ac-nexus. but version donnot code complete? u have plan to solve it i use company to code completion. how change auto-complete to company mode . have function?

It seems you are using a plain maven pom.xmlfile. ac-nexus only supports Leiningen project.clj at the moment. I just checked

(package-install 'auto-complete)
(require 'ac-nexus)
(add-hook 'clojure-mode-hook 'ac-source-lein-set-up)

companyprovides a auto-completebackend. So it works out-of-the-box.

To be honest, the code originated as a quick hack for my Clojure projects 10 Years ago :fearful: .

Leiningen itself has fallen behind a bit. It should be easy to adapt the code also for deps.ednClojure projects and general pom.xml files.

Also it should use builtin completion-at-point functions instead of requiring the 3rd party-package auto-complete.

I will create a seperate completion issue.