logo       

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

emacs.macintosh.osx

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

Thanks, Renzo!

I have tried some of the other suggestions that have been provided. However,
so far, none have worked for me.

As soon as emacs-w3m is available for download again I will try what you
suggested. Thanks for the very detailed instructions!

Best,

Will

Renzo Been writes:
> 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>
>
---------------------------- 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