help-gnu-emacs
[Top][All Lists]
Advanced

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

"Anything" package requires w3m command...


From: Sébastien Vauban
Subject: "Anything" package requires w3m command...
Date: Fri, 03 Dec 2010 22:01:36 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt)

Hi,

I want to re-use `anything', being such a day-to-day helper, with its
fantastic extra sources.

But, if I don't have W3m installed, I get this:

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (error "Install w3m command in `exec-path' or set 
`w3m-command' variable correctly")
  signal(error ("Install w3m command in `exec-path' or set `w3m-command' 
variable correctly"))
  error("Install w3m command in `exec-path' or set `w3m-command' variable 
correctly")
  (progn (error "Install w3m command in `exec-path' or set `w3m-command' 
variable correctly"))
  (if (not (stringp w3m-command)) (progn (error "Install w3m command in 
`exec-path' or set `w3m-command' variable correctly")))
  (when (not (stringp w3m-command)) (error "Install w3m command in `exec-path' 
or set `w3m-command' variable correctly"))
  eval-buffer(#<buffer  *load*<10>> nil 
"c:/home/sva/Downloads/emacs/site-lisp/emacs-w3m/w3m.el" nil t)  ; Reading at 
buffer position 9854
  
load-with-code-conversion("c:/home/sva/Downloads/emacs/site-lisp/emacs-w3m/w3m.el"
 "c:/home/sva/Downloads/emacs/site-lisp/emacs-w3m/w3m.el" nil t)
  orig-require(w3m nil nil)
  (let ((my/require-depth ...)) (orig-require feature filename noerror))
  (cond ((member feature features) (message "%sRequiring `%s' (already loaded)" 
... feature)) (t (message "%sRequiring `%s'" ... feature) (let ... ...) 
(message "%sRequiring `%s'...done" ... feature)))
  require(w3m)
  eval-buffer(#<buffer  *load*<9>> nil 
"c:/home/sva/Downloads/emacs/site-lisp/emacs-w3m/w3m-bookmark.el" nil t)  ; 
Reading at buffer position 1328
  
load-with-code-conversion("c:/home/sva/Downloads/emacs/site-lisp/emacs-w3m/w3m-bookmark.el"
 "c:/home/sva/Downloads/emacs/site-lisp/emacs-w3m/w3m-bookmark.el" t t)
  orig-require(w3m-bookmark nil t)
  (let ((my/require-depth ...)) (orig-require feature filename noerror))
  (cond ((member feature features) (message "%sRequiring `%s' (already loaded)" 
... feature)) (t (message "%sRequiring `%s'" ... feature) (let ... ...) 
(message "%sRequiring `%s'...done" ... feature)))
  require(w3m-bookmark nil t)
  (progn (require (quote w3m-bookmark) nil t))
  (eval-when-compile (require (quote w3m-bookmark) nil t))
  eval-buffer(#<buffer  *load*<8>> nil 
"c:/home/sva/Downloads/emacs/site-lisp/anything-config/anything-config.el" nil 
t)  ; Reading at buffer position 131103
  
load-with-code-conversion("c:/home/sva/Downloads/emacs/site-lisp/anything-config/anything-config.el"
 "c:/home/sva/Downloads/emacs/site-lisp/anything-config/anything-config.el" nil 
t)
  orig-require(anything-config nil nil)
  (let ((my/require-depth ...)) (orig-require feature filename noerror))
  (cond ((member feature features) (message "%sRequiring `%s' (already loaded)" 
... feature)) (t (message "%sRequiring `%s'" ... feature) (let ... ...) 
(message "%sRequiring `%s'...done" ... feature)))
  require(anything-config)
--8<---------------cut here---------------end--------------->8---

OK. The workaround, for me, is just: install Cygwin (I'm now forced on
windows) and w3m from it, and everything will run smoothly.

Though, as my .emacs file is used by other colleagues, I'd like not having to
impose that constraint. I need to have a config that just continues if w3m is
not there.

I've tried everything to understand from which sources this message was
coming. It seems to be from `anything-c-source-locate', but I don't understand
what to do to disable it...

My current config:

--8<---------------cut here---------------start------------->8---
  (require 'anything)

  ;; select anything
  (global-set-key (kbd "<f3>") 'anything)

  ;; (require 'anything-config)  ; error!
--8<---------------cut here---------------end--------------->8---

The source that I really, really, really miss -- was it just one -- is
`anything-c-source-locate', and is not in the "base" anything package...

Anyone can help, please?

Best regards,
  Seb

-- 
Sébastien Vauban


reply via email to

[Prev in Thread] Current Thread [Next in Thread]