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
[Message part 1 (text/plain, inline)]
Your bug report
#19226: eww.el desktop support fixes: autoload eww-mode, use inhibit-read-only
which was filed against the emacs package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 19226 <at> debbugs.gnu.org.
--
19226: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19226
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
>>>>> Ivan Shmakov <ivan <at> siamics.net> writes:
[…]
> Would there be any objections against me pushing the (updated) fix
> sometime within the next two days, /as well as/ a couple of unrelated
> minor changes (both MIMEd)?
Pushed, as there were no objections; closing.
[…]
> (eww-list-histories): Do not pad the rightmost (URIs) column.
… Except for this padding change, as the same change should
probably be applied to eww-list-buffers at the same time.
[…]
commit 8b36bfafeecf5f0578c64129be1d2017483b00f7
CommitDate: 2015-02-16 19:01:50 +0000
Add autoload cookie for the eww-suggest-uris variable.
* lisp/net/eww.el (eww-suggest-uris): Add autoload cookie, so that
add-hook works correctly even if the file is not yet loaded.
commit 2ea5364ca8d1a8dc3f8ac4c9a5ba5c7f03666258
CommitDate: 2015-02-16 18:55:02 +0000
Fix eww.el desktop support.
* lisp/net/eww.el (eww-mode): Add autoload cookie.
(eww-restore-desktop): Use inhibit-read-only.
Fixes: debbugs:19226
--
FSF associate member #7257 http://boycottsystemd.org/ … 3013 B6A0 230E 334A
[Message part 3 (message/rfc822, inline)]
[Message part 4 (text/plain, inline)]
Package: emacs
Tags: patch
Please consider the patch MIMEd.
* eww.el (eww-mode): Autoload, as expected by desktop.el.
(eww-restore-desktop): Use inhibit-read-only when inserting
eww-restore-reload-prompt.
--
FSF associate member #7257 np. Your Leaving — Jami Sieber … B6A0 230E 334A
[Message part 5 (text/diff, inline)]
--- a/lisp/net/eww.el
+++ b/lisp/net/eww.el
@@ -662,6 +662,8 @@
map)
"Tool bar for `eww-mode'.")
+;; autoload cookie needed by desktop.el
+;;;###autoload
(define-derived-mode eww-mode nil "eww"
"Mode for browsing the web.
@@ -1710,8 +1712,9 @@ defun eww-restore-desktop (file-name buffer-name misc-data)
(case eww-restore-desktop
((t auto) (eww (plist-get eww-data :url)))
((zerop (buffer-size))
- (insert (substitute-command-keys
- eww-restore-reload-prompt))))))
+ (let ((inhibit-read-only t))
+ (insert (substitute-command-keys
+ eww-restore-reload-prompt)))))))
;; .
(current-buffer)))
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.