Re: Weird :update targets

Bram Moolenaar <[email protected]>
Newsgroups gmane.comp.tools.aap.devel
Message-ID <[email protected]>
Adriaan de Groot wrote:

> Well, putting it (this rule text) in a module doesn't have the desired
> effect; the rule is not used. If I add it to my recipe then it's fine.
> Is there a way to dump the defined rules in a recipe?

This sounds like the scope of the rule isn't right.  The default is:

    A rule is used in the recipe where it is defined and in its
    siblings, unless an option is used to specify otherwise.

Perhaps you need to add the {global} option to :rule?

-- 
hundred-and-one symptoms of being an internet addict:
1 49. You find your computer sexier than your girlfriend

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///          Creator of Vim - Vi IMproved -- http://www.Vim.org          \\\
\\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
 \\\  Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html  ///


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.