From: Lars Hansen <larsh@math.ku.dk>
Subject: Re: Moving handlers out of desktop.el
Date: Wed, 21 Apr 2004 23:28:45 +0200 [thread overview]
Message-ID: <4086E78D.1050706@math.ku.dk> (raw)
In-Reply-To: <87ad1fli7c.fsf@mail.jurta.org>
I have now moved handlers out of desktop and into the modules where they
belong.
That applies to dired, info, rmail and mh-e.
The idea is as follows: The desktop module handles buffers visiting a
file. For buffers not visiting a file, desktop needs help from the major
mode module. The major mode module must define a function to restore
desktop buffers, and the function must be listed in
`desktop-buffer-mode-handlers'. If the major mode needs to save
auxiliary information in the desktop file, it must also define a
function returning that information and assign the function to the
buffer local variable `desktop-buffer-misc-data-function' in the mode
function.
next prev parent reply other threads:[~2004-04-21 21:28 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-06 11:47 Moving handlers out of desktop.el Lars Hansen
2004-04-08 9:43 ` Juri Linkov
2004-04-10 21:31 ` Lars Hansen
2004-04-10 22:32 ` Juri Linkov
2004-04-11 8:04 ` Lars Hansen
2004-04-11 8:16 ` Lars Hansen
2004-04-13 11:48 ` Juri Linkov
2004-04-13 12:51 ` Stefan Monnier
2004-04-13 13:01 ` Lars Hansen
2004-04-13 15:12 ` Juri Linkov
2004-04-13 20:46 ` Juri Linkov
2004-04-21 21:28 ` Lars Hansen [this message]
2004-04-13 13:05 ` David Kastrup
2004-04-13 15:15 ` Juri Linkov
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=4086E78D.1050706@math.ku.dk \
--to=larsh@math.ku.dk \
/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.