[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: probs with firefox and gnus

From: Xning Lee
Subject: Re: probs with firefox and gnus
Date: Tue, 27 Jul 2004 21:40:58 +0800
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

1. update-alvernatives
Debian dpkg utilities, maintain symbolic links determining default

2. .emacs
 . my-download) 
    ("." . my-browser))))

3. function: my-browser
(defun my-browser (url &optional new-window)
  "Open URL in a new tab in Mozilla."
  (interactive (browse-url-interactive-arg "URL: "))
      (string-match ".*No running window found.*" 
                     (concat "mozilla -remote 'openurl(" url ",new-tab)'")))
    (message "Starting Mozilla...")
    (start-process (concat "mozilla " url) nil
                   "/bin/sh" "-c" (concat "mozilla " url "|| true"))
    (message "Starting Mozilla...done")))

reply via email to

[Prev in Thread] Current Thread [Next in Thread]