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

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

Re: "Anything" package requires w3m command...


From: Sébastien Vauban
Subject: Re: "Anything" package requires w3m command...
Date: Wed, 09 Feb 2011 23:29:08 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt)

Hi Thierry,

Thierry Volpiatto wrote:
> Sébastien Vauban <wxhgmqzgwmuf@spammotel.com> writes:
>
>> Now, following Thierry's advice, I've git pull'ed `anything' just 10 min
>> ago, and tried to relaunch my Emacs.
>>
>> I now have a different error (maybe hiding the above one, from a previous
>> run):
>
> Please use:
>
> (require 'anything-config)
>
> nothing else.
>
> Then start adding your personal code progressively and see step by step
> what is wrong.

I got a very minimal configuration now...

#+begin_src emacs-lisp
(message "Minimal Emacs...")

(add-to-list 'load-path (expand-file-name "~/src/anything-config"))

(setq debug-on-error t)

;; open anything
(require 'anything-config)  ; loads `anything.el' too

;; ;; locate program with its list of arguments
;; (setq anything-c-locate-command "locate -i -r %s")

;; source of candidates for anything
(anything-set-sources
 `(
      ,anything-c-source-locate      ; find files everywhere
      ))

;; allow input of accented characters
(set-input-mode nil nil 1)

(message "Minimal Emacs... Done")
#+end_src

which exhibits the following error:

--8<---------------cut here---------------start------------->8---
Debugger entered--Lisp error: (error "No buffer named *anything*")
  set-buffer("*anything*")
  (save-current-buffer (set-buffer anything-buffer) (setq 
anything-compiled-sources nil anything-sources sources 
anything-last-sources-local sources) (anything-log-eval 
anything-compiled-sources anything-sources))
  (with-current-buffer anything-buffer (setq anything-compiled-sources nil 
anything-sources sources anything-last-sources-local sources) 
(anything-log-eval anything-compiled-sources anything-sources))
  anything-set-sources((((name . "Locate") (candidates . 
anything-c-locate-init) (type . file) (requires-pattern . 3) (delayed))))
  eval-buffer(#<buffer  *load*> nil "/cygdrive/c/home/sva/.emacs-minimal.el" 
nil t)  ; Reading at buffer position 432
  load-with-code-conversion("/cygdrive/c/home/sva/.emacs-minimal.el" 
"/cygdrive/c/home/sva/.emacs-minimal.el" nil t)
  load("/cygdrive/c/home/sva/.emacs-minimal.el" nil t)
  command-line-1(("-l" "~/.emacs-minimal.el"))
  command-line()
  normal-top-level()
--8<---------------cut here---------------end--------------->8---

Tested with version of Anything git pull'ed this afternoon.

GNU Emacs 23.1.50.1 (i386-mingw-nt5.1.2600) of 2009-10-14 on LENNART-69DE564 
(patched)

Best regards,
  Seb

-- 
Sébastien Vauban


reply via email to

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