Hi Richard,
This had me befuddled for a little bit too, but I had the problem in
some of the EDE projects. If you look at the end of the files that did
create their loaddefs correctly, you will see that they have a comment
like this from ede/android.el:
;; Local variables:
;; generated-autoload-file: "loaddefs.el"
;; generated-autoload-load-name: "ede/android"
;; End:
I think the items you identified just need to have these comments added
to them.
Eric
On 06/24/2012 06:10 PM, Richard Kim wrote:
> I would like to report what seems to be a bug in either cedet's makefile
> or in emacs' batch-update-autoloads in that some of the autoload paths
> are missing directory prefixes. I tried this on emacs 23.4 as well as
> latest emacs from bzr trunk that I compiled, i.e., 24.1.50.x.
> This is using latest cedet from bzr.
>
> lisp/cedet/semantic/loaddefs.el
> is created when "make clean-autoloads autoloads" is done.
> This file has about 168 autoloads in all.
> All but 28 have "semantic/" path prefix in the autoload file name.
> The patch shown has 28 chunks all of which is to add the missing
> "semantic/" path prefix.
>
> I believe the lack of "semantic/" prefix is a bug, because cedet's
> "lisp/cedet" is in load-path, but not the subdirectories of it.
>
> Do other people get the same result?
> If so, do you agree that it is a bug?
>
>
> $ diff -u lisp/cedet/semantic/loaddefs.el lisp/cedet/semantic/modified-loaddefs.el
> --- lisp/cedet/semantic/loaddefs.el 2012-06-24 14:58:02.218284850 -0700
> +++ lisp/cedet/semantic/modified-loaddefs.el 2012-06-24 14:57:53.070199210 -0700
> @@ -11,12 +11,12 @@
> ;;;;;; "adebug" "adebug.el" (20452 30605))
> ;;; Generated autoloads from adebug.el
>
> -(autoload 'data-debug-insert-tag-parts-from-point "adebug" "\
> +(autoload 'data-debug-insert-tag-parts-from-point "semantic/adebug" "\
> Call `data-debug-insert-tag-parts' based on text properties at POINT.
>
> \(fn POINT)" nil nil)
>
> -(autoload 'data-debug-insert-tag "adebug" "\
> +(autoload 'data-debug-insert-tag "semantic/adebug" "\
> Insert TAG into the current buffer at the current point.
> PREFIX specifies text to insert in front of TAG.
> PREBUTTONTEXT is text appearing btewen the prefix and TAG.
> @@ -25,13 +25,13 @@
>
> \(fn TAG PREFIX PREBUTTONTEXT&optional PARENT)" nil nil)
>
> -(autoload 'data-debug-insert-tag-list "adebug" "\
> +(autoload 'data-debug-insert-tag-list "semantic/adebug" "\
> Insert the tag list TAGLIST with PREFIX.
> Optional argument PARENT specifies the part of TAGLIST.
>
> \(fn TAGLIST PREFIX&optional PARENT)" nil nil)
>
> -(autoload 'data-debug-insert-tag-list-button "adebug" "\
> +(autoload 'data-debug-insert-tag-list-button "semantic/adebug" "\
> Insert a single summary of a TAGLIST.
> PREFIX is the text that preceeds the button.
> PREBUTTONTEXT is some text between PREFIX and the taglist button.
> @@ -39,37 +39,37 @@
>
> \(fn TAGLIST PREFIX PREBUTTONTEXT&optional PARENT)" nil nil)
>
> -(autoload 'data-debug-insert-find-results "adebug" "\
> +(autoload 'data-debug-insert-find-results "semantic/adebug" "\
> Insert the find results FINDRES with PREFIX.
>
> \(fn FINDRES PREFIX)" nil nil)
>
> -(autoload 'data-debug-insert-find-results-button "adebug" "\
> +(autoload 'data-debug-insert-find-results-button "semantic/adebug" "\
> Insert a single summary of a find results FINDRES.
> PREFIX is the text that preceeds the button.
> PREBUTTONTEXT is some text between prefix and the find results button.
>
> \(fn FINDRES PREFIX PREBUTTONTEXT)" nil nil)
>
> -(autoload 'data-debug-insert-db-and-tag-button "adebug" "\
> +(autoload 'data-debug-insert-db-and-tag-button "semantic/adebug" "\
> Insert a single summary of short list DBTAG of format (DB . TAG).
> PREFIX is the text that preceeds the button.
> PREBUTTONTEXT is some text between prefix and the find results button.
>
> \(fn DBTAG PREFIX PREBUTTONTEXT)" nil nil)
>
> -(autoload 'semantic-adebug-bovinate "adebug" "\
> +(autoload 'semantic-adebug-bovinate "semantic/adebug" "\
> The same as `bovinate'. Display the results in a debug buffer.
>
> \(fn)" t nil)
>
> -(autoload 'semantic-adebug-searchdb "adebug" "\
> +(autoload 'semantic-adebug-searchdb "semantic/adebug" "\
> Search the semanticdb for REGEX for the current buffer.
> Display the results as a debug list.
>
> \(fn REGEX)" t nil)
>
> -(autoload 'semanticdb-debug-file-tag-check "adebug" "\
> +(autoload 'semanticdb-debug-file-tag-check "semantic/adebug" "\
> Report debug info for checking STARTFILE for up-to-date tags.
>
> \(fn STARTFILE)" t nil)
> @@ -85,17 +85,17 @@
> (define-widget 'tag-edit 'group "\
> Abstractly modify a Semantic Tag." :tag "Tag" :format "%v" :convert-widget (quote widget-types-convert-widget) :value-create (quote semantic-tag-widget-value-create) :value-get (quote semantic-tag-widget-value-get) :value-delete (quote widget-children-value-delete) :validate (quote widget-children-validate) :match (quote semantic-tag-widget-match) :clone-object-children nil)
>
> -(autoload 'semantic-tag-widget-match "custom" "\
> +(autoload 'semantic-tag-widget-match "semantic/custom" "\
> Match infor for WIDGET against VALUE.
>
> \(fn WIDGET VALUE)" nil nil)
>
> -(autoload 'semantic-tag-widget-value-create "custom" "\
> +(autoload 'semantic-tag-widget-value-create "semantic/custom" "\
> Create the value of WIDGET.
>
> \(fn WIDGET)" nil nil)
>
> -(autoload 'semantic-tag-widget-value-get "custom" "\
> +(autoload 'semantic-tag-widget-value-get "semantic/custom" "\
> Get the value out of WIDGET.
>
> \(fn WIDGET)" nil nil)
> @@ -104,17 +104,17 @@
> A Semantic Tag." :format "%{%t%}:
> %v" :value-to-internal (quote semantic-tag-widget-to-internal) :value-to-external (quote semantic-tag-widget-to-external) :close-object-children t)
>
> -(autoload 'semantic-tag-widget-to-internal "custom" "\
> +(autoload 'semantic-tag-widget-to-internal "semantic/custom" "\
> For WIDGET, convert VALUE to a safe representation.
>
> \(fn WIDGET VALUE)" nil nil)
>
> -(autoload 'semantic-tag-widget-to-external "custom" "\
> +(autoload 'semantic-tag-widget-to-external "semantic/custom" "\
> For WIDGET, convert VALUE from the abstract value.
>
> \(fn WIDGET VALUE)" nil nil)
>
> -(autoload 'semantic-tag-customize "custom" "\
> +(autoload 'semantic-tag-customize "semantic/custom" "\
> Customize TAG.
> When the user clicks 'ACCEPT', then the location where TAG
> is stored is directly modified.
> @@ -128,7 +128,7 @@
> ;;;;;; "db-cscope.el" (20375 26885))
> ;;; Generated autoloads from db-cscope.el
>
> -(autoload 'semanticdb-enable-cscope-databases "db-cscope" "\
> +(autoload 'semanticdb-enable-cscope-databases "semantic/db-cscope" "\
> Enable the use of the CScope back end for all files in C/C++.
> This will add an instance of a CScope database to each buffer in a
> CScope supported hierarchy.
> @@ -151,7 +151,7 @@
> ;;;;;; "db-search" "db-search.el" (20375 26885))
> ;;; Generated autoloads from db-search.el
>
> -(autoload 'semanticdb-find-nonterminal-by-token "db-search" "\
> +(autoload 'semanticdb-find-nonterminal-by-token "semantic/db-search" "\
> OBSOLETE:
> Find all occurances of nonterminals with token TOKEN in databases.
> See `semanticdb-find-nonterminal-by-function' for details on DATABASES,
> @@ -160,7 +160,7 @@
>
> \(fn TOKEN&optional DATABASES SEARCH-PARTS SEARCH-INCLUDES DIFF-MODE FIND-FILE-MATCH IGNORE-SYSTEM)" nil nil)
>
> -(autoload 'semanticdb-find-nonterminal-by-name "db-search" "\
> +(autoload 'semanticdb-find-nonterminal-by-name "semantic/db-search" "\
> OBSOLETE:
> Find all occurances of nonterminals with name NAME in databases.
> See `semanticdb-find-nonterminal-by-function' for details on DATABASES,
> @@ -169,7 +169,7 @@
>
> \(fn NAME&optional DATABASES SEARCH-PARTS SEARCH-INCLUDES DIFF-MODE FIND-FILE-MATCH IGNORE-SYSTEM)" nil nil)
>
> -(autoload 'semanticdb-find-nonterminal-by-name-regexp "db-search" "\
> +(autoload 'semanticdb-find-nonterminal-by-name-regexp "semantic/db-search" "\
> OBSOLETE:
> Find all occurances of nonterminals with name matching REGEX in databases.
> See `semanticdb-find-nonterminal-by-function' for details on DATABASES,
> @@ -178,7 +178,7 @@
>
> \(fn REGEX&optional DATABASES SEARCH-PARTS SEARCH-INCLUDES DIFF-MODE FIND-FILE-MATCH IGNORE-SYSTEM)" nil nil)
>
> -(autoload 'semanticdb-find-nonterminal-by-type "db-search" "\
> +(autoload 'semanticdb-find-nonterminal-by-type "semantic/db-search" "\
> OBSOLETE:
> Find all nonterminals with a type of TYPE in databases.
> See `semanticdb-find-nonterminal-by-function' for details on DATABASES,
> @@ -187,7 +187,7 @@
>
> \(fn TYPE&optional DATABASES SEARCH-PARTS SEARCH-INCLUDES DIFF-MODE FIND-FILE-MATCH IGNORE-SYSTEM)" nil nil)
>
> -(autoload 'semanticdb-find-nonterminal-by-property "db-search" "\
> +(autoload 'semanticdb-find-nonterminal-by-property "semantic/db-search" "\
> OBSOLETE:
> Find all nonterminals with a PROPERTY equal to VALUE in databases.
> See `semanticdb-find-nonterminal-by-function' for details on DATABASES,
> @@ -196,7 +196,7 @@
>
> \(fn PROPERTY VALUE&optional DATABASES SEARCH-PARTS SEARCH-INCLUDES DIFF-MODE FIND-FILE-MATCH IGNORE-SYSTEM)" nil nil)
>
> -(autoload 'semanticdb-find-nonterminal-by-extra-spec "db-search" "\
> +(autoload 'semanticdb-find-nonterminal-by-extra-spec "semantic/db-search" "\
> OBSOLETE:
> Find all nonterminals with a SPEC in databases.
> See `semanticdb-find-nonterminal-by-function' for details on DATABASES,
> @@ -205,7 +205,7 @@
>
> \(fn SPEC&optional DATABASES SEARCH-PARTS SEARCH-INCLUDES DIFF-MODE FIND-FILE-MATCH IGNORE-SYSTEM)" nil nil)
>
> -(autoload 'semanticdb-find-nonterminal-by-extra-spec-value "db-search" "\
> +(autoload 'semanticdb-find-nonterminal-by-extra-spec-value "semantic/db-search" "\
> OBSOLETE:
> Find all nonterminals with a SPEC equal to VALUE in databases.
> See `semanticdb-find-nonterminal-by-function' for details on DATABASES,
> @@ -214,7 +214,7 @@
>
> \(fn SPEC VALUE&optional DATABASES SEARCH-PARTS SEARCH-INCLUDES DIFF-MODE FIND-FILE-MATCH IGNORE-SYSTEM)" nil nil)
>
> -(autoload 'semanticdb-find-nonterminal-by-function "db-search" "\
> +(autoload 'semanticdb-find-nonterminal-by-function "semantic/db-search" "\
> OBSOLETE:
> Find all occurances of nonterminals which match FUNCTION.
> Search in all DATABASES. If DATABASES is nil, search a range of
> @@ -237,7 +237,7 @@
> ;;;;;; (20375 26885))
> ;;; Generated autoloads from ectags/parse.el
>
> -(autoload 'semantic-ectags-parse-buffer "ectags/parse" "\
> +(autoload 'semantic-ectags-parse-buffer "semantic/ectags/parse" "\
> Execute Exuberant CTags on this buffer.
> Convert the output tags into Semantic tags.
>
> @@ -249,12 +249,12 @@
> ;;;;;; "elp" "elp.el" (20375 26885))
> ;;; Generated autoloads from elp.el
>
> -(autoload 'semantic-elp-analyze "elp" "\
> +(autoload 'semantic-elp-analyze "semantic/elp" "\
> Run the analyzer, using ELP to measure performance.
>
> \(fn)" t nil)
>
> -(autoload 'semantic-elp-load-old-run "elp" "\
> +(autoload 'semantic-elp-load-old-run "semantic/elp" "\
> Load an old run from FILE, and show it.
>
> \(fn FILE)" t nil)
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Cedet-devel mailing list
> Cedet-devel@...
> https://lists.sourceforge.net/lists/listinfo/cedet-devel
>
|