[Openmcl-devel] Another ILisp Question -- correction
Ram Krishnan
rkris at kriyative.net
Fri Jun 13 10:27:30 PDT 2003
Ignore the cvs instructions in the last message. Apparently the w3/url
CVS repository has been reorganized since I last looked.
Please use the following steps to checkout `w3' and `url':
[Note: just press the `return' key when prompted for the anoncvs
password. i.e. no password]
cvs -d :pserver:anoncvs at subversions.gnu.org:/cvsroot/url login
cvs -d :pserver:anoncvs at subversions.gnu.org:/cvsroot/w3 login
cvs -d :pserver:anoncvs at subversions.gnu.org:/cvsroot/url co url
cvs -d :pserver:anoncvs at subversions.gnu.org:/cvsroot/w3 co w3
Also, you'll need to add the following patch (for now) to get things to
work under Mac OS X.
----
Index: lisp/font.el
===================================================================
RCS file: /cvsroot/w3/w3/lisp/font.el,v
retrieving revision 1.12
diff -u -r1.12 font.el
--- lisp/font.el 23 Oct 2002 03:33:41 -0000 1.12
+++ lisp/font.el 13 Jun 2003 17:21:52 -0000
@@ -80,6 +80,7 @@
(win32 . (x-font-create-name x-font-create-object))
(w32 . (x-font-create-name x-font-create-object))
(pm . (x-font-create-name x-font-create-object)) ; Change?
FIXME
+ (mac . (x-font-create-name x-font-create-object))
(tty . (tty-font-create-plist tty-font-create-object)))
"Alist mapping device types to functions.
The functions are used to create a font name from a font structure.")
----
Build and install url and then w3 (they both have the standard autoconf
build process).
That should get you going. I just quickly tried this and it seems to be
working.
-ram
On Friday, June 13, 2003, at 10:05 AM, Ram Krishnan wrote:
> Matthew,
>
> I've been using the latest versions of w3 from the following CVS
> repository:
>
> :pserver:anoncvs at subversions.gnu.org:/cvsroot
>
> You'll need to check out the `w3' and `url' modules and build them. I
> also hacked together an lisp mode hook (see below) which sets things
> up appropriately.
>
> I also had to hack the default style-sheet to get things to look
> decent. If you're interested, I can forward it separately.
>
> Regards,
>
> -ram
>
> ----
> (require 'url)
> (require 'w3)
>
> (defun my-lisp-mode-hook ()
> (make-local-variable 'browse-url-browser-function)
> (local-set-key "\C-hh" 'common-lisp-hyperspec)
> (setq browse-url-browser-function 'browse-url-w3
> browse-url-new-window-flag t))
>
> (add-hook 'lisp-mode-hook 'my-lisp-mode-hook)
> (add-hook 'common-lisp-mode-hook 'my-lisp-mode-hook)
> ----
>
> On Thursday, June 12, 2003, at 09:37 PM, Matthew Calhoun wrote:
>
>> Can you tell me how you set this up? I think this sounds like the
>> best option too, but I haven't even been able to get W3 to work in
>> Emacs on OS X yet, much less browse the hyperspec. When I try to run
>> w3 I get:
>>
>> (wrong-type-argument stringp nil)
>> internal-set-lisp-face-attribute(w3-style-face-00000 :family nil 0)
>> ...
>>
>> Matt
>>
>> El Saturday, 7 June, 2003, a las 07:07 PM, Ram Krishnan escribió:
>>>
>>> Personally, I find it much more convenient to browse the hyperspec
>>> using W3 inside of Emacs. It hints at what a really well integrated
>>> Lisp environment (such as a Lispm) would have been like.
>>>
>>
>>
>>
>> _______________________________________________
>> Openmcl-devel mailing list
>> Openmcl-devel at clozure.com
>> http://clozure.com/cgi-bin/mailman/listinfo/openmcl-devel
>
>
> _______________________________________________
> Openmcl-devel mailing list
> Openmcl-devel at clozure.com
> http://clozure.com/cgi-bin/mailman/listinfo/openmcl-devel
_______________________________________________
Openmcl-devel mailing list
Openmcl-devel at clozure.com
http://clozure.com/cgi-bin/mailman/listinfo/openmcl-devel
More information about the Openmcl-devel
mailing list