logo       

Re: Success installing emacs-w3m with Aquamacs?: msg#00018

emacs.macintosh.osx

Subject: Re: Success installing emacs-w3m with Aquamacs?

w3m with emacs-w3m?

I use w3m in Aquamacs. I installed them via Darwin ports; if you have that set up then you do: "port install emacs-w3m". My Preferences.el file says something like this:

;;---------------------------------------------------------------------- W3m
(add-to-list 'load-path "/usr/share/emacs/site-lisp/w3m/")
(setf w3m-image-viewer "open")
(require 'w3m-load)
(defun w3m-hook-for-bhyde ()
(setf (third (second w3m-content-type-alist))
'browse-url-default-macosx-browser))
(add-hook 'w3m-mode-hook 'w3m-hook-for-bhyde)
(setf browse-url-browser-function 'w3m-browse-url)
;; see also ~/.emacs-w3m
; (setf browse-url-browser-function 'browse-url-default-macosx-browser)

I use the last line to remind me how to disable it. I did this months ago so I have no memory of why I make any of the particular choices shown above.

- ben
---------------------------- Info -----------------------------
List Post: <mailto:macosx-emacs@xxxxxxxxxxxxxxxxx>
List Archives: <http://dir.gmane.org/gmane.emacs.macintosh.osx>




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise