all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#7369: 24.0.50; browse-url prompts should say what browser the will use
@ 2010-11-11  1:05 jidanni
  2010-11-12  7:30 ` Kevin Rodgers
  0 siblings, 1 reply; 2+ messages in thread
From: jidanni @ 2010-11-11  1:05 UTC (permalink / raw)
  To: 7369; +Cc: rfrancoise

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)





^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#7369: 24.0.50; browse-url prompts should say what browser the will use
  2010-11-11  1:05 bug#7369: 24.0.50; browse-url prompts should say what browser the will use jidanni
@ 2010-11-12  7:30 ` Kevin Rodgers
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Rodgers @ 2010-11-12  7:30 UTC (permalink / raw)
  To: bug-gnu-emacs

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






^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-11-12  7:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-11  1:05 bug#7369: 24.0.50; browse-url prompts should say what browser the will use jidanni
2010-11-12  7:30 ` Kevin Rodgers

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.