all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#14751: 24.3.50; Global binding and a tool bar icon for browsing the web
@ 2013-06-30  5:05 Jambunathan K
       [not found] ` <handler.14751.B.13725686699848.ack@debbugs.gnu.org>
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Jambunathan K @ 2013-06-30  5:05 UTC (permalink / raw)
  To: 14751


Provide a global binding to browse the web.  I suggest 

        C-x w 

Consider creating an icon resembling much like popular browsers' and add
it to a prominent position say next to "mail/send" icons.

In GNU Emacs 24.3.50.4 (i686-pc-linux-gnu, GTK+ Version 2.20.1)
 of 2013-06-30 on debian-6.05
Bzr revision: 113223 eggert@cs.ucla.edu-20130629155220-q6msbmrokdthg00x
Windowing system distributor `The X.Org Foundation', version 11.0.10707000
Important settings:
  value of $LANG: en_IN
  locale-coding-system: iso-latin-1-unix
  default enable-multibyte-characters: t

Major mode: Group






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

* bug#14751: Acknowledgement (24.3.50; Global binding and a tool bar icon for browsing the web)
       [not found] ` <handler.14751.B.13725686699848.ack@debbugs.gnu.org>
@ 2013-06-30  5:21   ` Jambunathan K
  0 siblings, 0 replies; 7+ messages in thread
From: Jambunathan K @ 2013-06-30  5:21 UTC (permalink / raw)
  To: 14751


Just realized that C-x w prefix is used by hi-lock mode.  

The C-x prefix is too dense and leaves no space for new occupants.







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

* bug#14751: 24.3.50; Global binding and a tool bar icon for browsing the web
  2013-06-30  5:05 bug#14751: 24.3.50; Global binding and a tool bar icon for browsing the web Jambunathan K
       [not found] ` <handler.14751.B.13725686699848.ack@debbugs.gnu.org>
@ 2013-06-30 22:31 ` Stefan Monnier
  2013-06-30 23:24   ` Drew Adams
  2013-11-15  4:52 ` Jambunathan K
  2 siblings, 1 reply; 7+ messages in thread
From: Stefan Monnier @ 2013-06-30 22:31 UTC (permalink / raw)
  To: Jambunathan K; +Cc: 14751

> Provide a global binding to browse the web.  I suggest 
>         C-x w

I don't think we need such a key binding (just like I don't think we need
the `C-x m' binding, FWIW).  A good M-x <something> is better.


        Stefan





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

* bug#14751: 24.3.50; Global binding and a tool bar icon for browsing the web
  2013-06-30 22:31 ` bug#14751: 24.3.50; Global binding and a tool bar icon for browsing the web Stefan Monnier
@ 2013-06-30 23:24   ` Drew Adams
  2013-07-01 13:05     ` Ted Zlatanov
  2013-07-02 22:51     ` Juri Linkov
  0 siblings, 2 replies; 7+ messages in thread
From: Drew Adams @ 2013-06-30 23:24 UTC (permalink / raw)
  To: Stefan Monnier, Jambunathan K; +Cc: 14751

> I don't think we need such a key binding (just like I don't think we need
> the `C-x m' binding, FWIW).  A good M-x <something> is better.

+1

It is helpful to have a key that follows a URL at point.
Other than that there is no need for a key just to open a browser at
your start (home) page.  Anyone who wants that can bind the command.

(I do suggest adding the start-browsing command to a menu, though.)





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

* bug#14751: 24.3.50; Global binding and a tool bar icon for browsing the web
  2013-06-30 23:24   ` Drew Adams
@ 2013-07-01 13:05     ` Ted Zlatanov
  2013-07-02 22:51     ` Juri Linkov
  1 sibling, 0 replies; 7+ messages in thread
From: Ted Zlatanov @ 2013-07-01 13:05 UTC (permalink / raw)
  To: Drew Adams; +Cc: Jambunathan K, 14751

On Sun, 30 Jun 2013 16:24:11 -0700 (PDT) Drew Adams <drew.adams@oracle.com> wrote: 

>> I don't think we need such a key binding (just like I don't think we need
>> the `C-x m' binding, FWIW).  A good M-x <something> is better.

DA> +1

DA> It is helpful to have a key that follows a URL at point.
DA> Other than that there is no need for a key just to open a browser at
DA> your start (home) page.  Anyone who wants that can bind the command.

DA> (I do suggest adding the start-browsing command to a menu, though.)

I agree with Stefan and Drew.

Ted





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

* bug#14751: 24.3.50; Global binding and a tool bar icon for browsing the web
  2013-06-30 23:24   ` Drew Adams
  2013-07-01 13:05     ` Ted Zlatanov
@ 2013-07-02 22:51     ` Juri Linkov
  1 sibling, 0 replies; 7+ messages in thread
From: Juri Linkov @ 2013-07-02 22:51 UTC (permalink / raw)
  To: Drew Adams; +Cc: Jambunathan K, 14751

> It is helpful to have a key that follows a URL at point.

`M-x ffap-bindings RET C-x C-f http://www.gnu.org/software/emacs/ RET'

> (I do suggest adding the start-browsing command to a menu, though.)

=== modified file 'lisp/menu-bar.el'
--- lisp/menu-bar.el	2013-02-25 21:10:59 +0000
+++ lisp/menu-bar.el	2013-07-02 22:47:53 +0000
@@ -1490,6 +1490,8 @@ (defvar menu-bar-tools-menu
     (bindings--define-key menu [separator-net]
       menu-bar-separator)
 
+    (bindings--define-key menu [browse-web]
+      '(menu-item "Browse the Web..." eww))
     (bindings--define-key menu [directory-search]
       '(menu-item "Directory Search" eudc-tools-menu))
     (bindings--define-key menu [compose-mail]


Also since it's verified that `eww' can correctly display gnu.org pages
without problems, the link "Emacs Guided Tour" on the start page could
be opened using eww (with an additional benefit of demonstrating to
newbies that Emacs can be used to browse the Web):

=== modified file 'lisp/startup.el'
--- lisp/startup.el	2013-06-30 22:29:23 +0000
+++ lisp/startup.el	2013-07-02 22:44:38 +0000
@@ -1674,6 +1674,7 @@ (defun fancy-startup-screen (&optional c
 	(insert "\n")
 	(fancy-startup-tail concise))
       (use-local-map splash-screen-keymap)
+      (setq-local browse-url-browser-function 'eww-browse-url)
       (setq tab-width 22
 	    buffer-read-only t)
       (set-buffer-modified-p nil)
@@ -1711,6 +1712,7 @@ (defun fancy-about-screen ()
 	(goto-char (point-min))
 	(force-mode-line-update))
       (use-local-map splash-screen-keymap)
+      (setq-local browse-url-browser-function 'eww-browse-url)
       (setq tab-width 22)
       (setq buffer-read-only t)
       (goto-char (point-min))






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

* bug#14751: 24.3.50; Global binding and a tool bar icon for browsing the web
  2013-06-30  5:05 bug#14751: 24.3.50; Global binding and a tool bar icon for browsing the web Jambunathan K
       [not found] ` <handler.14751.B.13725686699848.ack@debbugs.gnu.org>
  2013-06-30 22:31 ` bug#14751: 24.3.50; Global binding and a tool bar icon for browsing the web Stefan Monnier
@ 2013-11-15  4:52 ` Jambunathan K
  2 siblings, 0 replies; 7+ messages in thread
From: Jambunathan K @ 2013-11-15  4:52 UTC (permalink / raw)
  To: 14751-done


OP here.  Closed.





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

end of thread, other threads:[~2013-11-15  4:52 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-30  5:05 bug#14751: 24.3.50; Global binding and a tool bar icon for browsing the web Jambunathan K
     [not found] ` <handler.14751.B.13725686699848.ack@debbugs.gnu.org>
2013-06-30  5:21   ` bug#14751: Acknowledgement (24.3.50; Global binding and a tool bar icon for browsing the web) Jambunathan K
2013-06-30 22:31 ` bug#14751: 24.3.50; Global binding and a tool bar icon for browsing the web Stefan Monnier
2013-06-30 23:24   ` Drew Adams
2013-07-01 13:05     ` Ted Zlatanov
2013-07-02 22:51     ` Juri Linkov
2013-11-15  4:52 ` Jambunathan K

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.