unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
To: 15910@debbugs.gnu.org
Subject: bug#15910: 24.3.50; [PATCH] eww: Current URL is not entered automatically, after eww starts.
Date: Sat, 16 Nov 2013 20:03:11 +0900	[thread overview]
Message-ID: <87ppq0txqo.fsf@dhcp-193-97.nrt.redhat.com> (raw)

After the start of eww, if I try to jump to another URL (by M-x eww again), eww asks to enter the URL entirely again.
If eww enters the current URL automatically, it is very useful.
And if the current URL is not necessary, it is easy to delete the URL.

Signed-off-by: Kenjiro Nakayama <nakayamakenjiro@gmail.com>
---
 lisp/net/eww.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/net/eww.el b/lisp/net/eww.el
index 573715e..d835560 100644
--- a/lisp/net/eww.el
+++ b/lisp/net/eww.el
@@ -106,7 +106,7 @@
   "Fetch URL and render the page.
 If the input doesn't look like an URL or a domain name, the
 word(s) will be searched for via `eww-search-prefix'."
-  (interactive "sEnter URL or keywords: ")
+  (interactive (list (read-string "sEnter URL or keywords: " eww-current-url)))
   (if (and (= (length (split-string url)) 1)
            (> (length (split-string url "\\.")) 1))
       (progn
-- 
1.8.3.1





             reply	other threads:[~2013-11-16 11:03 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-16 11:03 Kenjiro NAKAYAMA [this message]
2013-11-21 16:47 ` bug#15910: 24.3.50; [PATCH] eww: Current URL is not entered automatically, after eww starts Ted Zlatanov
2013-11-22  3:26 ` Masatake YAMATO
2013-11-22 16:15   ` Ted Zlatanov
2013-11-24 15:15     ` bug#15967: 24.3.50; [PATCH] eww: use eww-browse-url, when url in bookmark list is opened Kenjiro NAKAYAMA
2013-11-25 14:54       ` bug#15910: bug#15967: 24.3.50; [PATCH] eww: use eww-browse-url, when url in bookmark list is opened, bug#15966: 24.3.50; [PATCH] eww: ask confirmation when add bookmarks, bug#15965: 24.3.50; [PATCH] eww: ask confirmation before quitting, bug#15910: 24.3.50; [PATCH] eww: Current URL is not entered automatically, after ewwstarts.s Ted Zlatanov
2013-11-26 11:51         ` bug#15966: " Kenjiro NAKAYAMA
2013-11-26 20:10           ` bug#15910: " Ted Zlatanov
2013-11-24 15:57     ` Kenjiro NAKAYAMA

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ppq0txqo.fsf@dhcp-193-97.nrt.redhat.com \
    --to=nakayamakenjiro@gmail.com \
    --cc=15910@debbugs.gnu.org \
    /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 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).