Re: EWW with Duck-Duck-Go

[email protected] Sat, 23 May 2026 11:28:28 -0400
Newsgroups gmane.emacs.help
Message-ID <[email protected]>
gfp <[email protected]> writes:

>
> Am 23.05.26 um 15:47 schrieb Gfp:
>> Tomas Hlavaty <[email protected]> writes:
>> 
>>> On Sun 17 May 2026 at 13:48, Gfp <[email protected]> wrote:
>>>> which search engines to prefer?
>>>
>>> duckduckgo onion
>>> (setq eww-search-prefix "https://duckduckgogg42xjoc72x3sjasowoarfbgcmvfimaftt6twagswzczad.onion/html/?fd=-1&q=")
>> 

Starting with Emacs 29, users should use ‘setopt’ to set the
value of user options instead of using ‘setq’.  The syntax
is the same:

   (setopt eww-search-prefix "some string for a URL")

See (info "(elisp) Setting Variables") and (info "(emacs)
Examining").

To see whether a variable is a user option or not, simply
use C-h v [name of variable], and look for text in the
docstring that says that you can customize the variable.

>> 
>> Hi,
>> this does not work for me.
>> 
>> Contacting host: duckduckgogg42xjoc72x3sjasowoarfbgcmvfimaftt6twagswzczad.onion:443
>> Error running timer ‘desktop-auto-save’: (wrong-type-argument integerp
>> nil)
>> 
>> I don´t understand this backtrace,
>> what has a timer ´desktop-auto-save´ to do with it?
>

There is some interaction between ‘desktop’ and ‘eww’ where
‘desktop’ will not save an ‘eww’-related buffer.  This is
likely an error in ‘desktop’ that needs to be identified
(that is, find the steps for reproducing the error starting
from ‘emacs -Q’, and then report it with M-x report-emacs-bug).

Try deleting your eww buffer(s) and starting your web search
again, or try turning off ‘desktop-save-mode’ temporarily.

-- 
The lyf so short, the craft so long to lerne.
- Geoffrey Chaucer, The Parliament of Birds.