From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Fabian Braennstroem Newsgroups: gmane.emacs.help Subject: Re: emacs-w3m configs Date: 28 Jun 2005 06:23:44 GMT Organization: www.braennstroem.de Message-ID: References: <8764vzzg9p.fsf@utanet.at> Reply-To: f.braennstroem@gmx.de NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1119940837 2947 80.91.229.2 (28 Jun 2005 06:40:37 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 28 Jun 2005 06:40:37 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 28 08:40:33 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dn9la-0008UZ-HY for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Jun 2005 08:40:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dn9tN-0006oj-AB for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Jun 2005 02:48:21 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news-fra1.dfn.de!news-koe1.dfn.de!news.fernuni-hagen.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 57 Original-NNTP-Posting-Host: bonsai.fernuni-hagen.de Original-X-Trace: beech.fernuni-hagen.de 1119939824 18775 132.176.114.21 (28 Jun 2005 06:23:44 GMT) Original-X-Complaints-To: newsadmin@fernuni-hagen.de Original-NNTP-Posting-Date: 28 Jun 2005 06:23:44 GMT Mail-Copies-To: nobody User-Agent: slrn/0.9.8.1/rt (Linux) Original-Xref: shelby.stanford.edu gnu.emacs.help:132208 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.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@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:27683 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:27683 Hi Stefan, On 2005-06-27, Stefan Reichör 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