2017-07-11 14:32:00 -04:00
|
|
|
;;; ein-subpackages.el --- Subpackage management
|
2012-05-19 15:47:09 +02:00
|
|
|
|
|
|
|
;; Copyright (C) 2012- Takafumi Arakaki
|
|
|
|
|
2012-07-01 20:18:05 +02:00
|
|
|
;; Author: Takafumi Arakaki <aka.tkf at gmail.com>
|
2012-05-19 15:47:09 +02:00
|
|
|
|
|
|
|
;; This file is NOT part of GNU Emacs.
|
|
|
|
|
|
|
|
;; ein-subpackages.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-subpackages.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-subpackages.el. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
;;; Commentary:
|
2018-12-25 19:12:26 -05:00
|
|
|
;; This module was more important when packages came from git submodules.
|
|
|
|
;; It has been gutted since.
|
2012-05-19 15:47:09 +02:00
|
|
|
|
|
|
|
;;
|
|
|
|
|
|
|
|
;;; Code:
|
|
|
|
|
2017-07-14 19:53:14 -05:00
|
|
|
(defcustom ein:completion-backend 'ein:use-ac-backend
|
2017-07-14 21:10:19 -05:00
|
|
|
"Determines which completion backend to use in opened EIN notebooks.
|
2017-07-14 19:53:14 -05:00
|
|
|
|
|
|
|
After changing the value of this variable it is recommended that
|
2017-07-14 21:10:19 -05:00
|
|
|
you restart Emacs. The available completion backends are::
|
2017-07-14 19:53:14 -05:00
|
|
|
|
2017-07-14 21:10:19 -05:00
|
|
|
* ein:use-ac-backend : Use auto-complete with IPython's builtin completion engine.
|
|
|
|
* ein:use-ac-jedi-backend : Use auto-complete with the Jedi backend.
|
2017-08-02 10:13:57 -04:00
|
|
|
* ein:use-company-backend : Use company-mode with IPython's builtin completion engine.
|
2017-07-14 21:10:19 -05:00
|
|
|
* ein:use-company-jedi-backends : Use company-mode with the Jedi backend (currently not implemented).
|
2018-11-10 09:47:54 -05:00
|
|
|
* ein:use-none-backend: Avoid autocomplete altogether
|
2017-07-14 19:53:14 -05:00
|
|
|
"
|
2018-08-25 12:45:50 -04:00
|
|
|
:type '(choice
|
|
|
|
(const ein:use-ac-backend)
|
|
|
|
(const ein:use-ac-jedi-backend)
|
|
|
|
(const ein:use-company-backend)
|
|
|
|
(const ein:use-company-jedi-backend)
|
2018-11-10 09:47:54 -05:00
|
|
|
(const ein:use-none-backend))
|
2017-07-14 19:53:14 -05:00
|
|
|
:group 'ein-completion)
|
2012-05-19 15:47:09 +02:00
|
|
|
|
|
|
|
(provide 'ein-subpackages)
|
|
|
|
|
|
|
|
;;; ein-subpackages.el ends here
|