Content filter sample 2: keywords plugin

John Arbash Meinel john at arbash-meinel.com
Wed May 21 14:46:41 BST 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin Pool wrote:
| On Tue, May 20, 2008 at 2:13 AM, John Arbash Meinel
| <john at arbash-meinel.com> wrote:
|
|> Just a comment. svn has you explictly enable which keywords you want
|> expanded.
|> So you enable $Revision$ doesn't mean that $Now$ is available. I'm not 100%
|> sure
|> if that is better or not, but it seems like a good thing IMO. Then again, as
|> that is set per-file it is a bit different.
|
| To me this seems like it causes more hassle (in needing to list every
| keyword) than it avoids.  Is there a compelling case for wanting some
| keywords expanded but not others?
|

Just that you don't accidentally expand something you didn't realize. Or in,
say, documentation about the $Revision$ parameter. The use cases I can come up
with are pretty marginal, but if you have *lots* of possible expansions it might
be reasonable.

I probably would like to not rule it out as a possibility, but that doesn't mean
it has to be possible now.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkg0J8EACgkQJdeBCYSNAANsJwCbBSKLUsAx3jfmZW8XKGIJbRNt
sQkAoLIA5lvavzBR1YEDzprGnn65oT6i
=mG41
-----END PGP SIGNATURE-----



More information about the bazaar mailing list