X-Git-Url: https://cgit.sxemacs.org/?p=riece;a=blobdiff_plain;f=doc%2FHACKING;h=882d835d8aa2e3d5bf0fd482958b6ae6132d6b04;hp=c34ec439cb299ff7329aa9c469a62cbebd5a5d1c;hb=cc799b6361e9b7b8e3905cd765bd6d6041969bc8;hpb=c125c943e0dc0b5842aedccfefd40fa6aa96b408 diff --git a/doc/HACKING b/doc/HACKING index c34ec43..882d835 100644 --- a/doc/HACKING +++ b/doc/HACKING @@ -17,7 +17,7 @@ riece-debug to t before preparing a bug report. If the riece-debug variable is set to t, Riece begins to collect debugging information in *Debug* buffer. Interactions with IRC servers are stored in " *IRC*" buffers. Note that -these buffer names start with a whitespace character (" "). +these buffers have names starting with a whitespace character (" "). ** Joining the development @@ -26,10 +26,9 @@ To join the development, send us a patch or an add-on. ** CVS Development of Riece uses CVS. Latest developing version is available -at CVS. Please note that the newest development version from CVS may -NOT be reliable. You can only use it at your own risk. We may ignore -bug reports for that version. The instruction to access the CVS -server is below. +at CVS. Please note that the version from CVS may NOT be reliable, +and you can only use it at your own risk. We may ignore bug reports +for that version. The instruction to access the CVS server is below. (1) logging in to anonymous CVS server @@ -385,28 +384,26 @@ Below is a list of signal names reserved. Elisp modules that satisfy add-on spec should provide the following functions. -- -requires - Return a list of names of other add-ons this add-on depends. (optional) +- -requires (optional) + Return a list of names of other add-ons this add-on depends. - -insinuate Called on initialization of this module. +- -enable (optional) + Called when this add-on is enabled. + +- -disable (optional) + Called when this add-on is disabled. + It is recommended to set short explanation of the add-on to -description variable which is displayed on add-on listing shown up by C-c ^ (M-x riece-command-list-addons). -Add-ons that support enabling/disabling set the current status to --enabled variable. If this variable is nil, the add-on -is regarded as currently disabled. In addition, the add-on must -provide the following two functions. - -- -enable - Called to enable this add-on. - -- -disable - Called to disable this add-on. +To see the add-on's enabled/disabled status, check riece-addon-enabled +property set on symbol. -Riece does the following process when startup. +Riece does the following procedure on add-ons when startup. (1) Load add-ons listed in the riece-addons variable.