From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Newsgroups: gmane.emacs.help Subject: Re: "Anything" package requires w3m command... Date: Wed, 09 Feb 2011 23:29:08 +0100 Organization: Sebastien Vauban Message-ID: <804o8c4zbf.fsf@missioncriticalit.com> References: <80ipzazi33.fsf@missioncriticalit.com> <87d3picyah.fsf@fh-trier.de> <804oar16qv.fsf@missioncriticalit.com> <9e2a7518-2fc7-43dc-8dac-195805205968@k38g2000vbc.googlegroups.com> <80oc8ksa83.fsf@missioncriticalit.com> <0cc97c59-70f0-4b7a-8508-3e943544e73b@y3g2000vbm.googlegroups.com> <80vd2ohb1m.fsf@missioncriticalit.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1297389584 5985 80.91.229.12 (11 Feb 2011 01:59:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 11 Feb 2011 01:59:44 +0000 (UTC) To: help-gnu-emacs-mXXj517/zsQ@public.gmane.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Fri Feb 11 02:59:40 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PniIN-0005d8-Ug for geh-help-gnu-emacs@m.gmane.org; Fri, 11 Feb 2011 02:59:40 +0100 Original-Received: from localhost ([127.0.0.1]:34464 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PniIN-0000nS-F2 for geh-help-gnu-emacs@m.gmane.org; Thu, 10 Feb 2011 20:59:39 -0500 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!news2.euro.net!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 80 Injection-Info: mx01.eternal-september.org; posting-host="XagHMo1qM1HuK1lQg5GM9g"; logging-data="18251"; mail-complaints-to="abuse-VVbKFVtnif8H+i2N2EyTrmui9UKz+5OX@public.gmane.org"; posting-account="U2FsdGVkX1/26wUv6D1M6j+8A7XJCujC" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (windows-nt) X-Archive: encrypt Cancel-Lock: sha1:iQ8sTd3y4V4XsqKHpdinrOB7Vj8= sha1:Ydaw+f7oI2GQokFPJZwC+ZByLIY= X-Url: Under construction... Original-Xref: usenet.stanford.edu gnu.emacs.help:184888 X-Mailman-Approved-At: Thu, 10 Feb 2011 20:57:11 -0500 X-BeenThere: help-gnu-emacs-mXXj517/zsQ@public.gmane.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org-mXXj517/zsQ@public.gmane.org Xref: news.gmane.org gmane.emacs.help:79062 Archived-At: Hi Thierry, Thierry Volpiatto wrote: > S=C3=A9bastien Vauban 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(# 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" "/cygd= rive/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-69DE56= 4 (patched) Best regards, Seb --=20 S=C3=A9bastien Vauban