ein.el 2.0 KB

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