config.org | ●●●●● patch | view | raw | blame | history | |
init.el | ●●●●● patch | view | raw | blame | history | |
tramp | ●●●●● patch | view | raw | blame | history |
config.org
@@ -6,6 +6,8 @@ ;; (add-to-list 'exec-path "C:/msys64/usr/bin") (add-to-list 'exec-path "C:/msys64/mingw64/bin") (add-to-list 'exec-path "c:/Program Files/Racket") (add-to-list 'exec-path "c:/Users/joelg/TeXcount_3_1_1") (add-to-list 'exec-path "c:/Program Files/gnuplot") (setenv "PATH" (mapconcat #'identity exec-path path-separator))) #+END_SRC @@ -647,6 +649,31 @@ :config (latex-preview-pane-enable)) #+END_SRC **** TeXcount Word counts in latex #+BEGIN_SRC emacs-lisp (defun texcount () (interactive) (let* ( (this-file (buffer-file-name)) (enc-str (symbol-name buffer-file-coding-system)) (enc-opt (cond ((string-match "utf-8" enc-str) "-utf8") ((string-match "latin" enc-str) "-latin1") ("-encoding=guess") ) ) (word-count (with-output-to-string (with-current-buffer standard-output (call-process "texcount" nil t nil "-0" enc-opt this-file) ) ) ) ) (message word-count) ) ) (add-hook 'LaTeX-mode-hook (lambda () (define-key LaTeX-mode-map (kbd "C-c c") 'texcount))) (add-hook 'latex-mode-hook (lambda () (define-key latex-mode-map (kbd "C-c c") 'texcount))) #+END_SRC *** PlantUML #+BEGIN_SRC emacs-lisp (use-package plantuml-mode init.el
@@ -37,7 +37,7 @@ '(ede-project-directories (quote ("c:/Users/joelg/.emacs.d"))) '(package-selected-packages (quote (matlab-mode diminish keyfreq zenburn-theme yasnippet x86-lookup workgroups2 which-key volatile-highlights use-package undo-tree srefactor smartparens racket-mode popwin plantuml-mode pdf-tools org-bullets org nyan-mode magit latex-preview-pane helm-projectile ggtags flycheck-pos-tip flycheck-clang-analyzer company-math company-c-headers clean-aindent-mode auto-package-update auctex)))) (gnuplot-mode gnuplot matlab-mode diminish keyfreq zenburn-theme yasnippet x86-lookup workgroups2 which-key volatile-highlights use-package undo-tree srefactor smartparens racket-mode popwin plantuml-mode pdf-tools org-bullets org nyan-mode magit latex-preview-pane helm-projectile ggtags flycheck-pos-tip flycheck-clang-analyzer company-math company-c-headers clean-aindent-mode auto-package-update auctex)))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. tramp
@@ -1,4 +1,4 @@ ;; -*- emacs-lisp -*- <19/01/05 16:28:26 c:/Users/joelg/.emacs.d/tramp> ;; -*- emacs-lisp -*- <19/02/03 21:19:40 c:/Users/joelg/.emacs.d/tramp> ;; Tramp connection history. Don't change this file. ;; You can delete it, forcing Tramp to reapply the checks. @@ -25,8 +25,6 @@ ("tmpdir" "/plink:joel@192.168.1.113:/tmp") ("touch-t" t) ("touch" "\\touch")) ((tramp-file-name "pscp" nil nil "joel" nil nil nil) nil) ((tramp-file-name "pscp" "joel" nil "192.168.1.113" nil nil nil) ("uname" "Linux 4.18.0-11-generic") ("locale" "LC_ALL=en_US.utf8") @@ -48,4 +46,46 @@ ("readlink" "\\readlink") ("case-insensitive" nil) ("ls" "/bin/ls --color=never") ("ls-quoting-style" t))) ("ls-quoting-style" t)) ((tramp-file-name "pscp" "joel" nil "49.177.178.176" "2222" nil nil) ("uname" "Linux 4.20.5-1.g34ae151-default") ("locale" "LC_ALL=en_US.utf8") ("test" "test") ("remote-path" ("/bin" "/usr/bin" "/sbin" "/usr/sbin" "/usr/local/bin" "/usr/local/sbin")) ("remote-shell" "/bin/sh") ("~" "/home/joel") ("file-exists" "test -e") ("stat" "env QUOTING_STYLE=locale \\stat") ("id" "/usr/bin/id") ("gid-integer" 100) ("gid-string" "users") ("perl-file-spec" t) ("perl-cwd-realpath" t) ("perl" "\\perl") ("tmpdir" "/pscp:joel@49.177.178.176#2222:/tmp") ("uid-integer" 1000) ("readlink" "\\readlink") ("case-insensitive" nil)) ((tramp-file-name "pscp" "joel" nil "127.0.1.1" "123" nil nil) ("uname" "Linux 4.20.2-1-default") ("locale" "LC_ALL=en_US.utf8") ("test" "test") ("remote-path" ("/bin" "/usr/bin" "/sbin" "/usr/sbin" "/usr/local/bin" "/usr/local/sbin")) ("remote-shell" "/bin/sh") ("file-exists" "test -e") ("case-insensitive" nil) ("readlink" "\\readlink") ("stat" "env QUOTING_STYLE=locale \\stat") ("id" "/usr/bin/id") ("gid-integer" 100) ("gid-string" "users") ("perl-file-spec" t) ("perl-cwd-realpath" t) ("perl" "\\perl") ("git" "\\git")) ((tramp-file-name "pscp" "joel" nil "127.0.0.1" "123" nil nil) nil) ((tramp-file-name "pscp" "joel" nil "127.0.0.1" "22" nil nil) nil))