diff --git a/local/company-gnome-shell/company-gnome-shell.el b/local/company-gnome-shell/company-gnome-shell.el index 417a20b..c683b0d 100644 --- a/local/company-gnome-shell/company-gnome-shell.el +++ b/local/company-gnome-shell/company-gnome-shell.el @@ -1,4 +1,16 @@ -;;; comany-gnome-shell-mode.el --- completion -*- lexical-binding: t -*- +;;; company-gnome-shell.el --- Gnome Shell runtime js completion -*- lexical-binding: t -*- + +;; Copyright (C) 2017-2019 Tor Hedin Brønner and Ole Jørgen Brønner + +;; Author: Tor Hedin Brønner +;; Ole Jørgen Brønner +;; Homepage: https://github.com/paperwm/gnome-shell-mode +;; Version: 0.1 +;; Package-Requires: ((emacs "24") (company "20181105") (gnome-shell-mode "0.1")) + +;; This file is not part of GNU Emacs + +;;; Code: (require 'gnome-shell-mode) (require 'company) @@ -21,6 +33,7 @@ (defun company-gnome-shell (command &optional arg &rest ignored) (interactive (list 'interactive)) + (message "%s" command) (cl-case command (interactive (company-begin-backend 'company-gnome-shell)) (prefix (company-gnome-shell--prefix)) @@ -29,3 +42,5 @@ (sorted nil))) (provide 'company-gnome-shell) + +;;; company-gnome-shell.el ends here diff --git a/local/gnome-shell-mode/gnome-shell-mode-pkg.el b/local/gnome-shell-mode/gnome-shell-mode-pkg.el new file mode 100644 index 0000000..e624137 --- /dev/null +++ b/local/gnome-shell-mode/gnome-shell-mode-pkg.el @@ -0,0 +1,12 @@ +(define-package "gnome-shell-mode" "0.1" + "Major mode for developing gnome-shell javascript" + '((emacs "24") (js2-mode "20180724.801") (flycheck "20181018.1021")) + :authors + '(("Tor Hedin Brønner", "torhedinbronner@gmail.com") + ("Ole Jørgen Brønner", "olejorgenb@yahoo.no")) + :url "https://github.com/paperwm/gnome-shell-mode") + + +;; Local Variables: +;; no-byte-compile: t +;; End: diff --git a/local/gnome-shell-mode/gnome-shell-mode.el b/local/gnome-shell-mode/gnome-shell-mode.el index f32d24e..8d85950 100644 --- a/local/gnome-shell-mode/gnome-shell-mode.el +++ b/local/gnome-shell-mode/gnome-shell-mode.el @@ -1,8 +1,5 @@ ;;; gnome-shell-mode.el --- Tight integration of emacs with gnome-shell -*- lexical-binding: t -*- -;; Based on notion-wm-mode which again is loosely based on notion.el by Stefan -;; Reichör - ;; Filename: gnome-shell-mode.el ;; Authors: ;; - Tor Hedin Brønner @@ -36,10 +33,14 @@ ;; Comments / suggestions welcome! ;;; History: -;; + +;; Based on notion-wm-mode which again is loosely based on notion.el by Stefan +;; Reichör ;;; Code: +(require 'cl) + (eval-when-compile (require 'rx)) (require 'js2-mode)