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

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

Re: Anything.el for Windows


From: Tassilo Horn
Subject: Re: Anything.el for Windows
Date: Thu, 14 Feb 2008 15:54:50 +0100
User-agent: Gnus/5.110007 (No Gnus v0.7) Emacs/23.0.60 (gnu/linux)

Sébastien Vauban <zthjwsqqafhv@spammotel.com> writes:

Hi Sébastien,

>> What does `C-h v anything-c-source-info-pages' say?
>
> anything-c-source-info-pages is a variable defined in
> `anything-config.el'.  Its value is shown below.
>
> Value: 
> ((name . "Info Pages")
>  (candidates lambda nil
>              (if anything-c-info-pages anything-c-info-pages
>                (setq anything-c-info-pages
>                      (save-window-excursion
>                        (save-excursion
>                          (require 'info)
>                          (Info-find-node "dir" "top")
>                          (goto-char
>                           (point-min))
>                          (let
>                              ((info-topic-regexp "\\* +\\([^:]+: 
> ([^)]+)[^.]*\\)\\.")
>                               topics)
>                            (while
>                                (re-search-forward info-topic-regexp nil t)
>                              (add-to-list 'topics
>                                           (match-string-no-properties 1)))
>                            (goto-char
>                             (point-min))
>                            (Info-exit)
>                            topics))))))
>  (action
>   ("Show with Info" lambda
>    (node-str)
>    (info
>     (replace-regexp-in-string "^[^:]+: " "" node-str))))
>  (requires-pattern . 2))
>
> Hope it helps.

Yep, it's broken!  But I'm absolutely sure that it's ok in the current
anything-config.el.  So it seems that you've got a outdated and broken
anything-config.el in a directory in your `load-path' which comes before
the directory of the new anything-config.el.  So the broken one get's
loaded and the new one won't be loaded because it's already provided.
(And even if you'd load it explicitly you wouldn't change the broken
defvar'ed values...)

Try to `locate' and delete it and restart emacs.

Bye,
Tassilo





reply via email to

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