1 ;;; ede/proj.el --- EDE Generic Project file driver
3 ;; Copyright (C) 1998, 1999, 2000, 2001, 2002, 2003, 2007, 2008, 2009
4 ;; Free Software Foundation, Inc.
6 ;; Author: Eric M. Ludlam <zappo@gnu.org>
7 ;; Keywords: project, make
9 ;; This file is part of GNU Emacs.
11 ;; GNU Emacs is free software: you can redistribute it and/or modify
12 ;; it under the terms of the GNU General Public License as published by
13 ;; the Free Software Foundation, either version 3 of the License, or
14 ;; (at your option) any later version.
16 ;; GNU Emacs is distributed in the hope that it will be useful,
17 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
18 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 ;; GNU General Public License for more details.
21 ;; You should have received a copy of the GNU General Public License
22 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
26 ;; EDE defines a method for managing a project. EDE-PROJ aims to be a
27 ;; generic project file format based on the EIEIO object stream
28 ;; methods. Changes in the project structure will require Makefile
29 ;; rebuild. The targets provided in ede-proj can be augmented with
30 ;; additional target types inherited directly from `ede-proj-target'.
32 ;; (eval-and-compile '(require 'ede))
33 (require 'ede
/proj-comp
)
36 (declare-function ede-proj-makefile-create
"ede/pmake")
37 (declare-function ede-proj-configure-synchronize
"ede/pconf")
39 (autoload 'ede-proj-target-aux
"ede/proj-aux"
40 "Target class for a group of lisp files." nil nil
)
41 (autoload 'ede-proj-target-elisp
"ede/proj-elisp"
42 "Target class for a group of lisp files." nil nil
)
43 (autoload 'ede-proj-target-elisp-autoloads
"ede/proj-elisp"
44 "Target class for generating autoload files." nil nil
)
45 (autoload 'ede-proj-target-scheme
"ede/proj-scheme"
46 "Target class for a group of lisp files." nil nil
)
47 (autoload 'ede-proj-target-makefile-miscelaneous
"ede/proj-misc"
48 "Target class for a group of miscellaneous w/ a special makefile." nil nil
)
49 (autoload 'ede-proj-target-makefile-program
"ede/proj-prog"
50 "Target class for building a program." nil nil
)
51 (autoload 'ede-proj-target-makefile-archive
"ede/proj-archive"
52 "Target class for building an archive of object code." nil nil
)
53 (autoload 'ede-proj-target-makefile-shared-object
"ede/proj-shared"
54 "Target class for building a shared object." nil nil
)
55 (autoload 'ede-proj-target-makefile-info
"ede/proj-info"
56 "Target class for info files." nil nil
)
58 ;;; Class Definitions:
59 (defclass ede-proj-target
(ede-target)
60 ((auxsource :initarg
:auxsource
63 :custom
(repeat (string :tag
"File"))
64 :label
"Auxiliary Source Files"
65 :group
(default source
)
66 :documentation
"Auxiliary source files included in this target.
67 Each of these is considered equivalent to a source file, but it is not
68 distributed, and each should have a corresponding rule to build it.")
71 :documentation
"Non-nil when generated files needs updating.")
72 (compiler :initarg
:compiler
74 :type
(or null symbol
)
75 :custom
(choice (const :tag
"None" nil
)
76 :slotofchoices availablecompilers
)
77 :label
"Compiler for building sources"
80 "The compiler to be used to compile this object.
81 This should be a symbol, which contains the object defining the compiler.
82 This enables save/restore to do so by name, permitting the sharing
83 of these compiler resources, and global customization thereof.")
84 (linker :initarg
:linker
86 :type
(or null symbol
)
87 :custom
(choice (const :tag
"None" nil
)
88 :slotofchoices availablelinkers
)
89 :label
"Linker for combining intermediate object files."
92 "The linker to be used to link compiled sources for this object.
93 This should be a symbol, which contains the object defining the linker.
94 This enables save/restore to do so by name, permitting the sharing
95 of these linker resources, and global customization thereof.")
96 ;; Class allocated slots
97 (phony :allocation
:class
101 "A phony target is one where the build target does not relate to a file.
102 Such targets are always built, but make knows how to deal with them..")
103 (availablecompilers :allocation
:class
107 "A list of `ede-compiler' objects.
108 These are the compilers the user can choose from when setting the
110 (availablelinkers :allocation
:class
114 "A list of `ede-linker' objects.
115 These are the linkers the user can choose from when setting the
118 "Abstract class for ede-proj targets.")
120 (defclass ede-proj-target-makefile
(ede-proj-target)
121 ((makefile :initarg
:makefile
125 :label
"Parent Makefile"
127 :documentation
"File name of generated Makefile.")
128 (partofall :initarg
:partofall
132 :label
"Part of `all:' target"
135 "Non nil means the rule created is part of the all target.
136 Setting this to nil creates the rule to build this item, but does not
137 include it in the ALL`all:' rule.")
138 (configuration-variables
139 :initarg
:configuration-variables
142 :custom
(repeat (cons (string :tag
"Configuration")
144 (cons (string :tag
"Name")
145 (string :tag
"Value")))))
146 :label
"Environment Variables for configurations"
148 :documentation
"Makefile variables appended to use in different configurations.
149 These variables are used in the makefile when a configuration becomes active.
150 Target variables are always renamed such as foo_CFLAGS, then included into
151 commands where the variable would usually appear.")
152 (rules :initarg
:rules
155 :custom
(repeat (object :objecttype ede-makefile-rule
))
156 :label
"Additional Rules"
159 "Arbitrary rules and dependencies needed to make this target.
160 It is safe to leave this blank.")
162 "Abstract class for Makefile based targets.")
164 (defvar ede-proj-target-alist
165 '(("program" . ede-proj-target-makefile-program
)
166 ("archive" . ede-proj-target-makefile-archive
)
167 ("sharedobject" . ede-proj-target-makefile-shared-object
)
168 ("emacs lisp" . ede-proj-target-elisp
)
169 ("emacs lisp autoloads" . ede-proj-target-elisp-autoloads
)
170 ("info" . ede-proj-target-makefile-info
)
171 ("auxiliary" . ede-proj-target-aux
)
172 ("scheme" . ede-proj-target-scheme
)
173 ("miscellaneous" . ede-proj-target-makefile-miscelaneous
)
175 "Alist of names to class types for available project target classes.")
177 (defun ede-proj-register-target (name class
)
178 "Register a new target class with NAME and class symbol CLASS.
179 This enables the creation of your target type."
180 (let ((a (assoc name ede-proj-target-alist
)))
183 (setq ede-proj-target-alist
184 (cons (cons name class
) ede-proj-target-alist
)))))
186 (defclass ede-proj-project
(ede-project)
187 ((makefile-type :initarg
:makefile-type
190 :custom
(choice (const Makefile
)
195 :documentation
"The type of Makefile to generate.
196 Can be one of 'Makefile, 'Makefile.in, or 'Makefile.am.
197 If this value is NOT 'Makefile, then that overrides the :makefile slot
199 (variables :initarg
:variables
202 :custom
(repeat (cons (string :tag
"Name")
203 (string :tag
"Value")))
205 :documentation
"Variables to set in this Makefile.")
206 (configuration-variables
207 :initarg
:configuration-variables
208 :initform
("debug" (("DEBUG" .
"1")))
210 :custom
(repeat (cons (string :tag
"Configuration")
212 (cons (string :tag
"Name")
213 (string :tag
"Value")))))
215 :documentation
"Makefile variables to use in different configurations.
216 These variables are used in the makefile when a configuration becomes active.")
217 (inference-rules :initarg
:inference-rules
220 (object :objecttype ede-makefile-rule
))
221 :documentation
"Inference rules to add to the makefile.")
222 (include-file :initarg
:include-file
225 (string :tag
"Include File"))
226 :documentation
"Additional files to include.
227 These files can contain additional rules, variables, and customizations.")
228 (automatic-dependencies
229 :initarg
:automatic-dependencies
233 :group
(default settings
)
235 "Non-nil to do implement automatic dependencies in the Makefile.")
238 [ "Regenerate Makefiles" ede-proj-regenerate t
]
239 [ "Upload Distribution" ede-upload-distribution t
]
243 :initarg
:metasubproject
247 :group
(default settings
)
249 "Non-nil if this is a metasubproject.
250 Usually, a subproject is determined by a parent project. If multiple top level
251 projects are grouped into a large project not maintained by EDE, then you need
252 to set this to non-nil. The only effect is that the `dist' rule will then avoid
255 "The EDE-PROJ project definition class.")
258 (defun ede-proj-load (project &optional rootproj
)
259 "Load a project file from PROJECT directory.
260 If optional ROOTPROJ is provided then ROOTPROJ is the root project
261 for the tree being read in. If ROOTPROJ is nil, then assume that
262 the PROJECT being read in is the root project."
265 (subdirs (directory-files project nil
"[^.].*" nil
)))
266 (set-buffer (get-buffer-create " *tmp proj read*"))
269 (insert-file-contents (concat project
"Project.ede")
271 (goto-char (point-min))
272 (setq ret
(read (current-buffer)))
273 (if (not (eq (car ret
) 'ede-proj-project
))
274 (error "Corrupt project file"))
275 (setq ret
(eval ret
))
276 (oset ret file
(concat project
"Project.ede"))
277 (oset ret directory project
)
278 (oset ret rootproject rootproj
)
280 (kill-buffer " *tmp proj read*"))
282 (let ((sd (file-name-as-directory
283 (expand-file-name (car subdirs
) project
))))
284 (if (and (file-directory-p sd
)
285 (ede-directory-project-p sd
))
287 (cons (ede-proj-load sd
(or rootproj ret
))
288 (oref ret subproj
))))
289 (setq subdirs
(cdr subdirs
))))
292 (defun ede-proj-save (&optional project
)
293 "Write out object PROJECT into its file."
295 (if (not project
) (setq project
(ede-current-project)))
296 (let ((b (set-buffer (get-buffer-create " *tmp proj write*")))
297 (cfn (oref project file
))
298 (cdir (oref project directory
)))
302 (let ((standard-output (current-buffer)))
303 (oset project file
(file-name-nondirectory cfn
))
304 (slot-makeunbound project
:directory
)
305 (object-write project
";; EDE project file."))
308 ;; Restore the :file on exit.
309 (oset project file cfn
)
310 (oset project directory cdir
)
313 (defmethod ede-commit-local-variables ((proj ede-proj-project
))
314 "Commit change to local variables in PROJ."
315 (ede-proj-save proj
))
317 (defmethod eieio-done-customizing ((proj ede-proj-project
))
318 "Call this when a user finishes customizing this object.
319 Argument PROJ is the project to save."
321 (ede-proj-save proj
))
323 (defmethod eieio-done-customizing ((target ede-proj-target
))
324 "Call this when a user finishes customizing this object.
325 Argument TARGET is the project we are completing customization on."
327 (ede-proj-save (ede-current-project)))
329 (defmethod ede-commit-project ((proj ede-proj-project
))
330 "Commit any change to PROJ to its file."
331 (ede-proj-save proj
))
333 (defmethod ede-buffer-mine ((this ede-proj-project
) buffer
)
334 "Return t if object THIS lays claim to the file in BUFFER."
335 (let ((f (ede-convert-path this
(buffer-file-name buffer
))))
336 (or (string= (file-name-nondirectory (oref this file
)) f
)
337 (string= (ede-proj-dist-makefile this
) f
)
338 (string-match "Makefile\\(\\.\\(in\\|am\\)\\)?$" f
)
339 (string-match "config\\(ure\\.in\\|\\.stutus\\)?$" f
)
342 (defmethod ede-buffer-mine ((this ede-proj-target
) buffer
)
343 "Return t if object THIS lays claim to the file in BUFFER."
344 (or (call-next-method)
345 (ede-target-buffer-in-sourcelist this buffer
(oref this auxsource
))))
348 ;;; EDE command functions
350 (defvar ede-proj-target-history nil
351 "History when querying for a target type.")
353 (defmethod project-new-target ((this ede-proj-project
)
354 &optional name type autoadd
)
355 "Create a new target in THIS based on the current buffer."
356 (let* ((name (or name
(read-string "Name: " "")))
358 (completing-read "Type: " ede-proj-target-alist
359 nil t nil
'(ede-proj-target-history .
1))))
361 (src (if (and (buffer-file-name)
362 (if (and autoadd
(stringp autoadd
))
363 (string= autoadd
"y")
364 (y-or-n-p (format "Add %s to %s? " (buffer-name) name
))))
366 (fcn (cdr (assoc type ede-proj-target-alist
)))
370 (error "Unknown target type %s for EDE Project" type
))
372 (setq ot
(funcall fcn name
:name name
373 :path
(ede-convert-path this default-directory
)
375 (list (file-name-nondirectory src
))
377 ;; If we added it, set the local buffer's object.
380 (ede-apply-object-keymap)))
381 ;; Add it to the project object
382 ;;(oset this targets (cons ot (oref this targets)))
383 ;; New form: Add to the end using fancy eieio function.
384 ;; @todone - Some targets probably want to be in the front.
386 ;; @ans - See elisp autoloads for answer
387 (object-add-to-list this
'targets ot t
)
389 (ede-proj-save this
)))
391 (defmethod project-new-target-custom ((this ede-proj-project
))
392 "Create a new target in THIS for custom."
393 (let* ((name (read-string "Name: " ""))
394 (type (completing-read "Type: " ede-proj-target-alist
395 nil t nil
'(ede-proj-target-history .
1))))
396 (funcall (cdr (assoc type ede-proj-target-alist
)) name
:name name
397 :path
(ede-convert-path this default-directory
)
400 (defmethod project-delete-target ((this ede-proj-target
))
401 "Delete the current target THIS from it's parent project."
402 (let ((p (ede-current-project))
403 (ts (oref this source
)))
404 ;; Loop across all sources. If it exists in a buffer,
405 ;; clear it's object.
407 (let* ((default-directory (oref this path
))
408 (b (get-file-buffer (car ts
))))
410 (with-current-buffer b
411 (if (eq ede-object this
)
413 (setq ede-object nil
)
414 (ede-apply-object-keymap))))))
416 ;; Remove THIS from it's parent.
417 ;; The two vectors should be pointer equivalent.
418 (oset p targets
(delq this
(oref p targets
)))
419 (ede-proj-save (ede-current-project))))
421 (defmethod project-add-file ((this ede-proj-target
) file
)
422 "Add to target THIS the current buffer represented as FILE."
423 (let ((file (ede-convert-path this file
))
424 (src (ede-target-sourcecode this
)))
425 (while (and src
(not (ede-want-file-p (car src
) file
)))
426 (setq src
(cdr src
)))
429 (cond ((ede-want-file-source-p this file
)
430 (object-add-to-list this
'source file t
))
431 ((ede-want-file-auxiliary-p this file
)
432 (object-add-to-list this
'auxsource file t
))
433 (t (error "`project-add-file(ede-target)' source mismatch error")))
436 (defmethod project-remove-file ((target ede-proj-target
) file
)
437 "For TARGET, remove FILE.
438 FILE must be massaged by `ede-convert-path'."
439 ;; Speedy delete should be safe.
440 (object-remove-from-list target
'source
(ede-convert-path target file
))
441 (object-remove-from-list target
'auxsource
(ede-convert-path target file
))
444 (defmethod project-update-version ((this ede-proj-project
))
445 "The :version of project THIS has changed."
448 (defmethod project-make-dist ((this ede-proj-project
))
449 "Build a distribution for the project based on THIS target."
450 ;; I'm a lazy bum, so I'll make a makefile for doing this sort
451 ;; of thing, and rely only on that small section of code.
452 (let ((pm (ede-proj-dist-makefile this
))
453 (df (project-dist-files this
)))
454 (if (and (file-exists-p (car df
))
455 (not (y-or-n-p "Dist file already exists. Rebuild? ")))
456 (error "Try `ede-update-version' before making a distribution"))
457 (ede-proj-setup-buildenvironment this
)
458 (if (string= (file-name-nondirectory pm
) "Makefile.am")
459 (setq pm
(expand-file-name "Makefile"
460 (file-name-directory pm
))))
461 (compile (concat ede-make-command
" -f " pm
" dist"))))
463 (defmethod project-dist-files ((this ede-proj-project
))
464 "Return a list of files that constitutes a distribution of THIS project."
466 ;; Note to self, keep this first for the above fn to check against.
467 (concat (oref this name
) "-" (oref this version
) ".tar.gz")
470 (defmethod project-compile-project ((proj ede-proj-project
) &optional command
)
471 "Compile the entire current project PROJ.
472 Argument COMMAND is the command to use when compiling."
473 (let ((pm (ede-proj-dist-makefile proj
))
474 (default-directory (file-name-directory (oref proj file
))))
475 (ede-proj-setup-buildenvironment proj
)
476 (if (string= (file-name-nondirectory pm
) "Makefile.am")
477 (setq pm
(expand-file-name "Makefile"
478 (file-name-directory pm
))))
479 (compile (concat ede-make-command
" -f " pm
" all"))))
481 ;;; Target type specific compilations/debug
483 (defmethod project-compile-target ((obj ede-proj-target
) &optional command
)
484 "Compile the current target OBJ.
485 Argument COMMAND is the command to use for compiling the target."
486 (project-compile-project (ede-current-project) command
))
488 (defmethod project-compile-target ((obj ede-proj-target-makefile
)
490 "Compile the current target program OBJ.
491 Optional argument COMMAND is the s the alternate command to use."
492 (ede-proj-setup-buildenvironment (ede-current-project))
493 (compile (concat ede-make-command
" -f " (oref obj makefile
) " "
494 (ede-proj-makefile-target-name obj
))))
496 (defmethod project-debug-target ((obj ede-proj-target
))
497 "Run the current project target OBJ in a debugger."
498 (error "Debug-target not supported by %s" (object-name obj
)))
500 (defmethod project-run-target ((obj ede-proj-target
))
501 "Run the current project target OBJ."
502 (error "Run-target not supported by %s" (object-name obj
)))
504 (defmethod ede-proj-makefile-target-name ((this ede-proj-target
))
505 "Return the name of the main target for THIS target."
508 ;;; Compiler and source code generators
510 (defmethod ede-want-file-auxiliary-p ((this ede-target
) file
)
511 "Return non-nil if THIS target wants FILE."
512 ;; By default, all targets reference the source object, and let it decide.
513 (let ((src (ede-target-sourcecode this
)))
514 (while (and src
(not (ede-want-file-auxiliary-p (car src
) file
)))
515 (setq src
(cdr src
)))
518 (defmethod ede-proj-compilers ((obj ede-proj-target
))
519 "List of compilers being used by OBJ.
520 If the `compiler' slot is empty, concoct one on a first match found
521 basis for any given type from the `availablecompilers' slot.
522 Otherwise, return the `compiler' slot.
523 Converts all symbols into the objects to be used."
524 (when (slot-exists-p obj
'compiler
)
525 (let ((comp (oref obj compiler
)))
527 ;; Now that we have a pre-set compilers to use, convert tye symbols
528 ;; into objects for ease of use
530 (setq comp
(mapcar 'symbol-value comp
))
531 (setq comp
(list (symbol-value comp
))))
532 (let* ((acomp (oref obj availablecompilers
))
533 (avail (mapcar 'symbol-value acomp
))
534 (st (oref obj sourcetype
))
535 (sources (oref obj source
)))
536 ;; COMP is not specified, so generate a list from the available
539 (if (ede-want-any-source-files-p (symbol-value (car st
)) sources
)
540 (let ((c (ede-proj-find-compiler avail
(car st
))))
541 (if c
(setq comp
(cons c comp
)))))
542 (setq st
(cdr st
)))))
543 ;; Return the disovered compilers
546 (defmethod ede-proj-linkers ((obj ede-proj-target
))
547 "List of linkers being used by OBJ.
548 If the `linker' slot is empty, concoct one on a first match found
549 basis for any given type from the `availablelinkers' slot.
550 Otherwise, return the `linker' slot.
551 Converts all symbols into the objects to be used."
552 (when (slot-exists-p obj
'linker
)
553 (let ((link (oref obj linker
)))
555 ;; Now that we have a pre-set linkers to use, convert type symbols
556 ;; into objects for ease of use
558 (setq link
(list (symbol-value link
)))
559 (error ":linker is not a symbol. Howd you do that?"))
560 (let* ((alink (oref obj availablelinkers
))
561 (avail (mapcar 'symbol-value alink
))
562 (st (oref obj sourcetype
))
563 (sources (oref obj source
)))
564 ;; LINKER is not specified, so generate a list from the available
567 (if (ede-want-any-source-files-p (symbol-value (car st
)) sources
)
568 (let ((c (ede-proj-find-linker avail
(car st
))))
569 (if c
(setq link
(cons c link
)))))
572 ;; No linker stands out! Loop over our linkers and pull out
573 ;; the first that has no source type requirement.
574 (while (and avail
(not (eieio-instance-inheritor-slot-boundp (car avail
) 'sourcetype
)))
575 (setq avail
(cdr avail
)))
576 (setq link
(cdr avail
)))))
577 ;; Return the disovered linkers
581 ;;; Target type specific autogenerating gobbldegook.
584 (defun ede-proj-makefile-type (&optional proj
)
585 "Makefile type of the current project PROJ."
586 (oref (or proj
(ede-current-project)) makefile-type
))
588 (defun ede-proj-automake-p (&optional proj
)
589 "Return non-nil if the current project PROJ is automake mode."
590 (eq (ede-proj-makefile-type proj
) 'Makefile.am
))
592 (defun ede-proj-autoconf-p (&optional proj
)
593 "Return non-nil if the current project PROJ is automake mode."
594 (eq (ede-proj-makefile-type proj
) 'Makefile.in
))
596 (defun ede-proj-make-p (&optional proj
)
597 "Return non-nil if the current project PROJ is automake mode."
598 (eq (ede-proj-makefile-type proj
) 'Makefile
))
600 (defmethod ede-proj-dist-makefile ((this ede-proj-project
))
601 "Return the name of the Makefile with the DIST target in it for THIS."
602 (cond ((eq (oref this makefile-type
) 'Makefile.am
)
603 (concat (file-name-directory (oref this file
))
605 ((eq (oref this makefile-type
) 'Makefile.in
)
606 (expand-file-name "Makefile.in"
607 (file-name-directory (oref this file
))))
608 ((object-assoc "Makefile" 'makefile
(oref this targets
))
609 (expand-file-name "Makefile"
610 (file-name-directory (oref this file
))))
612 (let ((targets (oref this targets
)))
616 'ede-proj-target-makefile
)))
617 (setq targets
(cdr targets
)))
618 (if targets
(oref (car targets
) makefile
)
619 (expand-file-name "Makefile"
620 (file-name-directory (oref this file
))))))))
622 (defun ede-proj-regenerate ()
623 "Regenerate Makefiles for and edeproject project."
625 (ede-proj-setup-buildenvironment (ede-current-project) t
))
627 (defmethod ede-proj-makefile-create-maybe ((this ede-proj-project
) mfilename
)
628 "Create a Makefile for all Makefile targets in THIS if needed.
629 MFILENAME is the makefile to generate."
630 ;; For now, pass through until dirty is implemented.
632 (if (or (not (file-exists-p mfilename
))
633 (file-newer-than-file-p (oref this file
) mfilename
))
634 (ede-proj-makefile-create this mfilename
)))
636 (defmethod ede-proj-setup-buildenvironment ((this ede-proj-project
)
638 "Setup the build environment for project THIS.
639 Handles the Makefile, or a Makefile.am configure.in combination.
640 Optional argument FORCE will force items to be regenerated."
642 (ede-proj-makefile-create-maybe this
(ede-proj-dist-makefile this
))
644 (ede-proj-makefile-create this
(ede-proj-dist-makefile this
)))
645 ;; Rebuild all subprojects
647 this
(lambda (sproj) (ede-proj-setup-buildenvironment sproj force
)))
648 ;; Autoconf projects need to do other kinds of initializations.
649 (when (and (ede-proj-automake-p this
)
650 (eq this
(ede-toplevel this
)))
652 ;; If the user wants to force this, do it some other way?
653 (ede-proj-configure-synchronize this
)
654 ;; Now run automake to fill in the blanks, autoconf, and other
655 ;; auto thingies so that we can just say "make" when done.
660 ;;; Lower level overloads
662 (defmethod project-rescan ((this ede-proj-project
))
663 "Rescan the EDE proj project THIS."
664 (let ((root (or (ede-project-root this
) this
))
666 (setq ede-projects
(delq root ede-projects
))
667 (ede-proj-load (ede-project-root-directory root
))
670 (defmethod project-rescan ((this ede-proj-target
) readstream
)
671 "Rescan target THIS from the read list READSTREAM."
672 (setq readstream
(cdr (cdr readstream
))) ;; constructor/name
674 (let ((tag (car readstream
))
675 (val (car (cdr readstream
))))
676 (eieio-oset this tag val
))
677 (setq readstream
(cdr (cdr readstream
)))))
681 ;; arch-tag: eb8a40f8-0d2c-41c4-b273-af04101d1cdf
682 ;;; ede/proj.el ends here