From: Ivan Shmakov <ivan@siamics.net>
To: 19226@debbugs.gnu.org
Subject: bug#19226: eww.el desktop support fixes: autoload eww-mode, use inhibit-read-only
Date: Mon, 01 Dec 2014 05:59:38 +0000 [thread overview]
Message-ID: <87iohvnc51.fsf@violet.siamics.net> (raw)
In-Reply-To: <tkvblw9kiy.fsf@fencepost.gnu.org> (Glenn Morris's message of "Sun, 30 Nov 2014 21:22:13 -0500")
>>>>> Glenn Morris <rgm@gnu.org> writes:
> Come to think of it, desktop mode could solve this itself:
> When restoring foo-mode, if foo-mode is not bound, try requiring foo.
> That would solve this case and many others.
Yet will leave some unsolved. Such as, for instance, my own
zealous-save-mode, defined in 'zealsave.
> For a complete solution, when desktop saves a major/minor mode to
> restore, it could also save the name of the library that defines the
> mode.
How would it obtain such information? Especially if the user
has modified the -mode function code and used eval-defun to
redefine it. (That’s also what I do at times.)
> When restoring, first of all require that library.
And fail miserably should the library be renamed.
Moreover, “general purpose” modes are ought to be autoloaded
anyway. I see no reason to second-guess this case at the least.
--
FSF associate member #7257 http://boycottsystemd.org/ … 3013 B6A0 230E 334A
next prev parent reply other threads:[~2014-12-01 5:59 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-13 12:17 bug#18010: eww: desktop support Ivan Shmakov
2014-11-04 16:36 ` Ted Zlatanov
2014-11-10 21:24 ` Lars Magne Ingebrigtsen
2014-11-10 21:32 ` Glenn Morris
2014-11-10 21:36 ` Lars Magne Ingebrigtsen
2014-11-19 10:24 ` Ivan Shmakov
2014-11-19 17:23 ` Lars Magne Ingebrigtsen
2014-11-19 20:17 ` Ivan Shmakov
2014-11-23 15:10 ` Ivan Shmakov
2014-11-23 15:44 ` Lars Magne Ingebrigtsen
2014-11-30 11:04 ` bug#19226: eww.el desktop support fixes: autoload eww-mode, use inhibit-read-only Ivan Shmakov
2014-11-30 19:57 ` Glenn Morris
2014-11-30 20:15 ` Ivan Shmakov
2014-12-01 2:22 ` Glenn Morris
2014-12-01 5:59 ` Ivan Shmakov [this message]
2014-12-01 13:52 ` Stefan Monnier
2014-12-07 18:56 ` Ivan Shmakov
2014-12-08 2:54 ` Stefan Monnier
2014-12-09 19:45 ` Ivan Shmakov
2014-12-10 0:35 ` Stefan Monnier
2015-02-14 20:50 ` Ivan Shmakov
2015-02-16 19:12 ` Ivan Shmakov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87iohvnc51.fsf@violet.siamics.net \
--to=ivan@siamics.net \
--cc=19226@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.