I encountered the same problem:  `custom-set-default' is not defined in
`custom.el' or any other package of our installation of XEmacs  (XEmacs
21.1.7). Is it a standard part of XEmacs? If not, where can I get the
corresponding package?  (GNU Emacs's version of custom.el does contain
the definition of custom-set-default.)

Georg


"Schewe, Jon (MN65)" wrote:
> 
> I just decided to give this a try and when I tried to load the elib file I
> get:
> Load error for /home/jschewe/elib/jde-import-org.el:
> (void-function custom-set-default)
> 
> I'm using XEmacs 21.1.12.
> 
> -----Original Message-----
> From: David Ponce [mailto:[EMAIL PROTECTED]]
> Sent: Friday, November 17, 2000 5:59 AM
> To: jde
> Cc: david
> Subject: Re: FW: Improved command to organize import statements
> 
> Hello Jeff,
> 
> Thank you again for your feedback :-)
> 
> I made a new version jde-import-org.el attached here.
> 
> It contains the following changes:
> 
> - New `jde-import-group-function' option to specify the function used
>   to associate import token to group. The default one is
>   `jde-import-group-of'. This let the user to completely handle the
>   way imports are grouped.
> 
> - New `jde-import-sorted-groups' option to specify if groups will be
>   sorted. Notice that the *default* group (the one that contains
>   imports not belonging to any specific group) is allways the last
>   group.
> 
> - Improvement of the function `jde-import-group-of'. For consistency
>   `jde-import-group-rules' is now `jde-import-group-of-rules' and it
>   is now possible to associate a group regexp to a particular name.
> 
> I was able to organize imports like your need using the following
> customization:
> 
> - `jde-import-sorted-groups' set to 'asc (Sort groups alphabetically).
> 
> - `jde-import-group-of-rules' set to
>   '(("^\\([^.]+\\([.][^.]+[.]\\)*\\)" . 1)). If you add the rule
>   ("^javax?\\." . "") then standard packages will always go into a
>   topmost group. Also, you can use ("^javax?\\." . "java") to have all
>   groups in alphabetic order.
> 
> Any feedback will be welcome.
> 
> Sincerely,
> David

Reply via email to