[ESS] Copyright year in ess-autoloads.el

Frede Aakmann Tøgersen frtog at vestas.com
Mon Aug 25 17:09:03 CEST 2014


Hi

Love ESS and Emacs. Thank you for the good work. There is probably no limitations to what those can do together.

Now I have a most wanted request.

Suppose that I have written a novel in 2012 that was good enough to be chosen by Denmark's public library. I suppose that at some of the first pages there is a copyright notice dated 2012 to protect my intellectual property.

Now someone borrows my book. In that case at that time I want a function ess-magically-change-the-year-of-the-copyright-year-of-book taking two arguments: year and book location. That should be easy except for the magically part.

Joke aside. I thought that the year of copyright is static meaning that you only change the year if you have updated your intellectual property. In case of a book if you publish a second edition and then there would be a copyrigt notice for both years. So why update the copyright notice for an unchanged file? What is the rationale?

Have a nice day.

Frede Aakmann Tøgersen

PS. The traffic on this list is not that high so I allow myself for unsolicited jokes.

Sent from Samsung mobil


-------- Oprindelig meddelelse --------
Fra: Martin Maechler
Dato:25/08/2014 16.39 (GMT+01:00)
Til: Sebastien Vauban
Cc: ess-help at stat.math.ethz.ch
Emne: Re: [ESS] Copyright year in ess-autoloads.el

>>>>> Sebastien Vauban <sva-news at mygooglest.com>
>>>>>     on Mon, 25 Aug 2014 10:37:17 +0200 writes:

    > Hello, Everytime I update ESS from MELPA, I get
    > interrupted with the question: "Add 2014 to copyright?",
    > as you can see:

> --8<---------------cut here---------------start------------->8---
> Saving file d:/Users/fni/.emacs.d/elpa/ess-20140824.1452/ess-autoloads.el...
> Add 2014 to copyright? (y or n) n
> Wrote d:/Users/fni/.emacs.d/elpa/ess-20140824.1452/ess-autoloads.el
> --8<---------------cut here---------------end--------------->8---

> This comes from the following chunk of code in my .emacs file:

> --8<---------------cut here---------------start------------->8---
>   ;; update the copyright notice to indicate the current year
>   (add-hook 'before-save-hook 'copyright-update)
> --8<---------------cut here---------------end--------------->8---

> because the copyright year in the `ess-autoloads.el' file is NOT
> up-to-date:

> --8<---------------cut here---------------start------------->8---
> ;; Copyright (C) 2012 Donald E. Curtis
> --8<---------------cut here---------------end--------------->8---

> Could you put an updated copyright?

Well, I can (and will) easily add a line with 2014 in it.

But then you would want us to update this line every year ???

Martin

______________________________________________
ESS-help at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/ess-help

	[[alternative HTML version deleted]]



More information about the ESS-help mailing list