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

search aliases not working



I am a bit of a new user of emacs-w3m and have read the info pages
(twice through, even).  I am having a problem getting the search aliases
to work.  Below is my .emacs-w3m file.  I tried to follow the
instructions, and have done a search on the web, but I seem to be
leaving something out.  After I created the file I:

1. exited w3m (via Q, not q)
2. exited emacs (just to be sure)
3. restarted emacs and then w3m
4. hit g to go to an url
5. entered deb:emacs in the minibuffer to test (failed)
6. hit g and entered fm in the minibuffer to test again (failed)
7. subscribed to this list and posted

Could someone take a look at my .emacs-w3m file and tell me what I have
incorrectly entered (or omitted).

Thanks,

rdc

;; configuration file for emacs-w3m

;; add these to the quicksearch interface
(require 'w3m)
(require 'w3m-search)
'(w3m-search-engine-alist 
   (quote 
     (("yahoo" "http://search.yahoo.com/bin/search?p=%s"; nil) 
      ("google" "http://www.google.com/search?q=%s"; nil) 
      ("google groups" "http://groups.google.com/groups?q=%s"; nil) 
      ("rpmfind" "http://rpmfind.net/linux/rpm2html/search.php?query=%s"; nil) 
      ("debian-pkg" "http://packages.debian.org/cgi-bin/search_contents.pl?directories=yes&arch=i386&version=unstable&case=insensitive&word=%s"; nil) 
      ("debian-bts" "http://bugs.debian.org/cgi-bin/pkgreport.cgi?archive=yes&pkg=%s"; nil) 
      ("freshmeat" "http://freshmeat.net/search/?q=%s&section=projects&Go.x=0&Go.y=0"; nil)
      ("merriam-webster" "http://www.m-w.com/cgi-bin/dictionary?book=Dictionary&va=%s&x=0&y=0"; nil)
      ("distrowatch" "http://www.distrowatch.com/table.php?distribution=%s"; nil)
      ("emacswiki" "http://www.emacswiki.org/cgi-bin/wiki/%s"; nil))))

 '(w3m-uri-replace-alist 
    (quote 
     (("\\`gg:" w3m-search-uri-replace "google") 
      ("\\`ggg:" w3m-search-uri-replace "google groups") 
      ("\\`ya:" w3m-search-uri-replace "yahoo") 
      ("\\`al:" w3m-search-uri-replace "altavista") 
      ("\\`bts:" w3m-search-uri-replace "debian-bts") 
      ("\\`deb:" w3m-search-uri-replace "debian-pkg") 
      ("\\`fm:" w3m-search-uri-replace "freshmeat") 
      ("\\`mw:" w3m-search-uri-replace "merriam-webster") 
      ("\\`dw:" w3m-search-uri-replace "distrowatch") 
      ("\\`emacswiki:" w3m-search-uri-replace "emacswiki"))))

 '(w3m-use-cookies t)


-- 
<||><||><||><||><||><||><||><||><||><||><||><||><||><||><||><||><||><||><||>
Robert D. Crawford                                      rdc1x@comcast.net

There is a fly on your nose.
<||><||><||><||><||><||><||><||><||><||><||><||><||><||><||><||><||><||><||>