Re: EWW with Duck-Duck-Go

gfp <[email protected]> Thu, 28 May 2026 13:45:03 +0000
Newsgroups gmane.emacs.help
Message-ID <[email protected]>
thanks very much for the detailed help

see below


Am 25.05.26 um 16:58 schrieb [email protected]:
> gfp <[email protected]> writes:
> 
>>>>
>>>
>>> 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.
>>
>>
>> Thanks for your explanation.
>>
>> Today after starting emacs this came up:
>> It is AFAIU exactly what you said:
>>
>> Debugger entered--Lisp error: (wrong-type-argument integerp nil)
>>      eww-desktop-misc-data("/home/gfp/.config/emacs/")
>>      desktop-buffer-info(#<buffer *eww*>)
>>      mapcar(desktop-buffer-info (#<buffer *Group*> #<buffer
>>
> ...
>>
>> So what do I have to do?
>>
> 
> 1. Locate your desktop file:
> 
>     M-x locate RET
>     Locate: .emacs.desktop RET
> 
> 2. Rename your .emacs.desktop file to some other file name.
>     For example, using ‘dired’ (C-x d)
> 
>     C-x d [the location of your .emacs.desktop file]
> 
>     In the Dired buffer that results, type ‘R’ (bound to
>     ‘dired-do-rename’, by default), and then provide a new
>     file name to .emacs.desktop.
> 
> 3. Restart Emacs.  It will not find a .emacs.desktop file,
>     so you will be starting from scratch.  First step to
>     recover your last desktop is to read your saved
>     .emacs.desktop file into a buffer using C-x C-f.  Desktop
>     files are a set of Emacs Lisp expressions that are
>     evaluated to recreate your desktop session.


> 
> 4. Step forward through this file using the command
>     ‘forward-sexp’ (bound to C-M-f, by default) and evaluate
>     each expression when point is at the end of the expression
>     (C-x C-e).  At least one of these expressions will
>     attempt to recreate the *eww* buffer.  You should *NOT*
>     evaluate that expression since it will cause the error
>     that you saw above.
>
it did not find an expression that would try to open the "eww" buffer,
but there were two other backtraces:

1.

;; Buffer section -- buffers listed in same order as in buffer list:
(desktop-create-buffer 208
   "/home/gfp/Desktop/Guix-Befehle.org"
   "Guix-Befehle.org"
   'org-mode
   '(icicle-mode)
   117013
   '(116987 nil)
   nil
   nil
   '((buffer-display-time 25681 13686 338723 687000) 
(buffer-file-coding-system . utf-8-unix) (truncate-lines . t))
   '((mark-ring nil)))


Debugger entered--Lisp error: (void-variable desktop-buffer-fail-count)
   desktop-create-buffer(208 "/home/gfp/Desktop/Guix-Befehle.org" 
"Guix-Befehle.org" org-mode (icicle-mode) 117013 (116987 nil) nil nil 
((buffer-display-time 25681 13686 338723 687000) 
(buffer-file-coding-system . utf-8-unix) (truncate-lines . t)) 
((mark-ring nil)))
   (progn (desktop-create-buffer 208 
"/home/gfp/Desktop/Guix-Befehle.org" "Guix-Befehle.org" 'org-mode 
'(icicle-mode) 117013 '(116987 nil) nil nil '((buffer-display-time 25681 
13686 338723 687000) (buffer-file-coding-system . utf-8-unix) 
(truncate-lines . t)) '((mark-ring nil))))
   eval((progn (desktop-create-buffer 208 
"/home/gfp/Desktop/Guix-Befehle.org" "Guix-Befehle.org" 'org-mode 
'(icicle-mode) 117013 '(116987 nil) nil nil '((buffer-display-time 25681 
13686 338723 687000) (buffer-file-coding-system . utf-8-unix) 
(truncate-lines . t)) '((mark-ring nil)))) t)
   elisp--eval-last-sexp(nil)
   #f(compiled-function () #<bytecode 0x29ba0fd6af102>)()
   eval-last-sexp(nil)
   funcall-interactively(eval-last-sexp nil)
   command-execute(eval-last-sexp)


the strange thing is that the file: Guix-Befehle.org does not exist.
I didn´t find it.

2.
(desktop-create-buffer 208
   nil
   "Desktop"
   'dired-mode
   '(icicle-mode)
   2172
   '(nil nil)
   t
   '("/home/gfp/Desktop/")
   '((buffer-display-time 25681 13665 588711 702000))
   '((mark-ring nil)))

Debugger entered--Lisp error: (error "Executable named by 
‘image-dired-cmd-create-thumbnail-program’ (convert) not found or not 
pertinent")
   error("Executable named by `%S' (%s) not found or not pertinent" 
image-dired-cmd-create-thumbnail-program "convert")
  
image-dired--check-executable-exists(image-dired-cmd-create-thumbnail-program 
w32image-create-thumbnail)
   image-dired-thumb-queue-run()
   apply(image-dired-thumb-queue-run nil)
   timer-event-handler([t 27160 16047 459336 nil 
image-dired-thumb-queue-run nil nil 725000 nil])
   recursive-edit()
   debug(error (void-variable desktop-buffer-ok-count) :backtrace-base 
eval-expression--debug)
   eval-expression--debug((void-variable desktop-buffer-ok-count))
   desktop-create-buffer(208 nil "Desktop" dired-mode (icicle-mode) 2172 
(nil nil) t ("/home/gfp/Desktop/") ((buffer-display-time 25681 13665 
588711 702000)) ((mark-ring nil)))
   (progn (desktop-create-buffer 208 nil "Desktop" 'dired-mode 
'(icicle-mode) 2172 '(nil nil) t '("/home/gfp/Desktop/") 
'((buffer-display-time 25681 13665 588711 702000)) '((mark-ring nil))))
   eval((progn (desktop-create-buffer 208 nil "Desktop" 'dired-mode 
'(icicle-mode) 2172 '(nil nil) t '("/home/gfp/Desktop/") 
'((buffer-display-time 25681 13665 588711 702000)) '((mark-ring nil)))) t)
   elisp--eval-last-sexp(nil)
   #f(compiled-function () #<bytecode 0x29ba0fd6af102>)()
   eval-last-sexp(nil)
   funcall-interactively(eval-last-sexp nil)
   command-execute(eval-last-sexp)


-------------------------------------------

this is now my renamed emacs desktop file, called .emacs1.desktop:
the 2 last expressions gave problems which I have already mentioned above.

;; -*- mode: emacs-lisp; lexical-binding:t; coding: utf-8-emacs; -*-
;; 
--------------------------------------------------------------------------
;; Desktop File for Emacs
;; 
--------------------------------------------------------------------------
;; Created Tue May  2 18:09:39 2023
;; Desktop file format version 208
;; Emacs version 28.2

;; Global section:
(setq desktop-saved-frameset [frameset 1 (25681 13763 961861 163000) 
(desktop . "208") "gfp@Tuxedo" nil nil ((((minibuffer . t) (undecorated) 
(override-redirect) (font . "-PfEd-DejaVu Sans 
Mono-normal-normal-normal-*-16-*-*-*-m-0-iso10646-1") (font-parameter) 
(border-width . 0) (internal-border-width . 0) 
(child-frame-border-width) (right-divider-width . 0) 
(bottom-divider-width . 0) (vertical-scroll-bars . right) 
(horizontal-scroll-bars) (foreground-color . "black") (background-color 
. "whitesmoke") (mouse-color . "black") (border-color . "black") 
(screen-gamma) (line-spacing) (left-fringe . 8) (right-fringe . 8) 
(no-special-glyphs) (scroll-bar-foreground . "dark turquoise") 
(scroll-bar-background . "gray20") (menu-bar-lines . 1) (tab-bar-lines . 
0) (tool-bar-lines . 1) (title) (wait-for-wm . t) (tool-bar-position . 
top) (inhibit-double-buffering) (icon-type . t) (auto-raise) 
(auto-lower) (cursor-type . box) (scroll-bar-width . 16) 
(scroll-bar-height . 16) (alpha) (no-focus-on-map) (no-accept-focus) 
(fullscreen) (visibility . t) (skip-taskbar) (z-group) (display-type . 
color) (background-mode . light) (cursor-color . "Green4") (sticky) 
(environment) (last-focus-update . t) (frameset--id . 
"3960-90A6-0CCA-0EF6") (frameset--mini t . t) (height . 36) (width . 80) 
(modeline . t) (unsplittable) (left . 613) (top . 1277) (icon-name) 
(display . ":1") (explicit-name)) ((min-height . 4) (min-width . 10) 
(min-height-ignore . 3) (min-width-ignore . 6) (min-height-safe . 1) 
(min-width-safe . 2) (min-pixel-height . 76) (min-pixel-width . 100) 
(min-pixel-height-ignore . 57) (min-pixel-width-ignore . 60) 
(min-pixel-height-safe . 19) (min-pixel-width-safe . 20)) leaf 
(pixel-width . 832) (pixel-height . 665) (total-width . 83) 
(total-height . 35) (normal-height . 1.0) (normal-width . 1.0) (buffer 
"Guix-Befehle.org" (selected . t) (hscroll . 0) (fringes 8 8 nil nil) 
(margins nil) (scroll-bars nil 2 t nil 0 t nil) (vscroll . 0) 
(dedicated) (point . 117013) (start . 116279)) (prev-buffers ("Desktop" 
777 2172) ("*scratch*" 1 146))))])
(setq desktop-missing-file-warning nil)
(setq tags-file-name nil)
(setq tags-table-list nil)
(setq search-ring nil)
(setq regexp-search-ring nil)
(setq register-alist nil)
(setq file-name-history '("/home/gfp/Desktop" "~/Desktop"))

;; Buffer section -- buffers listed in same order as in buffer list:
(desktop-create-buffer 208
   "/home/gfp/Desktop/Guix-Befehle.org"
   "Guix-Befehle.org"
   'org-mode
   '(icicle-mode)
   117013
   '(116987 nil)
   nil
   nil
   '((buffer-display-time 25681 13686 338723 687000) 
(buffer-file-coding-system . utf-8-unix) (truncate-lines . t))
   '((mark-ring nil)))

(desktop-create-buffer 208
   nil
   "Desktop"
   'dired-mode
   '(icicle-mode)
   2172
   '(nil nil)
   t
   '("/home/gfp/Desktop/")
   '((buffer-display-time 25681 13665 588711 702000))
   '((mark-ring nil)))

--------------------------------------------------------

this comes up always
I don´t know if that is related to the desktop-save problem.

Debugger entered--entering a function:
* format-message(" `%s'" image-dired-thumb-queue-run)
   timer-event-handler([t 27160 16251 253868 nil 
image-dired-thumb-queue-run nil nil 41000 nil])
   recursive-edit()
   debug(error (void-variable desktop-buffer-fail-count) :backtrace-base 
eval-expression--debug)
   eval-expression--debug((void-variable desktop-buffer-fail-count))
   desktop-create-buffer(208 "/home/gfp/Desktop/Guix-Befehle.org" 
"Guix-Befehle.org" org-mode (icicle-mode) 117013 (116987 nil) nil nil 
((buffer-display-time 25681 13686 338723 687000) 
(buffer-file-coding-system . utf-8-unix) (truncate-lines . t)) 
((mark-ring nil)))
   (progn (desktop-create-buffer 208 
"/home/gfp/Desktop/Guix-Befehle.org" "Guix-Befehle.org" 'org-mode 
'(icicle-mode) 117013 '(116987 nil) nil nil '((buffer-display-time 25681 
13686 338723 687000) (buffer-file-coding-system . utf-8-unix) 
(truncate-lines . t)) '((mark-ring nil))))
   eval((progn (desktop-create-buffer 208 
"/home/gfp/Desktop/Guix-Befehle.org" "Guix-Befehle.org" 'org-mode 
'(icicle-mode) 117013 '(116987 nil) nil nil '((buffer-display-time 25681 
13686 338723 687000) (buffer-file-coding-system . utf-8-unix) 
(truncate-lines . t)) '((mark-ring nil)))) t)
   elisp--eval-last-sexp(nil)
   #f(compiled-function () #<bytecode 0x29ba0fd6af102>)()
   eval-last-sexp(nil)
   funcall-interactively(eval-last-sexp nil)
   command-execute(eval-last-sexp)


> 5. Once you have evaluated all of the other expressions, you
>     should be able to save the new desktop file:
>     
>     M-x desktop-save
> 
> 6. If you saved it successfully, you should be able to exit
>     Emacs and restart it with the new desktop file without
>     any errors.
> 

thanks

Gottfried
OpenPGP_0xAC95367953582A3C.asc (application/pgp-keys, 636 B)
-----BEGIN PGP PUBLIC KEY BLOCK-----

xjMEaabDLRYJKwYBBAHaRw8BAQdAb7YT561Dj5CV9io77VLLjpOOSCz+xjHVL2Bj
+S/FSUbNGmdmcCAoMjAyNikgPGdmcEBwb3N0ZW8uYXQ+wpMEExYKADsWIQQkU+mE
m7kVmbEo/+eslTZ5U1gqPAUCaabDLQIbAwULCQgHAgIiAgYVCgkICwIEFgIDAQIe
BwIXgAAKCRCslTZ5U1gqPOPkAQDhysdwuz2eJo6kCGuVszxhEw6znPKV14R8a3vn
enCgywD9GulbjLKlGTpx6WyFmZ0bBZI1GVpIVr3qGbyFcAFZZADOOARppsMtEgor
BgEEAZdVAQUBAQdAX5BGmJLZB5B2ioEAy0C0iqgJ0GzUK4IP7gSGE9k/RQIDAQgH
wngEGBYKACAWIQQkU+mEm7kVmbEo/+eslTZ5U1gqPAUCaabDLQIbDAAKCRCslTZ5
U1gqPDixAP4teZj90382b6mB2mZT+KjjZz0opx/rahnOejBcW/+SkgD/StQdLbeZ
DqGFJ0TlGeHGxNB28C1fUE815wapzB6cKg4=
=u+uM
-----END PGP PUBLIC KEY BLOCK-----
OpenPGP_signature.asc (application/pgp-signature, 236 B)
-----BEGIN PGP SIGNATURE-----

wnsEABYIACMWIQQkU+mEm7kVmbEo/+eslTZ5U1gqPAUCahhG3gUDAAAAAAAKCRCslTZ5U1gqPIX5
AP40ovJtebZd/bCBnLvlnLoi3h0CLvzFcdvSO4OzeZrvlAEA/xQu5pIK799c+B+WXB3s6sEbZYS6
CJE2yFnSFYLGcA0=
=N3Dq
-----END PGP SIGNATURE-----