emacs-devel
[Top][All Lists]
Advanced

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

Re: arch taglines for emacs


From: Juri Linkov
Subject: Re: arch taglines for emacs
Date: 20 Aug 2003 17:54:04 +0300
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Miles Bader <address@hidden> writes:
> Would anyone object to me adding an arch `taglines' to the source files
> in emacs?
> 
> Some example taglines:
> 
>    For an elisp file:
> 
>      ;; arch-tag: af05e2b7-12a2-48a1-8af4-0f0cb793b869
> 
>    For a C file:
> 
>      /* arch-tag: 53bb84c6-dee0-46c6-a275-2db144993d89
>      */

The better and safer if it had a form of RCS keywords ($Id$, $Header$, etc.)
This makes easier to detect and process arch tags in source files.
If initially the user enters strings of the form $Arch$, then arch
could assign an unique tag to it automatically.  And arch tags could
be embedded not only in comments but also in literal strings.

So, in RCS-like form taglines will look like:

   For an elisp file:

     ;; $Arch: af05e2b7-12a2-48a1-8af4-0f0cb793b869$
   or
     (defconst file-arch-tag "$Arch: af05e2b7-12a2-48a1-8af4-0f0cb793b869$")

   For a C file:

     /* $Arch: 53bb84c6-dee0-46c6-a275-2db144993d89$ */
   or
     static char archid[] = "$Arch: 53bb84c6-dee0-46c6-a275-2db144993d89$";

-- 
http://www.jurta.org/emacs/





reply via email to

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