From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.comp.version-control.arch.user,gmane.emacs.devel Subject: Re: arch taglines for emacs Date: 21 Aug 2003 13:36:14 +0900 Sender: gnu-arch-users-bounces+gcvau-arch-users=m.gmane.org@gnu.org Message-ID: References: <87he4cfkhf.fsf@mail.jurta.org> Reply-To: Miles Bader NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1061449951 21681 80.91.224.253 (21 Aug 2003 07:12:31 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 21 Aug 2003 07:12:31 +0000 (UTC) Cc: gnu-arch-users@gnu.org, emacs-devel@gnu.org Original-X-From: gnu-arch-users-bounces+gcvau-arch-users=m.gmane.org@gnu.org Thu Aug 21 09:12:29 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19pjcT-0004On-00 for ; Thu, 21 Aug 2003 09:12:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19phoF-0002Xx-2Z for gcvau-arch-users@m.gmane.org; Thu, 21 Aug 2003 01:16:31 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.20) id 19phgs-0000jV-HL for gnu-arch-users@gnu.org; Thu, 21 Aug 2003 01:08:54 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.20) id 19phJq-0002FJ-2z for gnu-arch-users@gnu.org; Thu, 21 Aug 2003 00:45:38 -0400 Original-Received: from [210.143.35.52] (helo=TYO202.gate.nec.co.jp) by monty-python.gnu.org with esmtp (Exim 4.20) id 19phBO-000888-Q9; Thu, 21 Aug 2003 00:36:23 -0400 Original-Received: from mailgate4.nec.co.jp (mailgate54.nec.co.jp [10.7.69.195]) by TYO202.gate.nec.co.jp (8.11.6/3.7W01080315) with ESMTP id h7L4aHo15626; Thu, 21 Aug 2003 13:36:17 +0900 (JST) Original-Received: from mailsv3.nec.co.jp (mailgate51.nec.co.jp [10.7.69.190]) by mailgate4.nec.co.jp (8.11.6/3.7W-MAILGATE-NEC) with ESMTP id h7L4aHg29448; Thu, 21 Aug 2003 13:36:17 +0900 (JST) Original-Received: from edsgm01.lsi.nec.co.jp ([10.50.208.11]) by mailsv3.nec.co.jp (8.11.6p2/3.7W-MAILSV4-NEC) with ESMTP id h7L4aGQ12158; Thu, 21 Aug 2003 13:36:16 +0900 (JST) Original-Received: from mcsss2.ucom.lsi.nec.co.jp (localhost [127.0.0.1]) by edsgm01.lsi.nec.co.jp (8.9.3p2+3.2W/3.7W_EDC_Ver.1.0) with ESMTP id NAA11299; Thu, 21 Aug 2003 13:36:16 +0900 (JST) Original-Received: from mcspd15.ucom.lsi.nec.co.jp (mcspd15 [10.30.114.174]) by mcsss2.ucom.lsi.nec.co.jp (8.12.8/8.12.8/EDcg v2.01-mc/1046780839) with ESMTP id h7L4aENH009870; Thu, 21 Aug 2003 13:36:14 +0900 (JST) Original-Received: by mcspd15.ucom.lsi.nec.co.jp (Postfix, from userid 31295) id 77E5E3813; Thu, 21 Aug 2003 13:36:14 +0900 (JST) Original-To: Juri Linkov System-Type: i686-pc-linux-gnu Blat: Foop In-Reply-To: <87he4cfkhf.fsf@mail.jurta.org> Original-Lines: 39 X-BeenThere: gnu-arch-users@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: a discussion list for all things arch-ish List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gnu-arch-users-bounces+gcvau-arch-users=m.gmane.org@gnu.org Xref: main.gmane.org gmane.comp.version-control.arch.user:3319 gmane.emacs.devel:16034 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:16034 Juri Linkov writes: > The better and safer if it had a form of RCS keywords ($Id$, $Header$, etc.) It's a very different concept than RCS keywords. RCS keywords are a form of communication from RCS to the human reader of the source code. Arch taglines, on the other hand, are strictly for the use of arch (though I suppose you could choose to use them for similar purposes in other tools). RCS tags change (which can be a huge source of problems). Arch taglines _never_ -- by definition -- change. Because taglines are meant for arch, not for the user, you also probably don't want them in a very user-visible location; also arch only searches for them in the first and last 1024-byte blocks of the file. For these reasons, the convention is to make them the last line in the source file, or thereabouts. You are right that a less strictly line-oriented syntax would be more convenient (in fact such a syntax is being discussed right now on gnu-arch-users, in case you're reading this on emacs-devel). > If initially the user enters strings of the form $Arch$, then arch > could assign an unique tag to it automatically. Because arch taglines never change, they are assigned only once; as such, I suppose you could create a tool to automatically look for `unfilled' tags and fill them in, if you find such a method of creating taglines convenient. I think there are currently script available which automatically add a tagline to every un-tagged source file they find, for files who's type the script knows. Because of the convention of putting taglines at the end of the file, this probably works pretty well, and is slightly more convenient than requiring the user to add an unfilled-in template somewhere... -Miles -- Yo mama's so fat when she gets on an elevator it HAS to go down. _______________________________________________ Gnu-arch-users mailing list Gnu-arch-users@gnu.org http://mail.gnu.org/mailman/listinfo/gnu-arch-users GNU arch home page: http://savannah.gnu.org/projects/gnu-arch/