aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Engster2017-01-25 23:12:00 +0100
committerDavid Engster2017-01-25 23:14:29 +0100
commitd2a57bdfec4758cf7607e7976106cd1bfee5f6d7 (patch)
treed4f4948e6a2247d9c4270c207d9afeef7928e2b1
parent9c2feacc8558a8cc8e6d89ecd8473f9a3524d9ef (diff)
downloademacs-d2a57bdfec4758cf7607e7976106cd1bfee5f6d7.tar.gz
emacs-d2a57bdfec4758cf7607e7976106cd1bfee5f6d7.zip
CEDET: Fix "unknown slot [...]" warningsscratch/last-cedet-merge
Replace (oref OBJECT :SLOT) with (slot-value OBJECT 'SLOT). TODO: ChangeLog
-rw-r--r--lisp/cedet/ede/base.el12
-rw-r--r--lisp/cedet/ede/config.el14
-rw-r--r--lisp/cedet/ede/cpp-root.el10
-rw-r--r--lisp/cedet/ede/files.el22
-rw-r--r--lisp/cedet/ede/project-am.el46
-rw-r--r--lisp/cedet/ede/shell.el2
-rw-r--r--lisp/cedet/ede/util.el2
-rw-r--r--lisp/cedet/semantic/analyze.el10
-rw-r--r--lisp/cedet/semantic/analyze/debug.el2
-rw-r--r--lisp/cedet/semantic/analyze/refs.el4
-rw-r--r--lisp/cedet/semantic/bovine/make.el4
-rw-r--r--lisp/cedet/semantic/complete.el2
-rw-r--r--lisp/cedet/semantic/db-global.el2
-rw-r--r--lisp/cedet/semantic/db-typecache.el2
-rw-r--r--lisp/cedet/semantic/debug.el4
-rw-r--r--lisp/cedet/semantic/decorate/include.el6
-rw-r--r--lisp/cedet/semantic/grammar.el2
-rw-r--r--lisp/cedet/semantic/mru-bookmark.el2
-rw-r--r--lisp/cedet/semantic/symref/cscope.el16
-rw-r--r--lisp/cedet/semantic/symref/global.el14
-rw-r--r--lisp/cedet/semantic/symref/grep.el12
-rw-r--r--lisp/cedet/semantic/symref/idutils.el14
-rw-r--r--lisp/cedet/semantic/symref/list.el2
-rw-r--r--lisp/cedet/semantic/texi.el6
-rw-r--r--lisp/cedet/srecode/args.el2
-rw-r--r--lisp/cedet/srecode/compile.el8
-rw-r--r--lisp/cedet/srecode/cpp.el2
-rw-r--r--lisp/cedet/srecode/dictionary.el6
-rw-r--r--lisp/cedet/srecode/el.el2
-rw-r--r--lisp/cedet/srecode/extract.el8
-rw-r--r--lisp/cedet/srecode/find.el18
-rw-r--r--lisp/cedet/srecode/insert.el42
-rw-r--r--lisp/cedet/srecode/mode.el10
-rw-r--r--lisp/cedet/srecode/semantic.el6
-rw-r--r--lisp/cedet/srecode/srt-mode.el10
-rw-r--r--lisp/cedet/srecode/table.el22
-rw-r--r--lisp/cedet/srecode/texi.el2
37 files changed, 175 insertions, 175 deletions
diff --git a/lisp/cedet/ede/base.el b/lisp/cedet/ede/base.el
index 13d721a5f9a..dd72397da27 100644
--- a/lisp/cedet/ede/base.el
+++ b/lisp/cedet/ede/base.el
@@ -628,15 +628,15 @@ instead of the current project."
628The other slot will be used to calculate values. 628The other slot will be used to calculate values.
629PROJECT-FILE-NAME is a name of project file (short name, like `pom.xml', etc." 629PROJECT-FILE-NAME is a name of project file (short name, like `pom.xml', etc."
630 (when (and (or (not (slot-boundp this :file)) 630 (when (and (or (not (slot-boundp this :file))
631 (not (oref this :file))) 631 (not (slot-value this 'file)))
632 (slot-boundp this :directory) 632 (slot-boundp this :directory)
633 (oref this :directory)) 633 (slot-value this 'directory))
634 (oset this :file (expand-file-name project-file-name (oref this :directory)))) 634 (oset this :file (expand-file-name project-file-name (slot-value this 'directory))))
635 (when (and (or (not (slot-boundp this :directory)) 635 (when (and (or (not (slot-boundp this :directory))
636 (not (oref this :directory))) 636 (not (slot-value this 'directory)))
637 (slot-boundp this :file) 637 (slot-boundp this :file)
638 (oref this :file)) 638 (slot-value this 'file))
639 (oset this :directory (file-name-directory (oref this :file)))) 639 (oset this :directory (file-name-directory (slot-value this 'file))))
640 ) 640 )
641 641
642 642
diff --git a/lisp/cedet/ede/config.el b/lisp/cedet/ede/config.el
index 75d0197dffd..011ef7c7054 100644
--- a/lisp/cedet/ede/config.el
+++ b/lisp/cedet/ede/config.el
@@ -143,7 +143,7 @@ the directory isn't on the `safe' list, ask to add it to the safe list."
143 (setq config nil)) 143 (setq config nil))
144 144
145 (when (not config) 145 (when (not config)
146 (let* ((top (oref proj :directory)) 146 (let* ((top (slot-value proj 'directory))
147 (fname (expand-file-name (oref proj config-file-basename) top)) 147 (fname (expand-file-name (oref proj config-file-basename) top))
148 (class (oref proj config-class)) 148 (class (oref proj config-class))
149 (ignore-type nil)) 149 (ignore-type nil))
@@ -262,7 +262,7 @@ programs from a project.")
262 "Run the current project derived from TARGET in a debugger." 262 "Run the current project derived from TARGET in a debugger."
263 (let* ((proj (ede-target-parent target)) 263 (let* ((proj (ede-target-parent target))
264 (config (ede-config-get-configuration proj t)) 264 (config (ede-config-get-configuration proj t))
265 (debug (oref config :debug-command)) 265 (debug (slot-value config 'debug-command))
266 (cmd (read-from-minibuffer 266 (cmd (read-from-minibuffer
267 "Debug Command: " 267 "Debug Command: "
268 debug)) 268 debug))
@@ -279,7 +279,7 @@ programs from a project.")
279 "Run the current project derived from TARGET." 279 "Run the current project derived from TARGET."
280 (let* ((proj (ede-target-parent target)) 280 (let* ((proj (ede-target-parent target))
281 (config (ede-config-get-configuration proj t)) 281 (config (ede-config-get-configuration proj t))
282 (run (concat "./" (oref config :run-command))) 282 (run (concat "./" (slot-value config 'run-command)))
283 (cmd (read-from-minibuffer "Run (like this): " run))) 283 (cmd (read-from-minibuffer "Run (like this): " run)))
284 (ede-shell-run-something target cmd))) 284 (ede-shell-run-something target cmd)))
285 285
@@ -310,7 +310,7 @@ This class brings in method overloads for for building.")
310 "Compile the entire current project PROJ. 310 "Compile the entire current project PROJ.
311Argument COMMAND is the command to use when compiling." 311Argument COMMAND is the command to use when compiling."
312 (let* ((config (ede-config-get-configuration proj t)) 312 (let* ((config (ede-config-get-configuration proj t))
313 (comp (oref config :build-command))) 313 (comp (slot-value config 'build-command)))
314 (compile comp))) 314 (compile comp)))
315 315
316(cl-defmethod project-compile-target ((obj ede-target-with-config-build) &optional command) 316(cl-defmethod project-compile-target ((obj ede-target-with-config-build) &optional command)
@@ -379,7 +379,7 @@ the preprocessor map, and include paths.")
379 filemap 379 filemap
380 ) 380 )
381 ;; Preprocessor files 381 ;; Preprocessor files
382 (dolist (G (oref config :c-preprocessor-files)) 382 (dolist (G (slot-value config 'c-preprocessor-files))
383 (let ((table (semanticdb-file-table-object 383 (let ((table (semanticdb-file-table-object
384 (ede-expand-filename root G)))) 384 (ede-expand-filename root G))))
385 (when table 385 (when table
@@ -388,7 +388,7 @@ the preprocessor map, and include paths.")
388 (setq filemap (append filemap (oref table lexical-table))) 388 (setq filemap (append filemap (oref table lexical-table)))
389 ))) 389 )))
390 ;; The core table 390 ;; The core table
391 (setq filemap (append filemap (oref config :c-preprocessor-table))) 391 (setq filemap (append filemap (slot-value config 'c-preprocessor-table)))
392 392
393 filemap 393 filemap
394 )) 394 ))
@@ -417,7 +417,7 @@ java class path.")
417 417
418(cl-defmethod ede-java-classpath ((proj ede-project-with-config-java)) 418(cl-defmethod ede-java-classpath ((proj ede-project-with-config-java))
419 "Return the classpath for this project." 419 "Return the classpath for this project."
420 (oref (ede-config-get-configuration proj) :classpath)) 420 (slot-value (ede-config-get-configuration proj) 'classpath))
421 421
422;; Local variables: 422;; Local variables:
423;; generated-autoload-file: "loaddefs.el" 423;; generated-autoload-file: "loaddefs.el"
diff --git a/lisp/cedet/ede/cpp-root.el b/lisp/cedet/ede/cpp-root.el
index 319854e07c4..9e56fc6c6fa 100644
--- a/lisp/cedet/ede/cpp-root.el
+++ b/lisp/cedet/ede/cpp-root.el
@@ -281,7 +281,7 @@ Each directory needs a project file to control it.")
281 "Make sure the :file is fully expanded." 281 "Make sure the :file is fully expanded."
282 ;; Add ourselves to the master list 282 ;; Add ourselves to the master list
283 (cl-call-next-method) 283 (cl-call-next-method)
284 (let ((f (expand-file-name (oref this :file)))) 284 (let ((f (expand-file-name (slot-value this 'file))))
285 ;; Remove any previous entries from the main list. 285 ;; Remove any previous entries from the main list.
286 (let ((old (eieio-instance-tracker-find (file-name-directory f) 286 (let ((old (eieio-instance-tracker-find (file-name-directory f)
287 :directory 'ede-cpp-root-project-list))) 287 :directory 'ede-cpp-root-project-list)))
@@ -457,8 +457,8 @@ This is for project include paths and spp source files."
457 "Compile the entire current project PROJ. 457 "Compile the entire current project PROJ.
458Argument COMMAND is the command to use when compiling." 458Argument COMMAND is the command to use when compiling."
459 ;; we need to be in the proj root dir for this to work 459 ;; we need to be in the proj root dir for this to work
460 (let* ((cmd (oref proj :compile-command)) 460 (let* ((cmd (slot-value proj 'compile-command))
461 (ov (oref proj :local-variables)) 461 (ov (slot-value proj 'local-variables))
462 (lcmd (when ov (cdr (assoc 'compile-command ov)))) 462 (lcmd (when ov (cdr (assoc 'compile-command ov))))
463 (cmd-str (cond 463 (cmd-str (cond
464 ((stringp cmd) cmd) 464 ((stringp cmd) cmd)
@@ -472,8 +472,8 @@ Argument COMMAND is the command to use when compiling."
472(cl-defmethod project-compile-target ((obj ede-cpp-root-target) &optional command) 472(cl-defmethod project-compile-target ((obj ede-cpp-root-target) &optional command)
473 "Compile the current target OBJ. 473 "Compile the current target OBJ.
474Argument COMMAND is the command to use for compiling the target." 474Argument COMMAND is the command to use for compiling the target."
475 (when (oref obj :project) 475 (when (slot-value obj 'project)
476 (project-compile-project (oref obj :project) command))) 476 (project-compile-project (slot-value obj 'project) command)))
477 477
478 478
479(cl-defmethod project-rescan ((this ede-cpp-root-project)) 479(cl-defmethod project-rescan ((this ede-cpp-root-project))
diff --git a/lisp/cedet/ede/files.el b/lisp/cedet/ede/files.el
index 01a536aac43..559ddf06d6e 100644
--- a/lisp/cedet/ede/files.el
+++ b/lisp/cedet/ede/files.el
@@ -72,9 +72,9 @@ the current EDE project."
72 (interactive) 72 (interactive)
73 (let ((scanned nil)) 73 (let ((scanned nil))
74 (dolist (P ede-projects) 74 (dolist (P ede-projects)
75 (if (member (oref P :directory) scanned) 75 (if (member (slot-value P 'directory) scanned)
76 (error "Duplicate project (by dir) found in %s!" (oref P :directory)) 76 (error "Duplicate project (by dir) found in %s!" (slot-value P 'directory))
77 (push (oref P :directory) scanned))) 77 (push (slot-value P 'directory) scanned)))
78 (unless ede--disable-inode 78 (unless ede--disable-inode
79 (setq scanned nil) 79 (setq scanned nil)
80 (dolist (P ede-projects) 80 (dolist (P ede-projects)
@@ -136,7 +136,7 @@ of the anchor file for the project."
136 "Get the inode of the directory project PROJ is in." 136 "Get the inode of the directory project PROJ is in."
137 (if (slot-boundp proj 'dirinode) 137 (if (slot-boundp proj 'dirinode)
138 (oref proj dirinode) 138 (oref proj dirinode)
139 (oset proj dirinode (ede--inode-for-dir (oref proj :directory))))) 139 (oset proj dirinode (ede--inode-for-dir (slot-value proj 'directory)))))
140 140
141(defun ede--inode-get-toplevel-open-project (inode) 141(defun ede--inode-get-toplevel-open-project (inode)
142 "Return an already open toplevel project that is managing INODE. 142 "Return an already open toplevel project that is managing INODE.
@@ -175,7 +175,7 @@ If DIR is the root project, then it is the same."
175 (when rootreturn (set rootreturn proj)) 175 (when rootreturn (set rootreturn proj))
176 ;; Find subprojects. 176 ;; Find subprojects.
177 (when (and proj (if ede--disable-inode 177 (when (and proj (if ede--disable-inode
178 (not (string= ft (expand-file-name (oref proj :directory)))) 178 (not (string= ft (expand-file-name (slot-value proj 'directory))))
179 (not (equal inode (ede--project-inode proj))))) 179 (not (equal inode (ede--project-inode proj)))))
180 (setq ans (ede-find-subproject-for-directory proj ft))) 180 (setq ans (ede-find-subproject-for-directory proj ft)))
181 ans)) 181 ans))
@@ -191,7 +191,7 @@ If optional EXACT is non-nil, only return exact matches for DIR."
191 (shortans nil)) 191 (shortans nil))
192 (while (and all (not ans)) 192 (while (and all (not ans))
193 ;; Do the check. 193 ;; Do the check.
194 (let ((pd (expand-file-name (oref (car all) :directory))) 194 (let ((pd (expand-file-name (slot-value (car all) 'directory)))
195 ) 195 )
196 (cond 196 (cond
197 ;; Exact text match. 197 ;; Exact text match.
@@ -203,7 +203,7 @@ If optional EXACT is non-nil, only return exact matches for DIR."
203 (setq shortans (car all)) 203 (setq shortans (car all))
204 ;; We already have a short answer, so see if pd (the match we found) 204 ;; We already have a short answer, so see if pd (the match we found)
205 ;; is longer. If it is longer, then it is more precise. 205 ;; is longer. If it is longer, then it is more precise.
206 (when (< (length (oref shortans :directory)) 206 (when (< (length (slot-value shortans 'directory))
207 (length pd)) 207 (length pd))
208 (setq shortans (car all)))) 208 (setq shortans (car all))))
209 ) 209 )
@@ -224,7 +224,7 @@ If optional EXACT is non-nil, only return exact matches for DIR."
224 (setq shortans (car all)) 224 (setq shortans (car all))
225 ;; We already have a short answer, so see if pd (the match we found) 225 ;; We already have a short answer, so see if pd (the match we found)
226 ;; is longer. If it is longer, then it is more precise. 226 ;; is longer. If it is longer, then it is more precise.
227 (when (< (length (expand-file-name (oref shortans :directory))) 227 (when (< (length (expand-file-name (slot-value shortans 'directory)))
228 (length pd)) 228 (length pd))
229 (setq shortans (car all)))) 229 (setq shortans (car all))))
230 ))) 230 )))
@@ -244,7 +244,7 @@ If optional EXACT is non-nil, only return exact matches for DIR."
244 proj 244 proj
245 (lambda (SP) 245 (lambda (SP)
246 (when (not ans) 246 (when (not ans)
247 (if (string= fulldir (file-truename (oref SP :directory))) 247 (if (string= fulldir (file-truename (slot-value SP 'directory)))
248 (setq ans SP) 248 (setq ans SP)
249 (ede-find-subproject-for-directory SP dir))))) 249 (ede-find-subproject-for-directory SP dir)))))
250 ans) 250 ans)
@@ -374,11 +374,11 @@ If DIR is not part of a project, return nil."
374 ((and (string= dir default-directory) 374 ((and (string= dir default-directory)
375 ede-object-root-project) 375 ede-object-root-project)
376 ;; Try the local buffer cache first. 376 ;; Try the local buffer cache first.
377 (oref ede-object-root-project :directory)) 377 (slot-value ede-object-root-project 'directory))
378 378
379 ;; See if there is an existing project in DIR. 379 ;; See if there is an existing project in DIR.
380 ((setq ans (ede-directory-get-toplevel-open-project dir)) 380 ((setq ans (ede-directory-get-toplevel-open-project dir))
381 (oref ans :directory)) 381 (slot-value ans 'directory))
382 382
383 ;; Detect using our file system detector. 383 ;; Detect using our file system detector.
384 ((setq ans (ede-detect-directory-for-project dir)) 384 ((setq ans (ede-detect-directory-for-project dir))
diff --git a/lisp/cedet/ede/project-am.el b/lisp/cedet/ede/project-am.el
index 86b707a99f5..ea5ac2947fd 100644
--- a/lisp/cedet/ede/project-am.el
+++ b/lisp/cedet/ede/project-am.el
@@ -659,11 +659,11 @@ Strip out duplicates, and recurse on variables."
659 (mapc (lambda (sp) 659 (mapc (lambda (sp)
660 (let* ((subdir (file-name-as-directory 660 (let* ((subdir (file-name-as-directory
661 (expand-file-name 661 (expand-file-name
662 sp (file-name-directory (oref this :file))))) 662 sp (file-name-directory (slot-value this 'file)))))
663 (submake (expand-file-name 663 (submake (expand-file-name
664 "Makefile.am" 664 "Makefile.am"
665 subdir))) 665 subdir)))
666 (if (string= submake (oref this :file)) 666 (if (string= submake (slot-value this 'file))
667 nil ;; don't recurse.. please! 667 nil ;; don't recurse.. please!
668 ;; For each project id found, see if we need to recycle, 668 ;; For each project id found, see if we need to recycle,
669 ;; and if we do not, then make a new one. Check the deep 669 ;; and if we do not, then make a new one. Check the deep
@@ -695,16 +695,16 @@ Strip out duplicates, and recurse on variables."
695(cl-defmethod project-rescan ((this project-am-program)) 695(cl-defmethod project-rescan ((this project-am-program))
696 "Rescan object THIS." 696 "Rescan object THIS."
697 (oset this :source (makefile-macro-file-list (project-am-macro this))) 697 (oset this :source (makefile-macro-file-list (project-am-macro this)))
698 (unless (oref this :source) 698 (unless (slot-value this 'source)
699 (oset this :source (list (concat (oref this :name) ".c")))) 699 (oset this :source (list (concat (slot-value this 'name) ".c"))))
700 (oset this :ldadd (makefile-macro-file-list 700 (oset this :ldadd (makefile-macro-file-list
701 (concat (oref this :name) "_LDADD")))) 701 (concat (slot-value this 'name) "_LDADD"))))
702 702
703(cl-defmethod project-rescan ((this project-am-lib)) 703(cl-defmethod project-rescan ((this project-am-lib))
704 "Rescan object THIS." 704 "Rescan object THIS."
705 (oset this :source (makefile-macro-file-list (project-am-macro this))) 705 (oset this :source (makefile-macro-file-list (project-am-macro this)))
706 (unless (oref this :source) 706 (unless (slot-value this 'source)
707 (oset this :source (list (concat (file-name-sans-extension (oref this :name)) ".c"))))) 707 (oset this :source (list (concat (file-name-sans-extension (slot-value this 'name)) ".c")))))
708 708
709(cl-defmethod project-rescan ((this project-am-texinfo)) 709(cl-defmethod project-rescan ((this project-am-texinfo))
710 "Rescan object THIS." 710 "Rescan object THIS."
@@ -732,7 +732,7 @@ Strip out duplicates, and recurse on variables."
732 732
733(cl-defmethod project-am-macro ((this project-am-objectcode)) 733(cl-defmethod project-am-macro ((this project-am-objectcode))
734 "Return the default macro to `edit' for this object type." 734 "Return the default macro to `edit' for this object type."
735 (concat (subst-char-in-string ?- ?_ (oref this :name)) "_SOURCES")) 735 (concat (subst-char-in-string ?- ?_ (slot-value this 'name)) "_SOURCES"))
736 736
737(cl-defmethod project-am-macro ((this project-am-header-noinst)) 737(cl-defmethod project-am-macro ((this project-am-header-noinst))
738 "Return the default macro to `edit' for this object." 738 "Return the default macro to `edit' for this object."
@@ -752,11 +752,11 @@ Strip out duplicates, and recurse on variables."
752 752
753(cl-defmethod project-am-macro ((this project-am-texinfo)) 753(cl-defmethod project-am-macro ((this project-am-texinfo))
754 "Return the default macro to `edit' for this object type." 754 "Return the default macro to `edit' for this object type."
755 (concat (file-name-sans-extension (oref this :name)) "_TEXINFOS")) 755 (concat (file-name-sans-extension (slot-value this 'name)) "_TEXINFOS"))
756 756
757(cl-defmethod project-am-macro ((this project-am-man)) 757(cl-defmethod project-am-macro ((this project-am-man))
758 "Return the default macro to `edit' for this object type." 758 "Return the default macro to `edit' for this object type."
759 (oref this :name)) 759 (slot-value this 'name))
760 760
761(cl-defmethod project-am-macro ((this project-am-lisp)) 761(cl-defmethod project-am-macro ((this project-am-lisp))
762 "Return the default macro to `edit' for this object." 762 "Return the default macro to `edit' for this object."
@@ -784,7 +784,7 @@ nil means that this buffer belongs to no-one."
784(cl-defmethod ede-buffer-mine ((this project-am-makefile) buffer) 784(cl-defmethod ede-buffer-mine ((this project-am-makefile) buffer)
785 "Return t if object THIS lays claim to the file in BUFFER." 785 "Return t if object THIS lays claim to the file in BUFFER."
786 (let ((efn (expand-file-name (buffer-file-name buffer)))) 786 (let ((efn (expand-file-name (buffer-file-name buffer))))
787 (or (string= (oref this :file) efn) 787 (or (string= (slot-value this 'file) efn)
788 (string-match "/configure\\.ac$" efn) 788 (string-match "/configure\\.ac$" efn)
789 (string-match "/configure\\.in$" efn) 789 (string-match "/configure\\.in$" efn)
790 (string-match "/configure$" efn) 790 (string-match "/configure$" efn)
@@ -798,25 +798,25 @@ nil means that this buffer belongs to no-one."
798 798
799(cl-defmethod ede-buffer-mine ((this project-am-objectcode) buffer) 799(cl-defmethod ede-buffer-mine ((this project-am-objectcode) buffer)
800 "Return t if object THIS lays claim to the file in BUFFER." 800 "Return t if object THIS lays claim to the file in BUFFER."
801 (member (file-relative-name (buffer-file-name buffer) (oref this :path)) 801 (member (file-relative-name (buffer-file-name buffer) (slot-value this 'path))
802 (oref this :source))) 802 (slot-value this 'source)))
803 803
804(cl-defmethod ede-buffer-mine ((this project-am-texinfo) buffer) 804(cl-defmethod ede-buffer-mine ((this project-am-texinfo) buffer)
805 "Return t if object THIS lays claim to the file in BUFFER." 805 "Return t if object THIS lays claim to the file in BUFFER."
806 (let ((bfn (file-relative-name (buffer-file-name buffer) 806 (let ((bfn (file-relative-name (buffer-file-name buffer)
807 (oref this :path)))) 807 (slot-value this 'path))))
808 (or (string= (oref this :name) bfn) 808 (or (string= (slot-value this 'name) bfn)
809 (member bfn (oref this :include))))) 809 (member bfn (slot-value this 'include)))))
810 810
811(cl-defmethod ede-buffer-mine ((this project-am-man) buffer) 811(cl-defmethod ede-buffer-mine ((this project-am-man) buffer)
812 "Return t if object THIS lays claim to the file in BUFFER." 812 "Return t if object THIS lays claim to the file in BUFFER."
813 (string= (oref this :name) 813 (string= (slot-value this 'name)
814 (file-relative-name (buffer-file-name buffer) (oref this :path)))) 814 (file-relative-name (buffer-file-name buffer) (slot-value this 'path))))
815 815
816(cl-defmethod ede-buffer-mine ((this project-am-lisp) buffer) 816(cl-defmethod ede-buffer-mine ((this project-am-lisp) buffer)
817 "Return t if object THIS lays claim to the file in BUFFER." 817 "Return t if object THIS lays claim to the file in BUFFER."
818 (member (file-relative-name (buffer-file-name buffer) (oref this :path)) 818 (member (file-relative-name (buffer-file-name buffer) (slot-value this 'path))
819 (oref this :source))) 819 (slot-value this 'source)))
820 820
821(cl-defmethod project-am-subtree ((ampf project-am-makefile) subdir) 821(cl-defmethod project-am-subtree ((ampf project-am-makefile) subdir)
822 "Return the sub project in AMPF specified by SUBDIR." 822 "Return the sub project in AMPF specified by SUBDIR."
@@ -829,11 +829,11 @@ nil means that this buffer belongs to no-one."
829 829
830(cl-defmethod project-compile-target-command ((this project-am-objectcode)) 830(cl-defmethod project-compile-target-command ((this project-am-objectcode))
831 "Default target to use when compiling an object code target." 831 "Default target to use when compiling an object code target."
832 (oref this :name)) 832 (slot-value this 'name))
833 833
834(cl-defmethod project-compile-target-command ((this project-am-texinfo)) 834(cl-defmethod project-compile-target-command ((this project-am-texinfo))
835 "Default target t- use when compiling a texinfo file." 835 "Default target t- use when compiling a texinfo file."
836 (let ((n (oref this :name))) 836 (let ((n (slot-value this 'name)))
837 (if (string-match "\\.texi?\\(nfo\\)?" n) 837 (if (string-match "\\.texi?\\(nfo\\)?" n)
838 (setq n (replace-match ".info" t t n))) 838 (setq n (replace-match ".info" t t n)))
839 n)) 839 n))
@@ -993,7 +993,7 @@ Kill the Configure buffer if it was not already in a buffer."
993 "Get the package information for directory topmost project dir over DIR. 993 "Get the package information for directory topmost project dir over DIR.
994Calculates the info with `project-am-extract-package-info'." 994Calculates the info with `project-am-extract-package-info'."
995 (let ((top (ede-toplevel))) 995 (let ((top (ede-toplevel)))
996 (when top (setq dir (oref top :directory))) 996 (when top (setq dir (slot-value top 'directory)))
997 (project-am-extract-package-info dir))) 997 (project-am-extract-package-info dir)))
998 998
999;; for simple per project include path extension 999;; for simple per project include path extension
diff --git a/lisp/cedet/ede/shell.el b/lisp/cedet/ede/shell.el
index 37beea0b427..dfb7a795515 100644
--- a/lisp/cedet/ede/shell.el
+++ b/lisp/cedet/ede/shell.el
@@ -38,7 +38,7 @@
38COMMAND is a text string representing the thing to be run." 38COMMAND is a text string representing the thing to be run."
39 (let* ((buff (ede-shell-buffer target)) 39 (let* ((buff (ede-shell-buffer target))
40 (cp (ede-target-parent target)) 40 (cp (ede-target-parent target))
41 (dd (oref cp :directory))) 41 (dd (slot-value cp 'directory)))
42 ;; Show the new buffer. 42 ;; Show the new buffer.
43 (when (not (get-buffer-window buff)) 43 (when (not (get-buffer-window buff))
44 (switch-to-buffer-other-window buff t)) 44 (switch-to-buffer-other-window buff t))
diff --git a/lisp/cedet/ede/util.el b/lisp/cedet/ede/util.el
index eb364d7eafb..c059257ef29 100644
--- a/lisp/cedet/ede/util.el
+++ b/lisp/cedet/ede/util.el
@@ -41,7 +41,7 @@ Argument NEWVERSION is the version number to use in the current project."
41 v nil v)))) 41 v nil v))))
42 (let ((ede-object (ede-toplevel))) 42 (let ((ede-object (ede-toplevel)))
43 ;; Don't update anything if there was no change. 43 ;; Don't update anything if there was no change.
44 (unless (string= (oref ede-object :version) newversion) 44 (unless (string= (slot-value ede-object 'version) newversion)
45 (oset ede-object :version newversion) 45 (oset ede-object :version newversion)
46 (project-update-version ede-object) 46 (project-update-version ede-object)
47 (ede-update-version-in-source ede-object newversion)))) 47 (ede-update-version-in-source ede-object newversion))))
diff --git a/lisp/cedet/semantic/analyze.el b/lisp/cedet/semantic/analyze.el
index 9918aacadd1..696b864cd20 100644
--- a/lisp/cedet/semantic/analyze.el
+++ b/lisp/cedet/semantic/analyze.el
@@ -202,7 +202,7 @@ Optional argument DESIRED-TYPE may be a non-type tag to analyze."
202(cl-defmethod semantic-analyze-interesting-tag 202(cl-defmethod semantic-analyze-interesting-tag
203 ((context semantic-analyze-context)) 203 ((context semantic-analyze-context))
204 "Return a tag from CONTEXT that would be most interesting to a user." 204 "Return a tag from CONTEXT that would be most interesting to a user."
205 (let ((prefix (reverse (oref context :prefix)))) 205 (let ((prefix (reverse (slot-value context 'prefix))))
206 ;; Go back through the prefix until we find a tag we can return. 206 ;; Go back through the prefix until we find a tag we can return.
207 (while (and prefix (not (semantic-tag-p (car prefix)))) 207 (while (and prefix (not (semantic-tag-p (car prefix))))
208 (setq prefix (cdr prefix))) 208 (setq prefix (cdr prefix)))
@@ -212,12 +212,12 @@ Optional argument DESIRED-TYPE may be a non-type tag to analyze."
212(cl-defmethod semantic-analyze-interesting-tag 212(cl-defmethod semantic-analyze-interesting-tag
213 ((context semantic-analyze-context-functionarg)) 213 ((context semantic-analyze-context-functionarg))
214 "Try the base, and if that fails, return what we are assigning into." 214 "Try the base, and if that fails, return what we are assigning into."
215 (or (cl-call-next-method) (car-safe (oref context :function)))) 215 (or (cl-call-next-method) (car-safe (slot-value context 'function))))
216 216
217(cl-defmethod semantic-analyze-interesting-tag 217(cl-defmethod semantic-analyze-interesting-tag
218 ((context semantic-analyze-context-assignment)) 218 ((context semantic-analyze-context-assignment))
219 "Try the base, and if that fails, return what we are assigning into." 219 "Try the base, and if that fails, return what we are assigning into."
220 (or (cl-call-next-method) (car-safe (oref context :assignee)))) 220 (or (cl-call-next-method) (car-safe (slot-value context 'assignee))))
221 221
222;;; TYPE MEMBERS 222;;; TYPE MEMBERS
223;; 223;;
@@ -760,8 +760,8 @@ Optional argument CTXT is the context to show."
760(cl-defmethod semantic-analyze-pulse ((context semantic-analyze-context)) 760(cl-defmethod semantic-analyze-pulse ((context semantic-analyze-context))
761 "Pulse the region that CONTEXT affects." 761 "Pulse the region that CONTEXT affects."
762 (require 'pulse) 762 (require 'pulse)
763 (with-current-buffer (oref context :buffer) 763 (with-current-buffer (slot-value context 'buffer)
764 (let ((bounds (oref context :bounds))) 764 (let ((bounds (slot-value context 'bounds)))
765 (when bounds 765 (when bounds
766 (pulse-momentary-highlight-region (car bounds) (cdr bounds)))))) 766 (pulse-momentary-highlight-region (car bounds) (cdr bounds))))))
767 767
diff --git a/lisp/cedet/semantic/analyze/debug.el b/lisp/cedet/semantic/analyze/debug.el
index 6255bdf3005..adbd00d6187 100644
--- a/lisp/cedet/semantic/analyze/debug.el
+++ b/lisp/cedet/semantic/analyze/debug.el
@@ -478,7 +478,7 @@ variable `semantic-dependency-system-include-path'."))
478(defun semantic-analyzer-debug-describe-scope (ctxt &optional classconstraint) 478(defun semantic-analyzer-debug-describe-scope (ctxt &optional classconstraint)
479 "Describe the scope in CTXT for finding a global symbol. 479 "Describe the scope in CTXT for finding a global symbol.
480Optional argument CLASSCONSTRAINT says to output to tags of that class." 480Optional argument CLASSCONSTRAINT says to output to tags of that class."
481 (let* ((scope (oref ctxt :scope)) 481 (let* ((scope (slot-value ctxt 'scope))
482 (parents (oref scope parents)) 482 (parents (oref scope parents))
483 (cc (or classconstraint (oref ctxt prefixclass))) 483 (cc (or classconstraint (oref ctxt prefixclass)))
484 ) 484 )
diff --git a/lisp/cedet/semantic/analyze/refs.el b/lisp/cedet/semantic/analyze/refs.el
index 7fbaa2ce974..d0c84ac1dfd 100644
--- a/lisp/cedet/semantic/analyze/refs.el
+++ b/lisp/cedet/semantic/analyze/refs.el
@@ -104,7 +104,7 @@ Use `semantic-analyze-current-tag' to debug this fcn."
104 "Return the implementations derived in the reference analyzer REFS. 104 "Return the implementations derived in the reference analyzer REFS.
105Optional argument IN-BUFFER indicates that the returned tag should be in an active buffer." 105Optional argument IN-BUFFER indicates that the returned tag should be in an active buffer."
106 (let ((allhits (oref refs rawsearchdata)) 106 (let ((allhits (oref refs rawsearchdata))
107 (tag (oref refs :tag)) 107 (tag (slot-value refs 'tag))
108 (impl nil) 108 (impl nil)
109 ) 109 )
110 (semanticdb-find-result-mapc 110 (semanticdb-find-result-mapc
@@ -129,7 +129,7 @@ Optional argument IN-BUFFER indicates that the returned tag should be in an acti
129 "Return the prototypes derived in the reference analyzer REFS. 129 "Return the prototypes derived in the reference analyzer REFS.
130Optional argument IN-BUFFER indicates that the returned tag should be in an active buffer." 130Optional argument IN-BUFFER indicates that the returned tag should be in an active buffer."
131 (let ((allhits (oref refs rawsearchdata)) 131 (let ((allhits (oref refs rawsearchdata))
132 (tag (oref refs :tag)) 132 (tag (slot-value refs 'tag))
133 (proto nil)) 133 (proto nil))
134 (semanticdb-find-result-mapc 134 (semanticdb-find-result-mapc
135 (lambda (T DB) 135 (lambda (T DB)
diff --git a/lisp/cedet/semantic/bovine/make.el b/lisp/cedet/semantic/bovine/make.el
index 78a0926ea33..33b0f6762b4 100644
--- a/lisp/cedet/semantic/bovine/make.el
+++ b/lisp/cedet/semantic/bovine/make.el
@@ -182,10 +182,10 @@ Any extra FLAGS are ignored."
182 (require 'semantic/analyze/complete) 182 (require 'semantic/analyze/complete)
183 (with-current-buffer (oref context buffer) 183 (with-current-buffer (oref context buffer)
184 (let* ((normal (semantic-analyze-possible-completions-default context)) 184 (let* ((normal (semantic-analyze-possible-completions-default context))
185 (classes (oref context :prefixclass)) 185 (classes (slot-value context 'prefixclass))
186 (filetags nil)) 186 (filetags nil))
187 (when (memq 'filename classes) 187 (when (memq 'filename classes)
188 (let* ((prefix (car (oref context :prefix))) 188 (let* ((prefix (car (slot-value context 'prefix)))
189 (completetext (cond ((semantic-tag-p prefix) 189 (completetext (cond ((semantic-tag-p prefix)
190 (semantic-tag-name prefix)) 190 (semantic-tag-name prefix))
191 ((stringp prefix) 191 ((stringp prefix)
diff --git a/lisp/cedet/semantic/complete.el b/lisp/cedet/semantic/complete.el
index 60ae3c984d6..dd4c3cc55a9 100644
--- a/lisp/cedet/semantic/complete.el
+++ b/lisp/cedet/semantic/complete.el
@@ -1288,7 +1288,7 @@ Uses semanticdb for searching all tags in the current project."
1288 (localstuff (oref scope scope))) 1288 (localstuff (oref scope scope)))
1289 (list 1289 (list
1290 (cons 1290 (cons
1291 (oref scope :table) 1291 (slot-value scope 'table)
1292 (semantic-find-tags-for-completion prefix localstuff))))) 1292 (semantic-find-tags-for-completion prefix localstuff)))))
1293 ;(semanticdb-brute-deep-find-tags-for-completion prefix (oref obj path)))) 1293 ;(semanticdb-brute-deep-find-tags-for-completion prefix (oref obj path))))
1294 1294
diff --git a/lisp/cedet/semantic/db-global.el b/lisp/cedet/semantic/db-global.el
index 442e5f93b2a..a43e6fad831 100644
--- a/lisp/cedet/semantic/db-global.el
+++ b/lisp/cedet/semantic/db-global.el
@@ -192,7 +192,7 @@ Returns a table of all matching tags."
192 (faketags nil) 192 (faketags nil)
193 ) 193 )
194 (when result 194 (when result
195 (dolist (T (oref result :hit-text)) 195 (dolist (T (slot-value result 'hit-text))
196 ;; We should look up each tag one at a time, but I'm lazy! 196 ;; We should look up each tag one at a time, but I'm lazy!
197 ;; Doing this may be good enough. 197 ;; Doing this may be good enough.
198 (setq faketags (cons 198 (setq faketags (cons
diff --git a/lisp/cedet/semantic/db-typecache.el b/lisp/cedet/semantic/db-typecache.el
index 48e439e54f9..083b643b624 100644
--- a/lisp/cedet/semantic/db-typecache.el
+++ b/lisp/cedet/semantic/db-typecache.el
@@ -556,7 +556,7 @@ If there isn't one, create it.
556 (stream nil) 556 (stream nil)
557 ) 557 )
558 (dolist (table (semanticdb-get-database-tables db)) 558 (dolist (table (semanticdb-get-database-tables db))
559 (when (eq lmode (oref table :major-mode)) 559 (when (eq lmode (slot-value table 'major-mode))
560 (setq stream 560 (setq stream
561 (semanticdb-typecache-merge-streams 561 (semanticdb-typecache-merge-streams
562 stream 562 stream
diff --git a/lisp/cedet/semantic/debug.el b/lisp/cedet/semantic/debug.el
index 180db3ab1fd..641974545cd 100644
--- a/lisp/cedet/semantic/debug.el
+++ b/lisp/cedet/semantic/debug.el
@@ -171,7 +171,7 @@ These buffers are brought into view when layout occurs.")
171(cl-defmethod semantic-debug-highlight-lexical-token ((iface semantic-debug-interface) token) 171(cl-defmethod semantic-debug-highlight-lexical-token ((iface semantic-debug-interface) token)
172 "For IFACE, highlight TOKEN in the source buffer . 172 "For IFACE, highlight TOKEN in the source buffer .
173TOKEN is a lexical token." 173TOKEN is a lexical token."
174 (set-buffer (oref iface :source-buffer)) 174 (set-buffer (slot-value iface 'source-buffer))
175 175
176 (object-add-to-list iface 'overlays 176 (object-add-to-list iface 'overlays
177 (semantic-lex-highlight-token token)) 177 (semantic-lex-highlight-token token))
@@ -184,7 +184,7 @@ TOKEN is a lexical token."
184NONTERM is the name of the rule currently being processed that shows up 184NONTERM is the name of the rule currently being processed that shows up
185as a nonterminal (or tag) in the source buffer. 185as a nonterminal (or tag) in the source buffer.
186If RULE and MATCH indices are specified, highlight those also." 186If RULE and MATCH indices are specified, highlight those also."
187 (set-buffer (oref iface :parser-buffer)) 187 (set-buffer (slot-value iface 'parser-buffer))
188 188
189 (let* ((rules (semantic-find-tags-by-class 'nonterminal (current-buffer))) 189 (let* ((rules (semantic-find-tags-by-class 'nonterminal (current-buffer)))
190 (nt (semantic-find-first-tag-by-name nonterm rules)) 190 (nt (semantic-find-first-tag-by-name nonterm rules))
diff --git a/lisp/cedet/semantic/decorate/include.el b/lisp/cedet/semantic/decorate/include.el
index c7b5eb55ef1..d66bd995bbf 100644
--- a/lisp/cedet/semantic/decorate/include.el
+++ b/lisp/cedet/semantic/decorate/include.el
@@ -437,11 +437,11 @@ its contents.
437 ;; Get the semanticdb statement, and display it's contents. 437 ;; Get the semanticdb statement, and display it's contents.
438 (princ "\nDetails for header file...\n") 438 (princ "\nDetails for header file...\n")
439 (princ "\nMajor Mode: ") 439 (princ "\nMajor Mode: ")
440 (princ (oref table :major-mode)) 440 (princ (slot-value table 'major-mode))
441 (princ "\nTags: ") 441 (princ "\nTags: ")
442 (princ (format "%s entries" (length (oref table :tags)))) 442 (princ (format "%s entries" (length (slot-value table 'tags))))
443 (princ "\nFile Size: ") 443 (princ "\nFile Size: ")
444 (princ (format "%s chars" (oref table :pointmax))) 444 (princ (format "%s chars" (slot-value table 'pointmax)))
445 (princ "\nSave State: ") 445 (princ "\nSave State: ")
446 (cond ((oref table dirty) 446 (cond ((oref table dirty)
447 (princ "Table needs to be saved.")) 447 (princ "Table needs to be saved."))
diff --git a/lisp/cedet/semantic/grammar.el b/lisp/cedet/semantic/grammar.el
index 5cd49326c99..6f642671b19 100644
--- a/lisp/cedet/semantic/grammar.el
+++ b/lisp/cedet/semantic/grammar.el
@@ -1903,7 +1903,7 @@ Optional FLAGS are ignored."
1903 (with-mode-local emacs-lisp-mode 1903 (with-mode-local emacs-lisp-mode
1904 (semantic-analyze-possible-completions context)) 1904 (semantic-analyze-possible-completions context))
1905 (with-current-buffer (oref context buffer) 1905 (with-current-buffer (oref context buffer)
1906 (let* ((prefix (car (reverse (oref context :prefix)))) 1906 (let* ((prefix (car (reverse (slot-value context 'prefix))))
1907 (completetext (cond ((semantic-tag-p prefix) 1907 (completetext (cond ((semantic-tag-p prefix)
1908 (semantic-tag-name prefix)) 1908 (semantic-tag-name prefix))
1909 ((stringp prefix) 1909 ((stringp prefix)
diff --git a/lisp/cedet/semantic/mru-bookmark.el b/lisp/cedet/semantic/mru-bookmark.el
index 4fd2a869f28..434cca847a0 100644
--- a/lisp/cedet/semantic/mru-bookmark.el
+++ b/lisp/cedet/semantic/mru-bookmark.el
@@ -318,7 +318,7 @@ minor mode is enabled."
318 (al nil)) 318 (al nil))
319 (while (< idx len) 319 (while (< idx len)
320 (let ((r (ring-ref ring idx))) 320 (let ((r (ring-ref ring idx)))
321 (setq al (cons (cons (oref r :object-name) r) 321 (setq al (cons (cons (slot-value r 'object-name) r)
322 al))) 322 al)))
323 (setq idx (1+ idx))) 323 (setq idx (1+ idx)))
324 (nreverse al))) 324 (nreverse al)))
diff --git a/lisp/cedet/semantic/symref/cscope.el b/lisp/cedet/semantic/symref/cscope.el
index 181e3997681..42d5dcbb7fe 100644
--- a/lisp/cedet/semantic/symref/cscope.el
+++ b/lisp/cedet/semantic/symref/cscope.el
@@ -51,10 +51,10 @@ See the function `cedet-cscope-search' for more details.")
51 default-directory)) 51 default-directory))
52 ;; CScope has to be run from the project root where 52 ;; CScope has to be run from the project root where
53 ;; cscope.out is. 53 ;; cscope.out is.
54 (b (cedet-cscope-search (oref tool :searchfor) 54 (b (cedet-cscope-search (slot-value tool 'searchfor)
55 (oref tool :searchtype) 55 (slot-value tool 'searchtype)
56 (oref tool :resulttype) 56 (slot-value tool 'resulttype)
57 (oref tool :searchscope) 57 (slot-value tool 'searchscope)
58 )) 58 ))
59 ) 59 )
60 (semantic-symref-parse-tool-output tool b) 60 (semantic-symref-parse-tool-output tool b)
@@ -66,22 +66,22 @@ See the function `cedet-cscope-search' for more details.")
66(cl-defmethod semantic-symref-parse-tool-output-one-line ((tool semantic-symref-tool-cscope)) 66(cl-defmethod semantic-symref-parse-tool-output-one-line ((tool semantic-symref-tool-cscope))
67 "Parse one line of grep output, and return it as a match list. 67 "Parse one line of grep output, and return it as a match list.
68Moves cursor to end of the match." 68Moves cursor to end of the match."
69 (cond ((eq (oref tool :resulttype) 'file) 69 (cond ((eq (slot-value tool 'resulttype) 'file)
70 ;; Search for files 70 ;; Search for files
71 (when (re-search-forward "^\\([^\n]+\\)$" nil t) 71 (when (re-search-forward "^\\([^\n]+\\)$" nil t)
72 (match-string 1))) 72 (match-string 1)))
73 ((eq (oref tool :searchtype) 'tagcompletions) 73 ((eq (slot-value tool 'searchtype) 'tagcompletions)
74 ;; Search for files 74 ;; Search for files
75 (when (re-search-forward "^[^ ]+ [^ ]+ [^ ]+ \\(.*\\)$" nil t) 75 (when (re-search-forward "^[^ ]+ [^ ]+ [^ ]+ \\(.*\\)$" nil t)
76 (let ((subtxt (match-string 1)) 76 (let ((subtxt (match-string 1))
77 (searchtxt (oref tool :searchfor))) 77 (searchtxt (slot-value tool 'searchfor)))
78 (if (string-match (concat "\\<" searchtxt "\\(\\w\\|\\s_\\)*\\>") 78 (if (string-match (concat "\\<" searchtxt "\\(\\w\\|\\s_\\)*\\>")
79 subtxt) 79 subtxt)
80 (match-string 0 subtxt) 80 (match-string 0 subtxt)
81 ;; We have to return something at this point. 81 ;; We have to return something at this point.
82 subtxt))) 82 subtxt)))
83 ) 83 )
84 ((eq (oref tool :resulttype) 'line-and-text) 84 ((eq (slot-value tool 'resulttype) 'line-and-text)
85 (when (re-search-forward semantic-symref-cscope--line-re nil t) 85 (when (re-search-forward semantic-symref-cscope--line-re nil t)
86 (list (string-to-number (match-string 2)) 86 (list (string-to-number (match-string 2))
87 (expand-file-name (match-string 1)) 87 (expand-file-name (match-string 1))
diff --git a/lisp/cedet/semantic/symref/global.el b/lisp/cedet/semantic/symref/global.el
index e91ecf07bcc..f3a5b57c551 100644
--- a/lisp/cedet/semantic/symref/global.el
+++ b/lisp/cedet/semantic/symref/global.el
@@ -40,10 +40,10 @@ See the function `cedet-gnu-global-search' for more details.")
40 40
41(cl-defmethod semantic-symref-perform-search ((tool semantic-symref-tool-global)) 41(cl-defmethod semantic-symref-perform-search ((tool semantic-symref-tool-global))
42 "Perform a search with GNU Global." 42 "Perform a search with GNU Global."
43 (let ((b (cedet-gnu-global-search (oref tool :searchfor) 43 (let ((b (cedet-gnu-global-search (slot-value tool 'searchfor)
44 (oref tool :searchtype) 44 (slot-value tool 'searchtype)
45 (oref tool :resulttype) 45 (slot-value tool 'resulttype)
46 (oref tool :searchscope) 46 (slot-value tool 'searchscope)
47 )) 47 ))
48 ) 48 )
49 (semantic-symref-parse-tool-output tool b) 49 (semantic-symref-parse-tool-output tool b)
@@ -55,12 +55,12 @@ See the function `cedet-gnu-global-search' for more details.")
55(cl-defmethod semantic-symref-parse-tool-output-one-line ((tool semantic-symref-tool-global)) 55(cl-defmethod semantic-symref-parse-tool-output-one-line ((tool semantic-symref-tool-global))
56 "Parse one line of grep output, and return it as a match list. 56 "Parse one line of grep output, and return it as a match list.
57Moves cursor to end of the match." 57Moves cursor to end of the match."
58 (cond ((or (eq (oref tool :resulttype) 'file) 58 (cond ((or (eq (slot-value tool 'resulttype) 'file)
59 (eq (oref tool :searchtype) 'tagcompletions)) 59 (eq (slot-value tool 'searchtype) 'tagcompletions))
60 ;; Search for files 60 ;; Search for files
61 (when (re-search-forward "^\\([^\n]+\\)$" nil t) 61 (when (re-search-forward "^\\([^\n]+\\)$" nil t)
62 (match-string 1))) 62 (match-string 1)))
63 ((eq (oref tool :resulttype) 'line-and-text) 63 ((eq (slot-value tool 'resulttype) 'line-and-text)
64 (when (re-search-forward semantic-symref-global--line-re nil t) 64 (when (re-search-forward semantic-symref-global--line-re nil t)
65 (list (string-to-number (match-string 2)) 65 (list (string-to-number (match-string 2))
66 (match-string 3) 66 (match-string 3)
diff --git a/lisp/cedet/semantic/symref/grep.el b/lisp/cedet/semantic/symref/grep.el
index 42dc40cce04..ecb93dd6084 100644
--- a/lisp/cedet/semantic/symref/grep.el
+++ b/lisp/cedet/semantic/symref/grep.el
@@ -137,7 +137,7 @@ This shell should support pipe redirect syntax."
137(cl-defmethod semantic-symref-perform-search ((tool semantic-symref-tool-grep)) 137(cl-defmethod semantic-symref-perform-search ((tool semantic-symref-tool-grep))
138 "Perform a search with Grep." 138 "Perform a search with Grep."
139 ;; Grep doesn't support some types of searches. 139 ;; Grep doesn't support some types of searches.
140 (let ((st (oref tool :searchtype))) 140 (let ((st (slot-value tool 'searchtype)))
141 (when (not (memq st '(symbol regexp))) 141 (when (not (memq st '(symbol regexp)))
142 (error "Symref impl GREP does not support searchtype of %s" st)) 142 (error "Symref impl GREP does not support searchtype of %s" st))
143 ) 143 )
@@ -147,13 +147,13 @@ This shell should support pipe redirect syntax."
147 (filepatterns (semantic-symref-derive-find-filepatterns)) 147 (filepatterns (semantic-symref-derive-find-filepatterns))
148 (filepattern (mapconcat #'shell-quote-argument filepatterns " ")) 148 (filepattern (mapconcat #'shell-quote-argument filepatterns " "))
149 ;; Grep based flags. 149 ;; Grep based flags.
150 (grepflags (cond ((eq (oref tool :resulttype) 'file) 150 (grepflags (cond ((eq (slot-value tool 'resulttype) 'file)
151 "-l ") 151 "-l ")
152 ((eq (oref tool :searchtype) 'regexp) 152 ((eq (slot-value tool 'searchtype) 'regexp)
153 "-nE ") 153 "-nE ")
154 (t "-n "))) 154 (t "-n ")))
155 (greppat (shell-quote-argument 155 (greppat (shell-quote-argument
156 (cond ((eq (oref tool :searchtype) 'regexp) 156 (cond ((eq (slot-value tool 'searchtype) 'regexp)
157 (oref tool searchfor)) 157 (oref tool searchfor))
158 (t 158 (t
159 ;; Can't use the word boundaries: Grep 159 ;; Can't use the word boundaries: Grep
@@ -195,11 +195,11 @@ This shell should support pipe redirect syntax."
195(cl-defmethod semantic-symref-parse-tool-output-one-line ((tool semantic-symref-tool-grep)) 195(cl-defmethod semantic-symref-parse-tool-output-one-line ((tool semantic-symref-tool-grep))
196 "Parse one line of grep output, and return it as a match list. 196 "Parse one line of grep output, and return it as a match list.
197Moves cursor to end of the match." 197Moves cursor to end of the match."
198 (cond ((eq (oref tool :resulttype) 'file) 198 (cond ((eq (slot-value tool 'resulttype) 'file)
199 ;; Search for files 199 ;; Search for files
200 (when (re-search-forward "^\\([^\n]+\\)$" nil t) 200 (when (re-search-forward "^\\([^\n]+\\)$" nil t)
201 (match-string 1))) 201 (match-string 1)))
202 ((eq (oref tool :resulttype) 'line-and-text) 202 ((eq (slot-value tool 'resulttype) 'line-and-text)
203 (when (re-search-forward semantic-symref-grep--line-re nil t) 203 (when (re-search-forward semantic-symref-grep--line-re nil t)
204 (list (string-to-number (match-string 2)) 204 (list (string-to-number (match-string 2))
205 (match-string 1) 205 (match-string 1)
diff --git a/lisp/cedet/semantic/symref/idutils.el b/lisp/cedet/semantic/symref/idutils.el
index 3c94f01c6d9..f5d6de5fa60 100644
--- a/lisp/cedet/semantic/symref/idutils.el
+++ b/lisp/cedet/semantic/symref/idutils.el
@@ -40,10 +40,10 @@ See the function `cedet-idutils-search' for more details.")
40 40
41(cl-defmethod semantic-symref-perform-search ((tool semantic-symref-tool-idutils)) 41(cl-defmethod semantic-symref-perform-search ((tool semantic-symref-tool-idutils))
42 "Perform a search with IDUtils." 42 "Perform a search with IDUtils."
43 (let ((b (cedet-idutils-search (oref tool :searchfor) 43 (let ((b (cedet-idutils-search (slot-value tool 'searchfor)
44 (oref tool :searchtype) 44 (slot-value tool 'searchtype)
45 (oref tool :resulttype) 45 (slot-value tool 'resulttype)
46 (oref tool :searchscope) 46 (slot-value tool 'searchscope)
47 )) 47 ))
48 ) 48 )
49 (semantic-symref-parse-tool-output tool b) 49 (semantic-symref-parse-tool-output tool b)
@@ -55,14 +55,14 @@ See the function `cedet-idutils-search' for more details.")
55(cl-defmethod semantic-symref-parse-tool-output-one-line ((tool semantic-symref-tool-idutils)) 55(cl-defmethod semantic-symref-parse-tool-output-one-line ((tool semantic-symref-tool-idutils))
56 "Parse one line of grep output, and return it as a match list. 56 "Parse one line of grep output, and return it as a match list.
57Moves cursor to end of the match." 57Moves cursor to end of the match."
58 (cond ((eq (oref tool :resulttype) 'file) 58 (cond ((eq (slot-value tool 'resulttype) 'file)
59 ;; Search for files 59 ;; Search for files
60 (when (re-search-forward "^\\([^\n]+\\)$" nil t) 60 (when (re-search-forward "^\\([^\n]+\\)$" nil t)
61 (match-string 1))) 61 (match-string 1)))
62 ((eq (oref tool :searchtype) 'tagcompletions) 62 ((eq (slot-value tool 'searchtype) 'tagcompletions)
63 (when (re-search-forward "^\\([^ ]+\\) " nil t) 63 (when (re-search-forward "^\\([^ ]+\\) " nil t)
64 (match-string 1))) 64 (match-string 1)))
65 ((eq (oref tool :resulttype) 'line-and-text) 65 ((eq (slot-value tool 'resulttype) 'line-and-text)
66 (when (re-search-forward semantic-symref-idutils--line-re nil t) 66 (when (re-search-forward semantic-symref-idutils--line-re nil t)
67 (list (string-to-number (match-string 2)) 67 (list (string-to-number (match-string 2))
68 (expand-file-name (match-string 1) default-directory) 68 (expand-file-name (match-string 1) default-directory)
diff --git a/lisp/cedet/semantic/symref/list.el b/lisp/cedet/semantic/symref/list.el
index e1a789d673a..d48b61246ce 100644
--- a/lisp/cedet/semantic/symref/list.el
+++ b/lisp/cedet/semantic/symref/list.el
@@ -210,7 +210,7 @@ Some useful functions are found in `semantic-format-tag-functions'."
210 (erase-buffer) 210 (erase-buffer)
211 ;; Insert the contents. 211 ;; Insert the contents.
212 (let ((lastfile nil)) 212 (let ((lastfile nil))
213 (dolist (T (oref results :hit-tags)) 213 (dolist (T (slot-value results 'hit-tags))
214 (unless (equal lastfile (semantic-tag-file-name T)) 214 (unless (equal lastfile (semantic-tag-file-name T))
215 (setq lastfile (semantic-tag-file-name T)) 215 (setq lastfile (semantic-tag-file-name T))
216 (insert-button lastfile 216 (insert-button lastfile
diff --git a/lisp/cedet/semantic/texi.el b/lisp/cedet/semantic/texi.el
index d9a5058e55c..fb7c9928d63 100644
--- a/lisp/cedet/semantic/texi.el
+++ b/lisp/cedet/semantic/texi.el
@@ -419,9 +419,9 @@ useful. Instead, look at the current symbol. If it is a command
419do primitive texinfo built ins. If not, use ispell to lookup words 419do primitive texinfo built ins. If not, use ispell to lookup words
420that start with that symbol. 420that start with that symbol.
421Any extra FLAGS are currently ignored." 421Any extra FLAGS are currently ignored."
422 (let ((prefix (car (oref context :prefix))) 422 (let ((prefix (car (slot-value context 'prefix)))
423 ) 423 )
424 (cond ((member 'function (oref context :prefixclass)) 424 (cond ((member 'function (slot-value context 'prefixclass))
425 ;; Do completion for texinfo commands 425 ;; Do completion for texinfo commands
426 (let* ((cmd (substring prefix 1)) 426 (let* ((cmd (substring prefix 1))
427 (lst (all-completions 427 (lst (all-completions
@@ -429,7 +429,7 @@ Any extra FLAGS are currently ignored."
429 (mapcar (lambda (f) (semantic-tag (concat "@" f) 'function)) 429 (mapcar (lambda (f) (semantic-tag (concat "@" f) 'function))
430 lst)) 430 lst))
431 ) 431 )
432 ((member 'word (oref context :prefixclass)) 432 ((member 'word (slot-value context 'prefixclass))
433 ;; Do completion for words via ispell. 433 ;; Do completion for words via ispell.
434 (require 'ispell) 434 (require 'ispell)
435 (let ((word-list (ispell-lookup-words prefix))) 435 (let ((word-list (ispell-lookup-words prefix)))
diff --git a/lisp/cedet/srecode/args.el b/lisp/cedet/srecode/args.el
index facf96e9afb..9fc1b810827 100644
--- a/lisp/cedet/srecode/args.el
+++ b/lisp/cedet/srecode/args.el
@@ -174,7 +174,7 @@ do not contain any text from preceding or following text."
174 (srecode-dictionary-set-value dict "PROJECT_FILENAME" relfname) 174 (srecode-dictionary-set-value dict "PROJECT_FILENAME" relfname)
175 (srecode-dictionary-set-value dict "PROJECT_DIRECTORY" reldir) 175 (srecode-dictionary-set-value dict "PROJECT_DIRECTORY" reldir)
176 (srecode-dictionary-set-value dict "PROJECT_NAME" (ede-name (ede-toplevel))) 176 (srecode-dictionary-set-value dict "PROJECT_NAME" (ede-name (ede-toplevel)))
177 (srecode-dictionary-set-value dict "PROJECT_VERSION" (oref (ede-toplevel) :version)) 177 (srecode-dictionary-set-value dict "PROJECT_VERSION" (slot-value (ede-toplevel) 'version))
178 ) 178 )
179 ;; If there is no EDE project, then put in some base values. 179 ;; If there is no EDE project, then put in some base values.
180 (srecode-dictionary-set-value dict "PROJECT_FILENAME" bfn) 180 (srecode-dictionary-set-value dict "PROJECT_FILENAME" bfn)
diff --git a/lisp/cedet/srecode/compile.el b/lisp/cedet/srecode/compile.el
index 1b6cd704095..9bd47153294 100644
--- a/lisp/cedet/srecode/compile.el
+++ b/lisp/cedet/srecode/compile.el
@@ -548,8 +548,8 @@ A list of defined variables VARS provides a variable table."
548 548
549 (while lp 549 (while lp
550 550
551 (let* ((objname (oref (car lp) :object-name)) 551 (let* ((objname (slot-value (car lp) 'object-name))
552 (context (oref (car lp) :context)) 552 (context (slot-value (car lp) 'context))
553 (globalname (concat context ":" objname)) 553 (globalname (concat context ":" objname))
554 ) 554 )
555 555
@@ -645,9 +645,9 @@ Argument INDENT specifies the indentation level for the list."
645 "Dump the state of the SRecode template inserter INS." 645 "Dump the state of the SRecode template inserter INS."
646 (princ "INS: \"") 646 (princ "INS: \"")
647 (princ (eieio-object-name-string ins)) 647 (princ (eieio-object-name-string ins))
648 (when (oref ins :secondname) 648 (when (slot-value ins 'secondname)
649 (princ "\" : \"") 649 (princ "\" : \"")
650 (princ (oref ins :secondname))) 650 (princ (slot-value ins 'secondname)))
651 (princ "\" type \"") 651 (princ "\" type \"")
652 (let* ((oc (symbol-name (eieio-object-class ins))) 652 (let* ((oc (symbol-name (eieio-object-class ins)))
653 (junk (string-match "srecode-template-inserter-" oc)) 653 (junk (string-match "srecode-template-inserter-" oc))
diff --git a/lisp/cedet/srecode/cpp.el b/lisp/cedet/srecode/cpp.el
index 8f9c0832844..9f675fcaf9e 100644
--- a/lisp/cedet/srecode/cpp.el
+++ b/lisp/cedet/srecode/cpp.el
@@ -122,7 +122,7 @@ specified in a C file."
122 (srecode-semantic-apply-tag-to-dict-default tag-wrapper dict) 122 (srecode-semantic-apply-tag-to-dict-default tag-wrapper dict)
123 123
124 ;; Pull out the tag for the individual pieces. 124 ;; Pull out the tag for the individual pieces.
125 (let* ((tag (oref tag-wrapper :prime)) 125 (let* ((tag (slot-value tag-wrapper 'prime))
126 (class (semantic-tag-class tag))) 126 (class (semantic-tag-class tag)))
127 127
128 ;; Add additional information based on the class of the tag. 128 ;; Add additional information based on the class of the tag.
diff --git a/lisp/cedet/srecode/dictionary.el b/lisp/cedet/srecode/dictionary.el
index 2844c1b52da..5e581312fdd 100644
--- a/lisp/cedet/srecode/dictionary.el
+++ b/lisp/cedet/srecode/dictionary.el
@@ -123,7 +123,7 @@ Makes sure that :value is compiled."
123 123
124 (cl-call-next-method this (nreverse newfields)) 124 (cl-call-next-method this (nreverse newfields))
125 (when (not (slot-boundp this 'compiled)) 125 (when (not (slot-boundp this 'compiled))
126 (let ((val (oref this :value)) 126 (let ((val (slot-value this 'value))
127 (comp nil)) 127 (comp nil))
128 (while val 128 (while val
129 (let ((nval (car val)) 129 (let ((nval (car val))
@@ -224,7 +224,7 @@ TPL is an object representing a compiled template file."
224 ;; Tables are sorted with highest priority first, useful for looking 224 ;; Tables are sorted with highest priority first, useful for looking
225 ;; up templates, but this means we need to install the variables in 225 ;; up templates, but this means we need to install the variables in
226 ;; reverse order so higher priority variables override lower ones. 226 ;; reverse order so higher priority variables override lower ones.
227 (let ((tabs (reverse (oref tpl :tables)))) 227 (let ((tabs (reverse (slot-value tpl 'tables))))
228 (require 'srecode/find) ; For srecode-template-table-in-project-p 228 (require 'srecode/find) ; For srecode-template-table-in-project-p
229 (while tabs 229 (while tabs
230 (when (srecode-template-table-in-project-p (car tabs)) 230 (when (srecode-template-table-in-project-p (car tabs))
@@ -519,7 +519,7 @@ inserted with a new editable field.")
519 (let* ((dv (oref cp defaultvalue)) 519 (let* ((dv (oref cp defaultvalue))
520 (sti (oref cp firstinserter)) 520 (sti (oref cp firstinserter))
521 (start (point)) 521 (start (point))
522 (name (oref sti :object-name))) 522 (name (slot-value sti 'object-name)))
523 523
524 (cond 524 (cond
525 ;; No default value. 525 ;; No default value.
diff --git a/lisp/cedet/srecode/el.el b/lisp/cedet/srecode/el.el
index 526a2a21070..50b880ddc31 100644
--- a/lisp/cedet/srecode/el.el
+++ b/lisp/cedet/srecode/el.el
@@ -86,7 +86,7 @@ Calls `srecode-semantic-apply-tag-to-dict-default' first."
86 (srecode-semantic-apply-tag-to-dict-default tagobj dict) 86 (srecode-semantic-apply-tag-to-dict-default tagobj dict)
87 87
88 ;; Pull out the tag for the individual pieces. 88 ;; Pull out the tag for the individual pieces.
89 (let* ((tag (oref tagobj :prime)) 89 (let* ((tag (slot-value tagobj 'prime))
90 (doc (semantic-tag-docstring tag))) 90 (doc (semantic-tag-docstring tag)))
91 91
92 ;; It is much more common to have doc on ELisp. 92 ;; It is much more common to have doc on ELisp.
diff --git a/lisp/cedet/srecode/extract.el b/lisp/cedet/srecode/extract.el
index cd41afef6e2..df857e5e591 100644
--- a/lisp/cedet/srecode/extract.el
+++ b/lisp/cedet/srecode/extract.el
@@ -161,7 +161,7 @@ Return nil as this inserter will extract nothing."
161Return t if something was extracted. 161Return t if something was extracted.
162Return nil if this inserter doesn't need to extract anything." 162Return nil if this inserter doesn't need to extract anything."
163 (srecode-dictionary-set-value vdict 163 (srecode-dictionary-set-value vdict
164 (oref ins :object-name) 164 (slot-value ins 'object-name)
165 (buffer-substring-no-properties 165 (buffer-substring-no-properties
166 start end) 166 start end)
167 ) 167 )
@@ -178,7 +178,7 @@ Return nil if this inserter doesn't need to extract anything."
178 "Extract text from START/END and store in INDICT. 178 "Extract text from START/END and store in INDICT.
179Return the starting location of the first plain-text match. 179Return the starting location of the first plain-text match.
180Return nil if nothing was extracted." 180Return nil if nothing was extracted."
181 (let ((name (oref ins :object-name)) 181 (let ((name (slot-value ins 'object-name))
182 (subdict (srecode-create-dictionary indict)) 182 (subdict (srecode-create-dictionary indict))
183 (allsubdict nil) 183 (allsubdict nil)
184 ) 184 )
@@ -217,10 +217,10 @@ Return nil if nothing was extracted."
217 ;; There are two modes for includes. One is with no dict, 217 ;; There are two modes for includes. One is with no dict,
218 ;; so it is inserted straight. If the dict has a name, then 218 ;; so it is inserted straight. If the dict has a name, then
219 ;; we need to run once per dictionary occurrence. 219 ;; we need to run once per dictionary occurrence.
220 (if (not (string= (oref ins :object-name) "")) 220 (if (not (string= (slot-value ins 'object-name) ""))
221 ;; With a name, do the insertion. 221 ;; With a name, do the insertion.
222 (let ((subdict (srecode-dictionary-add-section-dictionary 222 (let ((subdict (srecode-dictionary-add-section-dictionary
223 dict (oref ins :object-name)))) 223 dict (slot-value ins 'object-name))))
224 (error "Need to implement include w/ name extractor") 224 (error "Need to implement include w/ name extractor")
225 ;; Recurse into the new template while no errors. 225 ;; Recurse into the new template while no errors.
226 (while (condition-case nil 226 (while (condition-case nil
diff --git a/lisp/cedet/srecode/find.el b/lisp/cedet/srecode/find.el
index 913013c259c..de3e3e71bba 100644
--- a/lisp/cedet/srecode/find.el
+++ b/lisp/cedet/srecode/find.el
@@ -100,7 +100,7 @@ all template files for that application will be loaded."
100 "Return non-nil if the table TAB can be used in the current project. 100 "Return non-nil if the table TAB can be used in the current project.
101If TAB has a :project set, check that the directories match. 101If TAB has a :project set, check that the directories match.
102If TAB is nil, then always return t." 102If TAB is nil, then always return t."
103 (let ((proj (oref tab :project))) 103 (let ((proj (slot-value tab 'project)))
104 ;; Return t if the project wasn't set. 104 ;; Return t if the project wasn't set.
105 (if (not proj) t 105 (if (not proj) t
106 ;; If the project directory was set, let's check it. 106 ;; If the project directory was set, let's check it.
@@ -139,10 +139,10 @@ Optional argument APPLICATION restricts searches to only template tables
139belonging to a specific application. If APPLICATION is nil, then only 139belonging to a specific application. If APPLICATION is nil, then only
140tables that do not belong to an application will be searched." 140tables that do not belong to an application will be searched."
141 (let* ((mt tab) 141 (let* ((mt tab)
142 (tabs (oref mt :tables)) 142 (tabs (slot-value mt 'tables))
143 (ans nil)) 143 (ans nil))
144 (while (and (not ans) tabs) 144 (while (and (not ans) tabs)
145 (let ((app (oref (car tabs) :application))) 145 (let ((app (slot-value (car tabs) 'application)))
146 (when (or (and (not application) (null app)) 146 (when (or (and (not application) (null app))
147 (and application (eq app application))) 147 (and application (eq app application)))
148 (setq ans (srecode-template-get-table (car tabs) template-name 148 (setq ans (srecode-template-get-table (car tabs) template-name
@@ -150,7 +150,7 @@ tables that do not belong to an application will be searched."
150 (setq tabs (cdr tabs)))) 150 (setq tabs (cdr tabs))))
151 (or ans 151 (or ans
152 ;; Recurse to the default. 152 ;; Recurse to the default.
153 (when (not (equal (oref tab :major-mode) 'default)) 153 (when (not (equal (slot-value tab 'major-mode) 'default))
154 (srecode-template-get-table (srecode-get-mode-table 'default) 154 (srecode-template-get-table (srecode-get-mode-table 'default)
155 template-name context application))))) 155 template-name context application)))))
156 156
@@ -199,10 +199,10 @@ Optional argument APPLICATION restricts searches to only template tables
199belonging to a specific application. If APPLICATION is nil, then only 199belonging to a specific application. If APPLICATION is nil, then only
200tables that do not belong to an application will be searched." 200tables that do not belong to an application will be searched."
201 (let* ((mt tab) 201 (let* ((mt tab)
202 (tabs (oref mt :tables)) 202 (tabs (slot-value mt 'tables))
203 (ans nil)) 203 (ans nil))
204 (while (and (not ans) tabs) 204 (while (and (not ans) tabs)
205 (let ((app (oref (car tabs) :application))) 205 (let ((app (slot-value (car tabs) 'application)))
206 (when (or (and (not application) (null app)) 206 (when (or (and (not application) (null app))
207 (and application (eq app application))) 207 (and application (eq app application)))
208 (setq ans (srecode-template-get-table-for-binding 208 (setq ans (srecode-template-get-table-for-binding
@@ -210,7 +210,7 @@ tables that do not belong to an application will be searched."
210 (setq tabs (cdr tabs)))) 210 (setq tabs (cdr tabs))))
211 (or ans 211 (or ans
212 ;; Recurse to the default. 212 ;; Recurse to the default.
213 (when (not (equal (oref tab :major-mode) 'default)) 213 (when (not (equal (slot-value tab 'major-mode) 'default))
214 (srecode-template-get-table-for-binding 214 (srecode-template-get-table-for-binding
215 (srecode-get-mode-table 'default) binding context))))) 215 (srecode-get-mode-table 'default) binding context)))))
216;;; Interactive 216;;; Interactive
@@ -241,10 +241,10 @@ templates."
241 241
242 ;; Load up the hash table for our current mode. 242 ;; Load up the hash table for our current mode.
243 (let* ((mt (srecode-get-mode-table mmode)) 243 (let* ((mt (srecode-get-mode-table mmode))
244 (tabs (when mt (oref mt :tables)))) 244 (tabs (when mt (slot-value mt 'tables))))
245 (dolist (tab tabs) 245 (dolist (tab tabs)
246 ;; Exclude templates for a particular application. 246 ;; Exclude templates for a particular application.
247 (when (and (not (oref tab :application)) 247 (when (and (not (slot-value tab 'application))
248 (srecode-template-table-in-project-p tab)) 248 (srecode-template-table-in-project-p tab))
249 (maphash (lambda (key temp) 249 (maphash (lambda (key temp)
250 (when (or (not predicate) 250 (when (or (not predicate)
diff --git a/lisp/cedet/srecode/insert.el b/lisp/cedet/srecode/insert.el
index c582e328b2b..e9c0a53721c 100644
--- a/lisp/cedet/srecode/insert.el
+++ b/lisp/cedet/srecode/insert.el
@@ -474,8 +474,8 @@ If SECONDNAME is nil, return VALUE."
474 dictionary) 474 dictionary)
475 "Insert the STI inserter." 475 "Insert the STI inserter."
476 ;; Convert the name into a name/fcn pair 476 ;; Convert the name into a name/fcn pair
477 (let* ((name (oref sti :object-name)) 477 (let* ((name (slot-value sti 'object-name))
478 (fcnpart (oref sti :secondname)) 478 (fcnpart (slot-value sti 'secondname))
479 (val (srecode-dictionary-lookup-name 479 (val (srecode-dictionary-lookup-name
480 dictionary name)) 480 dictionary name))
481 (do-princ t) 481 (do-princ t)
@@ -548,7 +548,7 @@ Loop over the prompts to see if we have a match."
548 ) 548 )
549 (while prompts 549 (while prompts
550 (when (string= (semantic-tag-name (car prompts)) 550 (when (string= (semantic-tag-name (car prompts))
551 (oref ins :object-name)) 551 (slot-value ins 'object-name))
552 (oset ins :prompt 552 (oset ins :prompt
553 (semantic-tag-get-attribute (car prompts) :text)) 553 (semantic-tag-get-attribute (car prompts) :text))
554 (oset ins :defaultfcn 554 (oset ins :defaultfcn
@@ -564,7 +564,7 @@ Loop over the prompts to see if we have a match."
564 dictionary) 564 dictionary)
565 "Insert the STI inserter." 565 "Insert the STI inserter."
566 (let ((val (srecode-dictionary-lookup-name 566 (let ((val (srecode-dictionary-lookup-name
567 dictionary (oref sti :object-name)))) 567 dictionary (slot-value sti 'object-name))))
568 (if val 568 (if val
569 ;; Does some extra work. Oh well. 569 ;; Does some extra work. Oh well.
570 (cl-call-next-method) 570 (cl-call-next-method)
@@ -580,7 +580,7 @@ Loop over the prompts to see if we have a match."
580 ;; the user can use the same name again later. 580 ;; the user can use the same name again later.
581 (srecode-dictionary-set-value 581 (srecode-dictionary-set-value
582 (srecode-root-dictionary dictionary) 582 (srecode-root-dictionary dictionary)
583 (oref sti :object-name) val) 583 (slot-value sti 'object-name) val)
584 584
585 ;; Now that this value is safely stowed in the dictionary, 585 ;; Now that this value is safely stowed in the dictionary,
586 ;; we can do what regular inserters do. 586 ;; we can do what regular inserters do.
@@ -590,7 +590,7 @@ Loop over the prompts to see if we have a match."
590 dictionary) 590 dictionary)
591 "Derive the default value for an askable inserter STI. 591 "Derive the default value for an askable inserter STI.
592DICTIONARY is used to derive some values." 592DICTIONARY is used to derive some values."
593 (let ((defaultfcn (oref sti :defaultfcn))) 593 (let ((defaultfcn (slot-value sti 'defaultfcn)))
594 (cond 594 (cond
595 ((stringp defaultfcn) 595 ((stringp defaultfcn)
596 defaultfcn) 596 defaultfcn)
@@ -617,13 +617,13 @@ DICTIONARY is used to derive some values."
617Use DICTIONARY to resolve values." 617Use DICTIONARY to resolve values."
618 (let* ((prompt (oref sti prompt)) 618 (let* ((prompt (oref sti prompt))
619 (default (srecode-insert-ask-default sti dictionary)) 619 (default (srecode-insert-ask-default sti dictionary))
620 (reader (oref sti :read-fcn)) 620 (reader (slot-value sti 'read-fcn))
621 (val nil) 621 (val nil)
622 ) 622 )
623 (cond ((eq reader 'y-or-n-p) 623 (cond ((eq reader 'y-or-n-p)
624 (if (y-or-n-p (or prompt 624 (if (y-or-n-p (or prompt
625 (format "%s? " 625 (format "%s? "
626 (oref sti :object-name)))) 626 (slot-value sti 'object-name))))
627 (setq val default) 627 (setq val default)
628 (setq val ""))) 628 (setq val "")))
629 ((eq reader 'read-char) 629 ((eq reader 'read-char)
@@ -631,14 +631,14 @@ Use DICTIONARY to resolve values."
631 "%c" 631 "%c"
632 (read-char (or prompt 632 (read-char (or prompt
633 (format "Char for %s: " 633 (format "Char for %s: "
634 (oref sti :object-name)))))) 634 (slot-value sti 'object-name))))))
635 ) 635 )
636 (t 636 (t
637 (save-excursion 637 (save-excursion
638 (setq val (funcall reader 638 (setq val (funcall reader
639 (or prompt 639 (or prompt
640 (format "Specify %s: " 640 (format "Specify %s: "
641 (oref sti :object-name))) 641 (slot-value sti 'object-name)))
642 default 642 default
643 ))))) 643 )))))
644 ;; Return our derived value. 644 ;; Return our derived value.
@@ -651,7 +651,7 @@ Use DICTIONARY to resolve values."
651Use DICTIONARY to resolve values." 651Use DICTIONARY to resolve values."
652 (let* ((default (srecode-insert-ask-default sti dictionary)) 652 (let* ((default (srecode-insert-ask-default sti dictionary))
653 (compound-value 653 (compound-value
654 (srecode-field-value (oref sti :object-name) 654 (srecode-field-value (slot-value sti 'object-name)
655 :firstinserter sti 655 :firstinserter sti
656 :defaultvalue default)) 656 :defaultvalue default))
657 ) 657 )
@@ -819,12 +819,12 @@ Arguments ESCAPE-START and ESCAPE-END are the current escape sequences in use."
819Loops over the embedded CODE which was saved here during compilation. 819Loops over the embedded CODE which was saved here during compilation.
820The template to insert is stored in SLOT." 820The template to insert is stored in SLOT."
821 (let ((dicts (srecode-dictionary-lookup-name 821 (let ((dicts (srecode-dictionary-lookup-name
822 dictionary (oref sti :object-name)))) 822 dictionary (slot-value sti 'object-name))))
823 (when (not (listp dicts)) 823 (when (not (listp dicts))
824 (srecode-insert-report-error 824 (srecode-insert-report-error
825 dictionary 825 dictionary
826 "Cannot insert section %S from non-section variable." 826 "Cannot insert section %S from non-section variable."
827 (oref sti :object-name))) 827 (slot-value sti 'object-name)))
828 ;; If there is no section dictionary, then don't output anything 828 ;; If there is no section dictionary, then don't output anything
829 ;; from this section. 829 ;; from this section.
830 (while dicts 830 (while dicts
@@ -832,7 +832,7 @@ The template to insert is stored in SLOT."
832 (srecode-insert-report-error 832 (srecode-insert-report-error
833 dictionary 833 dictionary
834 "Cannot insert section %S from non-section variable." 834 "Cannot insert section %S from non-section variable."
835 (oref sti :object-name))) 835 (slot-value sti 'object-name)))
836 (srecode-insert-subtemplate sti (car dicts) slot) 836 (srecode-insert-subtemplate sti (car dicts) slot)
837 (setq dicts (cdr dicts))))) 837 (setq dicts (cdr dicts)))))
838 838
@@ -863,7 +863,7 @@ applied to the text between the section start and the
863Shorten input until the END token is found. 863Shorten input until the END token is found.
864Return the remains of INPUT." 864Return the remains of INPUT."
865 (let* ((out (srecode-compile-split-code tag input STATE 865 (let* ((out (srecode-compile-split-code tag input STATE
866 (oref ins :object-name)))) 866 (slot-value ins 'object-name))))
867 (oset ins template (srecode-template 867 (oset ins template (srecode-template
868 (eieio-object-name-string ins) 868 (eieio-object-name-string ins)
869 :context nil 869 :context nil
@@ -896,7 +896,7 @@ are treated specially.")
896(cl-defmethod srecode-match-end ((ins srecode-template-inserter-section-end) name) 896(cl-defmethod srecode-match-end ((ins srecode-template-inserter-section-end) name)
897 897
898 "For the template inserter INS, do I end a section called NAME?" 898 "For the template inserter INS, do I end a section called NAME?"
899 (string= name (oref ins :object-name))) 899 (string= name (slot-value ins 'object-name)))
900 900
901(defclass srecode-template-inserter-include (srecode-template-inserter-subtemplate) 901(defclass srecode-template-inserter-include (srecode-template-inserter-subtemplate)
902 ((key :initform ?> 902 ((key :initform ?>
@@ -927,13 +927,13 @@ Arguments ESCAPE-START and ESCAPE-END are the current escape sequences in use."
927 "For the template inserter STI, lookup the template to include. 927 "For the template inserter STI, lookup the template to include.
928Finds the template with this macro function part and stores it in 928Finds the template with this macro function part and stores it in
929this template instance." 929this template instance."
930 (let ((templatenamepart (oref sti :secondname))) 930 (let ((templatenamepart (slot-value sti 'secondname)))
931 ;; If there was no template name, throw an error. 931 ;; If there was no template name, throw an error.
932 (unless templatenamepart 932 (unless templatenamepart
933 (srecode-insert-report-error 933 (srecode-insert-report-error
934 dictionary 934 dictionary
935 "Include macro `%s' needs a template name" 935 "Include macro `%s' needs a template name"
936 (oref sti :object-name))) 936 (slot-value sti 'object-name)))
937 937
938 ;; NOTE: We used to cache the template and not look it up a second time, 938 ;; NOTE: We used to cache the template and not look it up a second time,
939 ;; but changes in the template tables can change which template is 939 ;; but changes in the template tables can change which template is
@@ -978,7 +978,7 @@ this template instance."
978 (srecode-insert-report-error 978 (srecode-insert-report-error
979 dictionary 979 dictionary
980 "No template \"%s\" found for include macro `%s'" 980 "No template \"%s\" found for include macro `%s'"
981 templatenamepart (oref sti :object-name))))) 981 templatenamepart (slot-value sti 'object-name)))))
982 982
983(cl-defmethod srecode-insert-method ((sti srecode-template-inserter-include) 983(cl-defmethod srecode-insert-method ((sti srecode-template-inserter-include)
984 dictionary) 984 dictionary)
@@ -988,7 +988,7 @@ with the dictionaries found in the dictionary."
988 (srecode-insert-include-lookup sti dictionary) 988 (srecode-insert-include-lookup sti dictionary)
989 ;; Insert the template. 989 ;; Insert the template.
990 ;; Our baseclass has a simple way to do this. 990 ;; Our baseclass has a simple way to do this.
991 (if (srecode-dictionary-lookup-name dictionary (oref sti :object-name)) 991 (if (srecode-dictionary-lookup-name dictionary (slot-value sti 'object-name))
992 ;; If we have a value, then call the next method 992 ;; If we have a value, then call the next method
993 (srecode-insert-method-helper sti dictionary 'includedtemplate) 993 (srecode-insert-method-helper sti dictionary 'includedtemplate)
994 ;; If we don't have a special dictionary, then just insert with the 994 ;; If we don't have a special dictionary, then just insert with the
@@ -1057,7 +1057,7 @@ template where a ^ inserter occurs."
1057 (lambda (dict) 1057 (lambda (dict)
1058 (let ((srecode-template-inserter-point-override nil)) 1058 (let ((srecode-template-inserter-point-override nil))
1059 (if (srecode-dictionary-lookup-name 1059 (if (srecode-dictionary-lookup-name
1060 dict (oref inserter1 :object-name)) 1060 dict (slot-value inserter1 'object-name))
1061 ;; Insert our sectional part with looping. 1061 ;; Insert our sectional part with looping.
1062 (srecode-insert-method-helper 1062 (srecode-insert-method-helper
1063 inserter1 dict 'template) 1063 inserter1 dict 'template)
diff --git a/lisp/cedet/srecode/mode.el b/lisp/cedet/srecode/mode.el
index 566ab5d366a..c92c45fa885 100644
--- a/lisp/cedet/srecode/mode.el
+++ b/lisp/cedet/srecode/mode.el
@@ -196,7 +196,7 @@ MENU-DEF is the menu to bind this into."
196 ;;(srecode-load-tables-for-mode major-mode) 196 ;;(srecode-load-tables-for-mode major-mode)
197 197
198 (let* ((modetable (srecode-get-mode-table major-mode)) 198 (let* ((modetable (srecode-get-mode-table major-mode))
199 (subtab (when modetable (oref modetable :tables))) 199 (subtab (when modetable (slot-value modetable 'tables)))
200 (context nil) 200 (context nil)
201 (active nil) 201 (active nil)
202 (ltab nil) 202 (ltab nil)
@@ -319,17 +319,17 @@ Template is chosen based on the mode of the starting buffer."
319 (if (not temp) 319 (if (not temp)
320 (error "No Template named %s" template-name)) 320 (error "No Template named %s" template-name))
321 ;; We need a template specific table, since tables chain. 321 ;; We need a template specific table, since tables chain.
322 (let ((tab (oref temp :table)) 322 (let ((tab (slot-value temp 'table))
323 (names nil) 323 (names nil)
324 ) 324 )
325 (find-file (oref tab :file)) 325 (find-file (slot-value tab 'file))
326 (setq names (semantic-find-tags-by-name (oref temp :object-name) 326 (setq names (semantic-find-tags-by-name (slot-value temp 'object-name)
327 (current-buffer))) 327 (current-buffer)))
328 (cond ((= (length names) 1) 328 (cond ((= (length names) 1)
329 (semantic-go-to-tag (car names)) 329 (semantic-go-to-tag (car names))
330 (semantic-momentary-highlight-tag (car names))) 330 (semantic-momentary-highlight-tag (car names)))
331 ((> (length names) 1) 331 ((> (length names) 1)
332 (let* ((ctxt (semantic-find-tags-by-name (oref temp :context) 332 (let* ((ctxt (semantic-find-tags-by-name (slot-value temp 'context)
333 (current-buffer))) 333 (current-buffer)))
334 (cls (semantic-find-tags-by-class 'context ctxt)) 334 (cls (semantic-find-tags-by-class 'context ctxt))
335 ) 335 )
diff --git a/lisp/cedet/srecode/semantic.el b/lisp/cedet/srecode/semantic.el
index 7e24a320483..9500ca35979 100644
--- a/lisp/cedet/srecode/semantic.el
+++ b/lisp/cedet/srecode/semantic.el
@@ -63,9 +63,9 @@ If FUNCTION is non-nil, then FUNCTION is somehow applied to an
63aspect of the compound value." 63aspect of the compound value."
64 (if (not function) 64 (if (not function)
65 ;; Just format it in some handy dandy way. 65 ;; Just format it in some handy dandy way.
66 (semantic-format-tag-prototype (oref cp :prime)) 66 (semantic-format-tag-prototype (slot-value cp 'prime))
67 ;; Otherwise, apply the function to the tag itself. 67 ;; Otherwise, apply the function to the tag itself.
68 (funcall function (oref cp :prime)) 68 (funcall function (slot-value cp 'prime))
69 )) 69 ))
70 70
71 71
@@ -106,7 +106,7 @@ variable default values, and other things."
106 (srecode-dictionary-set-value dict "TAG" tagobj) 106 (srecode-dictionary-set-value dict "TAG" tagobj)
107 107
108 ;; Pull out the tag for the individual pieces. 108 ;; Pull out the tag for the individual pieces.
109 (let ((tag (oref tagobj :prime))) 109 (let ((tag (slot-value tagobj 'prime)))
110 110
111 (srecode-dictionary-set-value dict "NAME" (semantic-tag-name tag)) 111 (srecode-dictionary-set-value dict "NAME" (semantic-tag-name tag))
112 (srecode-dictionary-set-value dict "TYPE" (semantic-format-tag-type tag nil)) 112 (srecode-dictionary-set-value dict "TYPE" (semantic-format-tag-type tag nil))
diff --git a/lisp/cedet/srecode/srt-mode.el b/lisp/cedet/srecode/srt-mode.el
index 1a5a656e29a..2b0672a52c5 100644
--- a/lisp/cedet/srecode/srt-mode.el
+++ b/lisp/cedet/srecode/srt-mode.el
@@ -502,10 +502,10 @@ section or ? for an ask variable."
502 ) 502 )
503 (when inserter 503 (when inserter
504 (let ((base 504 (let ((base
505 (cons (oref inserter :object-name) 505 (cons (slot-value inserter 'object-name)
506 (if (and (slot-boundp inserter :secondname) 506 (if (and (slot-boundp inserter :secondname)
507 (oref inserter :secondname)) 507 (slot-value inserter 'secondname))
508 (split-string (oref inserter :secondname) 508 (split-string (slot-value inserter 'secondname)
509 ":") 509 ":")
510 nil))) 510 nil)))
511 (key (oref inserter key))) 511 (key (oref inserter key)))
@@ -629,7 +629,7 @@ section or ? for an ask variable."
629 "Return a list of possible completions based on NONTEXT. 629 "Return a list of possible completions based on NONTEXT.
630Any extra FLAGS are ignored." 630Any extra FLAGS are ignored."
631 (with-current-buffer (oref context buffer) 631 (with-current-buffer (oref context buffer)
632 (let* ((prefix (car (last (oref context :prefix)))) 632 (let* ((prefix (car (last (slot-value context 'prefix))))
633 (prefixstr (cond ((stringp prefix) 633 (prefixstr (cond ((stringp prefix)
634 prefix) 634 prefix)
635 ((semantic-tag-p prefix) 635 ((semantic-tag-p prefix)
@@ -640,7 +640,7 @@ Any extra FLAGS are ignored."
640; prefix) 640; prefix)
641; ((stringp (car prefix)) 641; ((stringp (car prefix))
642; (car prefix)))) 642; (car prefix))))
643 (argtype (car (oref context :argument))) 643 (argtype (car (slot-value context 'argument)))
644 (matches nil)) 644 (matches nil))
645 645
646 ;; Depending on what the analyzer is, we have different ways 646 ;; Depending on what the analyzer is, we have different ways
diff --git a/lisp/cedet/srecode/table.el b/lisp/cedet/srecode/table.el
index 98e0c2d1d14..82b76400522 100644
--- a/lisp/cedet/srecode/table.el
+++ b/lisp/cedet/srecode/table.el
@@ -201,8 +201,8 @@ INIT are the initialization parameters for the new template table."
201 ;; into the search table first, allowing lower priority items 201 ;; into the search table first, allowing lower priority items
202 ;; to be the items found in the search table. 202 ;; to be the items found in the search table.
203 (object-sort-list mt 'modetables (lambda (a b) 203 (object-sort-list mt 'modetables (lambda (a b)
204 (> (oref a :priority) 204 (> (slot-value a 'priority)
205 (oref b :priority)))) 205 (slot-value b 'priority))))
206 ;; Return it. 206 ;; Return it.
207 new)) 207 new))
208 208
@@ -239,9 +239,9 @@ Use PREDICATE is the same as for the `sort' function."
239(cl-defmethod srecode-dump ((tab srecode-mode-table)) 239(cl-defmethod srecode-dump ((tab srecode-mode-table))
240 "Dump the contents of the SRecode mode table TAB." 240 "Dump the contents of the SRecode mode table TAB."
241 (princ "MODE TABLE FOR ") 241 (princ "MODE TABLE FOR ")
242 (princ (oref tab :major-mode)) 242 (princ (slot-value tab 'major-mode))
243 (princ "\n--------------------------------------------\n\nNumber of tables: ") 243 (princ "\n--------------------------------------------\n\nNumber of tables: ")
244 (let ((subtab (oref tab :tables))) 244 (let ((subtab (slot-value tab 'tables)))
245 (princ (length subtab)) 245 (princ (length subtab))
246 (princ "\n\n") 246 (princ "\n\n")
247 (while subtab 247 (while subtab
@@ -254,17 +254,17 @@ Use PREDICATE is the same as for the `sort' function."
254 (princ "Template Table for ") 254 (princ "Template Table for ")
255 (princ (eieio-object-name-string tab)) 255 (princ (eieio-object-name-string tab))
256 (princ "\nPriority: ") 256 (princ "\nPriority: ")
257 (prin1 (oref tab :priority)) 257 (prin1 (slot-value tab 'priority))
258 (when (oref tab :application) 258 (when (slot-value tab 'application)
259 (princ "\nApplication: ") 259 (princ "\nApplication: ")
260 (princ (oref tab :application))) 260 (princ (slot-value tab 'application)))
261 (when (oref tab :framework) 261 (when (slot-value tab 'framework)
262 (princ "\nFramework: ") 262 (princ "\nFramework: ")
263 (princ (oref tab :framework))) 263 (princ (slot-value tab 'framework)))
264 (when (oref tab :project) 264 (when (slot-value tab 'project)
265 (require 'srecode/find) ; For srecode-template-table-in-project-p 265 (require 'srecode/find) ; For srecode-template-table-in-project-p
266 (princ "\nProject Directory: ") 266 (princ "\nProject Directory: ")
267 (princ (oref tab :project)) 267 (princ (slot-value tab 'project))
268 (when (not (srecode-template-table-in-project-p tab)) 268 (when (not (srecode-template-table-in-project-p tab))
269 (princ "\n ** Not Usable in this file. **"))) 269 (princ "\n ** Not Usable in this file. **")))
270 (princ "\n\nVariables:\n") 270 (princ "\n\nVariables:\n")
diff --git a/lisp/cedet/srecode/texi.el b/lisp/cedet/srecode/texi.el
index 5cc57bebee5..7220ce6b0c4 100644
--- a/lisp/cedet/srecode/texi.el
+++ b/lisp/cedet/srecode/texi.el
@@ -156,7 +156,7 @@ Adds the following:
156 (error "No tag to insert for :texitag template argument")) 156 (error "No tag to insert for :texitag template argument"))
157 157
158 ;; Extract the tag out of the compound object. 158 ;; Extract the tag out of the compound object.
159 (setq tag (oref tag :prime)) 159 (setq tag (slot-value tag 'prime))
160 160
161 ;; Extract the doc string 161 ;; Extract the doc string
162 (setq doc (semantic-documentation-for-tag tag)) 162 (setq doc (semantic-documentation-for-tag tag))