unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#20426: browse-url-XYZ should mention the XYZ browser in the prompt
@ 2015-04-26  0:46 積丹尼 Dan Jacobson
  2015-12-25 18:20 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: 積丹尼 Dan Jacobson @ 2015-04-26  0:46 UTC (permalink / raw)
  To: 20426; +Cc: katsumi yamaoka

X-Debbugs-Cc: Katsumi Yamaoka <yamaoka@jpl.org>

Functions like

   (defun browse-url-chromium (url &optional _new-window)
     "Ask the Chromium WWW browser to load URL.
   Default to the URL around or before point.  The strings in
   variable `browse-url-chromium-arguments' are also passed to
   Chromium."
     (interactive (browse-url-interactive-arg "URL: "))

should each prompt differently, instead of just the hardwired "URL: ",
else the user can't be sure he really called the right function.





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

* bug#20426: browse-url-XYZ should mention the XYZ browser in the prompt
  2015-04-26  0:46 bug#20426: browse-url-XYZ should mention the XYZ browser in the prompt 積丹尼 Dan Jacobson
@ 2015-12-25 18:20 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2015-12-25 18:20 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: 20426, Katsumi Yamaoka

積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:

> X-Debbugs-Cc: Katsumi Yamaoka <yamaoka@jpl.org>
>
> Functions like
>
>    (defun browse-url-chromium (url &optional _new-window)
>      "Ask the Chromium WWW browser to load URL.
>    Default to the URL around or before point.  The strings in
>    variable `browse-url-chromium-arguments' are also passed to
>    Chromium."
>      (interactive (browse-url-interactive-arg "URL: "))
>
> should each prompt differently, instead of just the hardwired "URL: ",
> else the user can't be sure he really called the right function.

I started doing this ("Browse URL with Chromium: ") etc, but it's nice
to have a short prompt here, because URLs can be long, and it's nice if
they don't overflow.

So I think this probably shouldn't be done.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

end of thread, other threads:[~2015-12-25 18:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-26  0:46 bug#20426: browse-url-XYZ should mention the XYZ browser in the prompt 積丹尼 Dan Jacobson
2015-12-25 18:20 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).