all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* desktop.el - only one desktop file per directory?
@ 2010-01-23  0:16 Drew Adams
  2010-01-23  1:37 ` Drew Adams
  2010-01-23  2:38 ` Davis Herring
  0 siblings, 2 replies; 5+ messages in thread
From: Drew Adams @ 2010-01-23  0:16 UTC (permalink / raw)
  To: 'Emacs-Devel devel'

For anyone familiar with Desktop or its code -

(I tried contacting the author, but the email address for him in desktop.el is
apparently no longer valid.)

I haven't used desktop.el. I was thinking of using it from some Lisp code.
Looking over the code, it seems that it only allows for a single desktop file
per directory.

Is that right? If so, is it an important restriction (to maintain)?

With code I can of course create multiple desktop files in a dir. But
`desktop-read' seems to expect only one.

I guess I can plow through the `desktop-read' code and figure out which bits of
it I really need (beyond just calling `load' for the file). But I thought I'd
ask here first. Suggestions about which bits of the `desktop-read' code are
essential?

Is there a good reason that the basic functions don't just accept a (full) file
name (and potentially allow for multiple files per dir)?

Would the mere existence of more than one desktop file in some dir wreak havoc
with the normal use of Desktop (provided it is not pointed to such a dir and
thus left guessing)? Lock or owner problems, perhaps?





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2010-01-23  5:12 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-23  0:16 desktop.el - only one desktop file per directory? Drew Adams
2010-01-23  1:37 ` Drew Adams
2010-01-23  2:41   ` Davis Herring
2010-01-23  5:12     ` Drew Adams
2010-01-23  2:38 ` Davis Herring

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.