Subject: Re: bug#7369: 24.0.50; browse-url prompts should say what browser the will use

From: Kevin Rodgers <[email-masked]>
Date: Fri, 12 Nov 2010 00:30:04 -0700

On 11/10/10 6:05 PM, [email-masked] wrote:
> Commands like
>     (defun browse-url-firefox (url&optional new-window)
>      "Ask the Firefox WWW browser to load URL.
>     Default to the URL around or before point.  The strings in
>     variable `browse-url-firefox-arguments' are also passed to
>     Firefox.
>
> Should (optionally, enabled by default) put in their prompt,
>    (interactive (browse-url-interactive-arg "URL: "))
> some indication of which program they are about to call.
>
> E.g., instead of URL, say "Call firefox on:" or "Firefox:" or
> "URL for Firefox:".
>
> Why? Because otherwise it looks just like the w3m-view-this-url etc.
> default prompts, even if one knows which function he is calling.
>
> (emacs-snapshot package, version 1:20101030-1)

Feh.  You can easily customize the prompt if you want, without adding a
paint shelf to Emacs for your bike shed:

(defadvice browse-url-firefox (before interactive-url-prompt activate)
   (interactive (browse-url-interactive-arg "Firefox URL: ")))

-- 
Kevin Rodgers
Denver, Colorado, USA