From owner-freebsd-gnome Sun Feb 16 20:49:26 2003 Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FDFB37B401 for ; Sun, 16 Feb 2003 20:49:25 -0800 (PST) Received: from rip.psg.com (rip.psg.com [147.28.0.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1C3A543F3F for ; Sun, 16 Feb 2003 20:49:25 -0800 (PST) (envelope-from randy@psg.com) Received: from localhost ([127.0.0.1] helo=rip.psg.com) by rip.psg.com with esmtp (Exim 4.12) id 18kdDY-0008Iw-00; Sun, 16 Feb 2003 20:49:24 -0800 From: Randy Bush MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Sun, 16 Feb 2003 20:49:24 -0800 To: George Hartzell Cc: Joe Marcus Clarke , freebsd gnome Subject: Re: galeon with VM References: <1045423405.38530.9.camel@shumai.marcuscom.com> <15952.25612.705662.74882@rosebud.alerce.com> Message-Id: Sender: owner-freebsd-gnome@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > The problem is that the netscape code that you're calling wraps the > url text that says -openURL(..), which apparently makes netscape all > warm and fuzzy. > > The following seems to work for me. The vm-mouse-send-url-to-galeon > function is just a rip-off of the netscape code from vm-mouse.el, the > qx-add-galeon-menu-item is just a touch up of what you posted. > > (setq vm-galeon-program "galeon") > (setq vm-galeon-program-switches "-n") > (defun vm-mouse-send-url-to-galeon (url) > (message "Sending URL to Galeon...") > (vm-run-background-command vm-galeon-program vm-galeon-program-switches url) > (message "Sending URL to Galeon... done")) > (setq vm-url-browser 'vm-mouse-send-url-to-galeon) > > (defun qx-add-galeon-menu-item () > (setq vm-menu-url-browser-menu > (let ((title (car vm-menu-url-browser-menu)) > (rest (cdr vm-menu-url-browser-menu))) > (cons title > (cons > ["Galeon" > (vm-mouse-send-url-at-position > (point) > (function vm-mouse-send-url-to-galeon)) > t] > rest))))) > (add-hook 'vm-mode-hook 'qx-add-galeon-menu-item) bingo! thank you! randy To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-gnome" in the body of the message