Adrian Aichner <adrian(a)xemacs.org> writes:
[...]
Secondly you should submit your patch to the patch maintainer.
One way to find the maintainer is best demonstrated by example (does
that indicate we should provide a smpler mechanism, Norbert?)
1. which package is file in?
M-x locate-library RET tetris RET
leads
Library is file c:\Program Files\XEmacs\xemacs-packages\lisp\games\tetris.elc
which indicates it's in the games packages.
2. Use following command in the buffer produced by pui-list-packages:
i runs the command pui-display-info
This leads
Inst V: 1.13 Auth V: 1.04 Maint: Glynn Clements <glynn(a)sensei.co.uk>
[...]
Yes that's definitely something worth thinking about.
Eg. what, if we were to enhance package-get-package-provider to
display more information, say the maintainer and probably the
author-version as well, ie something like
Index: package-get.el
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/lisp/package-get.el,v
retrieving revision 1.63
diff -u -u -r1.63 package-get.el
--- package-get.el 14 May 2003 23:57:35 -0000 1.63
+++ package-get.el 7 Jun 2003 08:48:52 -0000
@@ -1224,7 +1224,11 @@
(progn (setq done t)
(setq found
(list (caar packages)
- (package-get-info-prop (car this-package) 'version))))
+ (package-get-info-prop (car this-package) 'version)
+ (package-get-info-prop (car this-package)
+ 'maintainer)
+ (package-get-info-prop (car this-package)
+ 'author-version))))
(setq this-package (cdr this-package)))))
(setq packages (cdr packages)))
(when (interactive-p)
This leads to
(package-get-package-provider 'tetris)
=> (games "1.13" "Glynn Clements <glynn(a)sensei.co.uk>"
"1.04")
I'm not sure this doesn't break code, I've only looked up the
references in package-get.el which are not affected by this.
Steve Y, what do you say? Maybe it's better to add another method
which returns a more complete set of items (customisable?) to the
caller and leave p-g-p-p in peace?
norbert.