unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Ivan Shmakov <ivan@siamics.net>
Cc: 20032@debbugs.gnu.org
Subject: bug#20032: eww: access bookmarks right from the URI prompt
Date: Sat, 26 Dec 2015 14:05:07 +0100	[thread overview]
Message-ID: <8760zl5pj0.fsf@gnus.org> (raw)
In-Reply-To: <87oaddziwq.fsf@violet.siamics.net> (Ivan Shmakov's message of "Sat, 26 Dec 2015 08:57:41 +0000")

Ivan Shmakov <ivan@siamics.net> 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’s 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.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2015-12-26 13:05 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-07 19:45 bug#20032: eww: access bookmarks right from the URI prompt Ivan Shmakov
2015-03-08 10:25 ` Ivan Shmakov
2015-12-25  6:35   ` Lars Ingebrigtsen
2015-12-26  8:57     ` Ivan Shmakov
2015-12-26 13:05       ` Lars Ingebrigtsen [this message]
2015-12-26 16:48         ` Ivan Shmakov
2015-12-26 17:00           ` Lars Ingebrigtsen
2016-02-02  4:33             ` Lars Ingebrigtsen
2017-01-24 22:44               ` Lars Ingebrigtsen
2015-12-25  6:25 ` Lars Ingebrigtsen
2015-12-26  9:42   ` Ivan Shmakov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

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

  git send-email \
    --in-reply-to=8760zl5pj0.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=20032@debbugs.gnu.org \
    --cc=ivan@siamics.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).