From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#20032: eww: access bookmarks right from the URI prompt Date: Sat, 26 Dec 2015 14:05:07 +0100 Message-ID: <8760zl5pj0.fsf@gnus.org> References: <87fv9gzj4e.fsf@violet.siamics.net> <878uf7zsya.fsf@violet.siamics.net> <878u4jdoij.fsf@gnus.org> <87oaddziwq.fsf@violet.siamics.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1451135182 22233 80.91.229.3 (26 Dec 2015 13:06:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Dec 2015 13:06:22 +0000 (UTC) Cc: 20032@debbugs.gnu.org To: Ivan Shmakov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Dec 26 14:06:11 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aCoXy-0006oc-Mq for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Dec 2015 14:06:10 +0100 Original-Received: from localhost ([::1]:38562 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCoXx-00038n-JU for geb-bug-gnu-emacs@m.gmane.org; Sat, 26 Dec 2015 08:06:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36093) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCoXt-00038f-M8 for bug-gnu-emacs@gnu.org; Sat, 26 Dec 2015 08:06:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aCoXq-0007AQ-G0 for bug-gnu-emacs@gnu.org; Sat, 26 Dec 2015 08:06:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:57610) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aCoXq-0007AM-Cd for bug-gnu-emacs@gnu.org; Sat, 26 Dec 2015 08:06:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aCoXq-00058o-7g for bug-gnu-emacs@gnu.org; Sat, 26 Dec 2015 08:06:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 26 Dec 2015 13:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20032 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 20032-submit@debbugs.gnu.org id=B20032.145113513219705 (code B ref 20032); Sat, 26 Dec 2015 13:06:02 +0000 Original-Received: (at 20032) by debbugs.gnu.org; 26 Dec 2015 13:05:32 +0000 Original-Received: from localhost ([127.0.0.1]:36978 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCoXM-00057l-C0 for submit@debbugs.gnu.org; Sat, 26 Dec 2015 08:05:32 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:52317) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aCoXL-00057e-8n for 20032@debbugs.gnu.org; Sat, 26 Dec 2015 08:05:31 -0500 Original-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 1aCoWy-0007Ep-23; Sat, 26 Dec 2015 14:05:08 +0100 In-Reply-To: <87oaddziwq.fsf@violet.siamics.net> (Ivan Shmakov's message of "Sat, 26 Dec 2015 08:57:41 +0000") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.1.50 (gnu/linux) X-MailScanner-ID: 1aCoWy-0007Ep-23 MailScanner-NULL-Check: 1451739908.38634@E3WCg/IyOY57KU/0Gl+a0g X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:110618 Archived-At: Ivan Shmakov writes: >> It would be OK to have that as the first entry in the `M-n' history, >> but not as the default. If I read the code correctly. > > I guess that could be fixed by using a modified version of > read-string and flagging the values returned by > eww-suggest-bookmarks in such a way as to never be considered as > the default by that function. I doubt that that=92s worth the > effort, however. (Unless such a function already exists.) `read-string' with nil initial-input and default-value will have no defaults. > What bothers me more is that the sheer corpus of contemporary > software will generally filter the list of bookmarks per the > search terms typed in by the user first, and only then present > the result for their respective equivalents of M-n. Which gets > handy if your bookmarks (or history, or pretty much anything of > that kind) number in the hundreds (or more.) I know of no > similar facility in the current Emacs, however. Yeah, just sticking the bookmarks in the history isn't very useful. Message uses ecomplete to do "electric" completion. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no