[Top][All Lists]

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

Re: Rename `eww' to `web'

From: Juri Linkov
Subject: Re: Rename `eww' to `web'
Date: Fri, 05 Jul 2013 03:04:18 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (x86_64-pc-linux-gnu)

> Let's just have a configuration module that let map user interface
> commands to the selected package.
> M-x mail --> vm, gnus, mew, or whatever.
> M-x news --> gnus or something else.
> M-x web --> w3m, www, eww or whatever.
> M-x elisp -> ielm or *scratch*

Maybe something like

(defcustom browse-web-function 'eww
  "Function to start WWW browsing."
  :type '(choice
          (function-item :tag "eww" :value eww)

(defun browse-web (url)
  (interactive "sEnter URL or keywords: ")
  (funcall browse-web-function url))

Then external packages could register themselves by adding more alternatives
to this user option by calling at the end of e.g. the w3m package:

  (custom-add-option 'browse-web-function '(function-item :tag "w3m" :value 

reply via email to

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