unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Meta-data in source files
@ 2005-09-18 14:29 Emilio Lopes
  2005-09-18 19:08 ` Eric Hanchrow
  2005-09-19  1:31 ` Richard M. Stallman
  0 siblings, 2 replies; 6+ messages in thread
From: Emilio Lopes @ 2005-09-18 14:29 UTC (permalink / raw)


Could we agree to refrain from storing meta-data in source files?  I'm
referring here to things like "Time-stamp: ..." and CVS' "$Id" and
friends.

The right place for this information is in the version control system.
Putting them in the source files causes spurious conflicts, specially
in the case of "Time-stamp", which CVS doesn't understand.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Meta-data in source files
  2005-09-18 14:29 Meta-data in source files Emilio Lopes
@ 2005-09-18 19:08 ` Eric Hanchrow
  2005-09-19 18:32   ` Emilio Lopes
  2005-09-20  0:02   ` Richard M. Stallman
  2005-09-19  1:31 ` Richard M. Stallman
  1 sibling, 2 replies; 6+ messages in thread
From: Eric Hanchrow @ 2005-09-18 19:08 UTC (permalink / raw)


>>>>> "Emilio" == Emilio Lopes <eclig@gmx.net> writes:

    Emilio> The right place for this information is in the version
    Emilio> control system.  

It's already there.
                             
    Emilio> Putting them in the source files causes spurious
    Emilio> conflicts

Perhaps, but it's surely useful to have that information in the files
anyway; otherwise, how would someone know which version of a file
they've got?

Other revision control systems don't have this problem -- notably
Subversion, which is designed specifically to appeal to CVS users.  I
hope the FSF considers using it.

-- 
Documentation exists, but never seems to be complete.
        -- Dennis Ritchie, 1972

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Meta-data in source files
  2005-09-18 14:29 Meta-data in source files Emilio Lopes
  2005-09-18 19:08 ` Eric Hanchrow
@ 2005-09-19  1:31 ` Richard M. Stallman
  2005-09-19 18:57   ` Emilio Lopes
  1 sibling, 1 reply; 6+ messages in thread
From: Richard M. Stallman @ 2005-09-19  1:31 UTC (permalink / raw)
  Cc: emacs-devel

    Could we agree to refrain from storing meta-data in source files?  I'm
    referring here to things like "Time-stamp: ..." and CVS' "$Id" and
    friends.

    The right place for this information is in the version control system.
    Putting them in the source files causes spurious conflicts, specially
    in the case of "Time-stamp", which CVS doesn't understand.

I have always preferred not to have such things in Emacs source files.
It is the people who wrote the files (outside Emacs) who want them,
but in Emacs itself they tend to cause confusion.  I have stopped
pushing on it, but I would be glad if those were deleted.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Meta-data in source files
  2005-09-18 19:08 ` Eric Hanchrow
@ 2005-09-19 18:32   ` Emilio Lopes
  2005-09-20  0:02   ` Richard M. Stallman
  1 sibling, 0 replies; 6+ messages in thread
From: Emilio Lopes @ 2005-09-19 18:32 UTC (permalink / raw)


Eric Hanchrow writes:

>>>>>> "Emilio" == Emilio Lopes <eclig@gmx.net> writes:
                             
Emilio> Putting them in the source files causes spurious
Emilio> conflicts

> Other revision control systems don't have this problem -- notably
> Subversion, which is designed specifically to appeal to CVS users.
> I hope the FSF considers using it.

Such problems as I mentioned are exactly the reason why "modern"
version control programms do not support "keyword expansion".

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Meta-data in source files
  2005-09-19  1:31 ` Richard M. Stallman
@ 2005-09-19 18:57   ` Emilio Lopes
  0 siblings, 0 replies; 6+ messages in thread
From: Emilio Lopes @ 2005-09-19 18:57 UTC (permalink / raw)
  Cc: viniciusjl

Richard M Stallman writes:

>     Could we agree to refrain from storing meta-data in source
>     files?  I'm referring here to things like "Time-stamp: ..." and
>     CVS' "$Id" and friends.

> I have always preferred not to have such things in Emacs source
> files.  It is the people who wrote the files (outside Emacs) who
> want them, but in Emacs itself they tend to cause confusion.  I have
> stopped pushing on it, but I would be glad if those were deleted.

Bellow is a patch which removes the `Time-stamp' templates.  I left
one though, because it's used to update the date in a Texinfo manual.

2005-09-19  Emilio C. Lopes  <eclig@gmx.net>

	* winner.el: 
	* ps-print.el: 
	* ps-mule.el: 
	* ps-bdf.el: 
	* progmodes/ebnf2ps.el: 
	* progmodes/ebnf-yac.el: 
	* progmodes/ebnf-otz.el: 
	* progmodes/ebnf-iso.el: 
	* progmodes/ebnf-ebx.el: 
	* progmodes/ebnf-dtd.el: 
	* progmodes/ebnf-bnf.el: 
	* progmodes/ebnf-abn.el: 
	* printing.el: 
	* net/newsticker.el: 
	* find-lisp.el: 
	* delim-col.el: 
	* calculator.el: deleted `time-stamp' templates.

diff -rN -c old-emacs-darcs.eclig/lisp/calculator.el new-emacs-darcs.eclig/lisp/calculator.el
*** old-emacs-darcs.eclig/lisp/calculator.el	Mon Sep 19 20:52:09 2005
--- new-emacs-darcs.eclig/lisp/calculator.el	Mon Sep 19 20:38:29 2005
***************
*** 5,11 ****
  
  ;; Author: Eli Barzilay <eli@barzilay.org>
  ;; Keywords: tools, convenience
- ;; Time-stamp: <2005-07-18 17:45:34 juri>
  
  ;; This file is part of GNU Emacs.
  
--- 5,10 ----
diff -rN -c old-emacs-darcs.eclig/lisp/delim-col.el new-emacs-darcs.eclig/lisp/delim-col.el
*** old-emacs-darcs.eclig/lisp/delim-col.el	Mon Sep 19 20:52:09 2005
--- new-emacs-darcs.eclig/lisp/delim-col.el	Mon Sep 19 20:38:27 2005
***************
*** 5,11 ****
  
  ;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
  ;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br>
- ;; Time-stamp: <2004/03/09 21:32:06 vinicius>
  ;; Version: 2.1
  ;; Keywords: internal
  ;; X-URL: http://www.cpqd.com.br/~vinicius/emacs/
--- 5,10 ----
diff -rN -c old-emacs-darcs.eclig/lisp/find-lisp.el new-emacs-darcs.eclig/lisp/find-lisp.el
*** old-emacs-darcs.eclig/lisp/find-lisp.el	Mon Sep 19 20:52:09 2005
--- new-emacs-darcs.eclig/lisp/find-lisp.el	Mon Sep 19 20:43:20 2005
***************
*** 3,9 ****
  ;; Author: Peter Breton
  ;; Created: Fri Mar 26 1999
  ;; Keywords: unix
- ;; Time-stamp: <2001-07-16 12:42:35 pavel>
  
  ;; Copyright (C) 1999, 2000, 2002, 2003, 2004,
  ;;   2005 Free Software Foundation, Inc.
--- 3,8 ----
diff -rN -c old-emacs-darcs.eclig/lisp/net/newsticker.el new-emacs-darcs.eclig/lisp/net/newsticker.el
*** old-emacs-darcs.eclig/lisp/net/newsticker.el	Mon Sep 19 20:52:09 2005
--- new-emacs-darcs.eclig/lisp/net/newsticker.el	Mon Sep 19 20:43:18 2005
***************
*** 9,15 ****
  ;; URL:         http://www.nongnu.org/newsticker
  ;; Created:     17. June 2003
  ;; Keywords:    News, RSS
- ;; Time-stamp:  "26. August 2005, 16:33:46 (ulf)"
  
  (defconst newsticker-version "1.8" "Version number of newsticker.el.")
  
--- 9,14 ----
diff -rN -c old-emacs-darcs.eclig/lisp/printing.el new-emacs-darcs.eclig/lisp/printing.el
*** old-emacs-darcs.eclig/lisp/printing.el	Mon Sep 19 20:52:09 2005
--- new-emacs-darcs.eclig/lisp/printing.el	Mon Sep 19 20:43:17 2005
***************
*** 4,10 ****
  
  ;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
  ;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br>
- ;; Time-stamp: <2005/06/11 19:51:32 vinicius>
  ;; Keywords: wp, print, PostScript
  ;; Version: 6.8.4
  ;; X-URL: http://www.cpqd.com.br/~vinicius/emacs/
--- 4,9 ----
diff -rN -c old-emacs-darcs.eclig/lisp/progmodes/ebnf-abn.el new-emacs-darcs.eclig/lisp/progmodes/ebnf-abn.el
*** old-emacs-darcs.eclig/lisp/progmodes/ebnf-abn.el	Mon Sep 19 20:52:09 2005
--- new-emacs-darcs.eclig/lisp/progmodes/ebnf-abn.el	Mon Sep 19 20:43:15 2005
***************
*** 4,10 ****
  
  ;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
  ;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br>
- ;; Time-stamp: <2004/04/03 16:43:57 vinicius>
  ;; Keywords: wp, ebnf, PostScript
  ;; Version: 1.1
  
--- 4,9 ----
diff -rN -c old-emacs-darcs.eclig/lisp/progmodes/ebnf-bnf.el new-emacs-darcs.eclig/lisp/progmodes/ebnf-bnf.el
*** old-emacs-darcs.eclig/lisp/progmodes/ebnf-bnf.el	Mon Sep 19 20:52:09 2005
--- new-emacs-darcs.eclig/lisp/progmodes/ebnf-bnf.el	Mon Sep 19 20:43:14 2005
***************
*** 5,11 ****
  
  ;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
  ;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br>
- ;; Time-stamp: <2004/04/03 16:42:18 vinicius>
  ;; Keywords: wp, ebnf, PostScript
  ;; Version: 1.9
  
--- 5,10 ----
diff -rN -c old-emacs-darcs.eclig/lisp/progmodes/ebnf-dtd.el new-emacs-darcs.eclig/lisp/progmodes/ebnf-dtd.el
*** old-emacs-darcs.eclig/lisp/progmodes/ebnf-dtd.el	Mon Sep 19 20:52:09 2005
--- new-emacs-darcs.eclig/lisp/progmodes/ebnf-dtd.el	Mon Sep 19 20:43:14 2005
***************
*** 4,10 ****
  
  ;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
  ;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br>
- ;; Time-stamp: <2004/04/04 21:50:16 vinicius>
  ;; Keywords: wp, ebnf, PostScript
  ;; Version: 1.0
  
--- 4,9 ----
diff -rN -c old-emacs-darcs.eclig/lisp/progmodes/ebnf-ebx.el new-emacs-darcs.eclig/lisp/progmodes/ebnf-ebx.el
*** old-emacs-darcs.eclig/lisp/progmodes/ebnf-ebx.el	Mon Sep 19 20:52:09 2005
--- new-emacs-darcs.eclig/lisp/progmodes/ebnf-ebx.el	Mon Sep 19 20:43:13 2005
***************
*** 4,10 ****
  
  ;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
  ;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br>
- ;; Time-stamp: <2004/04/03 16:45:34 vinicius>
  ;; Keywords: wp, ebnf, PostScript
  ;; Version: 1.1
  
--- 4,9 ----
diff -rN -c old-emacs-darcs.eclig/lisp/progmodes/ebnf-iso.el new-emacs-darcs.eclig/lisp/progmodes/ebnf-iso.el
*** old-emacs-darcs.eclig/lisp/progmodes/ebnf-iso.el	Mon Sep 19 20:52:09 2005
--- new-emacs-darcs.eclig/lisp/progmodes/ebnf-iso.el	Mon Sep 19 20:43:13 2005
***************
*** 5,11 ****
  
  ;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
  ;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br>
- ;; Time-stamp: <2004/04/03 16:48:52 vinicius>
  ;; Keywords: wp, ebnf, PostScript
  ;; Version: 1.8
  
--- 5,10 ----
diff -rN -c old-emacs-darcs.eclig/lisp/progmodes/ebnf-otz.el new-emacs-darcs.eclig/lisp/progmodes/ebnf-otz.el
*** old-emacs-darcs.eclig/lisp/progmodes/ebnf-otz.el	Mon Sep 19 20:52:09 2005
--- new-emacs-darcs.eclig/lisp/progmodes/ebnf-otz.el	Mon Sep 19 20:43:12 2005
***************
*** 5,11 ****
  
  ;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
  ;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br>
- ;; Time-stamp: <2004/11/19 22:24:07 vinicius>
  ;; Keywords: wp, ebnf, PostScript
  ;; Version: 1.0
  
--- 5,10 ----
diff -rN -c old-emacs-darcs.eclig/lisp/progmodes/ebnf-yac.el new-emacs-darcs.eclig/lisp/progmodes/ebnf-yac.el
*** old-emacs-darcs.eclig/lisp/progmodes/ebnf-yac.el	Mon Sep 19 20:52:09 2005
--- new-emacs-darcs.eclig/lisp/progmodes/ebnf-yac.el	Mon Sep 19 20:43:12 2005
***************
*** 5,11 ****
  
  ;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
  ;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br>
- ;; Time-stamp: <2004/04/03 16:50:46 vinicius>
  ;; Keywords: wp, ebnf, PostScript
  ;; Version: 1.3
  
--- 5,10 ----
diff -rN -c old-emacs-darcs.eclig/lisp/progmodes/ebnf2ps.el new-emacs-darcs.eclig/lisp/progmodes/ebnf2ps.el
*** old-emacs-darcs.eclig/lisp/progmodes/ebnf2ps.el	Mon Sep 19 20:52:09 2005
--- new-emacs-darcs.eclig/lisp/progmodes/ebnf2ps.el	Mon Sep 19 20:43:11 2005
***************
*** 5,11 ****
  
  ;; Author: Vinicius Jose Latorre <viniciusjl@ig.com.br>
  ;; Maintainer: Vinicius Jose Latorre <viniciusjl@ig.com.br>
- ;; Time-stamp: <2005-09-18 07:27:20 deego>
  ;; Keywords: wp, ebnf, PostScript
  ;; Version: 4.2
  ;; X-URL: http://www.cpqd.com.br/~vinicius/emacs/
--- 5,10 ----
diff -rN -c old-emacs-darcs.eclig/lisp/ps-bdf.el new-emacs-darcs.eclig/lisp/ps-bdf.el
*** old-emacs-darcs.eclig/lisp/ps-bdf.el	Mon Sep 19 20:52:09 2005
--- new-emacs-darcs.eclig/lisp/ps-bdf.el	Mon Sep 19 20:43:10 2005
***************
*** 5,11 ****
  
  ;; Keywords: wp, BDF, font, PostScript
  ;; Maintainer: Kenichi Handa <handa@etl.go.jp>
- ;; Time-stamp: <2003/07/11 21:13:44 vinicius>
  
  ;; This file is part of GNU Emacs.
  
--- 5,10 ----
diff -rN -c old-emacs-darcs.eclig/lisp/ps-mule.el new-emacs-darcs.eclig/lisp/ps-mule.el
*** old-emacs-darcs.eclig/lisp/ps-mule.el	Mon Sep 19 20:52:09 2005
--- new-emacs-darcs.eclig/lisp/ps-mule.el	Mon Sep 19 20:43:09 2005
***************
*** 8,14 ****
  ;; Maintainer: Kenichi Handa <handa@etl.go.jp> (multi-byte characters)
  ;;	Vinicius Jose Latorre <vinicius@cpqd.com.br>
  ;; Keywords: wp, print, PostScript, multibyte, mule
- ;; Time-stamp: <2003/05/14 22:19:41 vinicius>
  
  ;; This file is part of GNU Emacs.
  
--- 8,13 ----
diff -rN -c old-emacs-darcs.eclig/lisp/ps-print.el new-emacs-darcs.eclig/lisp/ps-print.el
*** old-emacs-darcs.eclig/lisp/ps-print.el	Mon Sep 19 20:52:09 2005
--- new-emacs-darcs.eclig/lisp/ps-print.el	Mon Sep 19 20:43:08 2005
***************
*** 10,16 ****
  ;; Maintainer: Kenichi Handa <handa@etl.go.jp> (multi-byte characters)
  ;;	Vinicius Jose Latorre <viniciusjl@ig.com.br>
  ;; Keywords: wp, print, PostScript
- ;; Time-stamp: <2005/06/27 00:57:22 vinicius>
  ;; Version: 6.6.7
  ;; X-URL: http://www.cpqd.com.br/~vinicius/emacs/
  
--- 10,15 ----
diff -rN -c old-emacs-darcs.eclig/lisp/winner.el new-emacs-darcs.eclig/lisp/winner.el
*** old-emacs-darcs.eclig/lisp/winner.el	Mon Sep 19 20:52:09 2005
--- new-emacs-darcs.eclig/lisp/winner.el	Mon Sep 19 20:43:07 2005
***************
*** 5,11 ****
  
  ;; Author: Ivar Rummelhoff <ivarru@math.uio.no>
  ;; Created: 27 Feb 1997
- ;; Time-stamp: <2002-02-20 22:06:58 ivarru>
  ;; Keywords: convenience frames
  
  ;; This file is part of GNU Emacs.
--- 5,10 ----

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Meta-data in source files
  2005-09-18 19:08 ` Eric Hanchrow
  2005-09-19 18:32   ` Emilio Lopes
@ 2005-09-20  0:02   ` Richard M. Stallman
  1 sibling, 0 replies; 6+ messages in thread
From: Richard M. Stallman @ 2005-09-20  0:02 UTC (permalink / raw)
  Cc: emacs-devel

    Perhaps, but it's surely useful to have that information in the files
    anyway; otherwise, how would someone know which version of a file
    they've got?

They know what Emacs version it came from, and that is sufficient.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-09-20  0:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-18 14:29 Meta-data in source files Emilio Lopes
2005-09-18 19:08 ` Eric Hanchrow
2005-09-19 18:32   ` Emilio Lopes
2005-09-20  0:02   ` Richard M. Stallman
2005-09-19  1:31 ` Richard M. Stallman
2005-09-19 18:57   ` Emilio Lopes

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).