GNU bug report logs - #7369
24.0.50; browse-url prompts should say what browser the will use

Previous Next

Package: emacs;

Reported by: jidanni <at> jidanni.org

Date: Thu, 11 Nov 2010 01:01:02 UTC

Severity: wishlist

Found in version 24.0.50

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Kevin Rodgers <kevin.d.rodgers <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: bug#7369: 24.0.50; browse-url prompts should say what browser the will use
Date: Fri, 12 Nov 2010 00:30:04 -0700
On 11/10/10 6:05 PM, jidanni <at> jidanni.org 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





This bug report was last modified 14 years and 279 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.