bug-gnu-emacs
[Top][All Lists]
Advanced

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

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


From: Kevin Rodgers
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
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6

On 11/10/10 6:05 PM, jidanni@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






reply via email to

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