From: Juri Linkov <juri@jurta.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: Jambunathan K <kjambunathan@gmail.com>, 14751@debbugs.gnu.org
Subject: bug#14751: 24.3.50; Global binding and a tool bar icon for browsing the web
Date: Wed, 03 Jul 2013 01:51:56 +0300 [thread overview]
Message-ID: <87sizwlgmr.fsf@mail.jurta.org> (raw)
In-Reply-To: <04d78985-6c3b-4d3d-b0e8-86affa285d2a@default> (Drew Adams's message of "Sun, 30 Jun 2013 16:24:11 -0700 (PDT)")
> 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))
next prev parent reply other threads:[~2013-07-02 22:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
2013-11-15 4:52 ` Jambunathan K
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87sizwlgmr.fsf@mail.jurta.org \
--to=juri@jurta.org \
--cc=14751@debbugs.gnu.org \
--cc=drew.adams@oracle.com \
--cc=kjambunathan@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.