2012-05-07 14:41:15 +02:00
|
|
|
;;; ein.el --- IPython notebook client in Emacs
|
|
|
|
|
|
|
|
;; Copyright (C) 2012- Takafumi Arakaki
|
|
|
|
|
2012-07-01 20:18:05 +02:00
|
|
|
;; Author: Takafumi Arakaki <aka.tkf at gmail.com>
|
2012-07-01 20:07:11 +02:00
|
|
|
;; URL: http://tkf.github.com/emacs-ipython-notebook/
|
|
|
|
;; Keywords: applications, tools
|
2012-08-23 17:04:19 +02:00
|
|
|
;; Version: 0.2.0alpha0
|
2012-05-07 14:41:15 +02:00
|
|
|
|
|
|
|
;; This file is NOT part of GNU Emacs.
|
|
|
|
|
|
|
|
;; ein.el is free software: you can redistribute it and/or modify
|
|
|
|
;; it under the terms of the GNU General Public License as published by
|
|
|
|
;; the Free Software Foundation, either version 3 of the License, or
|
|
|
|
;; (at your option) any later version.
|
|
|
|
|
|
|
|
;; ein.el is distributed in the hope that it will be useful,
|
|
|
|
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;; GNU General Public License for more details.
|
|
|
|
|
|
|
|
;; You should have received a copy of the GNU General Public License
|
|
|
|
;; along with ein.el. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
;;; Commentary:
|
|
|
|
|
2012-08-28 17:18:39 +02:00
|
|
|
;; Development
|
|
|
|
;; ===========
|
|
|
|
|
|
|
|
;; Event vs hook vs callback
|
|
|
|
;; -------------------------
|
|
|
|
;;
|
|
|
|
;; * Use events (`ein:events') for calling (possibly multiple) functions
|
|
|
|
;; for its side effect.
|
|
|
|
;; * Use hooks for global/configurable setting.
|
|
|
|
;; * Use callback when caller needs returned value.
|
|
|
|
;; (e.g., `:get-buffers' slot in `ein:kernelinfo')
|
|
|
|
|
|
|
|
;; Naming
|
|
|
|
;; ------
|
2012-05-07 14:41:15 +02:00
|
|
|
;;
|
2012-08-19 00:12:55 +02:00
|
|
|
;; Variable named `ein:%VAR-NAME%' is a permanent buffer local
|
|
|
|
;; variable defined by `ein:deflocal'. It is often an instance of a
|
|
|
|
;; class/struct named `ein:VAR-NAME'.
|
|
|
|
;;
|
|
|
|
;; Old naming rule:
|
|
|
|
;; * `ein:@VAR-NAME'/`ein:VAR-NAME' is a permanent buffer local
|
|
|
|
;; variable. These variables are obsolete now.
|
|
|
|
;; * `ein:$STRUCT-NAME' is a name of struct.
|
|
|
|
;; These strcuts will be renamed to `ein:CLASS-NAME' when
|
|
|
|
;; reimplementing them using EIEIO class instead of CL struct.
|
|
|
|
;;
|
|
|
|
;; See also:
|
|
|
|
;; `CLiki : naming conventions <http://www.cliki.net/naming%20conventions>`_
|
2012-05-07 14:41:15 +02:00
|
|
|
|
|
|
|
;;; Code:
|
|
|
|
|
2012-09-01 21:09:15 +02:00
|
|
|
;; For backward compatibility + providing easy way to load EIN for
|
|
|
|
;; users who prefer manual installation.
|
|
|
|
(require 'ein-loaddefs)
|
2012-07-22 14:24:34 +02:00
|
|
|
|
2012-05-07 14:41:15 +02:00
|
|
|
(provide 'ein)
|
|
|
|
|
|
|
|
;;; ein.el ends here
|