From unknown Fri Jun 20 05:29:37 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#19902 <19902@debbugs.gnu.org> To: bug#19902 <19902@debbugs.gnu.org> Subject: Status: 25.0.50; [PATCH] Make eww entry point more info-like Reply-To: bug#19902 <19902@debbugs.gnu.org> Date: Fri, 20 Jun 2025 12:29:37 +0000 retitle 19902 25.0.50; [PATCH] Make eww entry point more info-like reassign 19902 emacs submitter 19902 Mark Oteiza severity 19902 wishlist tag 19902 patch fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 19 10:04:17 2015 Received: (at submit) by debbugs.gnu.org; 19 Feb 2015 15:04:17 +0000 Received: from localhost ([127.0.0.1]:48741 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YOSeE-0001d0-06 for submit@debbugs.gnu.org; Thu, 19 Feb 2015 10:04:17 -0500 Received: from eggs.gnu.org ([208.118.235.92]:37093) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YOSe9-0001cq-30 for submit@debbugs.gnu.org; Thu, 19 Feb 2015 10:04:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YOSe5-0002HN-Qg for submit@debbugs.gnu.org; Thu, 19 Feb 2015 10:04:08 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57486) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOSe5-0002HI-O8 for submit@debbugs.gnu.org; Thu, 19 Feb 2015 10:04:05 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38788) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOSe1-0006i2-AK for bug-gnu-emacs@gnu.org; Thu, 19 Feb 2015 10:04:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YOSds-0002BR-VG for bug-gnu-emacs@gnu.org; Thu, 19 Feb 2015 10:04:01 -0500 Received: from mail-qa0-f42.google.com ([209.85.216.42]:52845) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOSds-0002BD-RS for bug-gnu-emacs@gnu.org; Thu, 19 Feb 2015 10:03:52 -0500 Received: by mail-qa0-f42.google.com with SMTP id w8so5994420qac.1 for ; Thu, 19 Feb 2015 07:03:52 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-type; bh=/YWbFN1Dgmw27aieEb4P8gDUrZ1KcaNMpxqSiveehdE=; b=OQJ+QHZZjV0sx/4HmlXIl97HkBmMbMPWUgykr2wlfZjU/X7sLO0cm1wNZ5meA6uAAr MB0FnrFdaqLjvfu/JMehA4oVt+Bcy79iGbRg58m1ANbqVs7loUjETOcVo/YJ4hgD5Lep rjIwG0sd7+stt/x9jkLEjqPk46wEOXwNXISj0kaeKo31WvnwiMXOgWVgyiOC/fJ8HbvJ R3Xyxi+OyOwSxz39S6Z7nNQyPSJUwCLalYGOaLEEFZJADPNAp32oB2zMCuiIwOI2r5nZ eV/Wn203PqroQzGybQ4F5QKgPvqS5MgG1saAaa6WNBXHzcRwsxXrzYBEZOsgWK9Wk3NE COLQ== X-Gm-Message-State: ALoCoQkqUiISPMsYkjb9TL++bzf8gy18rnSi2P12I5rUc6qy6cUK/kOZqjjeTjMU21OHVpFyN0KE X-Received: by 10.140.148.4 with SMTP id 4mr13040872qhu.61.1424358232263; Thu, 19 Feb 2015 07:03:52 -0800 (PST) Received: from holos (c-73-163-124-41.hsd1.md.comcast.net. [73.163.124.41]) by mx.google.com with ESMTPSA id z67sm19872745qgz.10.2015.02.19.07.03.51 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Feb 2015 07:03:51 -0800 (PST) From: Mark Oteiza To: bug-gnu-emacs@gnu.org Subject: 25.0.50; [PATCH] Make eww entry point more info-like Date: Thu, 19 Feb 2015 10:03:50 -0500 Message-ID: <87r3tmymcp.fsf@udel.edu> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --- eww already has some info-like behaviour, and I think this is a good thing. An example is isearch in eww. It's weird how M-x eww will always just reset the whole eww session instead of going back to a buried eww buffer. Also, now that eww has a nice way to select instances with S, there should be an easy way to duplicate eww buffers. The way info does this is with clone-buffer, and it makes sense for eww to do the same. With these changes, one can keep eww sessions around without clobbering them every time M-x eww is invoked. Now, one can have multiple eww's, and to get to one of them, either: M-x eww RET S M-N eww RET where M-N is the numeric prefix N. Aside from eww's `S' command for switching sessions, this is very much like how one uses info, and usage feels much smoother and familiar for an Emacs interface. P.S. This (or some other patches I have sitting on the ML) puts my contributions over 15 lines. Paperwork is currently a WIP. lisp/ChangeLog | 6 ++++++ lisp/net/eww.el | 25 ++++++++++++++++++++----- 2 files changed, 26 insertions(+), 5 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 933e5bb..f12889a 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,9 @@ +2015-02-19 Mark Oteiza + + * net/eww.el (eww): Behave more like `info' entry point + (eww-fetch): Replaces prior eww function. + (eww-mode-map): More Info-like `M-n' for `clone-buffer' + 2015-02-19 Stefan Monnier * emacs-lisp/smie.el (smie-prec2->grammar): Fix corner case problem. diff --git a/lisp/net/eww.el b/lisp/net/eww.el index b7ee065..ad322ed 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el @@ -239,8 +239,7 @@ This list can be customized via `eww-suggest-uris'." (push uri uris))))) (nreverse uris))) -;;;###autoload -(defun eww (url) +(defun eww-fetch (url) "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'." @@ -288,6 +287,23 @@ word(s) will be searched for via `eww-search-prefix'." (url-retrieve url 'eww-render (list url nil (current-buffer)))) +;;;###autoload +(defun eww (&optional url buffer) + "Enter eww, the Emacs Web Wowser. +Optional argument URL specifies the target to navigate; +the default is `eww-search-prefix'. + +In interactive use, a numeric prefix argument of N selects an eww +buffer named \"*eww*\"." + (interactive + (let ((buf (get-buffer (if (numberp current-prefix-arg) + (format "*eww*<%s>" current-prefix-arg) + "*eww*")))) + (list (unless buf (read-string "Enter URL or keywords: ")) + buf))) + (if buffer (pop-to-buffer-same-window buffer) + (eww-fetch url))) + ;;;###autoload (defalias 'browse-web 'eww) ;;;###autoload @@ -624,7 +640,7 @@ the like." (let ((map (make-sparse-keymap))) (set-keymap-parent map special-mode-map) (define-key map "g" 'eww-reload) ;FIXME: revert-buffer-function instead! - (define-key map "G" 'eww) + (define-key map "G" 'eww-fetch) (define-key map [?\t] 'shr-next-link) (define-key map [?\M-\t] 'shr-previous-link) (define-key map [backtab] 'shr-previous-link) @@ -648,8 +664,7 @@ the like." (define-key map "b" 'eww-add-bookmark) (define-key map "B" 'eww-list-bookmarks) - (define-key map [(meta n)] 'eww-next-bookmark) - (define-key map [(meta p)] 'eww-previous-bookmark) + (define-key map [(meta n)] 'clone-buffer) (easy-menu-define nil map "" '("Eww" -- 2.3.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 19 10:06:23 2015 Received: (at submit) by debbugs.gnu.org; 19 Feb 2015 15:06:23 +0000 Received: from localhost ([127.0.0.1]:48746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YOSgE-0001gQ-VE for submit@debbugs.gnu.org; Thu, 19 Feb 2015 10:06:23 -0500 Received: from eggs.gnu.org ([208.118.235.92]:37574) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YOSg9-0001gF-8l for submit@debbugs.gnu.org; Thu, 19 Feb 2015 10:06:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YOSg5-0003Xm-PV for submit@debbugs.gnu.org; Thu, 19 Feb 2015 10:06:12 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39462) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOSg5-0003Xi-NO for submit@debbugs.gnu.org; Thu, 19 Feb 2015 10:06:09 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39284) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOSg0-0007H3-8T for bug-gnu-emacs@gnu.org; Thu, 19 Feb 2015 10:06:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YOSfv-0003Ta-Rj for bug-gnu-emacs@gnu.org; Thu, 19 Feb 2015 10:06:04 -0500 Received: from mail-qa0-f49.google.com ([209.85.216.49]:48161) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOSfv-0003TQ-P6 for bug-gnu-emacs@gnu.org; Thu, 19 Feb 2015 10:05:59 -0500 Received: by mail-qa0-f49.google.com with SMTP id w8so5978476qac.8 for ; Thu, 19 Feb 2015 07:05:59 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=ykiGfXxVgB94SzZupck4ppQsQCNsc/Msq2rqbLq3ElQ=; b=Cca/9qoX25VWwU8UuqrJ88MvHMf3IDbfPDzjD1apTMCVrq40TNOGa+YpX7FA1Pmc1R DxKdkB8B/FIKbSWnl8ZreomTPf6ZxLANhZRYae/+9P3i56i3bKjj/Crjeo7m+FIcqX5y 43dHxsTegq28d8NCStiAVdkX2KtWS1zjzngZ3fz0uphTQXSl0oFQis4/ucila1IqvPSD WcNsdD0E+Yqv86eUp5p7tsEwZHUfmd3oR90XyAXJtflMu7XMGmf+P9iB7d3gUzqtWm31 k5e3Sbz4o4dSIzLWLAW+k/n3ha6gpSNP3xpqJG7f1zaesUBhs/qLpR++AMM6e7feiORP 70LA== X-Gm-Message-State: ALoCoQnHC4suLzjva7YTBE4/pX+MiFvpRE47vCW5tia7m87FmkE3/NeJ2wq2Ic38V1eBb2zFIGHW X-Received: by 10.140.102.170 with SMTP id w39mr12251000qge.100.1424358359495; Thu, 19 Feb 2015 07:05:59 -0800 (PST) Received: from localhost (c-73-163-124-41.hsd1.md.comcast.net. [73.163.124.41]) by mx.google.com with ESMTPSA id f20sm2607932qax.37.2015.02.19.07.05.58 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Feb 2015 07:05:59 -0800 (PST) Date: Thu, 19 Feb 2015 10:05:58 -0500 From: Mark Oteiza To: bug-gnu-emacs@gnu.org Subject: Re: 25.0.50; [PATCH] Make eww entry point more info-like Message-ID: <20150219150558.GA20862@holos> References: <87r3tmymcp.fsf@udel.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87r3tmymcp.fsf@udel.edu> User-Agent: Mutt/1.5.23+61 (f5b1b75c5958) (2014-03-12) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) On 19/02/15 at 10:03am, Mark Oteiza wrote: > M-N eww RET M-N M-x eww RET From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 19 10:32:42 2015 Received: (at 19902) by debbugs.gnu.org; 19 Feb 2015 15:32:42 +0000 Received: from localhost ([127.0.0.1]:48758 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YOT5m-0002Kz-3D for submit@debbugs.gnu.org; Thu, 19 Feb 2015 10:32:42 -0500 Received: from mtaout28.012.net.il ([80.179.55.184]:38654) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YOT5k-0002Kq-0k for 19902@debbugs.gnu.org; Thu, 19 Feb 2015 10:32:41 -0500 Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0NK000J00YXHJT00@mtaout28.012.net.il> for 19902@debbugs.gnu.org; Thu, 19 Feb 2015 17:31:01 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NK000CPFZ3PAI90@mtaout28.012.net.il>; Thu, 19 Feb 2015 17:31:01 +0200 (IST) Date: Thu, 19 Feb 2015 17:32:53 +0200 From: Eli Zaretskii Subject: Re: bug#19902: 25.0.50; [PATCH] Make eww entry point more info-like In-reply-to: <87r3tmymcp.fsf@udel.edu> X-012-Sender: halo1@inter.net.il To: Mark Oteiza Message-id: <83wq3d3oii.fsf@gnu.org> References: <87r3tmymcp.fsf@udel.edu> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 19902 Cc: 19902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Mark Oteiza > Date: Thu, 19 Feb 2015 10:03:50 -0500 > > With these changes, one can keep eww sessions around without clobbering > them every time M-x eww is invoked. Now, one can have multiple eww's, > and to get to one of them, either: > > M-x eww RET S > M-N eww RET > > where M-N is the numeric prefix N. Aside from eww's `S' command for > switching sessions, this is very much like how one uses info, and usage > feels much smoother and familiar for an Emacs interface. Thanks. > +2015-02-19 Mark Oteiza > + > + * net/eww.el (eww): Behave more like `info' entry point > + (eww-fetch): Replaces prior eww function. > + (eww-mode-map): More Info-like `M-n' for `clone-buffer' Please describe the changes themselves (i.e. the new behavior), not what the behavior is similar to. The ChangeLog entries are supposed to be self-contained in their descriptions. From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 19 10:35:39 2015 Received: (at 19902) by debbugs.gnu.org; 19 Feb 2015 15:35:39 +0000 Received: from localhost ([127.0.0.1]:48762 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YOT8b-0002PP-Ms for submit@debbugs.gnu.org; Thu, 19 Feb 2015 10:35:38 -0500 Received: from fely.am-1.org ([78.47.74.50]:44600) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YOT8Z-0002PF-JH for 19902@debbugs.gnu.org; Thu, 19 Feb 2015 10:35:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=siamics.net; s=a2013295; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:Sender:References:Subject:To:From; bh=lZaH4AP55lBu3CcYZm9N02+/DAHm1B/U0ZwrroBUpRQ=; b=BeL1qq5uT4xgov9upweFhx13zK1yQIcfRSfHJwb+rztX3u/M7UzjjPiNqWLiCk6WmszflOKSL3e6ZBPdmkRclM3K3U0KDkglrMb/Mz709fNGOyTPm2t6FArhl0fQ0wgn6VG0igOsJzU13nzJZu5eq16zXAvohJq3x/6A7RGnGwI=; Received: from [2a02:2560:6d4:26ca::1:1d] (helo=violet.siamics.net) by fely.am-1.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1YOT8V-0003kL-W7 for 19902@debbugs.gnu.org; Thu, 19 Feb 2015 15:35:32 +0000 Received: from localhost ([::1] helo=violet.siamics.net) by violet.siamics.net with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1YOT8P-0005kG-3W for 19902@debbugs.gnu.org; Thu, 19 Feb 2015 22:35:25 +0700 From: Ivan Shmakov To: 19902@debbugs.gnu.org Subject: Re: bug#19902: 25.0.50; [PATCH] Make eww entry point more info-like References: <87r3tmymcp.fsf@udel.edu> Mail-Followup-To: 19902@debbugs.gnu.org Date: Thu, 19 Feb 2015 15:35:24 +0000 In-Reply-To: <87r3tmymcp.fsf@udel.edu> (Mark Oteiza's message of "Thu, 19 Feb 2015 10:03:50 -0500") Message-ID: <87d2557w3n.fsf@violet.siamics.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 19902 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.7 (/) >>>>> Mark Oteiza writes: [=E2=80=A6] > * net/eww.el (eww): Behave more like `info' entry point > (eww-fetch): Replaces prior eww function. > (eww-mode-map): More Info-like `M-n' for `clone-buffer' Looks good to me, although I tend to prefer non-numeric suffixes (like , , for the Wikipedias, for the GNU debbugs, etc. FWIW, it makes it pretty easy to complete.) [=E2=80=A6] > + (interactive > + (let ((buf (get-buffer (if (numberp current-prefix-arg) > + (format "*eww*<%s>" current-prefix-arg) > + "*eww*")))) > + (list (unless buf (read-string "Enter URL or keywords: ")) > + buf))) =E2=80=A6 Except for this part, which essentially reintroduces #19106; see [1]. I presume that for this reason, the new =E2=80=98eww=E2=80=99 co= mmand should call =E2=80=98eww-suggested-uris=E2=80=99 just like the old one doe= s. [1] http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D19106#msg8 [=E2=80=A6] --=20 FSF associate member #7257 http://boycottsystemd.org/ =E2=80=A6 3013 B6A0= 230E 334A From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 19 10:51:59 2015 Received: (at submit) by debbugs.gnu.org; 19 Feb 2015 15:51:59 +0000 Received: from localhost ([127.0.0.1]:48770 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YOTOQ-0002mH-AQ for submit@debbugs.gnu.org; Thu, 19 Feb 2015 10:51:58 -0500 Received: from eggs.gnu.org ([208.118.235.92]:46431) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YOTON-0002m7-TW for submit@debbugs.gnu.org; Thu, 19 Feb 2015 10:51:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YOTOJ-0000Y6-Q7 for submit@debbugs.gnu.org; Thu, 19 Feb 2015 10:51:55 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:34129) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOTOJ-0000Y2-NK for submit@debbugs.gnu.org; Thu, 19 Feb 2015 10:51:51 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48139) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOTOI-0004MI-Kq for bug-gnu-emacs@gnu.org; Thu, 19 Feb 2015 10:51:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YOTOF-0000Wv-D5 for bug-gnu-emacs@gnu.org; Thu, 19 Feb 2015 10:51:50 -0500 Received: from mail-qg0-f47.google.com ([209.85.192.47]:64873) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOTOF-0000Wn-9W for bug-gnu-emacs@gnu.org; Thu, 19 Feb 2015 10:51:47 -0500 Received: by mail-qg0-f47.google.com with SMTP id q107so7014376qgd.6 for ; Thu, 19 Feb 2015 07:51:46 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type :content-transfer-encoding; bh=SrHfA0Wl60DgQc/XQJMxnhcgWxidVQOe57U5bSJZn94=; b=WtktQ8nDwzGvxtfulua3+HXAFUy7SYfLTaMhAhdTWShmBq26AHqG13xFgyR+uJQiRX C38weDKZjgh3dkWlsOq2OhwKFYtA7gQdoHSXEcbNFMmCgddvsIosDR6EXL5Hwii0QLMm vsed5q6/IdYMkcCu4ZAzxIwV9YYB0LoWFK7ISCMGwEOCNyAcmGv+xQ8pxVmftbAGTvej xSqLQoYg4tmkACPt70xrtrjQ5cwLvj6+pBCZP276FwVh6NCG+oewYx19Tl+9YT9bS/FA mUTTeZQIpldp00x0U1fAyRoyq1TL3TuGEfAUDQdAPKM4gMaaWbYp1JfEDQ4sHqH/bE5K 8uJw== X-Gm-Message-State: ALoCoQmRHmUbbbdABhhXGhj9YtOj0NClw3rtnWgEzb9aABOyOpgGXpdPWVqRqtR/gEbbSqSnxLqp X-Received: by 10.140.152.72 with SMTP id 69mr13263128qhy.53.1424361106740; Thu, 19 Feb 2015 07:51:46 -0800 (PST) Received: from holos (c-73-163-124-41.hsd1.md.comcast.net. [73.163.124.41]) by mx.google.com with ESMTPSA id 63sm9907047qhw.30.2015.02.19.07.51.45 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Feb 2015 07:51:46 -0800 (PST) From: Mark Oteiza To: bug-gnu-emacs@gnu.org Subject: Re: bug#19902: 25.0.50; [PATCH] Make eww entry point more info-like References: <87r3tmymcp.fsf@udel.edu> <87d2557w3n.fsf@violet.siamics.net> Date: Thu, 19 Feb 2015 10:51:45 -0500 In-Reply-To: <87d2557w3n.fsf@violet.siamics.net> (Ivan Shmakov's message of "Thu, 19 Feb 2015 15:35:24 +0000") Message-ID: <87ioexx5ke.fsf@udel.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Ivan Shmakov writes: >>>>>> Mark Oteiza writes: > > + (interactive > > + (let ((buf (get-buffer (if (numberp current-prefix-arg) > > + (format "*eww*<%s>" current-prefix-arg) > > + "*eww*")))) > > + (list (unless buf (read-string "Enter URL or keywords: ")) > > + buf))) > > =E2=80=A6 Except for this part, which essentially reintroduces #19106; > see [1]. I presume that for this reason, the new =E2=80=98eww=E2=80=99 = command > should call =E2=80=98eww-suggested-uris=E2=80=99 just like the old one d= oes. > > [1] http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D19106#msg8 Hm, good catch. I'm not sure how this should fit in. Perhaps `eww-suggested-uris' should be the behaviour behind the non-numeric prefix (C-u)? From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 19 10:52:59 2015 Received: (at submit) by debbugs.gnu.org; 19 Feb 2015 15:52:59 +0000 Received: from localhost ([127.0.0.1]:48774 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YOTPP-0002oG-7l for submit@debbugs.gnu.org; Thu, 19 Feb 2015 10:52:59 -0500 Received: from eggs.gnu.org ([208.118.235.92]:46720) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YOTPM-0002o4-P4 for submit@debbugs.gnu.org; Thu, 19 Feb 2015 10:52:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YOTPL-00011B-QK for submit@debbugs.gnu.org; Thu, 19 Feb 2015 10:52:56 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:45093) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOTPL-000115-My for submit@debbugs.gnu.org; Thu, 19 Feb 2015 10:52:55 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48437) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOTPK-0004XA-Lc for bug-gnu-emacs@gnu.org; Thu, 19 Feb 2015 10:52:55 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YOTPH-0000zr-D4 for bug-gnu-emacs@gnu.org; Thu, 19 Feb 2015 10:52:54 -0500 Received: from mail-qa0-f51.google.com ([209.85.216.51]:47747) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOTPH-0000zc-9f for bug-gnu-emacs@gnu.org; Thu, 19 Feb 2015 10:52:51 -0500 Received: by mail-qa0-f51.google.com with SMTP id i13so6230972qae.10 for ; Thu, 19 Feb 2015 07:52:50 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=meaJLzPUrW6OOZN3j49a9TMsho8auAMpOBSM3lA73B4=; b=aKj76FbraUgx5KKo0d9tPiDGmMJcW1tbEZHn8ne/fLe215hOvULsu/naOTk7r4CYAo zhkGl0F8xZ9qxF5WqQlMVDZPfboHf/zyKHph/UHPVVStOfbQGl5T+YZTg157/qQe5rdy vU3UfeUeX2qjeEyu04FY65rQNvIMtHf+VVXS5UJfsDYK8rFzF6jBSshCTbWvATmJTcmz 10r51xrIJHeoMcyI4mJqPcZZZNIRBfZTeW2O6KR63Kx6JNel2GPzC5SC5TBedV5r0cNz pMtQhUSJrRJ/2BYivvYl1i0kvmdiZ8oWSXuVIVp26nwTwksZyieqGQJEckEGX1n5kZCv mYeA== X-Gm-Message-State: ALoCoQkGEdAGPry5ulSMwY0VH8k/Jl7XMdeEGMzRWtPd/8DdVJkqmTt0CiEJfyNALoPHaIXsJnK5 X-Received: by 10.140.133.69 with SMTP id 66mr13636711qhf.17.1424361170770; Thu, 19 Feb 2015 07:52:50 -0800 (PST) Received: from holos (c-73-163-124-41.hsd1.md.comcast.net. [73.163.124.41]) by mx.google.com with ESMTPSA id g9sm20021448qaa.28.2015.02.19.07.52.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Feb 2015 07:52:50 -0800 (PST) From: Mark Oteiza To: bug-gnu-emacs@gnu.org Subject: Re: bug#19902: 25.0.50; [PATCH] Make eww entry point more info-like References: <87r3tmymcp.fsf@udel.edu> <83wq3d3oii.fsf@gnu.org> Date: Thu, 19 Feb 2015 10:52:49 -0500 In-Reply-To: <83wq3d3oii.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 19 Feb 2015 17:32:53 +0200") Message-ID: <87egplx5im.fsf@udel.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Eli Zaretskii writes: >> +2015-02-19 Mark Oteiza >> + >> + * net/eww.el (eww): Behave more like `info' entry point >> + (eww-fetch): Replaces prior eww function. >> + (eww-mode-map): More Info-like `M-n' for `clone-buffer' > > Please describe the changes themselves (i.e. the new behavior), not > what the behavior is similar to. The ChangeLog entries are supposed > to be self-contained in their descriptions. Thanks, I'll attend to that From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 19 12:32:47 2015 Received: (at 19902) by debbugs.gnu.org; 19 Feb 2015 17:32:47 +0000 Received: from localhost ([127.0.0.1]:48849 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YOUxz-0005Ac-8L for submit@debbugs.gnu.org; Thu, 19 Feb 2015 12:32:47 -0500 Received: from fely.am-1.org ([78.47.74.50]:44618) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YOUxw-0005AP-60 for 19902@debbugs.gnu.org; Thu, 19 Feb 2015 12:32:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=siamics.net; s=a2013295; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:Sender:References:Subject:To:From; bh=Xex6hXadBKV1wDF1B+Bah/AnsNwRntMbmZ2BaLbXAUA=; b=njr98nq6l2IcMD1ND2vx5oDiQ4pwji5CiMWqZDtSD0JiNJqCGiEc37Zy1b9P38+ybdO+jMAq6mwFhBtE7urOGv6FQwBQtye+3+SDikqvCkLR1WLm3QZZ/4zT+dNnz19ZuUJKip7PdtlgQU6FNSIZB6zvRG13kL+fTHdu+bBKWyA=; Received: from [2a02:2560:6d4:26ca::1:1d] (helo=violet.siamics.net) by fely.am-1.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1YOUxs-0004c8-A8 for 19902@debbugs.gnu.org; Thu, 19 Feb 2015 17:32:40 +0000 Received: from localhost ([::1] helo=violet.siamics.net) by violet.siamics.net with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1YOUxl-0005y6-Jw for 19902@debbugs.gnu.org; Fri, 20 Feb 2015 00:32:33 +0700 From: Ivan Shmakov To: 19902@debbugs.gnu.org Subject: Re: bug#19902: 25.0.50; Make eww entry point more info-like References: <87r3tmymcp.fsf@udel.edu> <87d2557w3n.fsf@violet.siamics.net> <87ioexx5ke.fsf@udel.edu> Mail-Followup-To: 19902@debbugs.gnu.org Date: Thu, 19 Feb 2015 17:32:32 +0000 In-Reply-To: <87ioexx5ke.fsf@udel.edu> (Mark Oteiza's message of "Thu, 19 Feb 2015 10:51:45 -0500") Message-ID: <878uft7qof.fsf_-_@violet.siamics.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 19902 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.7 (/) >>>>> Mark Oteiza writes: >>>>> Ivan Shmakov writes: >>>>> Mark Oteiza writes: >>> (eww-mode-map): More Info-like `M-n' for `clone-buffer' On a second thought, it may still be worth preserving the (M-n, M-p) pair for some kind of navigation (whether bookmark or something else; FWIW, I don=E2=80=99t use EWW bookmarks personally.) It may even make sense to bind clone-buffer to a different key sequence in Info-mode-map (in addition to the current binding.) >>> + (interactive >>> + (let ((buf (get-buffer (if (numberp current-prefix-arg) >>> + (format "*eww*<%s>" current-prefix-arg) >>> + "*eww*")))) >>> + (list (unless buf (read-string "Enter URL or keywords: ")) >>> + buf))) >> =E2=80=A6 Except for this part, which essentially reintroduces #19106; = see >> [1]. I presume that for this reason, the new =E2=80=98eww=E2=80=99 com= mand should >> call =E2=80=98eww-suggested-uris=E2=80=99 just like the old one does. >> [1] http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D19106#msg8 > Hm, good catch. I'm not sure how this should fit in. Perhaps > `eww-suggested-uris' should be the behaviour behind the non-numeric > prefix (C-u)? The list of defaults returned by =E2=80=98eww-suggested-uris=E2=80=99 is o= nly meaningful for the =E2=80=98read-string=E2=80=99 code path, which implies = that either no prefix argument is given, /or/ the prefix given does not refer to an existing *eww* buffer. --=20 FSF associate member #7257 http://boycottsystemd.org/ =E2=80=A6 3013 B6A0= 230E 334A From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 19 13:33:28 2015 Received: (at 19902) by debbugs.gnu.org; 19 Feb 2015 18:33:28 +0000 Received: from localhost ([127.0.0.1]:48887 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YOVuh-0006bQ-TX for submit@debbugs.gnu.org; Thu, 19 Feb 2015 13:33:28 -0500 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:35498) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YOVuf-0006bI-M3 for 19902@debbugs.gnu.org; Thu, 19 Feb 2015 13:33:26 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ak8UAPOG1lTO+LI//2dsb2JhbABbgwaDX0+FBL4cgkkEAgKBDUQBAQEBAQF8hA0BBAEjMygLCxoCGA4CAhQYDYhcCLgylXEBCyCBIY5eFoJSgUIFiiefS4FFIoQMIIJzAQEB X-IPAS-Result: Ak8UAPOG1lTO+LI//2dsb2JhbABbgwaDX0+FBL4cgkkEAgKBDUQBAQEBAQF8hA0BBAEjMygLCxoCGA4CAhQYDYhcCLgylXEBCyCBIY5eFoJSgUIFiiefS4FFIoQMIIJzAQEB X-IronPort-AV: E=Sophos;i="5.09,536,1418101200"; d="scan'208";a="110937665" Received: from 206-248-178-63.dsl.teksavvy.com (HELO pastel.home) ([206.248.178.63]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 19 Feb 2015 13:33:25 -0500 Received: by pastel.home (Postfix, from userid 20848) id 45134F83; Thu, 19 Feb 2015 13:33:02 -0500 (EST) From: Stefan Monnier To: 19902@debbugs.gnu.org Subject: Re: bug#19902: 25.0.50; Make eww entry point more info-like Message-ID: References: <87r3tmymcp.fsf@udel.edu> <87d2557w3n.fsf@violet.siamics.net> <87ioexx5ke.fsf@udel.edu> <878uft7qof.fsf_-_@violet.siamics.net> Date: Thu, 19 Feb 2015 13:33:02 -0500 In-Reply-To: <878uft7qof.fsf_-_@violet.siamics.net> (Ivan Shmakov's message of "Thu, 19 Feb 2015 17:32:32 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 19902 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > On a second thought, it may still be worth preserving the > (M-n, M-p) pair for some kind of navigation (whether bookmark or > something else; FWIW, I don=E2=80=99t use EWW bookmarks personally.) > It may even make sense to bind clone-buffer to a different key > sequence in Info-mode-map (in addition to the current binding.) Indeed, the M-n/M-p pair can be useful for other things. I chose M-n in Info-mode because that's what came up first in my mind ("n" is for "new"), but we could use something else just as well. Stefan From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 19 14:19:03 2015 Received: (at 19902) by debbugs.gnu.org; 19 Feb 2015 19:19:03 +0000 Received: from localhost ([127.0.0.1]:48932 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YOWco-0007ek-W0 for submit@debbugs.gnu.org; Thu, 19 Feb 2015 14:19:03 -0500 Received: from ps18281.dreamhost.com ([69.163.222.226]:39702 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YOWcn-0007eM-2X for 19902@debbugs.gnu.org; Thu, 19 Feb 2015 14:19:01 -0500 Received: from localhost.linkov.net (ps18281.dreamhostps.com [69.163.222.226]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 67DD731DB0B6F7; Thu, 19 Feb 2015 11:18:58 -0800 (PST) From: Juri Linkov To: Mark Oteiza Subject: Re: bug#19902: 25.0.50; [PATCH] Make eww entry point more info-like Organization: LINKOV.NET References: <87r3tmymcp.fsf@udel.edu> Date: Thu, 19 Feb 2015 21:03:12 +0200 In-Reply-To: <87r3tmymcp.fsf@udel.edu> (Mark Oteiza's message of "Thu, 19 Feb 2015 10:03:50 -0500") Message-ID: <87y4ntyhqu.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 19902 Cc: 19902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > -(defun eww (url) > +(defun eww-fetch (url) > "Fetch URL and render the page. The corresponding Info command is named `Info-goto-node', so a better name would be `eww-goto-url' because it not only fetches URL, but also renders the page. From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 19 17:56:08 2015 Received: (at submit) by debbugs.gnu.org; 19 Feb 2015 22:56:08 +0000 Received: from localhost ([127.0.0.1]:49007 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YOa0t-00048x-RV for submit@debbugs.gnu.org; Thu, 19 Feb 2015 17:56:08 -0500 Received: from eggs.gnu.org ([208.118.235.92]:39951) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YOa0r-00048o-SX for submit@debbugs.gnu.org; Thu, 19 Feb 2015 17:56:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YOa0q-00034H-Bo for submit@debbugs.gnu.org; Thu, 19 Feb 2015 17:56:05 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:59693) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOa0q-00034D-7o for submit@debbugs.gnu.org; Thu, 19 Feb 2015 17:56:04 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41670) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOa0o-0001Ot-LT for bug-gnu-emacs@gnu.org; Thu, 19 Feb 2015 17:56:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YOa0i-000336-8f for bug-gnu-emacs@gnu.org; Thu, 19 Feb 2015 17:56:02 -0500 Received: from mail-qg0-f42.google.com ([209.85.192.42]:61049) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOa0h-00032O-TS for bug-gnu-emacs@gnu.org; Thu, 19 Feb 2015 17:55:56 -0500 Received: by mail-qg0-f42.google.com with SMTP id z107so10324334qgd.1 for ; Thu, 19 Feb 2015 14:55:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=XMBR6TUG9cyRYdE3avsEHw4wIEpqW7RI0pcxQnUwjpM=; b=U5VxE26trcc1QqVTE+vEygCPO53JXwRPQKAIh1dc9uEPrJBIvoM6zQyf7AteQ3YrXb +KxjY6FunGdqKTjyl7qgnAdCfV80fS4odc3UtCLDWPD1s/LthCPQTaIAbBMgpbkZVUqo ruyIA+TZTTEV9XwH10xHQDSXHmvHgrwinwOWNChGXAIXJgZT7S20VpgnmPnAovfQlkSN 8fvcJfrVuWTfh+vBrIAmiZNSQcFxX4jmC193XOcHR6bG3I/ZIMs9jh2MJ3ILD3CICHr8 V9mF5lFqlMUvUdot5Gl8kb0Ya7NlGpVy8knni0rJlw0gvWkQXWWqvHRMzd3Fympa1Lf9 I6xQ== X-Gm-Message-State: ALoCoQnRvmbugiSDSUxeaysyj/ar4RHv2Ri6Z0mBY1trEoeT7jgbfShY0TCYnxDsUv9kxKFzLixX X-Received: by 10.140.238.2 with SMTP id j2mr17224722qhc.5.1424386554650; Thu, 19 Feb 2015 14:55:54 -0800 (PST) Received: from holos (c-73-163-124-41.hsd1.md.comcast.net. [73.163.124.41]) by mx.google.com with ESMTPSA id q5sm20764764qat.6.2015.02.19.14.55.53 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Feb 2015 14:55:54 -0800 (PST) From: Mark Oteiza To: bug-gnu-emacs@gnu.org Subject: Re: bug#19902: 25.0.50; [PATCH v2] Make eww entry point more info-like References: <87r3tmymcp.fsf@udel.edu> <87y4ntyhqu.fsf@mail.linkov.net> Date: Thu, 19 Feb 2015 17:55:53 -0500 In-Reply-To: <87y4ntyhqu.fsf@mail.linkov.net> (Juri Linkov's message of "Thu, 19 Feb 2015 21:03:12 +0200") Message-ID: <878uftfr46.fsf_-_@udel.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --- Both `C-u M-x eww RET' and `G' (eww-goto-url) in eww prompt for URL using `eww-suggest-uris'. A little argument shuffling had to happen. I think I properly handled the possible uses of `eww' and `eww-goto-url' interactively and in lisp. Regarding the bookmark/info binding, the whole inspiration to this change is to make the eww interface more info-like. Info is a good manual browser, and eww benefits from assimilating features from info to be a good web browser. Between the familiar M-n, eww's "S" command, and the new behavior of `M-x eww', eww's flow has improved. Eww is now a nice tabbed web browser, where each tab's history doesn't get clobbered every time M-x eww is invoked, and one doesn't have to switch-buffer or similar to find an existing eww session. I also have never felt compelled to cycle through my bookmarks, so I am not troubled by losing the bookmark bindings. lisp/ChangeLog | 13 +++++++++++++ lisp/net/eww.el | 47 +++++++++++++++++++++++++++++++++++------------ 2 files changed, 48 insertions(+), 12 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 3d15b40..fa2f252 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,16 @@ +2015-02-19 Mark Oteiza + + * net/eww.el (eww): New behavior. Pops to an existing buffer, + otherwise creates a new one. The buffer name is controlled by + numeric prefix. A non-numeric prefix always prompts for a URL. + (eww-goto-url): New function. Assumes the previous role of `eww', + now accepting an optional `buffer' argument + (eww-read-string): New function. Wrapper for `read-string' + used by `eww' and `eww-goto-url'. + (eww-setup-buffer): Accept `buffer' argument. + (eww-mode-map): Replace existing bindings for M-n and M-p with + a binding of M-n to `clone-buffer'. + 2015-02-19 Dima Kogan * autorevert.el (auto-revert-buffers-counter) diff --git a/lisp/net/eww.el b/lisp/net/eww.el index b7ee065..37df68e 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el @@ -239,17 +239,41 @@ This list can be customized via `eww-suggest-uris'." (push uri uris))))) (nreverse uris))) +(defun eww-read-string () + (let* ((uris (eww-suggested-uris)) + (prompt (concat "Enter URL or keywords" + (if uris (format " (default %s)" (car uris))) + ": "))) + (read-string prompt nil nil uris))) + ;;;###autoload -(defun eww (url) +(defun eww (&optional url buffer) + "Enter eww, the Emacs Web Wowser. +Optional argument URL specifies the target to navigate; +the default is `eww-search-prefix'. + +In interactive use, a non-numeric prefix argument directs +this command to read URL from the minibuffer. + +A numeric prefix argument of N selects an eww buffer named \"*eww*\"." + (interactive + (let ((name (if (numberp current-prefix-arg) + (format "*eww*<%s>" current-prefix-arg) + "*eww*"))) + (list (if (or (not (get-buffer name)) + (and current-prefix-arg (not (numberp current-prefix-arg)))) + (eww-read-string)) + name))) + (if (and (get-buffer buffer) (or (not current-prefix-arg) (numberp current-prefix-arg))) + (pop-to-buffer-same-window (or buffer "*eww*")) + (eww-goto-url url (or buffer "*eww*")))) + +(defun eww-goto-url (url &optional buffer) "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 - (let* ((uris (eww-suggested-uris)) - (prompt (concat "Enter URL or keywords" - (if uris (format " (default %s)" (car uris)) "") - ": "))) - (list (read-string prompt nil nil uris)))) + (list (eww-read-string))) (setq url (string-trim url)) (cond ((string-match-p "\\`file:/" url)) ;; Don't mangle file: URLs at all. @@ -278,7 +302,7 @@ word(s) will be searched for via `eww-search-prefix'." (when (or (plist-get eww-data :url) (plist-get eww-data :dom)) (eww-save-history)) - (eww-setup-buffer) + (eww-setup-buffer buffer) (plist-put eww-data :url url) (plist-put eww-data :title "") (eww-update-header-line-format) @@ -531,8 +555,8 @@ See the `eww-search-prefix' variable for the search engine used." (mailcap-view-mime "application/pdf"))) (goto-char (point-min))) -(defun eww-setup-buffer () - (switch-to-buffer (get-buffer-create "*eww*")) +(defun eww-setup-buffer (buffer) + (switch-to-buffer (get-buffer-create (or buffer "*eww*"))) (let ((inhibit-read-only t)) (remove-overlays) (erase-buffer)) @@ -624,7 +648,7 @@ the like." (let ((map (make-sparse-keymap))) (set-keymap-parent map special-mode-map) (define-key map "g" 'eww-reload) ;FIXME: revert-buffer-function instead! - (define-key map "G" 'eww) + (define-key map "G" 'eww-goto-url) (define-key map [?\t] 'shr-next-link) (define-key map [?\M-\t] 'shr-previous-link) (define-key map [backtab] 'shr-previous-link) @@ -648,8 +672,7 @@ the like." (define-key map "b" 'eww-add-bookmark) (define-key map "B" 'eww-list-bookmarks) - (define-key map [(meta n)] 'eww-next-bookmark) - (define-key map [(meta p)] 'eww-previous-bookmark) + (define-key map [(meta n)] 'clone-buffer) (easy-menu-define nil map "" '("Eww" -- 2.3.0 From debbugs-submit-bounces@debbugs.gnu.org Fri Feb 20 18:34:35 2015 Received: (at submit) by debbugs.gnu.org; 20 Feb 2015 23:34:35 +0000 Received: from localhost ([127.0.0.1]:49759 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YOx5e-0001hC-VG for submit@debbugs.gnu.org; Fri, 20 Feb 2015 18:34:35 -0500 Received: from eggs.gnu.org ([208.118.235.92]:58309) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YOx5c-0001h4-8l for submit@debbugs.gnu.org; Fri, 20 Feb 2015 18:34:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YOx5b-0006YU-99 for submit@debbugs.gnu.org; Fri, 20 Feb 2015 18:34:31 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:36744) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOx5b-0006YO-6H for submit@debbugs.gnu.org; Fri, 20 Feb 2015 18:34:31 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60027) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOx5a-0001or-8r for bug-gnu-emacs@gnu.org; Fri, 20 Feb 2015 18:34:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YOx5X-0006Y8-2M for bug-gnu-emacs@gnu.org; Fri, 20 Feb 2015 18:34:30 -0500 Received: from mail-qa0-f47.google.com ([209.85.216.47]:40397) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YOx5W-0006Y4-Up for bug-gnu-emacs@gnu.org; Fri, 20 Feb 2015 18:34:26 -0500 Received: by mail-qa0-f47.google.com with SMTP id v10so14769998qac.6 for ; Fri, 20 Feb 2015 15:34:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=fujpokpFVK7DaW/tGd/9bXrNyMboSZc1uCoVjR8A0p4=; b=k7OUBxuaxGDx2HyQAl9/QcoAq58G8XR4e7f8dmTbEmiUP0dC6+onlkoVoO3S3/gigi Fd53CiabVQWiVSz4yyOZkWpR3X39r5eckGlqSy1Yb03c2JiwLAAttB+4WBKkssPZDszj cc3Fb97ci5pX4OrHooXOJE0yGQL6aw9Rz6Rebi1rK9AUwa9R9lObHlE9mNQbDq4LV2+J yv3LMXpHE0nSa7AQXIKFHVJEBV0lcO7M8iNkIa/K+QxOxiog6OsUJhH4A2V+7rOYB+EH IqGnY75TEQaeEuaI4EWVRPBdvvykKYoy+QtrCesIMZODKJJxHFDrzppE2Np7oZOgTwXM SLRg== X-Gm-Message-State: ALoCoQmPpPvzRes/jGxLvn0eG7PJsHyLfxUGE2yDJixBzlHT0iLzw75zjQobYouEJgc+MBuENt6r X-Received: by 10.140.165.150 with SMTP id l144mr379223qhl.39.1424475266216; Fri, 20 Feb 2015 15:34:26 -0800 (PST) Received: from localhost (c-73-172-248-173.hsd1.md.comcast.net. [73.172.248.173]) by mx.google.com with ESMTPSA id 76sm12810162qhs.5.2015.02.20.15.34.25 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Feb 2015 15:34:25 -0800 (PST) Date: Fri, 20 Feb 2015 18:34:24 -0500 From: Mark Oteiza To: bug-gnu-emacs@gnu.org Subject: Re: bug#19902: 25.0.50; [PATCH v2] Make eww entry point more info-like Message-ID: <20150220233424.GA4368@holos> References: <87r3tmymcp.fsf@udel.edu> <87y4ntyhqu.fsf@mail.linkov.net> <878uftfr46.fsf_-_@udel.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <878uftfr46.fsf_-_@udel.edu> User-Agent: Mutt/1.5.23+62 (71f12fef8c6f) (2014-03-12) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) On 19/02/15 at 05:55pm, Mark Oteiza wrote: > + (if (and (get-buffer buffer) (or (not current-prefix-arg) (numberp current-prefix-arg))) > + (pop-to-buffer-same-window (or buffer "*eww*")) > + (eww-goto-url url (or buffer "*eww*")))) `buffer' has to be non-nil, so the first predicate should instead be (and buffer (get-buffer buffer) (or (not current-prefix-arg (numberp current-prefix-arg)))) From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 21 05:37:22 2015 Received: (at 19902) by debbugs.gnu.org; 21 Feb 2015 10:37:22 +0000 Received: from localhost ([127.0.0.1]:49869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YP7R4-0000kz-5v for submit@debbugs.gnu.org; Sat, 21 Feb 2015 05:37:22 -0500 Received: from fely.am-1.org ([78.47.74.50]:45173) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YP7R2-0000kq-7M for 19902@debbugs.gnu.org; Sat, 21 Feb 2015 05:37:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=siamics.net; s=a2013295; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:Sender:References:Subject:To:From; bh=2nlJrihcJ1iNA9iWggDMEd9kaFd71KhX7/qh0v+RljA=; b=F2FGohmeNuRWPRj5YtLNFXURosDiDyQJMle7hqJLKSWEYSUs/fsrGb61qHrN305bgPREsaBNfC//JAAwEdCaANnAp6aWOhWZ2SyHx3WzM3mihGxAY4tv6Yon6P138m8dzQeaIlReIkwog8hcY2EccQiVSp+zHNQDR+pvdrfwrm4=; Received: from [2a02:2560:6d4:26ca::1:1d] (helo=violet.siamics.net) by fely.am-1.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1YP7Qz-0001AR-R4 for 19902@debbugs.gnu.org; Sat, 21 Feb 2015 10:37:17 +0000 Received: from localhost ([::1] helo=violet.siamics.net) by violet.siamics.net with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1YP7Qs-0003iw-4f for 19902@debbugs.gnu.org; Sat, 21 Feb 2015 17:37:10 +0700 From: Ivan Shmakov To: 19902@debbugs.gnu.org Subject: Re: bug#19902: 25.0.50; Make eww entry point more info-like References: <87r3tmymcp.fsf@udel.edu> <87y4ntyhqu.fsf@mail.linkov.net> <878uftfr46.fsf_-_@udel.edu> <20150220233424.GA4368@holos> Mail-Followup-To: 19902@debbugs.gnu.org Date: Sat, 21 Feb 2015 10:37:09 +0000 In-Reply-To: <20150220233424.GA4368@holos> (Mark Oteiza's message of "Fri, 20 Feb 2015 18:34:24 -0500") Message-ID: <878ufr4kkq.fsf_-_@violet.siamics.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 19902 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.7 (/) >>>>> Mark Oteiza writes: >>>>> On 19/02/15 at 05:55pm, Mark Oteiza wrote: >> + (if (and (get-buffer buffer) (or (not current-prefix-arg) (numberp c= urrent-prefix-arg))) >> + (pop-to-buffer-same-window (or buffer "*eww*")) >> + (eww-goto-url url (or buffer "*eww*")))) > `buffer' has to be non-nil, so the first predicate should instead be > (and buffer (get-buffer buffer) > (or (not current-prefix-arg (numberp current-prefix-arg)))) =E2=80=A6 And thus (or buffer =E2=80=A6) is the same as simply =E2=80=98bu= ffer=E2=80=99 in the =E2=80=9Ctrue=E2=80=9D branch. (if (and buffer (get-buffer buffer) (or (not current-prefix-arg) (numberp current-prefix-arg))) (pop-to-buffer-same-window buffer) (eww-goto-url url (or buffer "*eww*"))) --=20 FSF associate member #7257 np. Vivo duras sed vi molas =E2=80=94 Martin & = La Talpoj e From debbugs-submit-bounces@debbugs.gnu.org Mon Feb 23 14:41:41 2015 Received: (at 19902) by debbugs.gnu.org; 23 Feb 2015 19:41:41 +0000 Received: from localhost ([127.0.0.1]:55840 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YPysu-0005jF-RJ for submit@debbugs.gnu.org; Mon, 23 Feb 2015 14:41:41 -0500 Received: from ps18281.dreamhost.com ([69.163.222.226]:36517 helo=ps18281.dreamhostps.com) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YPysl-0005ir-LU for 19902@debbugs.gnu.org; Mon, 23 Feb 2015 14:41:32 -0500 Received: from localhost.linkov.net (ps18281.dreamhostps.com [69.163.222.226]) by ps18281.dreamhostps.com (Postfix) with ESMTP id 5F9A030B2E96A5; Mon, 23 Feb 2015 11:41:30 -0800 (PST) From: Juri Linkov To: Mark Oteiza Subject: Re: bug#19902: 25.0.50; [PATCH v2] Make eww entry point more info-like Organization: LINKOV.NET References: <87r3tmymcp.fsf@udel.edu> <87y4ntyhqu.fsf@mail.linkov.net> <878uftfr46.fsf_-_@udel.edu> Date: Mon, 23 Feb 2015 21:28:17 +0200 In-Reply-To: <878uftfr46.fsf_-_@udel.edu> (Mark Oteiza's message of "Thu, 19 Feb 2015 17:55:53 -0500") Message-ID: <87wq38o1uf.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 19902 Cc: 19902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.0 (/) > Regarding the bookmark/info binding, the whole inspiration to this > change is to make the eww interface more info-like. Info is a > good manual browser, and eww benefits from assimilating features from > info to be a good web browser. Both info and eww could share a better keybinding. What comes to mind is `C-x 4 c' globally bound to clone-indirect-buffer-other-window. Could it be used in eww? From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 04 13:52:46 2015 Received: (at submit) by debbugs.gnu.org; 4 Mar 2015 18:52:46 +0000 Received: from localhost ([127.0.0.1]:35255 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YTEPW-0003aq-5f for submit@debbugs.gnu.org; Wed, 04 Mar 2015 13:52:46 -0500 Received: from eggs.gnu.org ([208.118.235.92]:57120) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YTEPT-0003ad-6y for submit@debbugs.gnu.org; Wed, 04 Mar 2015 13:52:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YTEPJ-0002aZ-JQ for submit@debbugs.gnu.org; Wed, 04 Mar 2015 13:52:37 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35682) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTEPJ-0002aT-Gb for submit@debbugs.gnu.org; Wed, 04 Mar 2015 13:52:33 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58833) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTEPH-0000aI-SE for bug-gnu-emacs@gnu.org; Wed, 04 Mar 2015 13:52:33 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YTEPE-0002Zp-IP for bug-gnu-emacs@gnu.org; Wed, 04 Mar 2015 13:52:31 -0500 Received: from mail-qc0-f173.google.com ([209.85.216.173]:41345) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTEPE-0002Zi-DX for bug-gnu-emacs@gnu.org; Wed, 04 Mar 2015 13:52:28 -0500 Received: by qcvx3 with SMTP id x3so10852276qcv.8 for ; Wed, 04 Mar 2015 10:52:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type :content-transfer-encoding; bh=fpAjZCYEPzdTVDqBdENzm+XAT5rtuN5sv+gpxcHIEQ8=; b=D+DoBSiTTDwFM5fBJjkAFTrWzwtMWLORxzQ4Yz67hE8l5p3e6cBLI5bDMVUQuipnvu UZR0X9WIDz1oGnzqWtrd3aaqIImxa9NFdW6JXb7ktUreqLdYP0uTK0RoNEK4pAcDD2IQ zah6VV4QRf2jXpck5svi9QdQOz8PPLtJRubnGA3OoB+sVS0CRxKY+DDkUUUIFkObH3c9 Lx4M7NhX0KgvlsZPKey00LnuQmoLiaMGRm725ZQxrWfoe2uX/sc8BXUcrnU0xs3TeiIQ vo90VWF4coXN8CyjTPyoy3D8yWheGhklsYmB7aZ2GoJkCKapYP7NDaLupgL36crmWMel +yUQ== X-Gm-Message-State: ALoCoQmfd3ESte5m7/0XfncM9U9CYiBRBlVQvVQw4xa4fliuF3mXyDf50vbiP9jUyL6NkvoMNytg X-Received: by 10.140.87.10 with SMTP id q10mr7151511qgd.67.1425495147377; Wed, 04 Mar 2015 10:52:27 -0800 (PST) Received: from holos (c-73-163-124-41.hsd1.md.comcast.net. [73.163.124.41]) by mx.google.com with ESMTPSA id z13sm2663738qaq.15.2015.03.04.10.52.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Mar 2015 10:52:26 -0800 (PST) From: Mark Oteiza To: bug-gnu-emacs@gnu.org Subject: Re: bug#19902: 25.0.50; [PATCH v3] Make eww entry point more info-like References: <87r3tmymcp.fsf@udel.edu> <87y4ntyhqu.fsf@mail.linkov.net> <878uftfr46.fsf_-_@udel.edu> <20150220233424.GA4368@holos> <878ufr4kkq.fsf_-_@violet.siamics.net> Date: Wed, 04 Mar 2015 13:52:25 -0500 In-Reply-To: <878ufr4kkq.fsf_-_@violet.siamics.net> (Ivan Shmakov's message of "Sat, 21 Feb 2015 10:37:09 +0000") Message-ID: <87r3t4k32u.fsf_-_@udel.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) --- Ivan Shmakov writes: > =E2=80=A6 And thus (or buffer =E2=80=A6) is the same as simply =E2=80=98= buffer=E2=80=99 in the > =E2=80=9Ctrue=E2=80=9D branch. > > (if (and buffer (get-buffer buffer) > (or (not current-prefix-arg) (numberp current-prefix-arg))) > (pop-to-buffer-same-window buffer) > (eww-goto-url url (or buffer "*eww*"))) Thanks, change made lisp/ChangeLog | 13 +++++++++++++ lisp/net/eww.el | 48 ++++++++++++++++++++++++++++++++++++------------ 2 files changed, 49 insertions(+), 12 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index cdd4bf8..9fe4d50 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,16 @@ +2015-03-04 Mark Oteiza + + * net/eww.el (eww): New behavior. Pops to an existing buffer, + otherwise creates a new one. The buffer name is controlled by + numeric prefix. A non-numeric prefix always prompts for a URL. + (eww-goto-url): New function. Assumes the previous role of `eww', + now accepting an optional `buffer' argument + (eww-read-string): New function. Wrapper for `read-string' + used by `eww' and `eww-goto-url'. + (eww-setup-buffer): Accept `buffer' argument. + (eww-mode-map): Replace existing bindings for M-n and M-p with + a binding of M-n to `clone-buffer'. + 2015-03-04 Filipp Gunbin =20 * autorevert.el (auto-revert-notify-add-watch): diff --git a/lisp/net/eww.el b/lisp/net/eww.el index 577cd41..4b696f7 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el @@ -239,17 +239,42 @@ This list can be customized via `eww-suggest-uris'." (push uri uris))))) (nreverse uris))) =20 +(defun eww-read-string () + (let* ((uris (eww-suggested-uris)) + (prompt (concat "Enter URL or keywords" + (if uris (format " (default %s)" (car uris))) + ": "))) + (read-string prompt nil nil uris))) + ;;;###autoload -(defun eww (url) +(defun eww (&optional url buffer) + "Enter eww, the Emacs Web Wowser. +Optional argument URL specifies the target to navigate; +the default is `eww-search-prefix'. + +In interactive use, a non-numeric prefix argument directs +this command to read URL from the minibuffer. + +A numeric prefix argument of N selects an eww buffer named \"*eww*\"." + (interactive + (let ((name (if (numberp current-prefix-arg) + (format "*eww*<%s>" current-prefix-arg) + "*eww*"))) + (list (if (or (not (get-buffer name)) + (and current-prefix-arg (not (numberp current-prefix-ar= g)))) + (eww-read-string)) + name))) + (if (and buffer (get-buffer buffer) + (or (not current-prefix-arg) (numberp current-prefix-arg))) + (pop-to-buffer-same-window buffer) + (eww-goto-url url (or buffer "*eww*")))) + +(defun eww-goto-url (url &optional buffer) "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 - (let* ((uris (eww-suggested-uris)) - (prompt (concat "Enter URL or keywords" - (if uris (format " (default %s)" (car uris)) "") - ": "))) - (list (read-string prompt nil nil uris)))) + (list (eww-read-string))) (setq url (string-trim url)) (cond ((string-match-p "\\`file:/" url)) ;; Don't mangle file: URLs at all. @@ -278,7 +303,7 @@ word(s) will be searched for via `eww-search-prefix'." (when (or (plist-get eww-data :url) (plist-get eww-data :dom)) (eww-save-history)) - (eww-setup-buffer) + (eww-setup-buffer buffer) (plist-put eww-data :url url) (plist-put eww-data :title "") (eww-update-header-line-format) @@ -531,8 +556,8 @@ See the `eww-search-prefix' variable for the search eng= ine used." (mailcap-view-mime "application/pdf"))) (goto-char (point-min))) =20 -(defun eww-setup-buffer () - (switch-to-buffer (get-buffer-create "*eww*")) +(defun eww-setup-buffer (buffer) + (switch-to-buffer (get-buffer-create (or buffer "*eww*"))) (let ((inhibit-read-only t)) (remove-overlays) (erase-buffer)) @@ -624,7 +649,7 @@ the like." (let ((map (make-sparse-keymap))) (set-keymap-parent map special-mode-map) (define-key map "g" 'eww-reload) ;FIXME: revert-buffer-function instea= d! - (define-key map "G" 'eww) + (define-key map "G" 'eww-goto-url) (define-key map [?\t] 'shr-next-link) (define-key map [?\M-\t] 'shr-previous-link) (define-key map [backtab] 'shr-previous-link) @@ -648,8 +673,7 @@ the like." =20 (define-key map "b" 'eww-add-bookmark) (define-key map "B" 'eww-list-bookmarks) - (define-key map [(meta n)] 'eww-next-bookmark) - (define-key map [(meta p)] 'eww-previous-bookmark) + (define-key map [(meta n)] 'clone-buffer) =20 (easy-menu-define nil map "" '("Eww" --=20 2.3.1 From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 04 14:02:14 2015 Received: (at submit) by debbugs.gnu.org; 4 Mar 2015 19:02:14 +0000 Received: from localhost ([127.0.0.1]:35267 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YTEYf-0003qv-PI for submit@debbugs.gnu.org; Wed, 04 Mar 2015 14:02:14 -0500 Received: from eggs.gnu.org ([208.118.235.92]:58964) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YTEYd-0003qe-RX for submit@debbugs.gnu.org; Wed, 04 Mar 2015 14:02:12 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YTEYX-0005Zz-Qn for submit@debbugs.gnu.org; Wed, 04 Mar 2015 14:02:06 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:50497) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTEYX-0005Zv-OZ for submit@debbugs.gnu.org; Wed, 04 Mar 2015 14:02:05 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60673) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTEYW-00073Q-VR for bug-gnu-emacs@gnu.org; Wed, 04 Mar 2015 14:02:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YTEYT-0005Yr-Or for bug-gnu-emacs@gnu.org; Wed, 04 Mar 2015 14:02:04 -0500 Received: from mail-qg0-f52.google.com ([209.85.192.52]:42248) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTEYT-0005Yk-La for bug-gnu-emacs@gnu.org; Wed, 04 Mar 2015 14:02:01 -0500 Received: by qgfi50 with SMTP id i50so1280609qgf.9 for ; Wed, 04 Mar 2015 11:02:01 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=9+e8rcMfVGOjfixEiDEhG9ujvee/g4fhIP1MUEJdBnA=; b=GrILI1XLgClKJxdjcxX3o/TCGCjlMg8yQlm10oKWz0fZxCAMLgbrGMpEXOne6qhbBR oJIK9WBntXRmtLXvj4D0sc5modL8LvmMZ8KEry2o6knfaRM4i/Zb13oBINlAxTkDzwMy KoBVhSi/ul+8Zul6uQdA+gvGAwujJCHyx6wWPrzqaA+8PsxSLiodAZYwDfDACMGcUY/3 pMpWNYCfhismq/7KCPgzcsvpXizI301vzEATDFVLMrEaBZA3yaK2OQKJNCa5gN6Xhkvh obtZ3K/E1Xq1AObxOTox++5fNS+xVkxEC9SLdiMfoOzaA/DeVvW+XFk35b0IAQy4zf5C o1Kg== X-Gm-Message-State: ALoCoQk4FBiv04iMVdcA6evFuNrMwr1pXVOutKZm4UlmwVRw+zLfWIe7pm8OyaJge2YVFofga8kN X-Received: by 10.140.232.197 with SMTP id d188mr7900192qhc.80.1425495720957; Wed, 04 Mar 2015 11:02:00 -0800 (PST) Received: from holos (c-73-163-124-41.hsd1.md.comcast.net. [73.163.124.41]) by mx.google.com with ESMTPSA id s7sm2659965qgd.4.2015.03.04.11.02.00 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Mar 2015 11:02:00 -0800 (PST) From: Mark Oteiza To: bug-gnu-emacs@gnu.org Subject: Re: bug#19902: 25.0.50; [PATCH v2] Make eww entry point more info-like References: <87r3tmymcp.fsf@udel.edu> <87y4ntyhqu.fsf@mail.linkov.net> <878uftfr46.fsf_-_@udel.edu> <87wq38o1uf.fsf@mail.linkov.net> Date: Wed, 04 Mar 2015 14:01:59 -0500 In-Reply-To: <87wq38o1uf.fsf@mail.linkov.net> (Juri Linkov's message of "Mon, 23 Feb 2015 21:28:17 +0200") Message-ID: <87mw3sk2mw.fsf@udel.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Juri Linkov writes: >> Regarding the bookmark/info binding, the whole inspiration to this >> change is to make the eww interface more info-like. Info is a >> good manual browser, and eww benefits from assimilating features from >> info to be a good web browser. > > Both info and eww could share a better keybinding. What comes to mind is > `C-x 4 c' globally bound to clone-indirect-buffer-other-window. > Could it be used in eww? Shadowing a global binding seems weird. Also, it does not do the same thing as clone-buffer and is disabled in Info. Because of the incumbence, the mnemonic nature, and the brevity of M-n, I'm hard pressed to think of a better binding. From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 05 07:52:36 2015 Received: (at 19902) by debbugs.gnu.org; 5 Mar 2015 12:52:36 +0000 Received: from localhost ([127.0.0.1]:35718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YTVGW-0008MO-DM for submit@debbugs.gnu.org; Thu, 05 Mar 2015 07:52:36 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:51614) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YTVGT-0008MC-KZ for 19902@debbugs.gnu.org; Thu, 05 Mar 2015 07:52:34 -0500 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1YTVG7-0007SN-O4; Thu, 05 Mar 2015 13:52:11 +0100 From: Lars Magne Ingebrigtsen To: Mark Oteiza Subject: Re: bug#19902: 25.0.50; [PATCH v3] Make eww entry point more info-like References: <87r3tmymcp.fsf@udel.edu> <87y4ntyhqu.fsf@mail.linkov.net> <878uftfr46.fsf_-_@udel.edu> <20150220233424.GA4368@holos> <878ufr4kkq.fsf_-_@violet.siamics.net> <87r3t4k32u.fsf_-_@udel.edu> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEUSAAEsDA1wi5tZqLz5 9oxkRzzx7X359H738nyguLFLoNFUpL78/O/////+//7O1bSeI0Y/AAACJUlEQVQ4jXXUMWvbQBQH 8JPBhW5WwKEtAYOKBpHSJVsL6WJCh0AjwQVUWm8WLgS89gMYcYVCi0oGDbGhowv5ANEWyFCQFYjp IKOTabcU1wGDB4Nr9d05tU9y/Adr+fHevWcdQpQnhl/08He73R4Qi+UVGvg+vc0GA58QYmHrEvlL wHOoYowPLxFdJC4uQE9BlGMQsFZVS4TwPq+oEWJXaykoMbjYhJJqbX8VHnA4EqDP9xjf41AXD+d7 nBc5fBKA8nGTQ8JiiYAFsFML9u6G/sYaCEvdJYiHX22FSzhagdYcPjL4cwslgK+yXoR/i+ynDgco SDrazEBk9F0HAeQzQIeU/kCSjCR++KjpaloSKo6iqJp5hSD5OVQU/DYJ1V8YmxUlKgDkOIzfqLo5 CQ2nqBumGWGEJDZwHY22MK5MrtVzjA2omEAni+8xVhxNGbUczdUcxY1G8n9YzHRjdGAXOX+AjHK5 LIx7cXwC27M9JLiE/hLGpum6qszyeGfHEyrMyvD4gO2BHnmeAP1pp2985vA6Bezlxj85bHtnaYC3 WEAFlPO8s28ZiFS9UPSyAOPvbXs8aXgPl+NOeAnwfB1462BtK82qu63ky7MXGSA10oDbFF/vZoGQ Bl/0dA10d1EUD4dBEMTBYLBn28S2Gr7fob0T1LuZNpuzJJ59TyYf3hHM8pR2/6IYKiDsyVpZVj1J ZrTbzJ4BH55kGtBwZSpopBhPaHT6D9tT7db/TeBuAAAAAElFTkSuQmCC X-Now-Playing: Blaine L. Reininger's _Broken Fingers_: "Spiny Doughboys" X-Hashcash: 1:23:150305:19902@debbugs.gnu.org::yciSFzc+97ftn9Ys:0000000000000000000000000000000000000000Ftae X-Hashcash: 1:23:150305:mvoteiza@udel.edu::LZeuVGZiTXjgM3DH:00000000000000000000000000000000000000000003TH8y Date: Thu, 05 Mar 2015 13:52:11 +0100 In-Reply-To: <87r3t4k32u.fsf_-_@udel.edu> (Mark Oteiza's message of "Wed, 04 Mar 2015 13:52:25 -0500") Message-ID: User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1YTVG7-0007SN-O4 X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1426164732.11558@gLE8PTviqHBLxaTXwVteJg X-Spam-Status: No X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19902 Cc: 19902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Mark Oteiza writes: > +Optional argument URL specifies the target to navigate; > +the default is `eww-search-prefix'. > + > +In interactive use, a non-numeric prefix argument directs > +this command to read URL from the minibuffer. > + > +A numeric prefix argument of N selects an eww buffer named \"*eww*\"." This all seems too complicated. `M-x eww RET' should allow people to just paste in URLs or whatever. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 05 10:06:12 2015 Received: (at submit) by debbugs.gnu.org; 5 Mar 2015 15:06:12 +0000 Received: from localhost ([127.0.0.1]:36129 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YTXLk-0003ZC-FF for submit@debbugs.gnu.org; Thu, 05 Mar 2015 10:06:12 -0500 Received: from eggs.gnu.org ([208.118.235.92]:35442) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YTXLd-0003YY-OH for submit@debbugs.gnu.org; Thu, 05 Mar 2015 10:06:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YTXLQ-0004GV-UA for submit@debbugs.gnu.org; Thu, 05 Mar 2015 10:05:56 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:55126) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTXLQ-0004G1-R9 for submit@debbugs.gnu.org; Thu, 05 Mar 2015 10:05:48 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36969) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTXLM-0002SG-8v for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2015 10:05:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YTXLC-00046D-Ax for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2015 10:05:44 -0500 Received: from mail-qa0-f48.google.com ([209.85.216.48]:63073) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTXLC-000466-7o for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2015 10:05:34 -0500 Received: by mail-qa0-f48.google.com with SMTP id dc16so39273763qab.7 for ; Thu, 05 Mar 2015 07:05:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=7RGTXW8Y3JTq9lqf1RftYVlQ0tgv7INAD/Uk8TeC6J0=; b=Iu0Vx8CqWuPY0hwKaYYFhsmAGNpAn3uZYAq8XPEmqERK88MfhsvIWgnC4Y7m64xdK1 vU/d8VTkU40h0xD0/qifQvCS42V5WfafEwLy9v5ordSavO1JTsshn+uDYWXVQNyMk1K/ cztGYZFfFfK0P1ofAnoGvS+jWXDuvddgZ/W0esg4rtS59Lgj5Fx3mOnbwoIKKVwPbUz3 mwBh5RCX0rh2+Nw0dIqkBvKRoHVAQObiUvViFAvwdM1/WiIDXP6xyHrbOB144czFqP3N euoooSoIvsDLxhQfxNGe7+2CRFBZ0jj1lC95JHn3hlCkaEmhBDtQ7Utxws+GwnucdKRq toDA== X-Gm-Message-State: ALoCoQmORfZDBNhRDEzULSu+C24VqgRcfXi4X7/hIitMdDw+BQT1bpZxard1hTCyF3IXLnJEaFq/ X-Received: by 10.229.4.4 with SMTP id 4mr13274601qcp.8.1425567933909; Thu, 05 Mar 2015 07:05:33 -0800 (PST) Received: from holos (c-73-163-124-41.hsd1.md.comcast.net. [73.163.124.41]) by mx.google.com with ESMTPSA id x8sm3997512qae.11.2015.03.05.07.05.33 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Mar 2015 07:05:33 -0800 (PST) From: Mark Oteiza To: bug-gnu-emacs@gnu.org Subject: Re: bug#19902: 25.0.50; [PATCH v3] Make eww entry point more info-like References: <87r3tmymcp.fsf@udel.edu> <87y4ntyhqu.fsf@mail.linkov.net> <878uftfr46.fsf_-_@udel.edu> <20150220233424.GA4368@holos> <878ufr4kkq.fsf_-_@violet.siamics.net> <87r3t4k32u.fsf_-_@udel.edu> Date: Thu, 05 Mar 2015 10:05:32 -0500 In-Reply-To: (Lars Magne Ingebrigtsen's message of "Thu, 05 Mar 2015 13:52:11 +0100") Message-ID: <87mw3r8oxv.fsf@udel.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Lars Magne Ingebrigtsen writes: > Mark Oteiza writes: > >> +Optional argument URL specifies the target to navigate; >> +the default is `eww-search-prefix'. >> + >> +In interactive use, a non-numeric prefix argument directs >> +this command to read URL from the minibuffer. >> + >> +A numeric prefix argument of N selects an eww buffer named \"*eww*\"." > > This all seems too complicated. > > `M-x eww RET' should allow people to just paste in URLs or whatever. Which it does, unless *eww* already exists, in which case it switches to the buffer. Then one can kit a key 'G' and paste a URL. Alternatively, one can just do C-u M-x eww RET. It works like info, and info works nicely. It gives people the choice either to enter a URL, switch to any existing eww session, or create a new one. From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 05 17:21:53 2015 Received: (at 19902) by debbugs.gnu.org; 5 Mar 2015 22:21:53 +0000 Received: from localhost ([127.0.0.1]:36523 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YTe9Q-0001Mp-Ul for submit@debbugs.gnu.org; Thu, 05 Mar 2015 17:21:53 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:48236) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YTe9O-0001Mf-C8 for 19902@debbugs.gnu.org; Thu, 05 Mar 2015 17:21:51 -0500 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1YTe95-0004s1-Hf; Thu, 05 Mar 2015 23:21:31 +0100 From: Lars Magne Ingebrigtsen To: Mark Oteiza Subject: Re: bug#19902: 25.0.50; [PATCH v3] Make eww entry point more info-like References: <87r3tmymcp.fsf@udel.edu> <87y4ntyhqu.fsf@mail.linkov.net> <878uftfr46.fsf_-_@udel.edu> <20150220233424.GA4368@holos> <878ufr4kkq.fsf_-_@violet.siamics.net> <87r3t4k32u.fsf_-_@udel.edu> <87mw3r8oxv.fsf@udel.edu> X-Hashcash: 1:23:150305:mvoteiza@udel.edu::YE3BGDvu2xPJJW/b:00000000000000000000000000000000000000000000hVkc X-Hashcash: 1:23:150305:19902@debbugs.gnu.org::hlKetGlnQsfv71+W:0000000000000000000000000000000000000001V355 Date: Thu, 05 Mar 2015 23:21:31 +0100 In-Reply-To: <87mw3r8oxv.fsf@udel.edu> (Mark Oteiza's message of "Thu, 05 Mar 2015 10:05:32 -0500") Message-ID: User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1YTe95-0004s1-Hf X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1426198891.68204@xCWph1WYGLuasVjKQOjuHA X-Spam-Status: No X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19902 Cc: 19902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Mark Oteiza writes: > Which it does, unless *eww* already exists, in which case it switches to > the buffer. Then one can kit a key 'G' and paste a URL. Alternatively, > one can just do C-u M-x eww RET. I think that's way too confusing. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 05 18:25:54 2015 Received: (at submit) by debbugs.gnu.org; 5 Mar 2015 23:25:54 +0000 Received: from localhost ([127.0.0.1]:36592 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YTf9K-0004Wv-Qp for submit@debbugs.gnu.org; Thu, 05 Mar 2015 18:25:54 -0500 Received: from eggs.gnu.org ([208.118.235.92]:51360) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YTf9G-0004Wd-De for submit@debbugs.gnu.org; Thu, 05 Mar 2015 18:25:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YTf96-0006NC-Pb for submit@debbugs.gnu.org; Thu, 05 Mar 2015 18:25:41 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:37449) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTf96-0006N7-M8 for submit@debbugs.gnu.org; Thu, 05 Mar 2015 18:25:36 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53070) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTf92-0004vJ-Uj for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2015 18:25:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YTf8y-0006M2-PF for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2015 18:25:32 -0500 Received: from mail-qg0-f48.google.com ([209.85.192.48]:42069) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YTf8y-0006Ls-JZ for bug-gnu-emacs@gnu.org; Thu, 05 Mar 2015 18:25:28 -0500 Received: by qgfi50 with SMTP id i50so8854380qgf.9 for ; Thu, 05 Mar 2015 15:25:28 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=9Y34wYy0TMpNljXkwjB2PpFkZ4j2Sf1WzkqY9Ck6PTw=; b=PrrPukwR5nnOZfAfkNzcg+11IgwDWxvVR3pL7MKX9tAa1muHRVfICO/ac5q0E9UrPt aYJP4AEyQgxJMMqgLuzj3+t5OB0jJp3tXmLZhaO2+o/e4oRHaQX5mLl7F9vizFSx4RJt 8pb4rxXQTWSPuQGEuKcUETjbDmNwa1p6jS76cRS50Y8tjS05My2RSorR2meqRnCIBlOF 77Nf0GY7FfuIfHIOlAMbgB4N9owo+sI0LKd6dNh5lQ6eSUO2aOd8/4CffFHNSrgyZZVE G1KjVEmGclw5oj9FEDsaoWXGd3hK0A7YaJVc3dfCcR49y9CR2vxCrXX9hLWLkHMPvAHM AHUg== X-Gm-Message-State: ALoCoQmgIpVw78cHz7+sNer9MB9YKr70ZiOBrUWaBkd9u1l6WE2VN7S/t5RsWC27IHoRztL3lHCI X-Received: by 10.140.97.203 with SMTP id m69mr15447430qge.39.1425597927918; Thu, 05 Mar 2015 15:25:27 -0800 (PST) Received: from holos (c-73-163-124-41.hsd1.md.comcast.net. [73.163.124.41]) by mx.google.com with ESMTPSA id o81sm3493327qko.3.2015.03.05.15.25.26 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 05 Mar 2015 15:25:27 -0800 (PST) From: Mark Oteiza To: bug-gnu-emacs@gnu.org Subject: Re: bug#19902: 25.0.50; [PATCH v3] Make eww entry point more info-like References: <87r3tmymcp.fsf@udel.edu> <87y4ntyhqu.fsf@mail.linkov.net> <878uftfr46.fsf_-_@udel.edu> <20150220233424.GA4368@holos> <878ufr4kkq.fsf_-_@violet.siamics.net> <87r3t4k32u.fsf_-_@udel.edu> <87mw3r8oxv.fsf@udel.edu> Date: Thu, 05 Mar 2015 18:25:26 -0500 In-Reply-To: (Lars Magne Ingebrigtsen's message of "Thu, 05 Mar 2015 23:21:31 +0100") Message-ID: <87vbifvxg9.fsf@udel.edu> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) Lars Magne Ingebrigtsen writes: > Mark Oteiza writes: > >> Which it does, unless *eww* already exists, in which case it switches to >> the buffer. Then one can kit a key 'G' and paste a URL. Alternatively, >> one can just do C-u M-x eww RET. > > I think that's way too confusing. Thanks for the constructive feedback. From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 05 19:17:23 2015 Received: (at 19902) by debbugs.gnu.org; 6 Mar 2015 00:17:23 +0000 Received: from localhost ([127.0.0.1]:36604 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YTfx9-0005uI-Lf for submit@debbugs.gnu.org; Thu, 05 Mar 2015 19:17:23 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:56467) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YTfx3-0005u3-LN for 19902@debbugs.gnu.org; Thu, 05 Mar 2015 19:17:18 -0500 Received: from cm-84.215.51.58.getinternet.no ([84.215.51.58] helo=stories) by hermes.netfonds.no with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1YTfwh-0006pz-Nu; Fri, 06 Mar 2015 01:16:51 +0100 From: Lars Magne Ingebrigtsen To: Mark Oteiza Subject: Re: bug#19902: 25.0.50; [PATCH v3] Make eww entry point more info-like References: <87r3tmymcp.fsf@udel.edu> <87y4ntyhqu.fsf@mail.linkov.net> <878uftfr46.fsf_-_@udel.edu> <20150220233424.GA4368@holos> <878ufr4kkq.fsf_-_@violet.siamics.net> <87r3t4k32u.fsf_-_@udel.edu> <87mw3r8oxv.fsf@udel.edu> <87vbifvxg9.fsf@udel.edu> X-Hashcash: 1:23:150306:19902@debbugs.gnu.org::XoEqeKAEF9U+IRiq:0000000000000000000000000000000000000000XR1+ X-Hashcash: 1:23:150306:mvoteiza@udel.edu::Y0eMORZBvN1DSlv4:00000000000000000000000000000000000000000000v+EW Date: Fri, 06 Mar 2015 01:16:51 +0100 In-Reply-To: <87vbifvxg9.fsf@udel.edu> (Mark Oteiza's message of "Thu, 05 Mar 2015 18:25:26 -0500") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1YTfwh-0006pz-Nu X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1426205811.87318@S3E03iFDkSb7rEM5fGglrg X-Spam-Status: No X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19902 Cc: 19902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Mark Oteiza writes: > Lars Magne Ingebrigtsen writes: > >> Mark Oteiza writes: >> >>> Which it does, unless *eww* already exists, in which case it switches to >>> the buffer. Then one can kit a key 'G' and paste a URL. Alternatively, >>> one can just do C-u M-x eww RET. >> >> I think that's way too confusing. > > Thanks for the constructive feedback. Your patch changes what happens when the user types `M-x eww' depending on whether an unseen buffer exists or not. This makes the command inconsistent, and therefore confusing. You're welcome. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 25 01:39:08 2015 Received: (at 19902) by debbugs.gnu.org; 25 Dec 2015 06:39:08 +0000 Received: from localhost ([127.0.0.1]:34160 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCM1o-00033c-Oz for submit@debbugs.gnu.org; Fri, 25 Dec 2015 01:39:08 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:40644) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCM1k-000332-2N for 19902@debbugs.gnu.org; Fri, 25 Dec 2015 01:39:03 -0500 Received: from 2.150.58.24.tmi.telenormobil.no ([2.150.58.24] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aCM1M-0002ap-Qi; Fri, 25 Dec 2015 07:38:36 +0100 From: Lars Ingebrigtsen To: Mark Oteiza Subject: Re: bug#19902: 25.0.50; [PATCH v3] Make eww entry point more info-like References: <87r3tmymcp.fsf@udel.edu> <87y4ntyhqu.fsf@mail.linkov.net> <878uftfr46.fsf_-_@udel.edu> <20150220233424.GA4368@holos> <878ufr4kkq.fsf_-_@violet.siamics.net> <87r3t4k32u.fsf_-_@udel.edu> <87mw3r8oxv.fsf@udel.edu> <87vbifvxg9.fsf@udel.edu> Date: Fri, 25 Dec 2015 07:38:36 +0100 In-Reply-To: (Lars Magne Ingebrigtsen's message of "Fri, 06 Mar 2015 01:16:51 +0100") Message-ID: <87y4cjc9sj.fsf@gnus.org> User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1aCM1M-0002ap-Qi X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1451630317.0217@K2LBrheSNSGZbA14c1HvQQ X-Spam-Status: No X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19902 Cc: 19902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Lars Magne Ingebrigtsen writes: > Mark Oteiza writes: > >> Lars Magne Ingebrigtsen writes: >> >>> Mark Oteiza writes: >>> >>>> Which it does, unless *eww* already exists, in which case it switches to >>>> the buffer. Then one can kit a key 'G' and paste a URL. Alternatively, >>>> one can just do C-u M-x eww RET. >>> >>> I think that's way too confusing. >> >> Thanks for the constructive feedback. > > Your patch changes what happens when the user types `M-x eww' depending > on whether an unseen buffer exists or not. This makes the command > inconsistent, and therefore confusing. > > You're welcome. I'm still of the opinion that this feature is too confusing, so I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 25 01:39:04 2015 Received: (at control) by debbugs.gnu.org; 25 Dec 2015 06:39:04 +0000 Received: from localhost ([127.0.0.1]:34158 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCM1o-00033a-HY for submit@debbugs.gnu.org; Fri, 25 Dec 2015 01:39:04 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:40650) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCM1n-00033N-6j for control@debbugs.gnu.org; Fri, 25 Dec 2015 01:39:03 -0500 Received: from 2.150.58.24.tmi.telenormobil.no ([2.150.58.24] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aCM1S-0002b1-9m for control@debbugs.gnu.org; Fri, 25 Dec 2015 07:38:42 +0100 Date: Fri, 25 Dec 2015 07:38:40 +0100 Message-Id: <87wps3c9sf.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #19902 X-MailScanner-ID: 1aCM1S-0002b1-9m X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1451630322.63809@5k3unVca2woSFTpkrzwcug X-Spam-Status: No X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) tags 19902 fixed close 19902 From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 25 11:35:08 2015 Received: (at 19902) by debbugs.gnu.org; 25 Dec 2015 16:35:08 +0000 Received: from localhost ([127.0.0.1]:35125 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCVKc-0000MF-WB for submit@debbugs.gnu.org; Fri, 25 Dec 2015 11:35:08 -0500 Received: from mail-qg0-f48.google.com ([209.85.192.48]:36107) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCVKY-0000Lf-0u for 19902@debbugs.gnu.org; Fri, 25 Dec 2015 11:35:05 -0500 Received: by mail-qg0-f48.google.com with SMTP id e32so21143728qgf.3 for <19902@debbugs.gnu.org>; Fri, 25 Dec 2015 08:35:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=udel-edu.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=M8fqDNmdI97aBbywfEomtJdeREzLbVoAMR1DL/zM/D4=; b=kQfJdNmaI9djWktB9fErMl3LicNnvzcQhZZ21UDRfZ1/CtVvVqM+r/xT0Yb28t0ArT JtpO6K1Jhx2LWwT8HVzGX2pcZd7YqDE2e2xkXrZI9f5kfBSynu7g/EJ/T1fKuAKPhUBa tVl6gbYP/fgigzi3dBtHD8NoUop9v+6Ogi8o8fr8KeKhw5V75I8uBX0ks6D+zWurVy0D K9OZnL02ITaqFH9DVu316ftvSgRAvo2pJWizpqTEEdwfHtL1zUHOpX5cSZo3CzXXjwOZ 7e3bO4qEJb49LYVrFzhT3TQ0Hb1ApRe3rVhRDHdQHmgjpY4AjFiXyC1UyhSq1vBNOP// 4zjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=M8fqDNmdI97aBbywfEomtJdeREzLbVoAMR1DL/zM/D4=; b=CQ2UH0oDtOSI/+bRa6xj2Cb5njY4Z/1aq7OyOqBf7sEs2eevmZ12yzPe4sKbal3UTq xyjV+DSBd5+3WfBunYNet2TU4DnJGSJlRUFRrK5JFRrkrhI2lu0RswyyKpFoFywivKpX M92pbMOhnmZ2YEIYsbvKkq/wTcJOIuyrm+vcJor9JDUvZG+rpE5cpYD1QFhhE7mIDNzH CoJVfmpG1Yd0dZp8ogEXvg4BwlKYAf1Oux/09N9UoICc3yO5yaFcjZMn556VhxRcMmdx Rg4q/mR1EoZCYKy9xe/uli0jJ+fqdhERM4o5jeQTlCR9rOlccsZMU+a4T+AA+XYZke9O iXzA== X-Gm-Message-State: ALoCoQlMarlC1IwrccxW/agrHFEgY2ukz+ejh8Lv1L2CTaRsPD9ycmHlmQ9wx+xsaQHQSqb29FoWkTquwVOa0JBQ3KoGE3yIFw== X-Received: by 10.140.106.69 with SMTP id d63mr53644480qgf.88.1451061296550; Fri, 25 Dec 2015 08:34:56 -0800 (PST) Received: from holos.localdomain (c-73-172-248-173.hsd1.md.comcast.net. [73.172.248.173]) by smtp.gmail.com with ESMTPSA id y65sm22051573qhc.12.2015.12.25.08.34.55 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Dec 2015 08:34:55 -0800 (PST) Received: by holos.localdomain (Postfix, from userid 1000) id 7D8BA69D61; Fri, 25 Dec 2015 11:34:53 -0500 (EST) Date: Fri, 25 Dec 2015 11:34:53 -0500 From: Mark Oteiza To: Lars Ingebrigtsen Subject: Re: bug#19902: 25.0.50; [PATCH v3] Make eww entry point more info-like Message-ID: <20151225163453.GB1126@holos> References: <878uftfr46.fsf_-_@udel.edu> <20150220233424.GA4368@holos> <878ufr4kkq.fsf_-_@violet.siamics.net> <87r3t4k32u.fsf_-_@udel.edu> <87mw3r8oxv.fsf@udel.edu> <87vbifvxg9.fsf@udel.edu> <87y4cjc9sj.fsf@gnus.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87y4cjc9sj.fsf@gnus.org> User-Agent: Mutt/1.5.24+44 (9480a363a68a) (2015-08-30) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19902 Cc: 19902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 25/12/15 at 07:38am, Lars Ingebrigtsen wrote: > Lars Magne Ingebrigtsen writes: > > > Mark Oteiza writes: > > > >> Lars Magne Ingebrigtsen writes: > >> > >>> Mark Oteiza writes: > >>> > >>>> Which it does, unless *eww* already exists, in which case it switches to > >>>> the buffer. Then one can kit a key 'G' and paste a URL. Alternatively, > >>>> one can just do C-u M-x eww RET. > >>> > >>> I think that's way too confusing. > >> > >> Thanks for the constructive feedback. > > > > Your patch changes what happens when the user types `M-x eww' depending > > on whether an unseen buffer exists or not. This makes the command > > inconsistent, and therefore confusing. > > > > You're welcome. > > I'm still of the opinion that this feature is too confusing, so I'm > closing this bug report. I had the idea of hiding this behind a defcustom to the effect of `eww-always-prompt` (which would be t so the default behavior is unchanged) but I still am at a loss to how you think this is confusing. It's almost exactly how M-x info works. If there was some simplification to which you would be amenable, I think the bare minimum from this patch would be just switching to *eww* if it exists already. IIRC doing M-x eww RET some-url RET destroys the history of an existing *eww* buffer, which is another annoying problem that the current M-x eww "workflow" exacerbates. But I already mentioned that when I first submitted the patch. From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 25 11:37:27 2015 Received: (at 19902) by debbugs.gnu.org; 25 Dec 2015 16:37:27 +0000 Received: from localhost ([127.0.0.1]:35133 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCVMt-0000Pp-MO for submit@debbugs.gnu.org; Fri, 25 Dec 2015 11:37:27 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:50851) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCVMs-0000Pi-Vq for 19902@debbugs.gnu.org; Fri, 25 Dec 2015 11:37:27 -0500 Received: from 2.150.58.24.tmi.telenormobil.no ([2.150.58.24] helo=mouse) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1aCVMX-0001BB-20; Fri, 25 Dec 2015 17:37:05 +0100 From: Lars Ingebrigtsen To: Mark Oteiza Subject: Re: bug#19902: 25.0.50; [PATCH v3] Make eww entry point more info-like References: <878uftfr46.fsf_-_@udel.edu> <20150220233424.GA4368@holos> <878ufr4kkq.fsf_-_@violet.siamics.net> <87r3t4k32u.fsf_-_@udel.edu> <87mw3r8oxv.fsf@udel.edu> <87vbifvxg9.fsf@udel.edu> <87y4cjc9sj.fsf@gnus.org> <20151225163453.GB1126@holos> Date: Fri, 25 Dec 2015 17:37:04 +0100 In-Reply-To: <20151225163453.GB1126@holos> (Mark Oteiza's message of "Fri, 25 Dec 2015 11:34:53 -0500") Message-ID: <87twn61o3z.fsf@gnus.org> User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1aCVMX-0001BB-20 X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1451666225.83587@fB02e+MjiQ2SQCPFZUohsA X-Spam-Status: No X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19902 Cc: 19902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Mark Oteiza writes: > IIRC doing M-x eww RET some-url RET destroys the history of an existing > *eww* buffer, which is another annoying problem that the current M-x eww > "workflow" exacerbates. That bug has been fixed now. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 25 12:59:20 2015 Received: (at 19902) by debbugs.gnu.org; 25 Dec 2015 17:59:20 +0000 Received: from localhost ([127.0.0.1]:35239 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCWe8-00046V-HE for submit@debbugs.gnu.org; Fri, 25 Dec 2015 12:59:20 -0500 Received: from mail-qk0-f173.google.com ([209.85.220.173]:34547) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCWe6-00046H-Dl for 19902@debbugs.gnu.org; Fri, 25 Dec 2015 12:59:18 -0500 Received: by mail-qk0-f173.google.com with SMTP id p187so178206113qkd.1 for <19902@debbugs.gnu.org>; Fri, 25 Dec 2015 09:59:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=udel-edu.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=0L1x0NhsNoUQUAGa/rKFMLv2PFq6WDDt/QasXyhUL4k=; b=LNLwbR0dR7r2Qds8CCjqRLRtGkGaezijPPwLN9m4ukHJPtDG/43WtGZD4NwEXO8gPS RsMfYBPfHiiQU/DvX9h9KUlB4gnerRkahXb+taeXCorqkirFBciIQIp2d1DyUKHchQX6 yWhRF9SpQLkf+lBM5jzmCr0AwLnIgXVdg2dowK2V/OlRgi1km7JsQzcP5CuBdClvBKrD tvFr2bZsFTS9vHtncDmRf0+IT0O4+6+nvoPMF8i/nC7uuvo9uYFtMHipm7ajapf9yWFF 4qo6wGhkMbCRf7Q4e0fXr2DL+glJ2BnbPVEu2FmY1kY9uT6C/ZlAXHd+uBS0VMb3dsj7 DjEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=0L1x0NhsNoUQUAGa/rKFMLv2PFq6WDDt/QasXyhUL4k=; b=mqU04V8eBphGm5p4acxtiSu+szEVG+H/yemkoaE57/Foxeb5PyRwi9fGuiKdoYlRrv 7fVvohJwE4N25971hQwVR0KuMEEkEEbqbhAsNaNKegDatViRrcyyDmIXvpBIfOc+AJ0M ktZCl2wimRGMbUA+EvbL4vlgi4pxKQGMnkXa0Gpr/Ko3wwoLumUx4BcR9mXaa5y93wx+ ECPtgeA2wDD3U4fn69zrnXPNVfWQvNVWMSZsbGAmVYJeXsh1oyT4qyoQCyA0eI9JcTU7 pFCUTH5RaCHGqbNeFN1Ki4myNueMH4KSa3gG0cvFth/61n9ourXlNnSWKm50FGSnybJL YkBQ== X-Gm-Message-State: ALoCoQnNFZPuvrJ/Qcl81gMlnyGKbNaWlAs8cugvK7ZemLHj+cT3yl+O1DH+Ghl7jVUH+2vaAQr/wFeL4jPxj9aan0nxjR86Gw== X-Received: by 10.55.22.225 with SMTP id 94mr54126148qkw.74.1451066352751; Fri, 25 Dec 2015 09:59:12 -0800 (PST) Received: from holos.localdomain (c-73-172-248-173.hsd1.md.comcast.net. [73.172.248.173]) by smtp.gmail.com with ESMTPSA id z72sm22417274qkz.46.2015.12.25.09.59.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Dec 2015 09:59:11 -0800 (PST) Received: by holos.localdomain (Postfix, from userid 1000) id 51D1769D61; Fri, 25 Dec 2015 12:59:09 -0500 (EST) Date: Fri, 25 Dec 2015 12:59:09 -0500 From: Mark Oteiza To: Lars Ingebrigtsen Subject: Re: bug#19902: 25.0.50; [PATCH v3] Make eww entry point more info-like Message-ID: <20151225175909.GA1905@holos> References: <878ufr4kkq.fsf_-_@violet.siamics.net> <87r3t4k32u.fsf_-_@udel.edu> <87mw3r8oxv.fsf@udel.edu> <87vbifvxg9.fsf@udel.edu> <87y4cjc9sj.fsf@gnus.org> <20151225163453.GB1126@holos> <87twn61o3z.fsf@gnus.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87twn61o3z.fsf@gnus.org> User-Agent: Mutt/1.5.24+44 (9480a363a68a) (2015-08-30) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19902 Cc: 19902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 25/12/15 at 05:37pm, Lars Ingebrigtsen wrote: > Mark Oteiza writes: > > > IIRC doing M-x eww RET some-url RET destroys the history of an existing > > *eww* buffer, which is another annoying problem that the current M-x eww > > "workflow" exacerbates. > > That bug has been fixed now. Thanks (for all those fixes, for that matter). From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 25 13:00:21 2015 Received: (at 19902) by debbugs.gnu.org; 25 Dec 2015 18:00:21 +0000 Received: from localhost ([127.0.0.1]:35244 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCWf6-0004Uh-Q4 for submit@debbugs.gnu.org; Fri, 25 Dec 2015 13:00:21 -0500 Received: from mail-qg0-f52.google.com ([209.85.192.52]:34679) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCWf1-0004JC-DF for 19902@debbugs.gnu.org; Fri, 25 Dec 2015 13:00:18 -0500 Received: by mail-qg0-f52.google.com with SMTP id 6so35710756qgy.1 for <19902@debbugs.gnu.org>; Fri, 25 Dec 2015 10:00:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=udel-edu.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=ScYK5uk410a1lmX8OVick6icitVSLxcwv9sAx05EhQQ=; b=kt+WiEkun/xwkIJgXbjSdO6zp1sIN1+A6JQWJ7+x9l7Uo7qcAqXzs6rNKGd4xRTy0b tHbyMGhDqTU8mhwUrMIvvkurJrl5U8vEmtzIadF+InHgfJ+nDX5ir4qTZDQ1rUDqo1AI KftWMEZ6T/XaZI/3hj71eQdjuwsqWRyZgllovfAaJmvYpy1cg/xuqBGmZNMr3NjxfOLZ aj8jVXDwCT3MT8oz4tTuueHaGq0Iw7xPNF2uqrUsw0fxOZ5ybNJQRNU5AIPD4arjOnQY pntQ3jzRb/ViywAxOyI5ttVCEflpzBNFC9htL8Gdj66DyrINo84sb/2ahO9mkBWajwlD nQWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=ScYK5uk410a1lmX8OVick6icitVSLxcwv9sAx05EhQQ=; b=G2PRQOyk3jZBn23PNRZsMhzeHSi44AwIMk7SylsFs2+rA9eqTbzBcFeprhdhLFAFtp VPmM9MxcbWWKOE62VFuCPT7cI1es7r2fmBdkzr9NaNwwi/a23I3WxDctQZCJ9bfJ9HAH ScA+8PRHBiomoOBnPDlyE6DXthJHdUfWR8/5tfDN98egv5hYfPTeSO5hDNShRhnYXk18 4o3NpozQkPMsDYLXxxLlyNX6jSCAePPguq1+auXHiCWnirAC3JCkPedZ8+/A0lRXtvdh lsDx5+OR0RXpzw48EvTqU4+6m9ukuXNux3Bm7lvNEiF2mW4S34bNJYAQMCfFNhqyvN9A aYNA== X-Gm-Message-State: ALoCoQmMy1MsREsGQE50EIQXJ33U/YgvQPDc2gc6rrXo2LT/ccL+bUGA34yKdnpd5MPT8ddkF3koQjW8Btih+mjIvPZ4QONmrg== X-Received: by 10.140.27.139 with SMTP id 11mr51640004qgx.62.1451066409998; Fri, 25 Dec 2015 10:00:09 -0800 (PST) Received: from holos.localdomain (c-73-172-248-173.hsd1.md.comcast.net. [73.172.248.173]) by smtp.gmail.com with ESMTPSA id r83sm22162407qhc.8.2015.12.25.10.00.08 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 25 Dec 2015 10:00:08 -0800 (PST) Received: by holos.localdomain (Postfix, from userid 1000) id 23E3169D61; Fri, 25 Dec 2015 13:00:08 -0500 (EST) Date: Fri, 25 Dec 2015 13:00:08 -0500 From: Mark Oteiza To: Lars Ingebrigtsen Subject: Re: bug#19902: 25.0.50; [PATCH v3] Make eww entry point more info-like Message-ID: <20151225180008.GB1905@holos> References: <878uftfr46.fsf_-_@udel.edu> <20150220233424.GA4368@holos> <878ufr4kkq.fsf_-_@violet.siamics.net> <87r3t4k32u.fsf_-_@udel.edu> <87mw3r8oxv.fsf@udel.edu> <87vbifvxg9.fsf@udel.edu> <87y4cjc9sj.fsf@gnus.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87y4cjc9sj.fsf@gnus.org> User-Agent: Mutt/1.5.24+44 (9480a363a68a) (2015-08-30) X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 19902 Cc: 19902@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On 25/12/15 at 07:38am, Lars Ingebrigtsen wrote: > Lars Magne Ingebrigtsen writes: > > > Mark Oteiza writes: > > > >> Lars Magne Ingebrigtsen writes: > >> > >>> Mark Oteiza writes: > >>> > >>>> Which it does, unless *eww* already exists, in which case it switches to > >>>> the buffer. Then one can kit a key 'G' and paste a URL. Alternatively, > >>>> one can just do C-u M-x eww RET. > >>> > >>> I think that's way too confusing. > >> > >> Thanks for the constructive feedback. > > > > Your patch changes what happens when the user types `M-x eww' depending > > on whether an unseen buffer exists or not. This makes the command > > inconsistent, and therefore confusing. > > > > You're welcome. > > I'm still of the opinion that this feature is too confusing, so I'm > closing this bug report. OK, I'll continue on e-d then. From unknown Fri Jun 20 05:29:37 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 23 Jan 2016 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator