GNU bug report logs -
#19226
eww.el desktop support fixes: autoload eww-mode, use inhibit-read-only
Previous Next
Reported by: Ivan Shmakov <ivan <at> siamics.net>
Date: Sun, 30 Nov 2014 11:05:01 UTC
Severity: normal
Tags: patch
Done: Ivan Shmakov <ivan <at> siamics.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> The problem here is that desktop.el should explicitly be pointed
> to the function to do all the special handling for the mode,
> which is (conventionally) done like:
> (add-to-list 'desktop-buffer-mode-handlers
> '(eww-mode . eww-restore-desktop))
> The problem is: to get /that/ evaluated, desktop.el needs to
> first load eww.el, leading to a chicken and egg problem.
I see. Maybe the problem then is that desktop.el should be changed so
that it records `eww-restore-desktop' as the handler function for this
buffer in the desktop file. I.e. those desktop-buffer-mode-handlers
should be looked up while *saving* the desktop file rather than while
reading them.
Stefan
This bug report was last modified 10 years and 153 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.