Juri Linkov writes: >>> Emacs 29 has a new command 'minibuffer-complete-history' >>> that completes on the history. >> >> I don't understand. The patch adds the ability to use >> minibuffer-complete-history by pressing the TAB key while typing a >> URL. The behavior I'm seeing now (in version 29.0.50), is when I type in >> a URL and press tab, instead of completing, it inserts a tab >> character. > > I just noted that this is already possible by typing less convenient key > 'C-x up'. But if you think 'TAB' could do the same, this is fine. > Maybe even eww-suggested-uris could be added to the list of history > completions as well. Because browsers show completions not only for > previously visited urls from the history, but also for suggested urls. New patches are attached. The first adds tab completion and is just slightly reworded. The second adds "eww-suggested-uris" to the completion options, and adds bookmark URIs to the "eww-suggest-uris" list, since browsers suggest bookmarks too. If there is "http://example.com" in the bookmarks, and "example.com" in the history, both will be provided as a completion. I think this behavior is correct because those two URLs may not point to the same place, but browsers sometimes remove the URL scheme component and assume http:// or https://. I don't think matching that behavior would be good so I didn't implement it.