GNU bug report logs - #15910
24.3.50; [PATCH] eww: Current URL is not entered automatically, after eww starts.

Previous Next

Package: emacs;

Reported by: Kenjiro NAKAYAMA <nakayamakenjiro <at> gmail.com>

Date: Sat, 16 Nov 2013 11:04:02 UTC

Severity: wishlist

Tags: patch

Found in version 24.3.50

Done: Ted Zlatanov <tzz <at> lifelogs.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Kenjiro NAKAYAMA <nakayamakenjiro <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.3.50;
 [PATCH] eww: Current URL is not entered automatically, after eww
 starts.
Date: Sat, 16 Nov 2013 20:03:11 +0900
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 <at> 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




This bug report was last modified 11 years and 238 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.