gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnu-arch-users] Help please (filetypes)


From: Thomas Zander
Subject: [Gnu-arch-users] Help please (filetypes)
Date: Fri, 2 Jan 2004 13:03:46 +0100
User-agent: KMail/1.5.94

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

For my GUI I created a 'auto tag' feature.
It will tag the file using a 'arch-tag:' automatically based on filetype. What 
I would like to see is if you could give me more tag information then I 
already have.

For each file-extension there is a line where the 'ID' will be replaced with a 
generated ID.  The form being   ^\d*G\d+(.*)$
Where the first number is the line number (empty for last), the second number 
is the column.

Example:   *.java = "G0// arch-tag: ID\n"
Where G is the vi command to go to the last line and in columns 0 the rest of 
the tag will be printed;

Another example:
*.sh = "1G0# arch-tag: ID\n"
Where on the first line (1G in vi will bring you to the first line) and in 
column 0 the '# arch-tag: bla
'
will be printed.

Please take the time to send me lines like these for the obvious and not-so 
obvious filetypes (.pl, .c, .h included) and where you normally put your 
arch-tag info.

Thank you!
- -- 
Thomas Zander
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/9V4oCojCW6H2z/QRAqn/AKDyxo1J2EdCL2EpbZNCNOQN6WphsACfdydQ
omoCYUY570VRQ77BstyxE9A=
=V+Iq
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]