branch: elpa/vm
commit 11eac8b74f8af3793743286e82b5c200dd708e17
Author: Mark Diekhans <[email protected]>
Commit: Mark Diekhans <[email protected]>
a bit of reorg for developer doc and tools
---
.gitignore | 3 +--
{design => dev-docs/design}/elp-stuff-folder-data.txt | 0
{design => dev-docs/design}/passwords.org | 0
{design => dev-docs/design}/threading.txt | 0
{design => dev-docs/design}/virtual-revolution.txt | 0
dev-docs/releasing.org | 3 +++
{lisp => dev-tools}/autoloads.py | 16 +++++++++-------
7 files changed, 13 insertions(+), 9 deletions(-)
diff --git a/.gitignore b/.gitignore
index a82fb359c3..104bfff898 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,4 @@
-*.elc
+s*.elc
TAGS
configure.lineno
ChangeLog
@@ -12,7 +12,6 @@ qp-decode.exe
qp-encode.exe
*.info*
*.diff
-*.patch
*.log
*.aux
*.cp*
diff --git a/design/elp-stuff-folder-data.txt
b/dev-docs/design/elp-stuff-folder-data.txt
similarity index 100%
rename from design/elp-stuff-folder-data.txt
rename to dev-docs/design/elp-stuff-folder-data.txt
diff --git a/design/passwords.org b/dev-docs/design/passwords.org
similarity index 100%
rename from design/passwords.org
rename to dev-docs/design/passwords.org
diff --git a/design/threading.txt b/dev-docs/design/threading.txt
similarity index 100%
rename from design/threading.txt
rename to dev-docs/design/threading.txt
diff --git a/design/virtual-revolution.txt
b/dev-docs/design/virtual-revolution.txt
similarity index 100%
rename from design/virtual-revolution.txt
rename to dev-docs/design/virtual-revolution.txt
diff --git a/dev-docs/releasing.org b/dev-docs/releasing.org
new file mode 100644
index 0000000000..f74ac2c40f
--- /dev/null
+++ b/dev-docs/releasing.org
@@ -0,0 +1,3 @@
+Releasing VM
+
+
diff --git a/lisp/autoloads.py b/dev-tools/autoloads.py
similarity index 96%
rename from lisp/autoloads.py
rename to dev-tools/autoloads.py
index b7ebec2611..8c779a0e2d 100755
--- a/lisp/autoloads.py
+++ b/dev-tools/autoloads.py
@@ -1,6 +1,10 @@
#!/usr/bin/python
# -*- python -*-
+##
+# program to find missing autoload tokens.
+##
+
import sys
def identifier_start(string, startpos=0):
@@ -48,7 +52,7 @@ def find_defs(filename, pattern="(defun", pos=0):
s = identifier_start(l, s + len(pattern))
while "() \t\r\n.,".find(l[s]) != -1:
s = s + 1
- e = identifier_end(l, s)
+ e = identifier_end(l, s)
if s == e:
raise "Could not find identifier end in " + repr(l)
continue
@@ -79,12 +83,12 @@ def check_calls(filename, funs, missing):
required.append(l[s:e] + ".el")
#print required
continue
-
+
# check for calls to external function without autoloads or require
for c in l.split("("):
s = identifier_start(c, 0)
e = identifier_end(c, s)
-
+
#print repr(c)
s = identifier_start(c, 0)
e = identifier_end(c, s)
@@ -104,9 +108,9 @@ def check_calls(filename, funs, missing):
if f not in missing[d.filename]:
missing[d.filename].append(f)
fd.close()
-
-# emit cross references with missing autoloads
+
+# emit cross references with missing autoloads
if __name__ == '__main__':
funs = {}
for filename in sys.argv[3:]:
@@ -122,5 +126,3 @@ if __name__ == '__main__':
print f
for m in missing[f]:
print "\t", m
-
-