|
Re: Success installing emacs-w3m with Aquamacs?: msg#00022emacs.macintosh.osx
I don't think you actually need to use the installer for emacs-w3m... I just placed the .el files (downloaded from http://emacs-w3m.namazu.org) in the directory: /Applications/Aquamacs Emacs.app/Contents/Resources/site-lisp/w3m/ and byte-compiled them from within Aquamacs Emacs. The .xpm images for w3m go into: /Applications/Aquamacs Emacs.app/Contents/Resources/etc/images/w3m/ And the info files go here: /Applications/Aquamacs Emacs.app/Contents/Resources/site-lisp/edit-modes/info/ edit the file called "dir" in that directory and your done. To my Preferences.el I added: ;; w3m usage (require 'w3m-load) (setq browse-url-browser-function 'w3m-browse-url) (setf w3m-image-viewer "open") (global-set-key [f3] 'browse-url-at-point) ;;(setq w3m-home-page "file://localhost/Users/Swangdoodles/home.html") (eval-after-load "dired" '(define-key dired-mode-map [f3] 'dired-w3m-find-file)) (defun dired-w3m-find-file () (interactive) (require 'w3m) ;; (let ((file (dired-get-filename))) ;; (if (y-or-n-p (format "Use emacs-w3m to browse %s? " ;; (file-name-nondirectory file))) (let ((file (dired-get-filename))) (if (file-name-nondirectory file) (w3m-find-file file)))) w3m itself can be downloaded from http://w3m.sourceforge.net In addition you need to make sure Aquamacs Emacs can find the w3m binaries and libraries. Mine are all installed in the /usr/local directory. If installing from fink, w3m will be in another directory... Ciao, Renzo ---------------------------- 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> |
|---|---|---|
| Previous by Date: | Man pages formatting problem in Aquamacs WoMan.: 00022, Wei Tang |
|---|---|
| Next by Date: | Re: Man pages formatting problem in Aquamacs WoMan.: 00022, Peter Dyballa |
| Previous by Thread: | Re: Success installing emacs-w3m with Aquamacs?i: 00022, Ben Hyde |
| Next by Thread: | Re: Re: Success installing emacs-w3m with Aquamacs?: 00022, Wladimir Labeikovsky |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |