At 16:40 02/12/98 +0100, Jan Vroonhof wrote:
Andy Piper <andyp(a)parallax.co.uk> writes:
> That's what I put in the docstring, but it was a slight misnomer in that as
> a side effect it updated installed packages to the latest version. As I
> remember package-get-update-all didn't do this for some reason.
Since the docstring to package-get-update-all says it does exactly
that it should be fixed doesn't.
That's kind of what I meant. I'm not wedded to the custom stuff - I just
think that updating installed packages should be a major op on the menubar.
Now that I remember some more the basic point was that it would be
confusing to have two update functions on the menubar. package-get-custom
does the right thing whether you are using custom or not.
package-get-update-all only does the right thing if you are not using custom.
> Custom probably is a bad way although I think the effect is
correct
> (packages added / removed from the menubar). Although by that argument you
> could argue that custom is bad period - custom is after all the standard
> way of configuring emacs.
Yes. But one big part of custom is that it allows a way for saving
configurations and you do not need that here.
Well maybe. One thing you might want to do is send your installed package
list to someone else for them to use (not my idea). The custom stuff sort
of allows you to do this.
The main advantage of using custom that remains is that this allows
you use customize-browse and friends for a different text interface
Well you get the installed packages on the menuber as well (and get a menu
only interface to installation)
than pui-install-packages. However they offer "save" and
"reset"
options that make no sense whatsoever here, the same for the state
buttons etc.
I wanted to fix this by making them do the correct update - but there
doesn't appear to be any hook that allows me to do this.
Moreover as far as I can see turning a package off using the customize
interface does abosolutely nothing.
Because there was no way of removing packages when I wrote it :)
I am completely convinced that the pui stuff is the Right Way to go -
custom was a quick a dirty means of achieving the same thing using an
interface that people might understand. Really I think the pui stuff needs
to use the widget stuff and menubar to make the custom stuff completely
pointless.
andy
---------------------------------------------------------------------------
" .sigs are like your face - rarely seen by you and uglier than you think"
Dr Andy Piper, Technical Architect, Parallax Solutions Ltd
mail: andyp(a)parallax.co.uk web:
www.parallax.co.uk/~andyp