Skip to content

Commit

Permalink
Update Emacs lisp library headers to follow the conventions
Browse files Browse the repository at this point in the history
* Explicitly specify the license in each library instead of revering
  to a LICENSE file which is not available when the user installs an
  Emacs package using `package.el' or from the Emacsmirror.

  This change allows me to keep distributing this on the Emacsmirror.

* Update the header and footer to follow the conventions.

  This should allow distributing the package on Melpa.  But you will
  have to submit a recipe yourself and be ready to go through the
  review process.
  • Loading branch information
tarsius committed Nov 11, 2017
1 parent 9826a52 commit d07c8dc
Show file tree
Hide file tree
Showing 4 changed files with 88 additions and 88 deletions.
53 changes: 24 additions & 29 deletions opi/emacs/mozart.el
Original file line number Diff line number Diff line change
@@ -1,33 +1,27 @@
;;;
;;; Authors:
;;; Leif Kornstaedt <[email protected]>
;;; Michael Mehl <[email protected]>
;;; Ralf Scheidhauer <[email protected]>
;;;
;;; Contributor:
;;; Benjamin Lorenz <[email protected]>
;;; Denys Duchier <[email protected]>
;;;
;;; Copyright:
;;; Leif Kornstaedt, Michael Mehl, and Ralf Scheidhauer, 1993-1998
;;; Denys Duchier, 1998
;;;
;;; Last change:
;;; $Date$ by $Author$
;;; $Revision$
;;;
;;; This file is part of Mozart, an implementation of Oz 3:
;;; http://www.mozart-oz.org
;;;
;;; See the file "LICENSE" or
;;; http://www.mozart-oz.org/LICENSE.html
;;; for information on usage and redistribution
;;; of this file, and for a DISCLAIMER OF ALL
;;; WARRANTIES.
;;;

;; Functions for running a Mozart sub-process
;;; mozart.el --- Functions for running a Mozart sub-process.

;; Copyright (c) 1993-1998 Leif Kornstaedt
;; Copyright (c) 1993-1998 Michael Mehl
;; Copyright (c) 1993-1998 Ralf Scheidhauer
;; Copyright (c) 1998 Denys Duchier

;; This file is part of Mozart, an implementation of Oz 3:
;; http://www.mozart-oz.org

;; Authors:
;; Leif Kornstaedt <[email protected]>
;; Michael Mehl <[email protected]>
;; Ralf Scheidhauer <[email protected]>
;; Contributors:
;; Benjamin Lorenz <[email protected]>
;; Denys Duchier <[email protected]>
;; License: BSD-2-clause

;;; Commentary:
;;
;; Functions for running a Mozart sub-process.

;;; Code:

(require 'oz)
(require 'comint)
Expand Down Expand Up @@ -1931,3 +1925,4 @@ Commands:
;;; byte-compile-dynamic-docstrings: nil ***
;;; byte-compile-compatibility: t ***
;;; End: ***
;;; mozart.el ends here
14 changes: 14 additions & 0 deletions opi/emacs/oz-extra.el
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
;;; oz-extra.el --- Outline mode support

;; This file is part of Mozart, an implementation of Oz 3:
;; http://www.mozart-oz.org

;; License: BSD-2-clause

;;; Commentary:
;;
;; Outline mode support.

;;; Code:

(require 'outline)

(defvar oz-outline-mode nil)
Expand Down Expand Up @@ -44,3 +57,4 @@
;;; byte-compile-dynamic-docstrings: nil ***
;;; byte-compile-compatibility: t ***
;;; End: ***
;;; oz-extra.el ends here
56 changes: 26 additions & 30 deletions opi/emacs/oz-server.el
Original file line number Diff line number Diff line change
@@ -1,35 +1,28 @@
;;;
;;; Authors:
;;; Denys Duchier <[email protected]>
;;;
;;; Contributors:
;;;
;;; Copyright:
;;; Denys Duchier, 2000
;;;
;;; Last change:
;;; $Date$ by $Author$
;;; $Revision$
;;;
;;; This file is part of Mozart, an implementation of Oz 3:
;;; http://www.mozart-oz.org
;;;
;;; See the file "LICENSE" or
;;; http://www.mozart-oz.org/LICENSE.html
;;; for information on usage and redistribution
;;; of this file, and for a DISCLAIMER OF ALL
;;; WARRANTIES.
;;;
;;; oz-server.el --- Uniform framework to allow interacting with Oz process.

;;; ==================================================================
;;; This file implements a more principled and uniform framework to
;;; allow emacs and the Oz process to interact. The idea is to create
;;; a socket connection on which the two processes can exchange
;;; messages. By design, the set of message types which can be
;;; exchanged is indefinitely extensible.
;;; ==================================================================
;; Copyright (c) 2000 Denys Duchier

(provide 'oz-server)
;; This file is part of Mozart, an implementation of Oz 3:
;; http://www.mozart-oz.org

;; Authors:
;; Leif Kornstaedt <[email protected]>
;; Michael Mehl <[email protected]>
;; Ralf Scheidhauer <[email protected]>
;; Contributors:
;; Benjamin Lorenz <[email protected]>
;; Denys Duchier <[email protected]>
;; License: BSD-2-clause

;;; Commentary:
;;
;; This file implements a more principled and uniform framework to
;; allow emacs and the Oz process to interact. The idea is to create
;; a socket connection on which the two processes can exchange
;; messages. By design, the set of message types which can be
;; exchanged is indefinitely extensible.

;;; Code:

(defconst oz-server-name "*Oz Server*"
"name of the server process")
Expand Down Expand Up @@ -375,3 +368,6 @@ back a replyError."
vals)))
(setq oz-server-synchronous-polling nil
oz-server-synchronous-reply nil)))

(provide 'oz-server)
;;; oz-server.el ends here
53 changes: 24 additions & 29 deletions opi/emacs/oz.el
Original file line number Diff line number Diff line change
@@ -1,33 +1,27 @@
;;;
;;; Authors:
;;; Leif Kornstaedt <[email protected]>
;;; Michael Mehl <[email protected]>
;;; Ralf Scheidhauer <[email protected]>
;;;
;;; Contributor:
;;; Benjamin Lorenz <[email protected]>
;;; Denys Duchier <[email protected]>
;;;
;;; Copyright:
;;; Leif Kornstaedt, Michael Mehl, and Ralf Scheidhauer, 1993-1998
;;; Denys Duchier, 1998
;;;
;;; Last change:
;;; $Date$ by $Author$
;;; $Revision$
;;;
;;; This file is part of Mozart, an implementation of Oz 3:
;;; http://www.mozart-oz.org
;;;
;;; See the file "LICENSE" or
;;; http://www.mozart-oz.org/LICENSE.html
;;; for information on usage and redistribution
;;; of this file, and for a DISCLAIMER OF ALL
;;; WARRANTIES.
;;;

;; Major mode for editing Oz programs
;;; oz.el --- Major mode for editing Oz programs.

;; Copyright (c) 1993-1998 Leif Kornstaedt
;; Copyright (c) 1993-1998 Michael Mehl
;; Copyright (c) 1993-1998 Ralf Scheidhauer
;; Copyright (c) 1998 Denys Duchier

;; This file is part of Mozart, an implementation of Oz 3:
;; http://www.mozart-oz.org

;; Authors:
;; Leif Kornstaedt <[email protected]>
;; Michael Mehl <[email protected]>
;; Ralf Scheidhauer <[email protected]>
;; Contributors:
;; Benjamin Lorenz <[email protected]>
;; Denys Duchier <[email protected]>
;; License: BSD-2-clause

;;; Commentary:
;;
;; Major mode for editing Oz programs.

;;; Code:

;;{{{ Global Effects

Expand Down Expand Up @@ -1693,3 +1687,4 @@ prefix ARG is negated."
;;; byte-compile-dynamic-docstrings: nil ***
;;; byte-compile-compatibility: t ***
;;; End: ***
;;; oz.el ends here

0 comments on commit d07c8dc

Please sign in to comment.