Hi Stefan,

On 2005-06-27, Stefan Reichör <[EMAIL PROTECTED]> wrote:
>  Hi Fabian!
> 
> > Hi,
> >
> > I want to configure w3m inside emacs a little bit and wonder
> > if anybody can provide me some sample configs, e.g. for
> > coloring and keyadjustments.
> 
>  Here is some stuff from my .emacs:

Thanks!

> 
>  (setq w3m-key-binding 'info)
>  (setq w3m-search-default-engine "google")
>  (setq w3m-fill-column 100)
>  (setq w3m-use-cookies t)
> 
>  ;; Select a better coding system to display umlauts correctly
>  (setq w3m-coding-system 'utf-8
>        w3m-file-coding-system 'utf-8
>        w3m-file-name-coding-system 'utf-8
>        w3m-input-coding-system 'utf-8
>        w3m-output-coding-system 'utf-8
>        w3m-terminal-coding-system 'utf-8)
> 
>  (add-hook 'w3m-mode-hook
>            '(lambda()
>               (define-key w3m-mode-map [?w] 'w3m-copy-link)
>               (define-key w3m-mode-map [(meta ?c)] 'w3m-print-current-url)))
>  ;(setq w3m-async-exec nil)
> 
>  (eval-after-load "w3m"
>   '(progn
>      (unless w3m-icon-directory
>        (setq w3m-icon-directory (concat emacs-site-lisp-directory 
> "w3m/icons")))
> 
>      ;; w3m-minor-mode-map is active when showing html articles in gnus
>      ;; w3m-minor-mode-map is not active, when 
> mm-inline-text-html-with-w3m-keymap is nil
>      (define-key w3m-minor-mode-map "\C-m" 
> 'w3m-view-url-with-external-browser)
>      (define-key w3m-minor-mode-map [mouse-2] 
> 'w3m-view-url-with-external-browser)
> 
>      (require 'w3m-search)
>      (add-to-list 'w3m-search-engine-alist
>                   '("emacs-wiki" 
> "http://www.emacswiki.org/cgi-bin/wiki.pl?search=%s";))
>      (add-to-list 'w3m-search-engine-alist
>                   '("leo" "http://dict.leo.org/?search=%s";))

I probably like this feature, but I always get the default
search engine. What keystrokes do I have to press to get the
other ones?


Greetings, Fabian
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to