(when (equal system-type 'windows-nt)
(define-abbrev-table 'global-abbrev-table
'(
- ("hfac" "" howm-facility :count 0)
- ("hper" "" howm-person :count 0)
+ ("wol" "" workorder-link :count 0)
("oelisp" "" skel-org-block-elisp :count 0)
- ("ofac" "" skel-facility-properties :count 0)
- ("oper" "" skel-person-properties :count 0)
("osrc" "" skel-org-block :count 0)
- ("owo" "" skel-workorder-properties :count 0)
)))
(lambda ()
(require 're-repl-defuns)
(require 're-pass-alike)
- (require 're-dired-defuns)))
+ (require 're-dired-defuns)
+ (require 're-skeletons)))
(add-to-list 'auto-mode-alist '("\\.keymap\\'" . c-mode))
(add-to-list 'auto-mode-alist '("\\.dtsi\\'" . c-mode))
+++ /dev/null
-;;; re-org-skeletons.el -*- lexical-binding: t; -*-
-;; This file is not part of GNU Emacs
-
-;;; Code:
-(define-skeleton skel-org-block
- "Insert an org source code block"
- ""
- "#+begin_src "
- _ - "\n\n"
- "#+end_src\n")
-
-(define-skeleton skel-org-block-elisp
- "Insert an org emacs lisp block"
- ""
- "#+begin_src emacs-lisp\n"
- _ - \n
- "#+end_src\n")
-
-(define-skeleton skel-facility-properties
- "Insert the structure for a new facility."
- ""
- "** "
- _ - \n
- "[[file:c:/projects/JOB]\n[Project Folder]]\n"
- "[[file:t:/Job_Software/JOB]\n[T Drive]]\n"
- "[[file:w:/_JOB]\n[Drawing Folder]]\n"
- "*** System Notes\n"
- "[[file:w:/_JOB/SEQUENCE OF OPERATIONS][Sequence of Operations]]\n"
- "*** Before Startup\n"
- "**** TODO Get Licenses :licenses:\n"
- "***** TODO Wonderware\n"
- "***** TODO TOPServer\n"
- "**** TODO Review Preliminary Sequences\n"
- "*** PLC [/]\n"
- "*** HMI [/]\n"
- "*** Commissioning [/]\n"
- "*** After Startup \n"
- "**** TODO Markup Preliminary Sequences\n")
-
-(define-skeleton skel-person-properties
- "Insert the org title and filetags for a person."
- ""
- "* @"
- _ - \n
- ":properties:\n"
- ":email:\n"
- ":office:\n"
- ":cell:\n"
- ":end:\n")
-
-(define-skeleton skel-workorder-properties
- "Insert the org title and filetags for a workorder"
- ""
- "* TODO Workorder "
- _ - ":#:customer:city:state:topics:\n")
-
-(provide 're-org-skeletons)
-;;; re-org-skeletons.el ends here
:config
(require 're-org)
(require 're-org-defuns)
- (require 're-org-skeletons)
:bind
(("C-c l" . org-store-link)
("C-c a" . org-agenda)
--- /dev/null
+;;; re-skeletons.el -*- lexical-binding: t; -*-
+;; This file is not part of GNU Emacs
+
+;;; Code:
+(define-skeleton skel-org-block
+ "Insert an org source code block"
+ ""
+ "#+begin_src "
+ _ - "\n\n"
+ "#+end_src\n")
+
+(define-skeleton skel-org-block-elisp
+ "Insert an org emacs lisp block"
+ ""
+ "#+begin_src emacs-lisp\n"
+ _ - \n
+ "#+end_src\n")
+
+(define-skeleton skel-facility-properties
+ "Insert the structure for a new facility."
+ ""
+ "** "
+ _ - \n
+ "[[file:c:/projects/JOB]\n[Project Folder]]\n"
+ "[[file:t:/Job_Software/JOB]\n[T Drive]]\n"
+ "[[file:w:/_JOB]\n[Drawing Folder]]\n"
+ "*** System Notes\n"
+ "[[file:w:/_JOB/SEQUENCE OF OPERATIONS][Sequence of Operations]]\n"
+ "*** Before Startup\n"
+ "**** TODO Get Licenses :licenses:\n"
+ "***** TODO Wonderware\n"
+ "***** TODO TOPServer\n"
+ "**** TODO Review Preliminary Sequences\n"
+ "*** PLC [/]\n"
+ "*** HMI [/]\n"
+ "*** Commissioning [/]\n"
+ "*** After Startup \n"
+ "**** TODO Markup Preliminary Sequences\n")
+
+(define-skeleton skel-person-properties
+ "Insert the org title and filetags for a person."
+ ""
+ "* @"
+ _ - \n
+ ":properties:\n"
+ ":email:\n"
+ ":office:\n"
+ ":cell:\n"
+ ":end:\n")
+
+(define-skeleton skel-workorder-properties
+ "Insert the org title and filetags for a workorder"
+ ""
+ "* TODO Workorder "
+ _ - ":#:customer:city:state:topics:\n")
+
+(define-skeleton workorder-link
+ "part of a link to a workorder, just enter the number."
+ ""
+ "https://eservice.r717.net/index.php/PLC_workorders/store/"
+ _ -)
+
+(provide 're-skeletons)
+;;; re-skeletons.el ends here