[Top][All Lists]

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

Re: Rename `eww' to `web'

From: Pascal J. Bourguignon
Subject: Re: Rename `eww' to `web'
Date: Fri, 5 Jul 2013 07:37:05 +0200

On 05/07/2013, at 02:04, Juri Linkov <address@hidden> wrote:

>> 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 
> w3m))

Indeed, for browse-url, there's already something in place.  I'm suggesting it 
could be generalized, by defining generic user interface commands for several 

__Pascal Bourguignon__

reply via email to

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